zImage and device tree in /boot directory of rootfs

cancel
Showing results for 
Search instead for 
Did you mean: 

zImage and device tree in /boot directory of rootfs

935 Views
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
1 Reply

86 Views
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