Greetings from beach :) Sébastien. What do you think about an small on chip 
bootrom which initializes the sdram core, looks for a magic word and either 
boots an image from nor or falls back to serial boot loader.
The rom could be shared with the gdb stub. We may even fall back or reuse the 
gdb download protocol.

-- 
Michael



Sebastien Bourdeauducq <[email protected]> schrieb:

>On Tue, 2011-08-16 at 06:31 -0500, Cristian Paul Peñaranda Rojas wrote:
>> > If the BIOS cannot boot at all, there will be a problem since
>software
>> > is supposed to initialize SDRAM. So you won't have memory to load
>any
>> > software - though you might try abusing the softusb on-chip SRAM :)
>> 
>> What about a sparate sram core?
>
>No.
>
>> as used in early milkymist soc, 
>
>I did not remove it for no reason. On-chip SRAM is best used for caches
>and where high performance is needed, so it is a resource to be used
>carefully and not wasted to occasionally run small bits of code.
>
>A more clever option is to switch the L2 cache to "SRAM mode" (i.e.
>remove the SDRAM backing like some x86 processors do) but it does not
>support that atm.
>
>So the fastest way of running code from SRAM right now is to use the
>softusb memory and load it with GDB.
>
>S.
>
>_______________________________________________
>http://lists.milkymist.org/listinfo.cgi/devel-milkymist.org
>IRC: #milkymist@Freenode

_______________________________________________
http://lists.milkymist.org/listinfo.cgi/devel-milkymist.org
IRC: #milkymist@Freenode

Reply via email to