I currently made the update from sumo to the latest zeus (5.4.24_2.1.0) and I have some issues.
In my custom meta-layer I have a patch that was applying ok in u-boot with sumo but doesn't apply anymore with the latest zeus revision.
I need this patch in order to change the default fdt_file.
Basically the default fdt_file is imx7ulp-evkb.dtb but I need to use a custom dtb file named imx7ulp-evk-custom.dtb.
Is there any other file structure for zeus in the *.bbappend file that I should follow? Maybe I need to replace the SRC_URI with another key-word?
- If I provide a patch file that doesn't exist in the u-boot-imx_2018.03.bbappend file I get a warning when compiling (bitbake -f -c compile u-boot-imx) -> so the patch is read from disk when compiling
For imx7ul-evk, fdt_file name is defined in u-boot/include/configs/mx7ulp_evk.h, see below, please!
"fdt_file=" CONFIG_DEFAULT_FDT_FILE ".dtb\0" \
Actuall, she can modify it like this:
#define MY_DTB_FILE "mx7ulp_customized"
"fdt_file=" MY_DTB_FILE ".dtb\0" \
"fdt_file=" mx7ulp_customized ".dtb\0" \
Then run : bitbake -f -c compile u-boot-imx or bitbake u-boot-imx -c compile -f
So don't need to make a special path for the change.
Hope above information is helpful for you.
Have a nice day!
Helloweidong.sun and thanks for your reply.
This is exactly what I did. If you will check the uboot_custom_fdt_file.patch file you will see that I changed the CONFIG_DEFAULT_FDT_FILE to use my custom name.
But I cannot make that change by hand and I it to be applied as a patch when I'm compiling my custom layer.
So the actual issue is that the patch is not applied over the mx7ulp_evk.h when the image builds.
It seems that bitbake didn't find patch directory, so you can try like this:
SRC_URI += " \
Have a nice day!