[U-Boot] SUNXI: A64: Increase SPL size

Maxime Ripard maxime.ripard at free-electrons.com
Thu Nov 9 12:10:26 UTC 2017


On Thu, Nov 09, 2017 at 11:53:48AM +0000, Andre Przywara wrote:
> >>> because I've tried with 64K SPL size with existing SPL code and was
> >>> able to boot, but with increasing SPL by enabling falcon seems like
> >>> BROM unable read eGON.BT0 which eventually booting failed. Any inputs?
> >>
> >> So why do you need falcon, desperately? You can put the kernel into the
> >> SPL FIT image (u-boot.itb), then have the U-Boot proper just execute
> >> booti (no further loading). That works from SPI flash, also. If you are
> >> really want to, you can disable USB, Ethernet and the timeout and save
> >> some time here. But those are .config options and shouldn't require code
> >> changes.
> > 
> > Falcon make direct Linux boot, from SPL. we can skip U-Boot, (even
> > ATF). I'm not using USB, ethernet on SPL so current code look fit with
> > what SPL wants.
> 
> I understand that, my question was: What does Falcon give you to justify
> all the hacking and the pain you go through? Why can't you just go the
> normal way and trim U-Boot proper to not waste time?

Even a trimmed U-Boot will take easily around 500ms. If your plan is
to boot in less that one or two seconds, it's already a significant
part of your boot time that you are wasting without any particular
reason.

Maxime

-- 
Maxime Ripard, Free Electrons
Embedded Linux and Kernel engineering
http://free-electrons.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 801 bytes
Desc: not available
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20171109/f2ffcd1a/attachment.sig>


More information about the U-Boot mailing list