On 09:17 Thu 19 May , Lingfeng Xiong wrote: > hi there, > I am trying to debug u-boot on samsung s3c2410 board with OpenOCD and > Eclipse. The initialization script is listed below: > [code] > source [find jlink.cfg] > > jtag_khz 500 > jtag_nsrst_delay 100 > jtag_ntrst_delay 100 > > source [find samsung_s3c2410.cfg] > > $_TARGETNAME configure -event reset-init { up2410_init } > $_TARGETNAME configure -event gdb-attach { reset init } > > proc up2410_init { } { > echo "---------- PLL and SDRAM init start ---------" > mww 0x11111110 0x48000000 > mww 0x00007FFC 0x48000004 > mww 0x00007FFC 0x48000008 > mww 0x00000700 0x4800000c > mww 0x00000700 0x48000010 > mww 0x00002E50 0x48000014 > mww 0x00002E50 0x48000018 > mww 0x00018005 0x4800001c > mww 0x00018005 0x48000020 > mww 0x008c04e9 0x48000024 > mww 0x000000b2 0x48000028 > mww 0x00000030 0x4800002c > mww 0x00000030 0x48000030 > echo "---------- PLL and SDRAM init done ---------" > } > > set _NANDNAME $_CHIPNAME.nand > nand device $_NANDNAME s3c2410 $_TARGETNAME > > init > reset init > [/code] > > I havn't initialize NOR flash for this board has no NOR flash. I'll try later on an other arm board with barebox
but which U-Boot are you using? Best Regards, J. _______________________________________________ Openocd-development mailing list Openocd-development@lists.berlios.de https://lists.berlios.de/mailman/listinfo/openocd-development