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: 
Highlighted
285 Views
Registered: ‎09-26-2019

Error Booting Petalinux from SDCard for ZCU104

Hi, 

I finish building a 2019.2 image for zcu104 and it seems to boot OK until a point where it reaches a lag and get stuck on it:

[ 10.807644] Warn: update-alternatives: libmali-xlnx has multiple providers with the same priority, please check /usr/lib/opkg/alternatives/libmali-xlnx for details
[ 10.839552] update-alternatives: Linking /usr/lib/libMali.so.9.0 to /usr/lib/x11/libMali.so.9.0
[ 10.891107] update-alternatives: Linking /usr/lib/libMali.so.9.0 to /usr/lib/x11/libMali.so.9.0
Running postinst /etc/rpm-postinsts/101-sysvinit-inittab...
update-rc.d: /etc/init.d/run-postinsts exists during rc.d purge (continuing)
INIT: Entering runlevel: 5
Configuring network interfaces... [ 11.008301] pps pps0: new PPS source ptp0
[ 11.012328] macb ff0e0000.ethernet: gem-ptp-timer ptp clock registered.
[ 11.019057] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
udhcpc: started, v1.29.2
udhcpc: sending discover
udhcpc: sending discover
udhcpc: sending discover
[ 25.438052] mmc0: Timeout waiting for hardware cmd interrupt.
[ 25.443789] mmc0: sdhci: ============ SDHCI REGISTER DUMP ===========
[ 25.450213] mmc0: sdhci: Sys addr: 0x00000400 | Version: 0x00001002
[ 25.456636] mmc0: sdhci: Blk size: 0x00007200 | Blk cnt: 0x00000000
[ 25.463059] mmc0: sdhci: Argument: 0xaaaa0000 | Trn mode: 0x00000023
[ 25.469482] mmc0: sdhci: Present: 0x01f70000 | Host ctl: 0x0000001f
[ 25.475905] mmc0: sdhci: Power: 0x0000000f | Blk gap: 0x00000080
[ 25.482328] mmc0: sdhci: Wake-up: 0x00000000 | Clock: 0x00000207
[ 25.488751] mmc0: sdhci: Timeout: 0x00000009 | Int stat: 0x00000001
[ 25.495175] mmc0: sdhci: Int enab: 0x02ff008b | Sig enab: 0x02ff008b
[ 25.501598] mmc0: sdhci: AC12 err: 0x00000000 | Slot int: 0x00000001
[ 25.508021] mmc0: sdhci: Caps: 0x31e8c881 | Caps_1: 0x00002007
[ 25.514444] mmc0: sdhci: Cmd: 0x00000d1a | Max curr: 0x00000000
[ 25.520868] mmc0: sdhci: Resp[0]: 0x00000900 | Resp[1]: 0x00edc87f
[ 25.527291] mmc0: sdhci: Resp[2]: 0x325b5900 | Resp[3]: 0x00000900
[ 25.533713] mmc0: sdhci: Host ctl2: 0x00000000
[ 25.538141] mmc0: sdhci: ADMA Err: 0x00000000 | ADMA Ptr: 0x000000006fc98800
[ 25.545258] mmc0: sdhci: ============================================
[ 35.674052] mmc0: Timeout waiting for hardware cmd interrupt.
[ 35.679792] mmc0: sdhci: ============ SDHCI REGISTER DUMP ===========
[ 35.686216] mmc0: sdhci: Sys addr: 0x00000400 | Version: 0x00001002
[ 35.692638] mmc0: sdhci: Blk size: 0x00007200 | Blk cnt: 0x00000000
[ 35.699062] mmc0: sdhci: Argument: 0xaaaa0000 | Trn mode: 0x00000023
[ 35.705485] mmc0: sdhci: Present: 0x01f70000 | Host ctl: 0x0000001f
[ 35.711908] mmc0: sdhci: Power: 0x0000000f | Blk gap: 0x00000080
[ 35.718331] mmc0: sdhci: Wake-up: 0x00000000 | Clock: 0x00000207
[ 35.724754] mmc0: sdhci: Timeout: 0x00000009 | Int stat: 0x00000001
[ 35.731178] mmc0: sdhci: Int enab: 0x02ff008b | Sig enab: 0x02ff008b
[ 35.737601] mmc0: sdhci: AC12 err: 0x00000000 | Slot int: 0x00000001
[ 35.744024] mmc0: sdhci: Caps: 0x31e8c881 | Caps_1: 0x00002007
[ 35.750447] mmc0: sdhci: Cmd: 0x00000d1a | Max curr: 0x00000000
[ 35.756870] mmc0: sdhci: Resp[0]: 0x00000900 | Resp[1]: 0x00edc87f
[ 35.763294] mmc0: sdhci: Resp[2]: 0x325b5900 | Resp[3]: 0x00000900
[ 35.769716] mmc0: sdhci: Host ctl2: 0x00000000
[ 35.774144] mmc0: sdhci: ADMA Err: 0x00000000 | ADMA Ptr: 0x000000006fc98800
[ 35.781260] mmc0: sdhci: ============================================

 

Does anyone know how to fix that? What could be the issue?

 

Regards,

 

 

Tags (1)
0 Kudos
5 Replies
Moderator
Moderator
251 Views
Registered: ‎12-04-2016

Re: Error Booting Petalinux from SDCard for ZCU104

Hi @capunderpantsrlz 

Try out this workaround and see if this helps:

 Modify system-user.dtsi file with below content:

"/include/ "system-conf.dtsi"
/ {
};

&sdhci1 {
        no-1-8-v;
};

petalinux-build -c device-tree -x cleansstate
$ petalinux-build -c device-tree
198 Views
Registered: ‎09-26-2019

Re: Error Booting Petalinux from SDCard for ZCU104

I just tried and got the following:

 

Parsing of 2893 .bb files complete (2891 cached, 2 parsed). 3980 targets, 154 skipped, 0 masked, 0 errors.
NOTE: Resolving any missing task queue dependencies
ERROR: Task do_cleanstate does not exist for target virtual/dtb (../.././../../Xilinx/petalinux/2019.2/components/yocto/source/aarch64/layers/meta-xilinx/meta-xilinx-bsp/recipes-bsp/device-tree/device-tree.bb:do_cleanstate). Close matches:
do_cleansstate
do_clean
do_cleanall
ERROR: Command execution failed: 1

 

0 Kudos
Moderator
Moderator
174 Views
Registered: ‎12-04-2016

Re: Error Booting Petalinux from SDCard for ZCU104

Hi @capunderpantsrlz 

It looks there seems to be some issue with cleaning the device tree. Try this to rebuild whole petalinux project using these commands and see how this goes:

petalinux-build -x mrproper

petalinux-build

0 Kudos
81 Views
Registered: ‎11-12-2019

Re: Error Booting Petalinux from SDCard for ZCU104

Hi,

i am also getting the same issue. Did you solved it?

Regards,

krish

0 Kudos
Moderator
Moderator
53 Views
Registered: ‎04-24-2017

Re: Error Booting Petalinux from SDCard for ZCU104

Hi @capunderpantsrlz ,

The reason you might be using lower speed SD cards and there no functional impact. For lower speed SD cards you need no-1-8-v device-tree node property.

Thanks,
Sandeep
PetaLinux Yocto | Embedded SW Support

---------------------------------------------------------------------------
Don’t forget to Reply, Kudo, and Accept as Solution.
---------------------------------------------------------------------------
0 Kudos