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: 
Observer shaikanarek
Observer
371 Views
Registered: ‎07-29-2018

image.ub ** Unable to read file system.dtb **

Hello

I am trying to boot 4EV , Petalinux 2018.3 , boot starts at QSPI ( FSBL,PMU,BL31) and u-boot that hand off boot to SD-0.

I keep getting ** Unable to read file system.dtb **

built sd:  https://xilinx-wiki.atlassian.net/wiki/spaces/A/pages/18842385/How+to+format+SD+card+for+SD+boot

copied image.ub to root. 

tried several petalinux-config

-image packaging conf --> SD  / Initramfs   ( attached image.ub)

Log :

I2C: ready
DRAM: 4 GiB
EL Level: EL2
Chip ID: zu4
MMC: sdhci_transfer_data: Error detected in status(0x408000)!
mmc@ff160000: 0 (SD), mmc@ff170000: 1 (eMMC)
*** Warning - bad CRC, using default environment

In: serial@ff010000
Out: serial@ff010000
Err: serial@ff010000
Board: Xilinx ZynqMP
Bootmode: QSPI_MODE
U-BOOT for cntr1

Hit any key to stop autoboot: 0
Device: mmc@ff160000
Manufacturer ID: 3
OEM: 5344
Name: SU16G
Tran Speed: 50000000
Rd Block Len: 512
SD version 3.0
High Capacity: Yes
Capacity: 14.8 GiB
Bus Width: 4-bit
Erase Group Size: 512 Bytes
reading image.ub
15212112 bytes read in 985 ms (14.7 MiB/s)
Device: mmc@ff160000
Manufacturer ID: 3
OEM: 5344
Name: SU16G
Tran Speed: 50000000
Rd Block Len: 512
SD version 3.0
High Capacity: Yes
Capacity: 14.8 GiB
Bus Width: 4-bit
Erase Group Size: 512 Bytes
** Unable to read file system.dtb **
ZynqMP>

 

 

also tried not packing the dtb , and placing the system.dtb  directly at root but then I get "bad linux arm64 image magic".

log says it looking for"system.dtb" but dumpimage -l images/linux/image.ub shows system-top.dtb (?)

 

Thank you

 

 

 

0 Kudos
2 Replies
Highlighted
Explorer
Explorer
342 Views
Registered: ‎10-21-2015

Re: image.ub ** Unable to read file system.dtb **

Hi

Could you show u-boot environment variables before u-boot boots?

Your u-boot tries to load system.dtb from SD-card

You should change u-boot environment variables to load device-tree from image.ub 

Or place system.dtb, which you can find under images/linux, on the boot partition of sd-card

0 Kudos
Observer shaikanarek
Observer
319 Views
Registered: ‎07-29-2018

Re: image.ub ** Unable to read file system.dtb **

Hi

I have found the problem - I added the .bit file to the QSPI boot.bin  , still not clear to me why , but now it boots up.

 

thanks

0 Kudos