
I have a board of s3c2410, with a 64M nand flash(k9f1208uom-ycb0), two 32M sdram( hy57v561620ct-h). I want to port uboot on this board, and now i get a uboot modified by someone,it can run to the command line like SMDK2410#. And i want to it autoboot the linux and rootfs.I have the linux kernel and rootfs.cramfs which run well on vivi.So i only make uimage with mkimage and then modify boot args in /include/configs/s3c2410.h. the code is as follow, but it can't boot and also the memory content in 0x32000000 is not the uimage. so i hope someone having experiences in the situation be nice to give some info or advices. thanks all best regards
./include/configs/s3c2410.h ................ #define CONFIG_BOOTDELAY 3 #define CONFIG_BOOTARGS "initrd=0x30800000,0x200000 root=/dev/ram init=/linuxrc console=ttyS0,115200" #define CONFIG_LOAD_BOOT_FILE_NAME "vmlinux" #define CFG_LOAD_ADDR 0x32000000 #define CONFIG_LOAD_INITRD_FILE_NAME "ramdisk" #define CONFIG_LOAD_INITRD_FILE_ADDR 0x30800000 #define CONFIG_BOOTCOMMAND "nand read 32000000 80000 120000; nand read 30800000 300000 200000" ..........
it's the start info
U-Boot 1.0.2 (Jun 16 2005 - 12:21:47)
U-Boot code: 33F00000 -> 33F388B4 BSS: -> 33F7B104 RAM Configuration: Bank #0: 30000000 64 MB start....## Unknown FLASH on Bank 0: ID 0xffff, Size = 0x00000000 = 0 MB Flash: 0 kB NAND: 64 MB *** Warning - bad CRC, using default environment
In: serial Out: serial Err: serial Hit any key to stop autoboot: 0
NAND read: device 0 offset 524288, size 1179648 ... 1179648 bytes read: OK
NAND read: device 0 offset 3145728, size 2097152 ... 2097152 bytes read: OK ## Booting image at 32000000 ... Bad Magic Number SMDK2410 #
zzh
2005/6/16