[U-Boot] [PATCH v2] imx6: apalis: Make the boot process more generic

Otavio Salvador otavio.salvador at ossystems.com.br
Sun Dec 16 21:38:25 UTC 2018


Hello Petr,

On Sun, Dec 16, 2018 at 7:31 PM Petr Štetiar <ynezz at 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.

-- 
Otavio Salvador                             O.S. Systems
http://www.ossystems.com.br        http://code.ossystems.com.br
Mobile: +55 (53) 9 9981-7854          Mobile: +1 (347) 903-9750


More information about the U-Boot mailing list