Vagrant bionic build fails

Hi @rock I was using “dd” from within Linux.
I got further now making some adaptions, yet I’m not sure if all of them are necessary + I still got a problem with bootargs which I can fix temporarily yet not permanent (I attach a pdf in which I document the flow I took to get there, if this could help)
Pynq_flow.pdf (11.6 KB)

  1. I added in my custom board folder also device tree adaptions for using the SD card.Yet I am not sure if this would be automatically added from the hdf file otherwise, as the SD card was already read from the first partition? device tree adaptions in github fork
  2. when using dd I got kernel panics, when mounting the created Pynq image locally and then copying all files to the correct partitions on an SD card, I was able to boot, with one bootargs problem:
    I get:

xilinx@pynq:~ Xilinx Zynq MP First Stage Boot Loader
Release 2019.1 Oct 13 2020 - 12:07:25
NOTICE: ATF running on XCZU7EG/EV/silicon v4/RTL5.1 at 0xfffea000
NOTICE: BL31: Secure code at 0x0
NOTICE: BL31: Non secure code at 0x8000000
NOTICE: BL31: v2.0(release):xilinx-v2018.3-720-g80d1c790
NOTICE: BL31: Built : 12:09:12, Oct 13 2020
PMUFW: v1.1
U-Boot 2019.01 (Oct 13 2020 - 12:05:26 +0000)
Board: Xilinx ZynqMP
DRAM: 4 GiB
EL Level: EL2
Chip ID: zu7
MMC: mmc@ff160000: 0, mmc@ff170000: 1
In: serial@ff000000
Out: serial@ff000000
Err: serial@ff000000
Board: Xilinx ZynqMP
Bootmode: SD_MODE1
Reset reason: EXTERNAL
U-BOOT for xilinx-trenz-2019.1
Hit any key to stop autoboot: 0
** Invalid partition 1 **
Device: mmc@ff160000
Manufacturer ID: 13
OEM: 14e
Name: Q2J54
Bus Speed: 52000000
Mode : MMC High Speed (52MHz)
Rd Block Len: 512
MMC version 5.0
High Capacity: Yes
Capacity: 3.6 GiB
Bus Width: 4-bit
Erase Group Size: 512 KiB
HC WP Group Size: 8 MiB
User Capacity: 3.6 GiB WRREL
Boot Capacity: 16 MiB ENH
RPMB Capacity: 512 KiB ENH
** Invalid partition 1 **
ZynqMP>

I was able to find out which bootargs were wrong and now I have to type each time:

setenv sdbootdev 1
setenv bootargs ‘root=/dev/mmcblk1p2 rw earlyprintk rootfstype=ext4 rootwait devtmpfs.mount=1 uio_pdrv_genirq.of_id=“generic-uio” clk_ignore_unused’
boot Petalinux; run uenvboot ; mmcinfo && fatload mmc 1 ${netstart} ${kernel_img} && bootm

  1. I’m not sure how and where to adapt this in the make flow you guys are using, any advice on that?