07-29-2020 10:13 PM
Hi, Can anyone explain the reasoning behind the following changes made in Petalinux 2020.1?
08-04-2020 07:26 PM
Great questions, @inve7
Can anyone from Xilinx expand on the flimsy content regarding Migration in the ug1144, please? It's honestly aggravating there's one page explaining what has changed from the previous version in such a complex piece of software!
The guide explains "what" to do to set those options, but no explanation whatsoever "why" those options changed or "when" are they supposed to be used.
Thanks in advance for any insight.
08-06-2020 05:50 AM
I know the answer to one of these:
To switch between bitbake and devtool, select petalinux-config → Yocto Settings → Build tool
"devtool" as the name implies is a development tool used to create, modify and deploy Yocto/Bitbake recipes. It's actually a Yocto feature not a PetaLinux one, but PetaLinux has (finally) provided a way to interact with it. In past releases I have noticed that devtool was being used under the hood by PetaLinux, but there was no way to really use it directly.
So what is devtool good for? Well there's a lot of documentation from the Yocto project on it, but here are a couple of very useful things it can do:
See the PetaLinux guide for Xilinx for steps for the specific PetaLinux commands:
So you wouldn't normally use this for doing full builds, but rather when you are developing or tweaking a specific recipe with source that lies outside your user layer.
08-15-2020 01:59 AM
08-19-2020 03:21 AM
08-19-2020 03:03 PM
Hi @varalaxm and welcome to the forums!
Appreciate the details about moving to initrd from initramfs, and the change to distro boot.
The distro boot move makes sense but is not documented anywhere, afaict. Could you provide some pointer where this is explained in more detail? As a custom platform designer, I need some guidance how to create a "distro", in a similar way the Xilinx devel boards have their own.
For example, I see the ZCU102 platform creates files and configurations but it's not clear where these details come from. For instance, the recipes-bsp/u-boot/files/bsp.cfg comes from somewhere in Petalinux. In a similar way, the tmp/work/zcu102_zynqmp-xilinx-linux is populated. Is there a file that has all this configuration/git repos/etc. and is used to get it all?
In other words, how can a developer get instructions and details on how to create a custom distro? In my opinion, Petalinux is wonderful until something breaks (and boy it does!). More documentation would help us developers get under the hood and work our way out.
Thanks in advance for any insight,
08-19-2020 03:57 PM
Thank @varalaxm for the explanations. They're definitely helpful
> Distro boot
I made another post with questions about the proper way to use distro boot with QSPI (I have a custom board where I use QSPI as the boot flash). Could you please read that post and offer your suggestions? Thanks!
> Yocto will support initrd not initramfs that is the reason we moved to initrd as default
Does this mean Yocto is removing support for initramfs? Could you point to any Yocto documentation that talks about this?
08-19-2020 04:00 PM
Hi @patocarr ....I did some more research myself into distro boot, and it seems to have nothing to do with Xilinx's BSPs. It's a feature of u-boot to more "automatically" boot the kernel in a way that's more agnostic to the board being used. You'll probably find these links helpful:
08-19-2020 06:17 PM