Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
SD card does not boot past stage 2
#1
Greetings,


Code:
Xilinx Zynq MP First Stage Boot Loader
Release 2016.3   Jan  5 2017  -  11:58:09
Platform: Silicon (3.0), Cluster ID 0x80000000
Running on A53-0 (64-bit) Processor, Device Name: XCZU9EG
Board Configuration successful
Processor Initialization Done
================= In Stage 2 ============
SD1 with level shifter Boot Mode
SD: rc= 0
File name is BOOT.BIN
SD: Unable to open file BOOT.BIN: 3
                                   XFSBL_ERROR_SD_F_OPEN
Boot Device Initialization failed 0x29
================= In Stage Err ============
Fsbl Error Status: 0x0
  • I am using the binaries from XZD_20161231.gz
  • I followed most of instructions in Xen-Zynq-Distribution-XZD-Users-Manual.pdf
  • I deviated only by putting the files directly on the SD card rather than an image file due to technical issues
  • I am using CentOS as a guest in VirtualBox on Windows 7 host
  • I created the xen-zcu102_sd.dtb using the patch in the user's manual (above) and PetaLinux v2015.4 and vivado 2017.2
  • I have HW-Z1-ZCU102 revision 1.0
Questions:
  • Could this be an issue with using fdisk, mounting the SD card and coping files?
  • Could this be a compatibility issue between the hardware and the pre-built binary files?
  • I do not have a reason to build my own binaries at this time
  • My goal is to run some user mode software under the hypervisor for testing purposes
  • If the SD card configuration is most likely to be the problem then I am considering getting a physical computer with Ubuntu 14.04 as what is recommended in the DornerWorks' user's manual.
J.R. Heisey
Reply
#2
J.R.,

Sorry to hear that you're continuing to have problems. First question, what what does running 'p' in fdisk on the SD card look like? The type of that first partition has to be 'c', or "W95 FAT32 (LBA)", in order for the ZUS+ MPSoC bootROM to recognize it.

We've also seen problems in the past with certain kinds of SD cards, is it safe to assume you're using the one that came with the board?

However, if you've recently acquired a ZCU102 board, it likely has an ES2 or later version of the silicon, which would require some additional work around. http://xzdforums.dornerworks.com/showthread.php?tid=693


Regards,

-Jarvis
Reply
#3
Hi Jarvis,
How do I determine whether I have a ES2 board? I've read other postings about this and I do not see any such markings.
  • Yes it was configured for "W95 FAT32 (LBA)"
  • Yes it is a card from the box
I just installed Ubuntu 14.04 as a VirtualBox guest to see if configuring with this will make a difference.
Still setting up Ubuntu.

Also can you verify I have all the necessary files in BOOT partition.

Code:
[1125627@ai462687-vm 1125627]$ ls BOOT -la
total 12628
drwx------  2 1125627 1125627     4096 Dec 31  1969 .
drwxr-x---+ 5 root    root         100 Jul 13 21:34 ..
-rw-r--r--  1 1125627 1125627   727488 Jul 13 21:29 BOOT.bin
-rw-r--r--  1 1125627 1125627 11372032 Jul 13 21:30 Image
-rw-r--r--  1 1125627 1125627    29782 Jul 13 21:28 xen.dtb
-rw-r--r--  1 1125627 1125627   788064 Jul 13 21:29 xen.ub


The message "Unable to open file BOOT.BIN: 3".
I presume that the 3 is an error code.
Can you tell me what that error code means?
Does it indicate that there is an issue with the contents of BOOT.BIN?

J.R.
Reply
#4
The full error message includes the identifier XFSBL_ERROR_SD_F_OPEN.

I am uploading the xen_zcu102_sd.dtb file I built from xen-zcu102_sd.dts after patching from xen-zcu102.dts.
Renamed to accommodate the forum upload process.
Please review these files.


Attached Files
.txt   xen-zcu102_sd.dtb.txt (Size: 29.08 KB / Downloads: 3)
.txt   xen-zcu102_sd.dts.txt (Size: 37.3 KB / Downloads: 2)
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)