cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Contributor
Contributor
1,551 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
Voyager
Voyager
1,522 Views
Registered: ‎10-21-2015

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
Highlighted
Contributor
Contributor
1,499 Views
Registered: ‎07-29-2018

Hi

I have found the problem - 

----> subsystem auto hardware settings

---->Advanced bootable images ...

---->dtb image settings 

----> from boot image   ( was SD )

 

Thanks

0 Kudos