嵌入式Linux最小内存可以多大?
在设备树里,我把可用内存空间设为256M,Linux不能启动,到starting kernel后就没消息了。
memory {
device_type = "memory";
reg = <0x00000000 0x10000000>; /* 256MB */
};
而如果把可用内存设为512M,Linux就能正常启动,而用 free -m 命令发现,内存只用了10M左右
memory {
device_type = "memory";
reg = <0x00000000 0x20000000>; /* 512MB */
};
我现在在实验板上做,有足够内存,而我将要移植的板子没那么大内存。我想请教一下各位大神,怎么把Linux的可用内存设为256M?
(我用的是xilinx zynq 芯片)