cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Highlighted
Adventurer
Adventurer
282 Views
Registered: ‎05-23-2019

failed to boot with

i am using kc705, Vivado2018.3, petalinux2018.3.

i  have built the petalinux project and i generate boot image for microblaze as UG1144,then i run :

petalinux-boot --jtag --u-boot --fpga --bitstream <BISTREAM>

then the messages shown on the host PC are:

U-Boot 2018.01 (Sep 25 2019 - 06:39:06 +0000)

DRAM:  1 GiB
SF: Detected n25q128 with page size 256 Bytes, erase size 64 KiB, total 16 MiB
*** Warning - bad CRC, using default environment

In:    serial
Out:   serial
Err:   serial
Model: Xilinx MicroBlaze
Net:   EMACLITE: 40e00000, phyaddr -1, 1/1
eth0: ethernet@40e00000
U-BOOT for testConfig

ethernet@40e00000 Waiting for PHY auto negotiation to complete..... done
BOOTP broadcast 1
BOOTP broadcast 2
BOOTP broadcast 3
BOOTP broadcast 4
BOOTP broadcast 5
BOOTP broadcast 6
BOOTP broadcast 7
BOOTP broadcast 8
BOOTP broadcast 9
BOOTP broadcast 10
BOOTP broadcast 11
BOOTP broadcast 12
BOOTP broadcast 13
BOOTP broadcast 14
BOOTP broadcast 15
BOOTP broadcast 16
BOOTP broadcast 17

Retry time exceeded
Hit any key to stop autoboot:  4 \0x08\0x08\0x08 3 \0x08\0x08\0x08 2 \0x08\0x08\0x08 1 \0x08\0x08\0x08 0 
SF: Detected n25q128 with page size 256 Bytes, erase size 64 KiB, total 16 MiB
Size exceeds partition or device limit
sf - SPI flash sub-system

Usage:
sf probe [[bus:]cs] [hz] [mode]\0x09- init flash device on given SPI bus
\0x09\0x09\0x09\0x09  and chip select
sf read addr offset|partition len\0x09- read `len' bytes starting at
\0x09\0x09\0x09\0x09          `offset' or from start of mtd
\0x09\0x09\0x09\0x09\0x09  `partition'to memory at `addr'
sf write addr offset|partition len\0x09- write `len' bytes from memory
\0x09\0x09\0x09\0x09          at `addr' to flash at `offset'
\0x09\0x09\0x09\0x09\0x09  or to start of mtd `partition'
sf erase offset|partition [+]len\0x09- erase `len' bytes from `offset'
\0x09\0x09\0x09\0x09\0x09  or from start of mtd `partition'
\0x09\0x09\0x09\0x09\0x09 `+len' round up `len' to block size
sf update addr offset|partition len\0x09- erase and write `len' bytes from memory
\0x09\0x09\0x09\0x09\0x09  at `addr' to flash at `offset'
\0x09\0x09\0x09\0x09\0x09  or to start of mtd `partition'
sf protect lock/unlock sector len\0x09- protect/unprotect 'len' bytes starting
\0x09\0x09\0x09\0x09\0x09  at address 'sector'

U-Boot>

i don't know what to do, it seems that my SPI is 16MB. But actually it is 128mb. when i run it on QEMU, it also need me to manual give the SPI's size and width by "--flash-size" and "--flash-intf", otherwise it failed to boot on QEMU.

0 Kudos
0 Replies