主题 : mini2440 128m nand uboot下载停在loading,请教各位 复制链接 | 浏览器收藏 | 打印
级别: 新手上路
UID: 20418
精华: 0
发帖: 2
金钱: 10 两
威望: 2 点
贡献值: 0 点
综合积分: 4 分
注册时间: 2010-05-01
最后登录: 2010-07-05
楼主  发表于: 2010-05-07 11:25

 mini2440 128m nand uboot下载停在loading,请教各位

各位好!请教一下:我应该如何操作才能正常下载
1 环境:mini2440 128M nand,使用USB下载。选择nor上电选"a",经dne.exe下载uboot.bin(Tekkaman Ninja提供u-boot-2010.03 )。再选择nand上电 ,串口输出
2 问题:下载Tekkaman Ninja提供u-boot-2010.03 for mini2440 Source release,使用提供的uboot.bin或使用代码编译生成bin,串口打印均停在了loading

3 打印信息如下:
Enter your selection: a
Enter your selection:
USB host is connected. Waiting a download.                          
##### Friendl
Now, Downloading [ADDRESS:30000000h,TOTAL:257254]                                   
ipaq: v0.5:U
RECEIVED FILE SIZE:  257254 (251KB/S, 1S)H for LinuxUSB to Serial DriverUSB      
Downloaded file at 0x30000000, size = 257244 bytes Do     
[v] Download viviinCE IPWireless c     
Write to flash ok: skipped size = 0x0, size = 0x3ecdcad WinCE boot-logort USB                            
##### FriendlyARM BIOS 2.0 for 2440 #####s imageload WinCE NK.binriver ipwtty    
[x] format NAND FLASH for Linux                    
[a] Absol
[v] Download vivionunred for D   
[k] Download linux kern           

     
Boot the systemAND Flash from HOST
[s] Set the boot parameters####                      
Backup NAND Flash to HOST through USB(upload)al support regi                      
[q] Goto s
[r] Restore NAND Flash from HOST through USB                                
Versio
[q] Goto shell of vivi        
usbcore: reg
Version: 0945-2K 
Enter your select
Enter your selection: ?             
[k] Downl
U-Boot 2010.03 (May 07 2010 - 10:37:04)yARM BIOS 2.0 for 2440 #####oad root_ya
 modified by tekkamanninja                        
*** Warning - bad CRC or NAND, using default environmentlinux kernel                        
[l] Download WinCE
Video: 240x320x16 20kHz 62Hz Seri       
Backup NAN
In:    serialT through USB
Out:   seriallection: aace
Err:   serialeatcte      
USB slave is enable!                   
Net:   dm9000            
U-Boot 2010.03 (May 07 2010 - 10:37:04)re NAND Flash from HOST through USBr ft
modified by tekkamanninja                        
([url=mailto:tekkamanninja@163.com]tekkamanninja@163.com[/url])                      
Love Linux forever!!      
[q] Goto she
Hit any key to stop autoboot:  0                               
dm9000 i/o: 0x20000300, id: 0x90000a46A Converter d                        
DM9000: running in 16 bit modection: A6470 (260KB/S, 1S)supp
MAC: 08:08:11:18:12:27                     
operating at 100M full duplex mode2440 #####ade                    
Using dm900        
U-Boot 2010.03 (May 07 2010 - 10:37:04)RAM                           
hp4x: v
 modified by tekkamanninja ([url=mailto:tekkamanninja@163.com)USB]tekkamanninja@163.com)USB[/url] Smart Card                                   
 Love Linux forever!!he nand flashoot-logo
I2C:   readyt r        
DRAM:  64 MB           
Flash:  2 MB  
Boot
NAND:  128 MiB WinCE NK.bine
*** Warning - bad CRC or NAND, using default environmentparametersDownload & Run registered n                  
Video: 240x320x16 20kHz 62Hz    
Backup NAND Flash
In:    serialh USB(upload)
Out:   serial            
Err:   serial            
USB slave is enable!g] Boot linux from R
Net:   dm9000d           
U-Boot 2010.03 (May 07 201                       
Boot the syst
Hit any key to stop autoboot:  0   
[q] Goto shell of vivi boot
dm9000 i/o: 0x20000300, id: 0x90000a46         
Version: 0945-2K      
DM9000: running in 16 bit modela                  
Enter yo
MAC: 08:08:11:18:12:27for Moschip 2 p      
operating at 100M full duplex mode   
##### FriendlyARM BIOS 2   
Using dm9000 device
[l] Download WinC
File transfer via NFS from server 192.168.0.1; our IP address is 192.168.0.2                 
[w] Download WinCE NK.bin                        
RECEIV
Filename '/home/tekkaman/working/nfs/zImage.img'.nload & Runoenix interface dr                   
Load address: 0x30008000load zImage into RAMded
Loading: T T T T T T T T T T T T T T T T T T T T T T T T T T T T T T          
[g] Boot linux from RAM Phoenix driveroto-mode         
Retry count exceeded; starting again[f] Format the nand flasho f       
Loading: T T T T T T T T T T T T T T T T T T T T T T T T T T T T T T2K 
*無鈳取玳
级别: 论坛版主
UID: 27
精华: 12
发帖: 5398
金钱: 40120 两
威望: 17929 点
贡献值: 71 点
综合积分: 11036 分
注册时间: 2008-01-16
最后登录: 2014-11-22
1楼  发表于: 2010-05-07 11:56
你看不出来它在loading什么吗?
"If you have an apple and I have an apple and we exchange apples, then you and I will
still each have one apple. But if you have an idea and I have an idea and we exchange
these ideas, then each of us will have two ideas."
级别: 侠客
UID: 7805
精华: 0
发帖: 52
金钱: 345 两
威望: 111 点
贡献值: 0 点
综合积分: 104 分
注册时间: 2009-07-29
最后登录: 2012-11-21
2楼  发表于: 2010-10-20 18:30
我的也是这样,求解?
我要资源。
*無鈳取玳
级别: 论坛版主
UID: 27
精华: 12
发帖: 5398
金钱: 40120 两
威望: 17929 点
贡献值: 71 点
综合积分: 11036 分
注册时间: 2008-01-16
最后登录: 2014-11-22
3楼  发表于: 2010-10-21 06:29
这个Uboot默认的启动内核方式是通过NFS,如果你的环境和它的NFS设置不同,当然无法加载成功。
你可以在uboot启动后,按任意键进入uboot的命令行,根据你自己的实际情况手动加载内核镜像。
"If you have an apple and I have an apple and we exchange apples, then you and I will
still each have one apple. But if you have an idea and I have an idea and we exchange
these ideas, then each of us will have two ideas."
级别: 侠客
UID: 9515
精华: 0
发帖: 78
金钱: 440 两
威望: 112 点
贡献值: 0 点
综合积分: 156 分
注册时间: 2009-10-03
最后登录: 2013-05-06
4楼  发表于: 2011-02-08 01:11
不用命令  在哪个文件该其启动方式啊 ?   使nand启动后  自动加载内核!
级别: 侠客
UID: 9515
精华: 0
发帖: 78
金钱: 440 两
威望: 112 点
贡献值: 0 点
综合积分: 156 分
注册时间: 2009-10-03
最后登录: 2013-05-06
5楼  发表于: 2011-02-08 01:52
/*#define CONFIG_BOOTFILE    "elinos-lart" */
#define CONFIG_BOOTCOMMAND    "nfs 0x30008000 192.168.0.1:/home/tekkaman/working/nfs/zImage.img;bootm"          


在mini2440.h里    
级别: 侠客
UID: 31905
精华: 0
发帖: 58
金钱: 295 两
威望: 59 点
贡献值: 0 点
综合积分: 116 分
注册时间: 2010-11-07
最后登录: 2015-12-25
6楼  发表于: 2011-03-30 21:02
3楼和5楼正解
级别: 新手上路
UID: 43996
精华: 0
发帖: 27
金钱: 135 两
威望: 27 点
贡献值: 0 点
综合积分: 54 分
注册时间: 2011-04-21
最后登录: 2014-08-18
7楼  发表于: 2011-07-21 10:51
*** Warning - bad CRC or NAND, using default environmentlinux kernel
你们没有看见这句吗?有没有人怀疑是nand flash出问题了?