Trenz Electronic GmbH Support Forum

Trenz Electronic Products => Trenz Electronic FPGA Modules => Topic started by: trek123 on April 08, 2020, 11:33:38 PM

Title: How to use uImage for booting Zynq
Post by: trek123 on April 08, 2020, 11:33:38 PM
Hello everyone, I have two questions. I try to setup Xenomai3 to Zynqberry. I followed two tutorials " http://www.programmersought.com/article/858513006/ " and " https://embeddedgreg.com/2017/07/16/getting-started-with-xenomai-3-on-zynq/ ", both tutorial give uImage, Image and zImage files at the end. However, I used image.ub until now and I do not know how to use uImage for boot operation(Question 1). Moreover, petalinux produces system.ub file in normal build operation, but .dtb file is produced independently from .bit file in these tutorials. Can I use system.ub which is produced by " petalinux-build " command for every boot?(Qustion 2)

Thank you...
Title: Re: How to use uImage for booting Zynq
Post by: JH on April 09, 2020, 07:15:20 AM
Hello,

QuoteuImage, Image and zImage
will be also generate by petalinux

image.ub is only a container which include (default if you didn't changed it) kernel, device tree end rootfs(as RAM disk). You can also different parts --> see petalinux config and documentation

Instead to generate all manually, you can also try to change kernel GIT in petalinux --> select your xenomain git clone instead of default Xilinx petalinux one. --> see petalinux config


But this are all more question for Xilinx forum, you should open also a post there.

br
John