[U-Boot] [RFC] Double-stage u-boot to reduce footprint

Luigi 'Comio' Mantellini luigi.mantellini at idf-hit.com
Mon Nov 29 11:21:39 CET 2010


Hi ML,

I'm working to have a small but also full-featured u-boot bootloader.
The idea, that I already see on lantiq sources, is to have a small bootstrap 
code that decompresses the final u-boot.

The code is divided into two stages:

 1) bootstrap: initializes the ram in order to decompress the u-boot binary. 
After that, bootstrap jumps to final u-boot 2)
 2) u-boot: the state of the art of the boot loaders.

Can be interesting for you to have these pieces of code?

I ask before to send any patch, because the boards to support the bootstrap 
code should define some symbols (CONFIG_BOOTSTRAP_*) and provides a linker 
script, and the lowlevel init code for the ram.

Thanks for any comments,

luigi


-- 


Luigi 'Comio' Mantellini
R&D - Software

Industrie Dial Face S.p.A.
Via Canzo, 4
20068 Peschiera Borromeo (MI) Italy
Tel.: +39 02 5167 2813
Fax: +39 02 5167 2459 
E-mail: luigi.mantellini at idf-hit.com 
Website: http://www.idf-hit.com


Questo messaggio e i suoi allegati sono indirizzati esclusivamente alle 
persone indicate. La diffusione, copia o qualsiasi altra azione derivante dalla 
conoscenza di queste informazioni sono rigorosamente vietate. Qualora abbiate 
ricevuto questo documento per errore siete cortesemente pregati di darne 
immediata comunicazione al mittente e di provvedere alla sua distruzione, 
Grazie.

Rispetta l'ambiente. Non stampare questa mail se non è realmente necessario.

This e-mail and any attachments is confidential and may contain privileged 
information intended for the addressee(s) only. Dissemination, copying, 
printing or use by anybody else is unauthorized. If you are not the intended 
recipient, please delete this message and any attachments and advise the 
sender by return e-mail, Thanks.

Help the environment. Please do not print this email unless it is absolutely 
necessary.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: image/png
Size: 8938 bytes
Desc: not available
Url : http://lists.denx.de/pipermail/u-boot/attachments/20101129/2f3bfb70/attachment.png 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 490 bytes
Desc: This is a digitally signed message part.
Url : http://lists.denx.de/pipermail/u-boot/attachments/20101129/2f3bfb70/attachment.pgp 


More information about the U-Boot mailing list