This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

请教个 TI 文档中“eMMC Programming” 的细节问题,谢谢



文档《Sitara Linux AM335x Flash Programming Linux Development》中的

(网址processors.wiki.ti.com/.../Sitara_Linux_AM335x_Flash_Programming_Linux_Development

没看明白如何制作出 Linux Kernel containing initramfs RAM disk,是否遗漏了一些步骤?

疑问如下:

1.在menuconfig中只简单的设置下 /home/sitara/flash目录,而不需要事先在此目录下放置 根文件系统的文件以在紧接着make uImage的是将该目录下的文件系统编译进新的支持initramfs的uImage版本??

2.编译出来的initramfs_data.cpio没有用?如何使用的?

个人理解应该是先将编译出的 initramfs_data.cpio拷贝到 /home/sitara/flash下然后在 make uImage才编译出含initramfs的uImage版本??

操作命令如下:

make ARCH=arm CROSS_COMPILE=/usr/local/ti-sdk-am335x-evm-06.00.00.00/linux-devkit/sysroots/i686-arago-linux/usr/bin/arm-linux-gnueabihf- mrproper
make ARCH=arm CROSS_COMPILE=/usr/local/ti-sdk-am335x-evm-06.00.00.00/linux-devkit/sysroots/i686-arago-linux/usr/bin/arm-linux-gnueabihf- menuconfig
make ARCH=arm CROSS_COMPILE=/usr/local/ti-sdk-am335x-evm-06.00.00.00/linux-devkit/sysroots/i686-arago-linux/usr/bin/arm-linux-gnueabihf- uImage