04-06-2021 10:51 PM
Hi,
I am trying to boot my custom board based zynq-mp device using QSPI mode,
I am Generating BOOT.BIN using below command.
petalinux-package --force --boot --fsbl zynqmp_fsbl.elf --u-boot --fpga ../../../zcu.bit --pmufw pmufw.elf
The problem is when I load image.ub(Kernel image) it on the QSPI flash I get the error described above. The full bootlog can be found below:
ZynqMP>boot
SF: Detected n25q512a with page size 256 Bytes, erase size 64 KiB, total 64 MiB
device 0 offset 0x3e80000, size 0x80000
SF: 524288 bytes @ 0x3e80000 Read: OK
## Executing script at 20000000
Wrong image format for "source" command
SCRIPT FAILED: continuing...
## Executing script at 20000000
Wrong image format for "source" command
SCRIPT FAILED: continuing...
No MMC device available
No MMC device available
SF: Detected n25q512a with page size 256 Bytes, erase size 64 KiB, total 64 MiB
device 0 offset 0x3e80000, size 0x80000
SF: 524288 bytes @ 0x3e80000 Read: OK
## Executing script at 20000000
Wrong image format for "source" command
SCRIPT FAILED: continuing...
no devices available
SCRIPT FAILED: continuing...
starting USB...
No working controllers found
USB is stopped. Please issue 'usb start' first.
starting USB...
No working controllers found
USB is stopped. Please issue 'usb start' first.
Device 0: unknown device
starting USB...
No working controllers found
No ethernet found.
missing environment variable: pxeuuid
missing environment variable: bootfile
Retrieving file: pxelinux.cfg/00000000
No ethernet found.
missing environment variable: bootfile
Retrieving file: pxelinux.cfg/0000000
No ethernet found.
missing environment variable: bootfile
Retrieving file: pxelinux.cfg/000000
No ethernet found.
missing environment variable: bootfile
Retrieving file: pxelinux.cfg/00000
No ethernet found.
missing environment variable: bootfile
Retrieving file: pxelinux.cfg/0000
No ethernet found.
missing environment variable: bootfile
Retrieving file: pxelinux.cfg/000
No ethernet found.
missing environment variable: bootfile
Retrieving file: pxelinux.cfg/00
No ethernet found.
missing environment variable: bootfile
Retrieving file: pxelinux.cfg/0
No ethernet found.
missing environment variable: bootfile
Retrieving file: pxelinux.cfg/default-arm-zynqmp-zynqmp
No ethernet found.
missing environment variable: bootfile
Retrieving file: pxelinux.cfg/default-arm-zynqmp
No ethernet found.
missing environment variable: bootfile
Retrieving file: pxelinux.cfg/default-arm
No ethernet found.
missing environment variable: bootfile
Retrieving file: pxelinux.cfg/default
No ethernet found.
Config file not found
starting USB...
No working controllers found
No ethernet found.
No ethernet found.
booting the petalinux failed with the messages below:
ZynqMP> bootm
Wrong Image Format for bootm command
ERROR: can't get kernel image!
04-07-2021 12:29 PM
did you copy the boot.scr to the sd card too?
You can use the bootm command, however you need to provide the address of the kernel
For example:
Reference:
https://xilinx-wiki.atlassian.net/wiki/spaces/A/pages/18842223/U-boot