I have AVNET Mini-ITX 7z100 board and I been trying to use PetaLinux to build a linux image.
I am, however, unable to boot the uImage... not from the uImage which I created myself from the BSP files for the same board nor from the pre-built BIN and uImage files provided by AVNET.
Here is an error which I am receiving when trying to boot from SDCARD with BOOT.BIN and image.ub:
//=====================================
U-Boot 2015.04 (Apr 06 2016 - 13:45:26)
DRAM: ECC disabled 1 GiB
MMC: zynq_sdhci: 0
SF: Detected S25FL128S_64K with page size 512 Bytes, erase size 128 KiB, total 32 MiB
In: serial
Out: serial
Err: serial
Net: Gem.e000b000
Hit any key to stop autoboot: 0
Device: zynq_sdhci
Manufacturer ID: 3
OEM: 5054
Name: SL64G
Tran Speed: 50000000
Rd Block Len: 512
SD version 3.0
High Capacity: Yes
Capacity: 58.3 GiB
Bus Width: 4-bit
Erase Group Size: 512 Bytes
reading uimage
** Unable to read file uimage **
U-Boot-PetaLinux> run shboot
## Error: "shboot" not defined
U-Boot-PetaLinux> run sdboot
reading uImage
** Unable to read file uImage **
Unknown command '
setenv' - try 'help'
Unknown command 'softdog.nowayout=0' - try 'help'
Wrong Image Format for bootm command
ERROR: can't get kernel image!
//=====================================
Here are commands which I used ot package my BIN and uImage files (I used both and both failed to boot):
//=====================================
petalinux-package --boot --force --format BIN --fsbl images/linux/zynq_fsbl.elf --fpga images/linux/zynq_design_1_wrapper.bit --u-boot --kernel -o image.ub
petalinux-package --boot --force --format BIN --fsbl images/linux/zynq_fsbl.elf --fpga images/linux/zynq_design_1_wrapper.bit --u-boot
//=====================================
I also have another issue of booting the system (both mine and prebuilt) through JTAG. However, I am not sure if both issues are related (booting via JTAG and via SDcard). Here is what I am getting when trying to boot via JTAG:
//=====================================
INFO: Append dtb - /home/adzh/SBIR_MITX/petalinuxProject/MITX_7100_ED/pre-built/linux/images/system.dtb and other options to boot zImage
INFO: Launching XSDB for file download and boot.
INFO: This may take a few minutes, depending on the size of your image.
rlwrap: warning: your $TERM is 'xterm' but rlwrap couldn't find it in the terminfo database. Expect some problems.: Inappropriate ioctl for device
INFO: Configuring the FPGA...
INFO: Downloading bitstream to the target.
INFO: The XSDB log is as follows
Got $XILINX_SDK: /home/dzhagaryanaa/opt/Xilinx/SDK/2015.2
attempting to launch hw_server
****** Xilinx hw_server v2015.2
**** Build date : Jun 26 2015-16:42:45
** Copyright 1986-1999, 2001-2015 Xilinx, Inc. All Rights Reserved.
INFO: hw_server application started
INFO: Use Ctrl-C to exit hw_server application
INFO: To connect to this hw_server instance use url: TCP:127.0.0.1:3121
Error in startup script:
No supported FPGA device found
invoked from within
"::tcf::eval -progress ::xsdb::print_progress {::tcf::cache_enter tcfchan#0 {tcf_cache_eval {process_tcf_actions_cache_client ::tcfclient#0::arg}}}"
(procedure "::tcf::cache_eval_with_progress" line 2)
invoked from within
"::tcf::cache_eval_with_progress [dict get $arg chan] [list process_tcf_actions_cache_client $argvar] $progress"
(procedure "process_tcf_actions" line 1)
invoked from within
"process_tcf_actions $arg ::xsdb::print_progress"
(procedure "fpga" line 350)
invoked from within
"fpga "/home/adzh/SBIR_MITX/petalinuxProject/MITX_7100_ED/pre-built/linux/implementation/download.bit""
//=====================================