通过NorFlash的Uboot,tftp下载Uboot至NandFlash

本文记录了使用U-Boot工具进行NAND Flash擦除、通过TFTP下载新的U-Boot固件并写入NAND Flash的过程。最终验证了更新后的U-Boot能够在开发板上正常启动。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

仍然只是本人的一个记录。
[u-boot@MINI2440]# nand erase 0 60000
NAND erase: device 0 offset 0x0, size 0x60000
Erasing at 0x4000000600000 --   0% complete.
OK
[u-boot@MINI2440]# tftp 32000000 te-u-boot.bin
dm9000 i/o: 0x20000300, id: 0x90000a46 
DM9000: running in 16 bit mode
MAC: 08:08:11:18:        12:27
operating at 100M full duplex mode
Using dm9000 device
TFTP from server 192.168.1.30; our IP address is 192.168.1.99
Filename 'te-u-boot.bin'.
Load address: 0x32000000
Loading: T ##################
done
Bytes transferred = 257164 (3ec8c hex)
[u-boot@MINI2440]# nand write.jffs2 32000000 0 60000

NAND write: device 0 offset 0x0, size 0x60000
Writing at 0x4000000020000 -- 100% is complete. 393216 bytes written: OK
[u-boot@MINI2440]# 

下面把开发板启动开关拨动到NandFlash中,重新上电。
U-Boot 2010.03 ( 3鏈?27 2012 - 22:39:21)
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值