linuxbios on geode gx1 with sst-39SF020A and CompactFlash [PMX:#]

ramesh bios ramesh_bios at yahoo.com
Wed Jan 12 19:42:00 CET 2005


I used the phoenix bios to boot up and then dumped out
the northbridge. Then I called dumpnorth at
ram_setup_end, which is prior to "Copying LinuxBIOS to
ram." The diff of the two was as below:

linux:
< 40: 1e 12 00 c1 00 00 00 00 00 00 00 00 00 00 00 00
---
phoenix:
> 40: 00 10 00 47 00 00 00 00 00 00 00 00 00 00 00 00

the index 40,41,42,43 regs are the pci control regs.
the values chosen by both linuxbios and phoenix seem
reasonable. linuxbios seems to set X-bus performance
flags on. 

so, in order to eliminate these regs from being the
cause of the lack of post-jump output, i then changed
northbridge setup to make these the same. however,
that didn't resolve the issue. it still hung after
jumping.

so then i started thinking maybe the differences might
be in the sdram config rather than the northbridge
config. then i saw the ramtest asm so i figured i'd
run that prior to the copy to ram and see what i'd
get. it's been running for a while now. my output is
appended below. it seems to suggest the ram setup is
okay.

i'm kinda stuck at this point. is the ramtest known to
actually test the sdram properly on a gx1/cs5530a. if
it is and the output below means that the sdram is
okay, then that'd seem to indicate that it's a code or
build setup problem. in which case, i'd need to go
back to the assembly and figure out what i'm copying
to sdram and what i'm jumping to. all and any
advice/suggestions are welcome. 

LinuxBIOS-1.0.0 Thu Jan 13 13:01:00 MYT 2005
starting...
Setting up default parameters for memory
Sizing memory
Probing for DIMM0
Probing for DIMM1
    Found DIMM1
    Page Size:       00001000
    Component Banks: 4
    Module Banks:    2
    DIMM size:       08000000
Memory sizing done, MC_BANK_CFG = 0x55200070
dump northbridge:
00: 78 10 01 00 07 00 80 02 00 00 00 06 00 00 00 00
10: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
20: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
30: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
40: 00 10 00 00 47 00 00 00 00 00 00 00 00 00 00 00
50: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
60: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
70: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
90: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
a0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
b0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
c0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
d0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
e0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
f0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
Done.
Testing SDRAM : 80000a00-000f0d66
SDRAM fill:
8d710000


--- "Ronald G. Minnich" <rminnich at lanl.gov> wrote:

> I think the RAM is misprogrammed. 
> 
> You need to dump the registers (lspci -xxx -s 0:0.0)
> for the northbridge, 
> then dump them BEFORE jumping to linuxbios -- there
> are assembly functions 
> that will let you do that. 
> 
> ron
> 
> _______________________________________________
> Linuxbios mailing list
> Linuxbios at clustermatic.org
>
http://www.clustermatic.org/mailman/listinfo/linuxbios
> 



		
__________________________________ 
Do you Yahoo!? 
Yahoo! Mail - now with 250MB free storage. Learn more.
http://info.mail.yahoo.com/mail_250



More information about the coreboot mailing list