Hi everyone,
I would like to generate an image.ub file with petalinux, but I need to include a custom dtb file.
Is there anyway to do that?
Brest regards.
Hi everyone,
I would like to generate an image.ub file with petalinux, but I need to include a custom dtb file.
Is there anyway to do that?
Brest regards.
I've tried to boot the kernel, device tree and rootfs from u-boot, but it doesn't work and I dont' know why.
I've saved the uImage (Kernel), system.dtb (device tree) and uramdisk.image.gz(rootfs) int the sd card, and then I've tried to boot directly with the following commands:
You could follow the instructions on pg. 23 of the Xilinx PetaLinux Tools Workflow Tutorial UG1156 (http://www.xilinx.com/support/documentation/sw_manuals/xilinx2016_2/ug1156-petalinux-tools-workflow-tutorial.pdf) to test booting your kernel and custom dtb with qemu.
For building a PetaLinux image with your custom dtb you would need to replace the default dtb with your custom dtb in the
subsystems/linux/configs/device-tree folder of your PetaLinux project and then rebuild the image.
--Tom
Hi narrucmot,
I'm trying to boot from mmc or tftp (with the command tftp, instead of fatload mmc 0), but it didn't work. Do you know why?
From mmc:
But I've got the following error when I 've tried the bootm command:
I made the uImage using the mkimage:
mkimage -A arm -O linux -T kernel -C none -a 0x8000 -e 0x8000 -n "Linux kernel" -d zImage uImage
Do you have any suggestion?
Best regards.
Hi Tom,
But I didn't find any dtb file in the folder: subsystems/linux/configs/device-tree
Best regards.
Hi Tom,
I've tried to copy my .dts file and overwrite the subsystems/linux/configs/device-tree/system-top.dts and now it works fine.
Thank you very much. Best regards.