10-29-2020 05:57 AM
Hi!
I am trying to do the quick try with the pre-built images of a petalinux project, following the UG1186 (v2019.1). I get a kernel panic (I attach the prompt). I also tried to boot openamp from my petalinux-images (I added openamp.dtsi to device-tree.bbappend and system-user.dtsi, and allow openamp group in the project configuration). But I get the same kernel panic.
I have tried to extract the rootfs in another partition of the SD card but it did not work. I am new with Openamp and I am a little bit lost. ¿Could anyone help me with this issue?
Thank you!
11-03-2020 03:14 PM
Because you didn't set proper rootfs at linux argument, you ware facing this issue.
So, refer the followings to resolve your issue.
a) Using initramfs as rootfs.
Add initramfs into FIT image by proper tools. (mkimage or petalinux or other tools)
b) Using SD card as rootfs.
Add "rootfs=<proper device name>" on linux arcument by petalinux.
Best regards,
11-03-2020 01:36 PM
At u-boot prompt could you please try this command instead. I believe the doc was not updated but this command is in our wiki
ZynqMP> bootm $netstart $netstart 0x14000000
11-03-2020 03:14 PM
Because you didn't set proper rootfs at linux argument, you ware facing this issue.
So, refer the followings to resolve your issue.
a) Using initramfs as rootfs.
Add initramfs into FIT image by proper tools. (mkimage or petalinux or other tools)
b) Using SD card as rootfs.
Add "rootfs=<proper device name>" on linux arcument by petalinux.
Best regards,
11-06-2020 06:13 AM
11-06-2020 07:23 AM