UPGRADE YOUR BROWSER

We have detected your current browser version is not the latest one. Xilinx.com uses the latest web technologies to bring you the best online experience possible. Please upgrade to a Xilinx.com supported browser:Chrome, Firefox, Internet Explorer 11, Safari. Thank you!

cancel
Showing results for 
Search instead for 
Did you mean: 
Visitor aelliott
Visitor
5,468 Views
Registered: ‎11-06-2018

Booting ZCU-102 from SD Card

I have 3 ZCU-102 boards all acting the same.  They are all the same shipment and all Rev1.1.  They all pass BIST as instructed in the Quick Start Guide.

I have a known good SD Card with BOOT.bin, Image, and image.ub from prebuilt 2018 Q2.  This card boots the ZCU-102s (Rev 1.1) from a previous shipment.

I set SW6 switches to "boot from SD" 4:1 1,1,1,0 (also called 0xE).  This is the same setting as the ZCU-102 that does boot.

I see the message ZCU-102_boot_Failure_2.PNG

The INIT_B and PS_ERR_OUT LEDs both are red at this point and there is no other output.

I do not believe there is anything wrong with these cards.  The only configurations I have found relate to SW6 settings those settings with a previous ZCU-102 (Rev 1.1) does work.

 

Any help is appreciated.

0 Kudos
40 Replies
Visitor aelliott
Visitor
5,434 Views
Registered: ‎11-06-2018

Re: Booting ZCU-102 from SD Card

Updates: Vivado hardware manager does connect over JTAG

               PMU fiirmware version is July 5, 2017

0 Kudos
Scholar watari
Scholar
5,430 Views
Registered: ‎06-16-2013

Re: Booting ZCU-102 from SD Card

Hi @aelliott

 

You should use same version between petalinux and PMU firmware.

 

Best regards,

0 Kudos
Scholar jg_bds
Scholar
5,422 Views
Registered: ‎02-01-2013

Re: Booting ZCU-102 from SD Card

So... you have one SD card that boots completely in 'old' ZCU102's "from a previous shipment", but that same exact SD card does not completely boot 3, separate 'new' ZCU102's. Is that the situation?

Are you certain the FSBL splash message is coming from the SD card image--and not from another bootable source, such as QSPI?  A way to check that would be to re-build the SD FSBL in verbose/debug mode. A lot more text will be printed out, distinguishing it from an ordinary FSBL that could be running from another source.

Please clarify what you mean by "I set SW6 switches to... [4:1] 1,1,1,0"? In your narration, does a "1" put a switch in the "1" (closed) position--setting a Mode bit to 0, or the "0" (open) position--setting a Mode bit to 1? 

I've been working on several Zynq MPSoC designs these last couple of years. SW guys love SD cards because they can program them quickly on a PC, then pop them into a board, to test a new build. Unfortunately, SD receptacles aren't rated for so many insertions and removals. We've ended up with bent pins on occasion, and have had to replace receptacles. It's unlikely you've got 3 bad SD receptacles, though. 

Also, a frequent problem we've encountered is corruption of the SD card. We write a new BOOT.BIN or Image file (or whatever) onto the card, and then try to boot the board. The board doesn't boot--and the INIT and ERR LEDs are lit. (I don't recall getting any FSBL splash, though.) The fix has been to put the SD card back into the PC, write the files again, and then be sure to properly 'eject' the SD card before removing it from the PC. That usually fixes that problem. The fact that your SD card properly boots in older boards, however, dims the hope that you have a similar issue.

-Joe G.

 

0 Kudos
Visitor aelliott
Visitor
5,394 Views
Registered: ‎11-06-2018

Re: Booting ZCU-102 from SD Card

Answering in the order asked -

Yes, I believe you do understand my problem.

I am not positive but here is what I have followed-

sw6_settings.PNG

     Configure SW6 to QSPI32 and the board goes through BIST.  I thought this was the only way to boot out of QSPI32. 

sw6_QSPI32.PNG

     On the working board I set SW6 to this picture (SD) and it boots. 

sw6.PNGKASJDGHSADF

I have even downloaded the BOOT.BIN and image.ub from the website

https://www.xilinx.com/support/documentation-navigation/design-hubs/dh0048-zcu102-evaluation-kit-hub.html

rdf0421-zcu102-base-trd-2018-2.zip

I put that onto my SD card and the "working" 102 boots no problem and the 3 new boards do not.  I have tried formatting the FAT32 partition under both windows and Linux.  I have also tried multiple SD cards including a sandisk 16GB Ultra class 10 that is on the "tested" list of approved media. https://www.xilinx.com/support/answers/66779.html.

I agree the chances of 3 failed boards are minimal.  I am only in the 10s of mate/de-mate cycles.  I follow ESD and try to be very gentle with these boards.

FYI I am a beginner with the Xilinx products.  All I did was take the boards out of the boxes, set SW6 for BIST, and then set SW6 to boot from SD card.  I have done nothing else.  I was hoping that I had missed a step somewhere.

Thank you

0 Kudos
Scholar jg_bds
Scholar
5,390 Views
Registered: ‎02-01-2013

Re: Booting ZCU-102 from SD Card

If you've encountered a board with a device having a different revision than you originally expected, you should go all the way back and upgrade the underlying HW design, too--then re-export the HDF. Just updating the BSP is not sufficient.

-Joe G.

 

0 Kudos
Scholar jg_bds
Scholar
5,387 Views
Registered: ‎02-01-2013

Re: Booting ZCU-102 from SD Card

Dang. Seems like you're doing everything right--just no joy.

We're using a ZCU102 now, for the development of SW framework prior to the arrival of a new MPSoC-based prototype, but it's an older board.

Have you compared the older, working board and the newer, non-working boards, side-by-side? There may be (seemingly) unrelated jumpers or switches configured differently between them. That's another longshot, though.

Since the FSBL splash text from the BOOT.BIN appears on the terminal screen, the SD card appears to be getting read. The problem, then, would more likely be a hiccup occurring further into the boot cycle.  Can you re-build the FSBL in verbose/debug mode--and then try to boot with a BOOT.BIN containing that version?

-Joe G.

0 Kudos
Scholar jg_bds
Scholar
5,378 Views
Registered: ‎02-01-2013

Re: Booting ZCU-102 from SD Card

Shoot. I just put my two replies together in my head...
Are you sure the newer boards have the same-revision MPSoC devices, as have the older boards?
0 Kudos
Visitor aelliott
Visitor
5,370 Views
Registered: ‎11-06-2018

Re: Booting ZCU-102 from SD Card

Joe,

I have them side-by-side on an ESD bench.  I see no difference in DIP switches or jumpers.

To answer your earlier question I have no hardware design.  I am just trying to get Petalinux to build.   Here are my commands -

source /Petalinux/settings.sh

petalinux-create -t project --template zynqMP --name test2 -s /home/ubuntu16/Downloads/xilinx-zcu102-v2018.2-final.bsp

petalinux-config --get-hw-description=hardware/xilinx-zcu102-2018.2/xilinx-zcu102-2018.2.sdk/

petalinux-build

petalinux-package --boot --fsbl ./images/linux/zynqmp_fsbl.elf --fpga ./images/linux/system.bit --pmufw ./images/linux/pmufw.elf --u-boot

 

I did try to add debug fsbl_debug.h but there was no additional output

In regards to your last post, I am not sure what you mean.  What do you mean by "MPSoc devices".  The boards are all labeled HW-Z1-ZCU102  and below that Revision 1.1.  At this time we do not have any additional boards attached

Thanks

 

 

0 Kudos
Scholar jg_bds
Scholar
5,361 Views
Registered: ‎02-01-2013

Re: Booting ZCU-102 from SD Card

If the 'newer' (non-booting) boards and the 'older' (booting) boards have the same version, they should contain the same revision Zynq MPSoC (or Zynq MP, or Zynq+--as opposed to the plain, old simple "Zynq") chip. In the 'old' days, all you would have to do is look at the information stamped on the case. Nowadays, you need to query the innards of the part.

Using Vivado, verify that the booting and non-booting boards have the same chips on them. In HW manager, verify that they have the same ID Codes:

2019-01-08_11-19-34.jpg

Your ID codes will be different than the one above, but they should be the same as each other. If they're not, that could be why an image that boots on one board doesn't boot on the other.

-Joe G.

 

0 Kudos
Visitor aelliott
Visitor
5,331 Views
Registered: ‎11-06-2018

Re: Booting ZCU-102 from SD Card

Joe,

Sorry for the delay.  I needed to get Vivado installed.  The ID field is the same on both boards.

Vivado_ID.PNG

 

Thanks 

0 Kudos
Scholar jg_bds
Scholar
5,309 Views
Registered: ‎02-01-2013

Re: Booting ZCU-102 from SD Card

Tough problem.

The FSBL is starting, which means the SD card is detected, and the boot process begins. The exact same SD card is tried in both type of boards. The boot succeeds on an 'older' Rev 1.1 board, but stalls on 3 different 'newer' Rev 1.1 boards--and all have the same revision Zynq MPSoC. 

That certainly seems to indicate a difference/problem with the newer boards.

I assume the second stage boot loader is U-boot...?  But there's no screen-output from that software, which means any problem probably involves 1) the PMU firmware--but it works on the older board, 2) any enclosed bit file--but that works on the older board, or 3) the BL31 (trust zone) firmware--but that works on the older board, too.

I would encourage you to try to build a bootable image, with an FSBL in verbose/debug mode. That FSBL will provide more information during the boot, hopefully providing information as to the underlying problem. 

SD card boot starts-off with a slow clock, which speeds up at some point. It's been a while since I've debugged a boot cycle, so I can't remember which stage that happens in. There might still be a hardware problem with the SD card interface, that allows low-speed accesses to work, but failure occurs when the clock speed is increased. You'd need to run an SD card diagnostic to check that.

-Joe G.

 

0 Kudos
Xilinx Employee
Xilinx Employee
5,223 Views
Registered: ‎06-21-2018

Re: Booting ZCU-102 from SD Card

Hi aelliott,

Have you seen this Answer Record?

https://www.xilinx.com/support/answers/66811.html

I also think there might be some useful information in this thread:

https://forums.xilinx.com/t5/Evaluation-Boards/ZCU102-PS-ERR-OUT-during-initial-setup/m-p/866382

Thanks,

Andres

0 Kudos
Highlighted
Visitor aelliott
Visitor
5,187 Views
Registered: ‎11-06-2018

Re: Booting ZCU-102 from SD Card

Thank you for the advice.  I took 1 of my cards and re-installed the QSPI flash.  It no longer runs BIST and now fails in the same manner as booting from SD card.  I see the FSBL note, it than hangs there.

0 Kudos
Visitor dtyu
Visitor
5,050 Views
Registered: ‎01-11-2019

Re: Booting ZCU-102 from SD Card

Dear Xilinx Support: 

 I have the same issue when I received the ZCU102 board two weeks ago and have the same problem when I followed the instruction (https://xilinx-wiki.atlassian.net/wiki/spaces/A/pages/18842112/Zynq+UltraScale+MPSoC+Ubuntu+part+1+-+Running+the+Pre-Built+Ubuntu+Image+and+Power+Advantage+Tool).    I set the switch 6 to 1,000,    0,0,0,1,  it still does not work. 

 It appears that all shipments recently have the same problem.   Should I return the board and get a different ZCU104 or 106?   

 Does Xilinx provide any working solution for booting from SD for the new shipment?  

A frustrating user. 

 

 

 

0 Kudos
Scholar jg_bds
Scholar
4,964 Views
Registered: ‎02-01-2013

Re: Booting ZCU-102 from SD Card

This seemed interesting:

     https://forums.xilinx.com/t5/Evaluation-Boards/SD-card-boot-on-ZCU104-very-sensitive-to-ground-loops-over-the/td-p/929581

Is the PS for your ZCU102 plugged into the same outlet/strip as your monitor PC?

-Joe G.

 

0 Kudos
Visitor dtyu
Visitor
4,957 Views
Registered: ‎01-11-2019

Re: Booting ZCU-102 from SD Card

Dear Voyager, 

 Thanks for the reply.   Both monitor and ZCU 102 units are plugged in the same powerstrip. 

Thanks

Dantong

 

0 Kudos
Moderator
Moderator
4,923 Views
Registered: ‎05-10-2017

Re: Booting ZCU-102 from SD Card

Could you please enable the debug prints in the fsbl and then rebuild? This will give more details as to why this is failing. 

To do this, in your petalinux project

1. Create a fsbl and files directory in meta-user layer if it is not already present

$ mkdir -p <plnx-proj-root>/project-spec/meta-user/recipes-bsp/fsbl/files

 

2. Create a fsbl_%.bbappend file and add below content. 

$ vim <plnx-proj-root>/project-spec/meta-user/recipes-bsp/fsbl/fsbl_%.bbappend

 

XSCTH_BUILD_DEBUG = "1"

YAML_COMPILER_FLAGS_append = " -DFSBL_DEBUG_DETAILED"

 3. Rebuild and copy the images to the SD card. Please share your log after you do.

-------------------------------------------------------------------------
Don’t forget to reply, kudo, and accept as solution.
-------------------------------------------------------------------------
Visitor dagosm
Visitor
4,795 Views
Registered: ‎09-21-2018

Re: Booting ZCU-102 from SD Card

@dtyu

We were able to make progress on booting from sdcard with newer ZCU102s only after switching all tools and files to 2018.3, we did not zero in on the exact piece that was causing the problems.

0 Kudos
Visitor dtyu
Visitor
4,796 Views
Registered: ‎01-11-2019

Re: Booting ZCU-102 from SD Card

Dear Dagosm,

 

 Can you post your SD images (2018.3) so that I can download and install? 

 I use the instruction (https://xilinx-wiki.atlassian.net/wiki/spaces/A/pages/18842112/Zynq+UltraScale+MPSoC+Ubuntu+part+1+-+Running+the+Pre-Built+Ubuntu+Image+and+Power+Advantage+Tool).  The zip file only contain the 2017 version.

 

dtyu

 

0 Kudos
Visitor dagosm
Visitor
4,785 Views
Registered: ‎09-21-2018

Re: Booting ZCU-102 from SD Card

0 Kudos
Visitor dtyu
Visitor
4,778 Views
Registered: ‎01-11-2019

Re: Booting ZCU-102 from SD Card

THanks and Let me try it.

0 Kudos
Visitor aelliott
Visitor
4,756 Views
Registered: ‎11-06-2018

Re: Booting ZCU-102 from SD Card

All,

Sorry for the delay in responding, my work schedule got in the way.

After working a service ticket and working with AVnet, this is what I have figured out.

There are some rev1.1s that do NOT work with 2018.2 distribution. To prove it I simply went here -

https://xilinx-wiki.atlassian.net/wiki/spaces/A/pages/18842316/Zynq+Releases

I was able to download 2018.2 and 2018.3.  The .2 images would not boot on my 4 new boards.  The .2 would boot on my older board. The 2018.3 images booted everything.

I then downloaded the full 2018.3, built my petalinux environment and am back up and runnign with all my boards.

0 Kudos
Xilinx Employee
Xilinx Employee
4,726 Views
Registered: ‎10-11-2011

Re: Booting ZCU-102 from SD Card

Yes, most recent ZCU102 have a new SODIMM that requires 2018.3 FSBL in order to properly work.

2018.3 FSBL is also back compatible for older boards.

I think there's an Answer Record out there explaining this.

0 Kudos
Visitor matthewabair
Visitor
4,670 Views
Registered: ‎01-28-2019

Re: Booting ZCU-102 from SD Card

Could you provide link to Answer Record - I haven't been able to locate it.

We are also having problems later that seem to indicate a SODMM chage can't be the only issue requiring 2018.3.

Is there a concise list of changes between 2018.2 and 2018.3 ?

0 Kudos
Xilinx Employee
Xilinx Employee
4,475 Views
Registered: ‎10-11-2011

Re: Booting ZCU-102 from SD Card

AR# 71961.

I am not aware of any other board changes that required to move to 2018.3.

0 Kudos
Contributor
Contributor
4,299 Views
Registered: ‎08-23-2018

Re: Booting ZCU-102 from SD Card

Could you pin this or somehow bump it?

This is very important to know. I have just received a zcu102 that is behaving exactly the same way. If I had not bothered to read through this entire thread then I would not have known about the dependancy of Petalinux 2018.3 on the newer boards.

Thanks,

 - Richard

0 Kudos
Xilinx Employee
Xilinx Employee
4,272 Views
Registered: ‎10-11-2011

Re: Booting ZCU-102 from SD Card

https://www.xilinx.com/support/answers/71961.html Zynq UltraScale+ MPSoC ZCU102 and ZCU106 Evaluation Kits - DDR4 SODIMM change

Visitor dtyu
Visitor
4,212 Views
Registered: ‎01-11-2019

Re: Booting ZCU-102 from SD Card

Dear All, 

I managed to install the 2018.3 images.  The Xilinx can boot.  But the keyboard and mouse does not work.  The image has limited functionality.   Can you please create an Ubuntu install image with GUI as you did in

Zynq UltraScale+ MPSoC Ubuntu part 1 - Running the Pre-Built Ubuntu Image and Power Advantage Tool

(https://xilinx-wiki.atlassian.net/wiki/spaces/A/pages/18842112/Zynq+UltraScale+MPSoC+Ubuntu+part+1+-+Running+the+Pre-Built+Ubuntu+Image+and+Power+Advantage+Tool)

It will be much easier for a novice user!

 I would appreciate your help!

Thanks

 

 

0 Kudos
Contributor
Contributor
2,647 Views
Registered: ‎08-23-2018

Re: Booting ZCU-102 from SD Card

Just curious, 

Have you noticed a diffence in the emmc "driver" used by u-boot and linux?

Just asking as I think you are having the same related problem that I am having, only my attempt to boot 2018.3 on my "older" zcu102 boards fails trying to mount the sdcard. It does not even get out of the FSBL on the newer board...

The older 2018.2 builds reference the emmc as "sdhci@ff170000" and the newer 2018.3 image references the emmc as "mmc@ff170000".

I am not sure if this is even an issue, its just related to where I am stuck right now...

Hope you get an answer to your problem.

 - Richard

 

0 Kudos