<br><font size=2 face="sans-serif">Hi all,</font><br><font size=2 face="sans-serif">I need to execute U-boot in a memory
region higher than 256MB.</font><br><font size=2 face="sans-serif">In order to do so, I changed the piece
of code in board.c (under the CONFIG_VERY_BIG_RAM branch)</font><br><font size=2 face="sans-serif">from</font><br><br><font size=2 face="Courier New">-- /*
only allow stack below 256M */</font><br><font size=2 face="Courier New">-- addr
= CFG_SDRAM_BASE +</font><br><font size=2 face="Courier New">--
(gd->ram_size > 256 << 20) ? 256 <<
20 : gd->ram_size;</font><br><br><font size=2 face="sans-serif">to</font><br><br><font size=2 face="Courier New">++ /*
only allow stack below 256M */</font><br><font size=2 face="Courier New">++ addr
= CFG_SDRAM_BASE +</font><br><font size=2 face="Courier New">++
(gd->ram_size > CFG_MAX_DRAM_UBOOT_SIZE <<
20) ? CFG_MAX_DRAM_UBOOT_SIZE << 20 : gd->ram_size;</font><br><br><font size=2 face="sans-serif">where CFG_MAX_DRAM_UBOOT_SIZE is a constant
that I assign to be 1GB (the physical dimension of my memory).</font><br><br><font size=2 face="sans-serif">Apparently, U-boot seems to work fine..
(boots from network, programs flashes...)</font><br><br><font size=2 face="sans-serif">Is there anything else I need to atke
into account for my needs?</font><br><br><font size=2 face="sans-serif">Thanks</font><br><br><font size=2 face="sans-serif">luigi</font><br><br><br><font size=2 face="sans-serif">- - - - - - - - - - - - - - - - - -
- - - - - - - - - - - <br>Luigi Campora<br>Sirti S.p.A.<br>TR-LH Divisione Trasporti<br>Via Bombrini, 11/4<br>16149 Genova<br>tel: +39 010 65948 36<br>fax: +39 010 65948 22<br>cell: +39 335 7470015<br>Web: www.sirti.it<br>email: L.Campora@sirti.it<br>- - - - - - - - - - - - - - - - - - - - - - - - - - - - - <br></font><font face="sans-serif"><style type="text/css">
a:link { color: blue;}
a:visited { color: blue;}
a:active { color: blue;}
</style>
<br>
<br>
<FONT color="#000000" size="2" face="Courier New" >
NOTA DI RISERVATEZZA<br>
Questo messaggio e i suoi allegati sono destinati esclusivamente<br>
alle persone in indirizzo e puo' contenere informazioni riservate.<br>
Se avete ricevuto il messaggio per errore, Vi informiamo che<br>
qualsiasi utilizzo dei contenuti della presente e' assolutamente<br>
vietato. Vi invitiamo a rispedire immediatamente la mail al<br>
mittente e a distruggere il messaggio. Per qualsiasi dubbio, Vi<br>
invitiamo a contattarci rispondendo a <a href="mailto:webmaster@sirti.it">webmaster@sirti.it</a><br>
Grazie <a href="http://www.sirti.it">www.sirti.it</a><br>
<br>
<br>
CONFIDENTIALITY NOTICE<br>
This message and its attachments are addressed solely to the<br>
persons above and may contain confidential information. If you have<br>
received the message in error, be informed that any use of the<br>
content hereof is prohibited. Please return it immediately to the <br>
sender and delete the message. Should you have any questions,<br>
please contact us by replying to <a href="mailto:webmaster@sirti.it">webmaster@sirti.it</a><br>
Thank you <a href="http://www.sirti.it">www.sirti.it</a><br>
<br>
<br>
</font>
</font>