|
5#

楼主 |
发表于 2018-9-13 09:21:47
|
只看该作者
本帖最后由 xzf361 于 2018-9-13 11:05 编辑
uboot中烧写步骤如下,使用提供的uboot镜像进行烧写,无法从spi启动。
spi flash内出厂烧的uboot版本为旧版本的2014.07-00121-g0adfb2b
U-Boot# tftpboot 0x82000000 MLO
link up on port 0, speed 100, full duplex
Using cpsw device
TFTP from server 10.10.100.200; our IP address is 10.10.100.123
Filename 'MLO'.
Load address: 0x82000000
Loading: #######
965.8 KiB/s
done
Bytes transferred = 94008 (16f38 hex)
U-Boot# sf probe 0
SF: Detected W25Q64CV with page size 256 Bytes, erase size 4 KiB, total 8 MiB
U-Boot# sf erase 0x0 0x20000
SF: 131072 bytes @ 0x0 Erased: OK
U-Boot# sf write 0x82000000 0x0 0x20000
SF: 131072 bytes @ 0x0 Written: OK
U-Boot# tftpboot 0x82000000 u-boot.img
link up on port 0, speed 100, full duplex
Using cpsw device
TFTP from server 10.10.100.200; our IP address is 10.10.100.123
Filename 'u-boot.img'.
Load address: 0x82000000
Loading: #############################
1.7 MiB/s
done
Bytes transferred = 420108 (6690c hex)
U-Boot# sf erase 0x20000 0x80000
SF: 524288 bytes @ 0x20000 Erased: OK
U-Boot# sf write 0x82000000 0x20000 0x80000
SF: 524288 bytes @ 0x20000 Written: OK
U-Boot#
|
|