zImage and device tree in /boot directory of rootfs

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

zImage and device tree in /boot directory of rootfs

4,163 次查看
sebastiaanlaga
Contributor I

Hi All

I am working on QP sabre board.

I really want to have the zImage and device tree file in the /boot directory of my rootfs.

I have already my own layer with linux-imx_*.bbappend file and added

do_install_append() {

   cp arch/{$ARCH}/boot/zImage ${D}/boot/

   cp arch/{$ARCH}/boot/dts/*.dtb ${D}/boot/

}

But yocto complains about: "Please set FILES such that these items are packaged".

标签 (1)
0 项奖励
回复
2 回复数

2,382 次查看
steveschefter
Contributor III

Old, but in case anyone else ends up here from a Google search...
Add:
IMAGE_INSTALL_append = " kernel kernel-devicetree"
to your machine .conf file.

3,314 次查看
Carlos_Musich
NXP Employee
NXP Employee

Hi Sebastian,

please check following thread: How to include any files in rootfs with YOCTO 


Regards,
Carlos
NXP Technical Support
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

0 项奖励
回复