[coreboot] Adding CAR support to v2
rminnich at gmail.com
Mon Jun 15 17:45:33 CEST 2009
This is the beginning of CAR support for v2 for qemu. It is done in
such a way that few changes are required and, more the the point,
romcc-based qemu targets keep working and remain the default for now.
It builds on but substantially improves the v3 model, a most important
point being that there are *no* included code files in .c or .S.
The .S code is from v3, however.
This is working and boots to linux in both car and non-car versions.
Note that I use the name 'rom.c' instead of the awkward 'cache_as_ram_auto.c'.
Some work remains. We need to have a standard rom main as we do in v3
(we call it stage0/1 in v3). But this is a good start IMHO.
comments from the patch:
Note that the current non-CAR implementation is the default and
continues to work (tested FILO boot to Linux
on both CAR and non-CAR).
Change this to be sensitive to USE_DCACHE_RAM. All settings etc. that
depend on this variable are grouped
in one if, and the other parts (romcc etc.) are in the else. This
change is a model of how we should be able to do
add needed options.
remove code inclusion from this not-yet-used file.
This is the entry point for the rom-based code. Called stage1.c in v3.
change initobject to a .o from a .c; this fixed a build problem.
make uart_init non-static.
Entry point. Unify a bunch of files that were fiddly lttle includes. From v3.
new file. The goal is to hang all init changes for CAR here, to
minimize other changes to any
other ldscript. Besides, putting this in init makes sense; entry and
car are manage init.
generic i386 car code from v3.
Fix what looks like a bug: this was not including the init.text section.
push up the console loglevel. qemu is for debugging so we might as well
get all the debugging we can.
For CAR bullds.
Signed-off-by: Ronald G. minnich <rminnich at gmail.com>
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 26221 bytes
Desc: not available
More information about the coreboot