先记录下来,暂不解决
失败的记录
升级记录如下所示:当时还添加了命令的参数打印信息。这次升级是失败的。
=> tftp 80800000 xxuboot.imx
cmd/net.c,do_tftpb,line=38:flag = -1610906828
cmd/net.c,do_tftpb,line=40:argv[0] = tftp
cmd/net.c,do_tftpb,line=40:argv[1] = 80800000
cmd/net.c,do_tftpb,line=40:argv[2] = xxuboot.imx
FEC0 Waiting for PHY auto negotiation to complete.... done
Using FEC0 device
TFTP from server 192.168.0.11; our IP address is 192.168.0.4
Filename 'xxuboot.imx'.
Load address: 0x0
Loading: #########################
2.3 MiB/s
done
Bytes transferred = 363520 (58c00 hex)
=> mmc dev 1 0
switch to partitions #0, OK
mmc1(part 0) is current device
=> mmc write 80800000 2 2c6
MMC write: dev # 1, block # 2, count 710 ... 710 blocks written: OK
=> mmc partconf 1 1 0 0
=> reset
resetting ...
成功的记录:
=> tftp 80800000 xxuboot.imx
cmd/net.c,do_tftpb,line=38:flag = -1610906828
cmd/net.c,do_tftpb,line=40:argv[0] = tftp
cmd/net.c,do_tftpb,line=40:argv[1] = 80800000
cmd/net.c,do_tftpb,line=40:argv[2] = xxuboot.imx
Using FEC0 device
TFTP from server 192.168.0.11; our IP address is 192.168.0.4
Filename 'xxuboot.imx'.
Load address: 0x80800000
Loading: #########################
2.3 MiB/s
done
Bytes transferred = 363520 (58c00 hex)
=> mmc write 80800000 2 2c6
MMC write: dev # 1, block # 2, count 710 ... 710 blocks written: OK
=> mmc partconf 1 1 0 0
=> reset
resetting ...
对比分析
是Load address这一行,失败的时候,显示的地址是0,成功的时候显示的是80800000,好在我在当时打印了tftp的两个参数,要不然这个问题还真会认为是自己输错导致的
小结
暂时记录,等有时间再来处理,如果有感兴趣的,欢迎留言探讨。