> What do you mean by DIMM size not detected? Sorry, I mean "No DIMM in slot 1" message.
PMON2000 MIPS Initializing. Standby... ERRORPC=00000000 CONFIG=00030932 PRID=00006302 DIMM read read memory type read number of rows read blocks per ddrram read number of sides read width 00000002 No DIMM in slot 1 DIMM SIZE=10000000 sdcfg=2d5043df msize=10000000 Init SDRAM Done! Sizing caches... Init caches... godson2 caches found Init caches done, cfg = 00030932 Copy PMON to execute location... start = 0x81000000 s0 = 0x3ec00000 a1050000 copy text section done. Copy PMON to execute location done. sp=80ffc000Uncompressing Bios........................OK,Booting Bios [...] with binary I got: PMON2000 MIPS Initializing. Standby... ERRORPC=00000000 CONFIG=00030932 PRID=00006302 DIMM read 00000080 read memory type read number of rows read memory size per side read blocks per ddrram read number of sides read width DIMM SIZE=10000000 sdcfg=3d5043df msize=10000000 Init SDRAM Done! Sizing caches... Init caches... godson2 caches found Init caches done, cfg = 00030932 Copy PMON to execute location... start = 0x85000000 s0 = 0x3ac00000 a5040000 copy text section done. Copy PMON to execute location done. sp=84ffc000Uncompressing Bios........................OK,Booting Bios As far as I understand those values come from Targets/Bonito2edev/Bonito/start.S #include "i2c.S" beqz msize,.nodimm nop b 2f nop .nodimm: move dbg,a0 PRINTSTR ("\r\nNo DIMM in all slots,use default configure\r\n") li msize,0x10000000 li sdCfg,0x055043df /* zgj-8-7-14-13 */ 2: PRINTSTR("DIMM SIZE=") move a0,msize bal hexserial nop PRINTSTR("\r\n") li t0, 0xbff00008 sd sdCfg, 0(t0) #### gx 2006-03-17: mode #### #li t1,0x20 li t1,0x28 li t0, 0xbff00000 sw t1,0(t0) nop li t1,0x0 li t0, 0xbff00000 sw t1,0x30(t0) nop and in turn i2c.S has this: Targets/Bonito2edev/Bonito/i2c.S #define i2cread newi2cread li msize,0 PRINTSTR("DIMM read\r\n") /* only one memory slot, slave address is 1010000b */ li sdCfg,0x04000000 /*bit 26Н»·ўКЅ¶БРґК±µДїйДЪЛіРт*/ li a1, 0x0 li a0,0xa1 bal i2cread nop beq v0,0xff,1f nop beq v0,0x80,1f nop move a0,v0 bal hexserial nop PRINTSTR ("\r\nNo DIMM in slot 0 \r\n"); b 2f nop 1: or sdCfg, 0x1<<29 nop li a0,0xa1 bal ii2c_cfg nop 2: li a1, 0x0 li a0,0xa3 bal i2cread nop li a1,0x0 beq v0,0xff,1f nop beq v0,0x80,1f nop move a0,v0 bal hexserial nop PRINTSTR ("\r\nNo DIMM in slot 1 \r\n"); b 2f nop 1: li a0,0xa3 bal ii2c_cfg nop b 2f nop 2: b 211f nop ================== Ah, it talks about SLOT _1_ ! So, slot _0_ apparently read correctly .... but config info still not printed.... by pmon Sorry, I misread output!