Richard, what we did in debugging the 430tx was to first figure out how
the normal bios set things, bit for bit. Then, in the .inc for linuxbios,
everytime we set bits in the DRAM control, we dumped the entire
northbridge register set. There is code to do this in
src/ram/dump_northbridge.inc

For example, in the 430tx support, we had calls such as:
 CALLSP(dumpnorth)
at important points. See src/northbridge/intel/430tx/northbridge.inc for
examples.

Obviously you have to include that dump_northbridge.inc file somewhere, so
in the digitallogic Config file you can find:

.
.
.
mainboardinit pc80/serial.inc
mainboardinit arch/i386/lib/console.inc
northbridge intel/430tx
southbridge intel/piix4e
#mainboardinit cpu/p6/earlymtrr.inc
mainboardinit ram/dump_northbridge.inc
mainboardinit ram/ramtest.inc
mainboardinit mainboard/digitallogic/smartcore-p5/do_ramtest.inc
.
.
.


Note the mainboardinit ram/dump_northbridge.inc. The code in that file is
not actually executed until a CALLSP, so the order of inclusion is totally
unimportant. Thanks are due once again to Eric Beiderman for this totally
excellent way of doing .inc files.

Dumping the northbridge this way allowed us to very quickly converge on a
working configuration.

ron




Reply via email to