加入收藏 | 设为首页 | 会员中心 | 我要投稿 李大同 (https://www.lidatong.com.cn/)- 科技、建站、经验、云计算、5G、大数据,站长网!
当前位置: 首页 > 百科 > 正文

mini2440下用minitools下载u-boot.bin到NAND Flash 的方法

发布时间:2020-12-15 17:36:41 所属栏目:百科 来源:网络整理
导读:额,第一次传图片没经验,有点大,如图示下载,连接USB下载成功后 SecureCRT会显示如下内容, Superboot-2440 V1.3a(20131213) by FriendlyARM Booting from NOR Try to find SD card...... not found. Hello USB Loop USB Mode: Connected Downloading User

额,第一次传图片没经验,有点大,如图示下载,连接USB下载成功后 SecureCRT会显示如下内容,

Superboot-2440 V1.3a(20131213) by FriendlyARM


Booting from NOR
Try to find SD card...... not found.
Hello USB Loop
USB Mode: Connected
Downloading User-Bin...
Downloading User-Bin succeed
Run UserBin?
Superboot-2440 V1.3a(20131213) by FriendlyARM


Booting from NOR
?

这时断掉电源,将开关从nor打到s2接着上电,这时可以看到?SecureCRT显示如下,开发版屏幕出现变化,显示时间和一张奇诡图片

U-Boot 2010.03 ( 4鏈?22 2014 - 00:47:07)


I2C: ? ready
DRAM: ?64 MB
Flash: ?2 MB
NAND: ?256 MiB
*** Warning - bad CRC or NAND,using default environment


Video: 320x240x16 15kHz 58Hz
In board_video_init,lcdtype=w
In: ? ?serial
Out: ? serial
Err: ? serial
Net: ? dm9000
##### ? u-boot-2010.03 Main menu by Hanson He ? #####
##### ? ? ? ? 上海嵌入式家园-开发板商城 ? ? ? ? #####
##### ? ? ? ? ? ?www.embedclub.com ? ? ? ? ? ? ?#####
##### ? ? ?http://embedclub.taobao.com ? ? ? ? ?#####
Hit any key to stop autoboot: ?0?


NAND read: device 0 offset 0x60000,size 0x500000
NAND read from offset 60000ffffffff failed 0
?5242880 bytes read: ERROR
Wrong Image Format for bootm command

[u-boot@SMDK2440A]# <INTERRUPT>



接下来我们就可以欢快的使用uboot了

printenv 打印参数;

u-boot@SMDK2440A]# printenv
bootargs=console=ttySAC0 root=/dev/nfs nfsroot=192.168.1.72:/opt/rootfs ip=192.168.1.226:192.168.1.72:192.168.1.72:255.255.255.0:smdk2440a.embedclub.com:eth0:off
bootcmd=nand read 0x30008000 60000 500000;bootm 0x30008000
bootdelay=1
baudrate=115200
ethaddr=08:08:11:18:12:27
ipaddr=192.168.1.226 ?//开发板的iP地址
serverip=192.168.1.172 ?//你的虚拟机或者windows的ip ?这两个地址要在同一个子网里面,因为我只有一个网线插口,就采用直连的方式,直接用网线将主机和开发板连起来
gatewayip=192.168.1.1
netmask=255.255.255.0
embedclub=bmp d 70000
?stdin=serial
stdout=serial
stderr=serial
lcdtype=w
ethact=dm9000


Environment size: 451/131068 bytes



nand write ? nand read ?tftp(从tftp下载) ?setenv(设置) saveenv(保存) ?help

(编辑:李大同)

【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容!

    推荐文章
      热点阅读