cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
otger
Visitor
Visitor
170 Views
Registered: ‎02-11-2020

petalinux microzed stops boot at Zynq> prompt

When I copy files generated by petalinux on /tftpboot to the SD card and try to boot the board (Jumpers set to boot with SD), it seems it doesn't load the kernel:

 0 
Device: mmc@e0100000
Manufacturer ID: 3
OEM: 5344
Name: SC16G 
Bus Speed: 25000000
Mode: SD High Speed (50MHz)
Rd Block Len: 512
SD version 3.0
High Capacity: Yes
Capacity: 14.8 GiB
Bus Width: 4-bit
Erase Group Size: 512 Bytes
Copying Linux from SD to RAM...
4327008 bytes read in 384 ms (10.7 MiB/s)
Zynq> 

 

It doesn't matter what I do, it always does the same.

My setup:

 - I have an xsa made with Vivado 2020.2

 - Using petalinux 2020.2

 - Using Microzed 7010 and applying bsp from avnet downloaded from Xilinx.com

 - Executed commands:

petalinux-create -t project -n petaBSPDMASystemTest -s avnet-digilent-zedboard-v2020.2-final.bsp
cd petaBSPDMASystemTest/
petalinux-config --get-hw-description=../DMASystemTest_microzed7010/DMASystemTest_wrapper.xsa
petalinux-build
petalinux-package --boot --fsbl images/linux/zynq_fsbl.elf --fpga images/linux/system.bit --u-boot images/linux/u-boot.elf

 

Any ideas what I am doing wrong?

Thanks

Tags (3)
0 Kudos
1 Reply
otger
Visitor
Visitor
153 Views
Registered: ‎02-11-2020

Found that doing:

Zynq> fatload mmc 0 0x3000000 uImage
4326032 bytes read in 255 ms (16.2 MiB/s)
Zynq> fatload mmc 0 0x2A00000 system.dtb
19816 bytes read in 20 ms (966.8 KiB/s)
Zynq> fatload mmc 0 0x2000000 rootfs.cpio.gz.u-boot
7157653 bytes read in 411 ms (16.6 MiB/s)
Zynq> bootm 0x3000000 0x2000000 0x2A00000

It boots correctly. How can I automate it?

0 Kudos