Finally RAM is up ), but have another problem:
------------------------------------------------------------- LinuxBIOS-2.0.0_Fallback Tue Jul 10 16:09:10 UTC 2007 starting... bist==0 cpus inited *sysinfo range: [000cf000,000cf730) bsp_apicid=00 core0 started: setup_coherent_ht_domain()started ap apicid: 01 start_other_cores()SBLink=00 NC node|link=00 begin msr fid, vid 310c12120c0c0202 end msr fid, vid 310c120c0c0c020c mcp55_num:01 ht reset -
LinuxBIOS-2.0.0_Fallback Tue Jul 10 16:09:10 UTC 2007 starting... bist==0 cpus inited *sysinfo range: [000cf000,000cf730) bsp_apicid=00 core0 started: setup_coherent_ht_domain()started ap apicid: 01 start_other_cores()SBLink=00 NC node|link=00 begin msr fid, vid 310c120c0c0c020c end msr fid, vid 310c120c0c0c020c mcp55_num:01 allow_all_aps_stopfill_mem_ctrlenable_smbus()memreset_setup()sdram_initialize - started Ram1.00 setting up CPU00Ram2.00 sdram_set_spd_registers: starting activate_spd_rom: nothing needs to be done DDR2 DIMM FOUND CH0 DDR2 DIMM FOUND CH1 spd_enable_2channels Enabling dual channel memory Unbuffered 333Mhz RAM: 0x00100000 KB Ram3 \0x09dimm_mask = 00000011 \0x09x4_mask = 00000000 \0x09x16_mask = 00000000 \0x09single_rank_mask = 00000001 \0x09ODC = 00111222 \0x09Addr Timing= 00202220 clock started Initializing memory: done Setting variable MTRR 02, base: 0000MB, range: 0400MB, type WB DQS Training:RcvrEn:Pass1: 00 CTLRMaxDelay=1a done DQS Training:DQSPos: 00 done DQS Training:RcvrEn:Pass2: 00 CTLRMaxDelay=34 done DQS Training:tsc[00]=000000003f0c3502 DQS Training:tsc[01]=0000000040c5316e DQS Training:tsc[02]=0000000040c53177 DQS Training:tsc[03]=00000000807d1167 DQS Training:tsc[04]=00000000822ed6d9 Ram4 sdram_initialize - finished sdram_initialize /*source must be here... but only 0xff */
dump_mem: fffe0000: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff fffe0010: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff fffe0020: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff fffe0030: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff fffe0040: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff fffe0050: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff fffe0060: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff fffe0070: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff fffe0080: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff fffe0090: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff fffe00a0: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff fffe00b0: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff fffe00c0: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff fffe00d0: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff fffe00e0: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff fffe00f0: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff dump_mem:
/*I wrote 0x12345678 to 0x00100000 to test RAM - and it clearly can be seen that it is ok*/
00100000: 78 56 34 12 21 43 65 87 89 67 45 23 32 54 76 98 00100010: 24 58 38 59 24 67 49 30 95 07 49 24 33 87 93 99 00100020: 42 56 38 40 45 52 46 38 63 21 43 29 94 78 06 05 00100030: 45 90 34 12 67 34 72 98 34 76 38 12 23 76 58 34 00100040: 00 00 00 00 00 00 00 00 24 29 00 00 00 60 bd fd 00100050: ff ff ff ff ff ff ff ff 00 00 00 08 00 00 00 00 00100060: 00 00 00 00 00 00 00 00 67 23 00 00 00 20 bd ff 00100070: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00100080: fe fe fe fe fe fe fe fe fe fe fe fe fe fe fe fe 00100090: 01 01 01 01 01 01 01 01 c5 fe 01 01 00 f4 fc c1 001000a0: fe fe fe fe fe fe fe fe 00 00 10 fe 12 00 00 10 001000b0: 01 01 01 01 01 01 01 01 c5 fe 01 01 00 fc fc c1 001000c0: 01 01 01 01 01 01 01 01 01 01 01 01 01 01 01 01 001000d0: fe fe fe fe fe fe fe fe 00 00 00 68 00 00 00 00 001000e0: fe fe fe fe fe fe fe fe fe fe fe fe fe fe fe fe 001000f0: 01 01 01 01 01 01 01 01 c5 fe 01 01 00 fc fc d9
12345678v_esp=000ceddc
testx = 5a5a5a5a Copying data from cache to RAM -- switching to use RAM as stack... G versionDone testx = 5a5a5a5a Disabling cache as ram now Clearing initial memory region: Done Copying LinuxBIOS to RAM. -AMD src=fffe0000 dst=00100000 dump_mem: fffe0000: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff fffe0010: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff fffe0020: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff fffe0030: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff fffe0040: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff fffe0050: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff fffe0060: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff fffe0070: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff fffe0080: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff fffe0090: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff fffe00a0: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff fffe00b0: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff fffe00c0: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff fffe00d0: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff fffe00e0: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff fffe00f0: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff dump_mem: /*after it has bee zeroed*/ 00100000: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00100010: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00100020: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00100030: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00100040: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00100050: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00100060: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00100070: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00100080: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00100090: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 001000a0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 001000b0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 001000c0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 001000d0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 001000e0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 001000f0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
-----------------------------------------------------------------------------------
I opened linuxbios_ram.nrv2b, checked it´s location in linuxbios.rom (file I flash to ram), calculated the offset and got 0xfffe0000, so the offset seems to be ok, but in the memory only 0xff... any ideas?
On Tue, Jul 10, 2007 at 05:29:13PM +0000, George V. Adamov wrote:
I opened linuxbios_ram.nrv2b, checked it´s location in linuxbios.rom (file I flash to ram), calculated the offset and got 0xfffe0000, so the offset seems to be ok, but in the memory only 0xff... any ideas?
It looks just like there is RAM shadowing the flash here..
//Peter