Page 1 of 1

how to custom wince on board with sdram on at91sam9g45

Posted: Fri Mar 11, 2011 3:34 pm
by misswhile
I have a custom board, which cpu is at91sam9g45,and we user sdram on EBI Chip Select 1.
now, I want custom wince6.o to run on this board,so i init the sdram on firstboot,change cfg.inc as belown:
delete ;AT91SAM9G45M10EK_VA_BASE_DDRAM2 EQU 0x88000000
and ;AT91SAM9G45M10EK_BASE_DDRAM2 EQU 0x20000000

change AT91SAM9G45M10EK_BASE_DDRAM EQU 0x70000000
to AT91SAM9G45M10EK_BASE_DDRAM EQU 0x20000000

after sysgen , load firstboot.nbo to nand address 0 by uboot,and boot with smb=1,can't booting.
May be initialization sdram is not proper,so i use uboot,which have tested have initialize sdram,and can boot linux.
So load firstboot.nbo to sram address 300000 by uboot,and go 0x300000. also can't boot

if i load eboot.nb0 to 0x20000000,and go 0x20000000,some messy code show on console,Then stop.

pls give me some suggestions. Thank you~