主题 : NAND更换为128M 系统不能正常启动 复制链接 | 浏览器收藏 | 打印
开始学习了!
级别: 侠客
UID: 4101
精华: 0
发帖: 58
金钱: 295 两
威望: 67 点
综合积分: 116 分
注册时间: 2009-02-25
最后登录: 2018-02-08
楼主  发表于: 2011-03-14 22:10

 NAND更换为128M 系统不能正常启动

mini2440 64M NAND更换为128M 系统不能正常启动
命令窗口信息:
[root@zlz boot]# sudo dnw supervivi-128M
file name : supervivi-128M
file size : 249248 bytes
Writing data...
100% 249258 bytes     OK

[root@zlz boot]# sudo dnw zImage_n35
file name : zImage_n35
file size : 1537196 bytes
Writing data...
100% 1537206 bytes     OK

[root@zlz boot]# sudo dnw root_qtopia_mouse.img
file name : root_qtopia_mouse.img
file size : 58357200 bytes
Writing data...
26% 58357210 bytes     OK

串口信息:
+---------------------------------------------+                                                        
| S3C2440A USB Downloader ver R0.03 2004 Jan  |                                                        
+---------------------------------------------+                                                        
USB: IN_ENDPOINT:1 OUT_ENDPOINT:3                                                                      
FORMAT: <ADDR(DATA):4>+<SIZE(n+10):4>+<DATA:n>+<CS:2>                                                  
NOTE: Power off/on or press the reset button for 1 sec                                                
      in order to get a valid USB device address.                                                      
                                                                                                      
NAND device: Manufacture ID: 0xec, Chip ID: 0xf1 (Samsung K9F1G08U0B)                                  
Found saved vivi parameters.                                                                          
                                                                                                      
##### FriendlyARM BIOS 2.0 for 2440 #####                                                              
[x] format NAND FLASH for Linux                                                                        
[v] Download vivi                                                                                      
[k] Download linux kernel                                                                              
[y] Download root_yaffs image                                                                          
[a] Absolute User Application                                                                          
[n] Download Nboot for WinCE                                                                          
[l] Download WinCE boot-logo                                                                          
[w] Download WinCE NK.bin                                                                              
[d] Download & Run                                                                                    
[z] Download zImage into RAM                                                                          
[g] Boot linux from RAM                                                                                
[f] Format the nand flash                                                                              
Boot the system                                                                                    
[s] Set the boot parameters                                                                            
Backup NAND Flash to HOST through USB(upload)                                                      
[r] Restore NAND Flash from HOST through USB                                                          
[q] Goto shell of vivi                                                                                
Version: 1026-2K                                                                                  
Enter your selection: y                                                                                
USB host is connected. Waiting a download.                                                            
                                                                                                      
Now, Downloading [ADDRESS:30000000h,TOTAL:16142554]                                                    
Downloaded file at 0x30000000, size = 16142544 bytes                                                  
Flash params: oobsize = 64, oobblock = 2048, erasesize = 131072, partition size = 128450560            
Erasing and programming NAND with yaffs image                                                          
Block erasing(addr/count) --- Block bad(addr/count) --- Block processed/All(%)                        
--------------------------------------------------------------------------------                      
     0x07fc0000/00572            0x05c20000/00408           00980/00980=100%                          
Load yaffs OK:                                                                                        
Blocks scanned: 980, Blocks erased: 572, Blocks are bad: 408                                          
RECEIVED and Writed FILE SIZE:16142554 (450KB/S, 35S)                                                  
                                                                                                      
##### FriendlyARM BIOS 2.0 for 2440 #####                                                              
[x] format NAND FLASH for Linux                                                                        
[v] Download vivi                                                                                      
[k] Download linux kernel                                                                              
[y] Download root_yaffs image                                                                          
[a] Absolute User Application                                                                          
[n] Download Nboot for WinCE                                                                          
[l] Download WinCE boot-logo                                                                          
[w] Download WinCE NK.bin                                                                              
[d] Download & Run                                                                                    
[z] Download zImage into RAM                                                                          
[g] Boot linux from RAM                                                                                
[f] Format the nand flash                                                                              
Boot the system                                                                                    
[s] Set the boot parameters                                                                            
Backup NAND Flash to HOST through USB(upload)                                                      
[r] Restore NAND Flash from HOST through USB                                                          
[q] Goto shell of vivi                                                                                
Version: 1026-2K                                                                                  
Enter your selection: b                                                                                
Copy linux kernel from 0x00060000 to 0x30008000, size = 0x00500000 ... done                            
zImage magic = 0x016f2818                                                                              
Setup linux parameters at 0x30000100                                                                  
linux command line is: "noinitrd root=/dev/mtdblock3 init=/linuxrc console=ttySAC0"                    
MACH_TYPE = 1999                                                                                      
NOW, Booting Linux......                                                                              
Uncompressing Linux....................................................................................

系统不能启动,想到更换nand后supervivi必须更新为vivi-128M,是不是更换128M nand  原来光盘自带的编译好的zImage  和文件系统(原开发板nand64M)就不适应了?需要重新编译适合128M的相应的内核文件和文件系统吗?  请指教! 谢谢!
会当凌绝顶,一览众山小!
级别: 总版主
UID: 2
精华: 18
发帖: 1656
金钱: 13915 两
威望: 5380 点
综合积分: 3672 分
注册时间: 2008-01-01
最后登录: 2026-07-25
1楼  发表于: 2011-03-14 22:12

 回 楼主(zlzzlz888) 的帖子

是.
楼主留言:
麻烦指点下 更换128M nand后内核 和文件系统编译过程  十分感谢
友善之臂淘宝直销店:http://shop34928758.taobao.com

手机:13560352861(杨工),QQ:10108270
开始学习了!
级别: 侠客
UID: 4101
精华: 0
发帖: 58
金钱: 295 两
威望: 67 点
综合积分: 116 分
注册时间: 2009-02-25
最后登录: 2018-02-08
2楼  发表于: 2011-03-15 23:07
谢谢指点!  我自己先编译试试,有问题再请教。
开始学习了!
级别: 侠客
UID: 4101
精华: 0
发帖: 58
金钱: 295 两
威望: 67 点
综合积分: 116 分
注册时间: 2009-02-25
最后登录: 2018-02-08
3楼  发表于: 2011-03-20 22:16
linux-2.6.32.2(BSP可自适应64M128M256M512M1G NAND FLASH)    这不是说换过NAND 后不用重新编译内核吗?  
级别: 新手上路
UID: 4215
精华: 0
发帖: 6
金钱: 30 两
威望: 6 点
综合积分: 12 分
注册时间: 2009-03-04
最后登录: 2013-04-24
4楼  发表于: 2013-04-17 14:11
现在有新的cd了,下载就能用。