*** Very Important Notes *** 1. 28F128J3A must be located at 0x08000000. J6 : connect 2-3 pins, J9 : connect 1-2 pins J33 : Open, J34 : Short 2. After programming, 28F128J3A may be located at 0x0. J6 : connect 1-2 pins, J9 : connect 2-3 pins J33 : Short, J34 : Open
Source size = 15d54h
Available Target Offset Address: 0x0,0x20000,0x40000, ..., 0x1ce0000 Input target address offset [0x?] : 0x08000000 Target base address(0x08000000) = 0x0 Target offset (0x0) = 0x8000000 Target size (0x20000*n) = 0x15d54 Identification check error !! [root@localhost Images]# 开始以为是flash坏了,好害怕,后来才明白是JTAG接触不好.在烧写ppcboot时最好用tftp先下载,实在不行在用JTAG.
6.每次Mount上ramdisk.image后,不能umount?,主机上显示device is busy. 我的解决方法是打开 系统工具=>系统监视器,杀死最下面的fam进程就好了,我也不知道为什么,呵呵.
7.烧写ramdisk时发生这样的错误 SMDK2410 # fl 1140000 30800000 220000 start_sect=0xa,end_sect=0x1a ************erase sector 0xa*********** ************erase sector 0xb*********** ************erase sector 0xc*********** ************erase sector 0xd*********** ************erase sector 0xe*********** ************erase sector 0xf*********** ************erase sector 0x10*********** ************erase sector 0x11*********** ************erase sector 0x12*********** ************erase sector 0x13*********** ************erase sector 0x14*********** ************erase sector 0x15*********** ************erase sector 0x16*********** ************erase sector 0x17*********** ************erase sector 0x18*********** ************erase sector 0x19*********** ************erase sector 0x1a*********** ----------program sector 0xa--------- ----------program sector 0xb--------- Error Command Sequence!mflash_program_sector error : status read flash not completed for error
经wpq和hn的指点知道是flash的第13个扇区坏了,可以跳过此坏扇区.flash是16M,共128个扇区,16M/128=128K,每个扇区是128k,换成16进制是20000,我的flash是0xc错了,故要跳过0xa和0xb两个扇区继续写,20000*2=40000,可以多跳几个扇区.写在11a0000中. 还有修改ppcboot重新编译,在\ppcboot-2\ppcboot-2.0.0-old\lib_arm下的armlinux.c的196行左右将0x140000改为1a0000,这里的40000和
140000都是逻辑地址,在flash中起始地址是1000000,故实际的地址分别为1040000和1140000,现在ramdisk改写在11a0000中了,呵呵.
好了,先写到这里了,希望对初学者有所帮助,小妹我还要继续下大家学习,在此对wpq和kangw表示最由衷的感谢.......~!~ |