准备工具 : tftpd32.exe, 3560.img(待烧入STB的busybox), [隐含设备 windows, 机顶盒]
主机windows端
Tftp32用法
Current Directory 选择你要上传的目录, 3560.img所在目录
Server interface 选择192.168.23.100
STB端
进入烧写的目录:用ctrl+c进入。
打印配置环境:printenv
设置STB中tftp服务器地址(你的主机小网IP)
setenv serverip 192.168.23.100
注意还要设置自己的ipaddr保证可以相互连通
setenv ipaddr 192.168.23.100
保存设置:saveenv
下载文件系统:tftp c1500000 3560.img
擦除一个文件rootfs, 以下数值是16进制 800000(8M), 2800000 (40M)
nand erase 800000(start address) 2800000 (size = 40M)
nand write c1500000(Source) 800000(target) 4c3000(文件系统的size)
重启盒子:reset
动态获取IP:udhcpc
配置盒子的IP:ifconfig eth0 192.168.23.108 netmask 255.255.255.0
添加缺省网关:route add default gw 192.168.23.1
烧写busybox的方法(烧写到3560e芯片的盒子中)
最新推荐文章于 2020-12-29 20:42:55 发布