Re: [yocto] IMX6DL: Rename dtb in boot partition

2020-03-03 Thread Laurent Gauthier
Hi Mauro, Glad this helps. Another option I thought of after replying was to change which dtb is loaded by u-boot at boot time. This would involve changes to u-boot-imx. Kind regards, Laurent. On Tue, Mar 3, 2020 at 4:59 PM Mauro Ziliani wrote: > You are right. > > I have not think about linu

Re: [yocto] IMX6DL: Rename dtb in boot partition

2020-03-03 Thread Mauro Ziliani
You are right. I have not think about linux-imx:do_install_append Thanks for the help MZ Il 03/03/20 15:44, Laurent Gauthier ha scritto: Ciao Mauro, My best guess is that you should do the following: 1. Create a linux-imx_%.bbappend recipe in your layer (assuming you have one). 2. Add a d

Re: [yocto] IMX6DL: Rename dtb in boot partition

2020-03-03 Thread Laurent Gauthier
Ciao Mauro, My best guess is that you should do the following: 1. Create a linux-imx_%.bbappend recipe in your layer (assuming you have one). 2. Add a do_install_append function which overrides $D/boot/ imx6dl-sabresd.dtb linux-imx is the name of the kernel recipe if you are using an NXP BSP. If

[yocto] IMX6DL: Rename dtb in boot partition

2020-03-03 Thread Mauro Ziliani
Hi all. My recipes procude some dtb. imx6dl-sabresd-disp1.dtb imx6dl-sabresd-disp2.dtb The image recipe gives an sdcard file with 2 partition: p1 and p2 p1 is vfat with zImage and imx6dl-sabresd.dtb p2 is ext4 with the applications. In p1 I find imx6dl-sabresd.dtb, imx6dl-sabresd-disp1.dtb