
Hello Petr,
On Sun, Dec 16, 2018 at 7:31 PM Petr Štetiar ynezz@true.cz wrote:
I'm preparing support for Apalis imx6 boards in OpenWrt and I've ended up with quite huge patchset against upstream U-Boot 2018.03, so I'm trying to propose more generic way of boot process handling.
In OpenWrt we usually have kernel, dtbs and U-Boot boot script in boot partition with ext4fs, so for some use cases it would be handy to be able to replace some of the files in the boot partion, that's why I've added write support to the ext4.
I wonder if you couldn't instead move the board to use the common distro environment? Doing that, it allows for easy changing of bootargs from rootfs (well, technically it can be in a single partition or not) and easy to hack / understand syslinux.cfg compatible file.
At OpenEmbedded / Yocto Project, we have been slowly adopting this more and more as it allows very easy integration and is convenient for hacking as well. Take a look at Wandboard as an example of it.