zImage and device tree in /boot directory of rootfs

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

zImage and device tree in /boot directory of rootfs

2,581 Views
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".

Labels (1)
0 Kudos
2 Replies

800 Views
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.

0 Kudos

1,732 Views
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 Kudos