[U-Boot-Users] bootloader on s3c2410(boot from NAND)

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

In message 50c9a22505061601064ba43c1d@mail.gmail.com you wrote:
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
All this makes little sense to me.
U-Boot has been ported to the SMDK2410 a long, long time ago, so there is no need for you to to it again and reinvent the wheel.
If you got a modified version of U-Boot you should
(1) also have gotten the full source code or at least a written offer how you can get the source code for free;
(2) contact those guys who performed the modifications
On this mailing list you will get help for the official version of U-Boot only (= built from the public CVS source tree).
Best regards,
Wolfgang Denk

i am sorry not to describe it clearly i am porting on s3c2410, but i have not see s3c2410 directory in /board/, so there is someone make the directory refer to smdk2410. maybe i can change my question ashow can i port uboot on s3c2410(boot from nand) on the new version of u-boot-1.1.2?
On 6/16/05, Wolfgang Denk wd@denx.de wrote:
In message 50c9a22505061601064ba43c1d@mail.gmail.com you wrote:
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
All this makes little sense to me.
U-Boot has been ported to the SMDK2410 a long, long time ago, so there is no need for you to to it again and reinvent the wheel.
If you got a modified version of U-Boot you should
(1) also have gotten the full source code or at least a written offer how you can get the source code for free;
(2) contact those guys who performed the modifications
On this mailing list you will get help for the official version of U-Boot only (= built from the public CVS source tree).
Best regards,
Wolfgang Denk
-- Software Engineering: Embedded and Realtime Systems, Embedded Linux Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd@denx.de How many Unix hacks does it take to change a light bulb? Let's see, can you use a shell script for that or does it need a C program?

In message 50c9a225050616020578d173fa@mail.gmail.com you wrote:
i am porting on s3c2410, but i have not see s3c2410 directory in /board/, so there is someone make the directory refer to smdk2410.
I really cannot parse this. Sorry. You ust not expect any processor specific code in a board directory - only board specfic code should be there. Processor specific code is in the cpu/* direcotories only.
maybe i can change my question ashow can i port uboot on s3c2410(boot from nand) on the new version of u-boot-1.1.2?
1) u-boot-1.1.2 is not a new version; it is very old, and you can more or less consider it as obsolete.
In any case you should NOT base any current work on such old code. Please use top-of-tree in CVS instead.
2) U-Boot includes support for the s3c2410 processor on the SMDK2410 evaluation board. If you have such a board, then no port is necessary. If you have different hardware, than youy do have to port U-Boot; see the README for details.
Best regards,
Wolfgang Denk
participants (2)
-
Wolfgang Denk
-
zhuzhenhua