I am trying to modify uEnv.txt during build time for our custom carrier board.
The Aim is to : change the dtb filename to boot primarily and adding distroboot cmd in boot argument
to enable default usb booting.
I have tested both by manually editing the uEnv.txt but now we want to integrate this in the build process. I am not sure which bb file I should modify by a custom bbappend .
Also can we achieve the following :
- We have two dtb files dtb-1 and dtb-2 .
- The uboot will try to look for dtb-1 and if it fails to find it then it will try to find dtb-2.
- Then uboots loads the dtb and continues the boot process.