- 积分
- 67
贡献8
飞刀0 FD
注册时间2011-3-7
在线时间37 小时
扫一扫,手机访问本帖
|
我的ok6410的开发板 配置为128MDDR 256Mnand flash,型号为K9F2G08UOB,现在手头上有个4G的nand flash ,型号为K9LBG08UOD,把它焊到开发板上。
修改uboot的nand_ids.c,添加上{"NAND 4GiB 3,3V 8-bit", 0xD7, 0, 4096, 0, LP_OPTIONS},编译后,开发板从SD卡启动,传入uboot.bin 到内存运行,显示如下:
U-Boot 1.1.6 (May 23 2011 - 20:39:21) for SMDK6410
****************************************
** u-boot 1.1.6 **
** Updated for TE6410 Board **
** Version 1.0 (10-01-15) **
** OEM: Forlinx Embedded **
** Web: http://www.witech.com.cn **
****************************************
CPU: S3C6410 @532MHz
Fclk = 532MHz, Hclk = 133MHz, Pclk = 66MHz, Serial = CLKUART (SYNC Mode)
Board: SMDK6410
DRAM: 128 MB
Flash: 0 kB
NAND: 0 MB
*** Warning - bad CRC or NAND, using default environment
In: serial
Out: serial
Err: serial
Hit any key to stop autoboot: 0
SMDK6410 # nand info
Device 0: NAND 4GiB 3,3V 8-bit, sector size 256 KiB
SMDK6410 # nand device 0
Device 0: NAND 4GiB 3,3V 8-bit... is now current device
SMDK6410 #
为什么NAND显示为0M呢?我应该继续修改哪些地方啊? |
|