target remote 192.168.1.133:3333
monitor resetmonitor haltmonitor wait_haltmonitor arm920t cp15 2 0monitor stepecho Configuring system...\n
#disable watchdogmonitor mww 0x53000000 0#disalbe interrupt --- int-mask register
monitor mww 0x4A000008 0xFFFFFFFF#disalbe interrupt --- int-sub-mask register
monitor mww 0x4A00001C 0x7FFF#initialize system clocks --- locktime register
monitor mww 0x4C000000 0xFF000000#initialize system clocks --- clock-divn register
monitor mww 0x4C000014 0x5#initialize system clocks --- upll register
monitor mww 0x4C000008 0x38022#initialize system clocks --- mpll register
# 12M for FCLK=400Mmonitor mww 0x4C000004 0x5c011#setup memory controller
echo Configuring the SDRAM controller...\n#conwmonitor mww 0x48000000 0x2201d110#bank0monitor mww 0x48000004 0x00000700#bank1monitor mww 0x48000008 0x00000700#bank2monitor mww 0x4800000c 0x00000700#bank3monitor mww 0x48000010 0x00001f4c#bank4monitor mww 0x48000014 0x00001f88#bank5monitor mww 0x48000018 0x00007ffc#bank6monitor mww 0x4800001c 0x00018005#bank7monitor mww 0x48000020 0x00018005#vREFRESH HCLK=100MHzmonitor mww 0x48000024 0x008C04F4#vBANKSIZEmonitor mww 0x48000028 0xB1#vMRSRB6monitor mww 0x4800002c 0x30#vMRSRB7monitor mww 0x48000030 0x30#load
#break main#continue