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

Luigi 'Comio' Mantellini luigi.mantellini at gmail.com
Mon Nov 29 11:56:00 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.


More information about the U-Boot mailing list