工具/软件:Linux
我很难将 zImage 安装到 Arago Bitbake 环境中的/boot 目录中。 我确定我缺少一些简单的东西、但我无法弄清楚。 我真的不想解包、复制和重新打包 rootfs。
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.
工具/软件:Linux
我很难将 zImage 安装到 Arago Bitbake 环境中的/boot 目录中。 我确定我缺少一些简单的东西、但我无法弄清楚。 我真的不想解包、复制和重新打包 rootfs。
是的、这是可能的。 您需要将其添加到 build/conf/local.conf 文件并构建目标。
wks_file ="s_dimage-bootpart.wks"
image_boot_files ="MLO u-boot.img"
IMAGE_FSTYPES +="WIC"
DO_IMAGE_WIC[视情况而定]+="mtools-native:DO_populate_sysroot dosfstools - native:DO_populate_sysroot"
完成指定目标后、您需要运行。
MACHINE=AM335x-EVM WIC 创建 simage-bootpart -e
然后传输/var/tmp/wic/build/sdimage-bootpart- -mmcblk.direct 到 SD 卡并将其添加到 eMMC。
DD if=sdimage-bootpart- -mmcblk.direct of=/dev/mmcblk1
您好、Kemal、
我不想创建 SD 卡映像。 如果我理解正确、这就是您提供的说明将执行的操作。 实际上、我最终使它以我认为正确的方式工作。 我只想补充一点:
image_install +="内核映像"
就是这样。 但是、我现在遇到了与内核模块相同的问题。 我尝试了:
image_install +="内核模块"
我还尝试添加了
machine_extra_RRECOMMENDS ="内核模块"
但什么也没有。 我在编译内核时确实会看到警告:"QA Issue:linux-ti-staging:files/directories were installed but not shipped in any package:"(QA 问题:linux-ti-staging:文件/目录已安装但未以任何软件包形式提供:)"、然后是内核 我不明白为什么不打包它们、因为它们包含在 image_install 中。 但根 fs 中肯定不包含它们。 如果我没有提到它、我正在构建 Arago-base-image。
谢谢、
Chris