第一次烧写内核

1、打开Windows下的tftpd32.exe,设置IP为10.0.0.151;
2、将uImage.initramfs从虚拟机中拷到tftpd32.300文件夹下;
3、设置IP地址:
sipsys>setenv ipaddr 192.168.139.159
sipsys>setenv serverip 192.168.139.157
sipsys>saveenv
Saving Environment to Flash...
end_addr 1 = 0x20005fff
Protect off 20004000 ... 20005FFF
Un-Protected 1 sectors
Erasing Flash...
Erasing Flash locations, Please Wait
.
Erased 1 sectors
Writing to Flash... done
Protected 1 sectors
sipsys>bdinfo
boot_params = 0x00000000
memstart    = 0x00000000
memsize     = 0x00000000
flashstart  = 0x20000000
flashsize   = 0x00400000
flashoffset = 0x00000000
ethaddr     = 02:80:AD:20:31:B8
ip_addr     = 192.168.139.159
baudrate    = 57600 bps
4、下载到SRAM中运行  (0x00000000 - 0x08000000,共128M) :
将网线插到左边的端口。
sipsys>tftp 0x01000000 uImage.initramfs
dm9000 i/o: 0x20320300, id: 0x90000a46
MAC: 02:80:ad:20:31:b8
operating at 100M full duplex mode
TFTP from server 192.168.139.157; our IP address is 192.168.139.159
Filename 'uImage.initramfs'.
Load address: 0x1000000
Loading: #################################################################      #################################################################     #################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
##############################################################
done
Bytes transferred = 3643881 (3799e9 hex)
5、启动内核:
sipsys>bootm 0x01000000
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值