[U-Boot] [PATCH 11/11] ventana: switch to SPL

Stefan Roese sr at denx.de
Thu Apr 24 10:22:47 CEST 2014


Hi Tim!

BTW: Thanks for all your work on this. Great work and really appreciated.

Just a quick note:

On 24.04.2014 10:06, Tim Harvey wrote:

<big snip>

> If I were to split the partitions like the above change, it will cause
> some grief for existing users that are using the 3.0.35 (non
> device-tree) vendor kernel that has the mtd partitions hard coded in
> the board support. Instead, I decided to patch the kobs-ng application
> used to flash the SPL so that it can be passed a max size to use
> within /dev/mtd0 and users that need to upgrade to the SPL bootloader
> will need to use that patched kobs-ng to flash the SPL to the first
> 14MB, then use std mtd utils to flash u-boot.img in the area between
> 14M and 16M.
>
> Don't forget, at some point soon I hope to add some functionality to
> u-boot to flash the SPL portion to nand (the way kobs-ng does) so that
> you don't need to boot to linux and use kobs-ng or use our JTAG tool.

For such a functionality it might make sense to take a look at what has 
been recently added to barebox:

http://comments.gmane.org/gmane.comp.boot-loaders.barebox/12612
http://comments.gmane.org/gmane.comp.boot-loaders.barebox/12856

Thanks,
Stefan



More information about the U-Boot mailing list