主题 : 最近用tiny6410移植UBOOT终于可以从nand启动了 复制链接 | 浏览器收藏 | 打印
级别: 新手上路
UID: 30304
精华: 1
发帖: 28
金钱: 190 两
威望: 38 点
贡献值: 1 点
综合积分: 76 分
注册时间: 2010-10-14
最后登录: 2019-08-02
楼主  发表于: 2012-02-21 12:33

 最近用tiny6410移植UBOOT终于可以从nand启动了

U-Boot 2009.11-dirty (Feb 21 2012 - 12:20:45) for TINY6410
U-Boot code: 57E00000 -> 57E2FD60  BSS: -> 57E74B00
CPU:     [url=mailto:S3C6410@532MHz]S3C6410@532MHz[/url]
         Fclk = 532MHz, Hclk = 133MHz, Pclk = 66MHz (SYNC Mode)
Board:   TINY6410
RAM Configuration:
Bank #0: 50000000 256 MB
NAND: 
The nand chip 's maker code is ec
The nand chip 's device code is d5
Third byte 84 ,Internal chip number:0
Third byte 84 ,Cell type:1
Third byte 84 ,Simultaneously Programmed Pages:0
Third byte 84 ,Interleave Program:0
Third byte 84 ,Cache Program:1
Fourth byte 72 ,Page Size:2
Fourth byte 72 ,Block Size:3
Fourth byte 72 ,Redundant (Spare) Area Size:0
Fourth byte 72 ,Organization:1
Fourth byte 72 ,Serial Access Minimum:0
Fifth byte 50 ,Plane Number:0
Fifth byte 50 ,Plane Size:5
Sixth byte 42
Chip pagesize: 4096, Chip oobsize:   64, Chip erasesize:   524288
Chip column address bits: 12
Chip number of (pages / chip) - 1: 524287
Chip address bits in a bbt entry: 19
Chip address bits in one chip: 31
2048 MiB
*** Warning - bad CRC, using default environment

In:    serial
Out:   serial
Err:   serial
Net:   No ethernet found.
### main_loop entered: bootdelay=3

### main_loop: bootcmd="nand read 0x50018000 0x60000 0x1c0000;bootm 0x50018000"
Hit any key to stop autoboot:  0

NAND read: device 0 offset 0x60000, size 0x1c0000
Skipping bad block 0x00000000
Skipping bad block 0x10000000000000
 1835008 bytes read: OK
*  kernel: cmdline image address = 0x50018000
Wrong Image Format for bootm command
ERROR: can't get kernel image!
TINY6410 #


但是superboot为什么烧写启动代码到nand 每页只烧写2K???
级别: 新手上路
UID: 110682
精华: 0
发帖: 3
金钱: 15 两
威望: 3 点
贡献值: 0 点
综合积分: 6 分
注册时间: 2014-12-01
最后登录: 2016-04-26
1楼  发表于: 2015-12-22 19:26
谢谢楼主的分享,学习了