各位前辈,小弟在做uboot移植过程中,利用tekkamanninja-u-boot-2011.06-for-MINI6410生成的u-boot-nand.bin,写入tiny6410的nandflash,可是 不能启动啊,不知是否遇到过此问题,如何解决?
详细操作如下:
1、实验环境:
u-boot代码:tekkamanninja-u-boot-2011.06-for-MINI6410-d9a2446.zip
编译工具:arm-linux-gcc-4.5.1-v6-vfp-20101103.tgz
supervivi板本:superboot-20110722.rar
2、操作步骤:
(1)编译uboot:
make CROSS_COMPILE=arm-linux- mini6410_config
make CROSS_COMPILE=arm-linux-
(2)在uboot根目录下生成u-boot-nand.bin,利用supervivi写入nand flash。从SD卡启动,在spuerboot菜单下选择[f],清除Flash;再选择[v],下载u-boot-nand.bin,现象如下:
Superboot-6410Ver: 1129
RAM: 256MB
NAND: 2GB(MLC2) ID:ECD58472
Touch Device: 1-wire
LCD Type: N43(Auto)
##### FriendlyARM Superboot for 6410 #####
[f] Format the nand flash
[p] Download superboot
[v] Download uboot.bin
[k] Download Linux/Android kernel
[y] Download root yaffs2 image
Download root ubifs image
[a] Download Absolute User Application
[n] Download Nboot.nb0 for WinCE
[l] Download WinCE bootlogo
[w] Download WinCE NK.bin
Boot the system
[s] Set the boot parameter of Linux
[d] Download and Run an Absolute User Application
Version: 1129, RAM 256 MiB, NAND(MLC2) 2GiB
Enter your Selection:f
Format NAND...
Format NAND succeed
Superboot-6410Ver: 1129
RAM: 256MB
NAND: 2GB(MLC2) ID:ECD58472
Touch Device: 1-wire
LCD Type: N43(Auto)
##### FriendlyARM Superboot for 6410 #####
[f] Format the nand flash
[p] Download superboot
[v] Download uboot.bin
[k] Download Linux/Android kernel
[y] Download root yaffs2 image
Download root ubifs image
[a] Download Absolute User Application
[n] Download Nboot.nb0 for WinCE
[l] Download WinCE bootlogo
[w] Download WinCE NK.bin
Boot the system
[s] Set the boot parameter of Linux
[d] Download and Run an Absolute User Application
Version: 1129, RAM 256 MiB, NAND(MLC2) 2GiB
Enter your Selection:v
Download uboot...
Now, Waiting for DNW to transmit data
DNW download succeeded
Linux command line 'root=/dev/mtdblock2 console=ttySAC0,115200' saved
Download uboot succeed
(3)断电,将启动模式换成从nand启动,上电,结果:串口无任何输出信息。
(4)利用步骤(1)、(2)将tiny6410自带的uboot(u-boot-mini6410-bin-20110601.zip编译生成)下载到nand flash,可以正常启动uboot:
U-Boot 1.1.6 (Jun 1 2011 - 16:06:29) for FriendlyARM MINI6410
CPU: S3C6410@532MHz
Fclk = 532MHz, Hclk = 133MHz, Pclk = 66MHz, Serial = CLKUART (SYNC Mode)
Board: MINI6410
DRAM: 256 MB
Flash: 0 kB
NAND: 2048 MB
In: serial
Out: serial
Err: serial
MAC: 08:90:90:90:90:90
Hit any key to stop autoboot: 0
##### FriendlyARM U-Boot(2011-05, NAND) for 6410 #####
[f] Format the nand flash
[v] Download u-boot.bin
[k] Download Linux/Android kernel
[y] Download root yaffs2 image
Download root ubifs image
[a] Download Absolute User Application
[n] Download Nboot.nb0 for WinCE
[w] Download WinCE NK.nb0
[s] Set the boot parameter of Linux
Boot Linux
[q] Quit to shell
NAND(MLC2): 2048 MiB, RAM: 256 MiB
LCD type, firmware version: 1 1046
Enter your Selection: