赛昉科技
直播中

张昂笙

7年用户 920经验值
私信 关注
[问答]

在VisionFive2上按官方的文档烧录edk2到QSPI flash失败了的原因?

按照官方给的VisionFive2的EDK2烧录文档把SPL和JH7110.fd烧到QSPI flash,SPL烧录成功,但是JH7110.fd烧录失败,日志如下:
StarFive #
StarFive # tftpboot 0xa0000000 192.168.3.151:u-boot-spl.bin.normal.out
Using ethernet@16030000 device
TFTP from server 192.168.3.151; our IP address is 192.168.3.200
Filename ‘u-boot-spl.bin.normal.out’.
Load address: 0xa0000000
Loading:
7 MiB/s
done
Bytes transferred = 132240 (20490 hex)
StarFive #
StarFive # sf update 0xa0000000 0x0 132240
device 0 offset 0x0, size 0x132240
1159168 bytes written, 94784 bytes skipped in 7.30s, speed 182548 B/s
StarFive #
StarFive # tftpboot 0xa0000000 192.168.3.151:JH7110.fd
Using ethernet@16030000 device
TFTP from server 192.168.3.151; our IP address is 192.168.3.200
Filename ‘JH7110.fd’.
Load address: 0xa0000000

7.6 MiB/s
done
Bytes transferred = 8716288 (850000 hex)
StarFive #
StarFive # sf update 0xa0000000 0x100000 8716288
Size exceeds partition or device limit
sf - SPI flash sub-system
Usage:
sf probe [[bus:]cs] [hz] [mode] - init flash device on given SPI bus
and chip select
sf read addr offset|partition len       - read len' bytes starting at                                           offset’ or from start of mtd
partition'to memory at addr’
sf write addr offset|partition len      - write len' bytes from memory                                           at addr’ to flash at offset'                                           or to start of mtd partition’
sf erase offset|partition [+]len        - erase len' bytes from offset’
or from start of mtd partition'                                          +len’ round up len' to block size sf update addr offset|partition len     - erase and write len’ bytes from memory
at addr' to flash at offset’
or to start of mtd `partition’
sf protect lock/unlock sector len       - protect/unprotect ‘len’ bytes starting
at address ‘sector’
StarFive #
请问这是为什么呢?烧录的文件也是官方下载的,文件大小也是正确的。
            
                                                                  
                                                         
         

更多回帖

发帖
×
20
完善资料,
赚取积分