Hacker News new | ask | show | jobs
by zillolo 1546 days ago
Seriously, whenever I need to touch anything Xilinx I cry. PetaLinux is the most useless abstraction over Yocto ever. It does one thing well: build an image exactly as Xilinx specified. As soon as you need to change the tiniest thing the whole system implodes. And as is tradition in this sector their whole support scheme is: "sorry, didn't do it EXACTLY like we did, so no support."

If you want to make your Embedded Linux guy happy, stay far far away from anything Xilinx.

1 comments

* If you want to make your Embedded Linux guy happy, stay far far away from anything Xilinx.*

Do you mind elaborating? I just selected Zynq Ultrascale+ ZU5EG for a new project. We did run some tests on the EVK and it seems stable.

Sorry, I exaggerated slightly. I think the hardware itself is mostly okay. It's just that my part of the work is providing a working OS on top of it, which is an absolute nightmare with Petalinux.

I mean it's alright. It'll spit out an image that is going to work and you won't have to understand anything about Bitbake/Yocto and so on. But that's exactly the problem: Petalinux cripples Yocto so bad with their "let's make this as easy as possibly"-philosophy, that it makes you go nuts if you want anything slightly custom. We have plenty of different layers for distros, various platforms and applications. Fitting Petalinux into these is a pain.

If you are going to build your OS for exactly one product that runs on a Xilinx device, go for it. If you wanna reuse something across multiple devices, I'd stay away.

Ah thanks for the explanation. Yeah we build our own OS for that specific device.

We don’t use Xilinx’s PetaLinux because it’s too limiting for the SW we want to run on top of it.

It's not that it is unstable as much as it is needlessly painful to work with.
the root cause might be yocto which itself is very complex? xilinx just added its own layer on top when the board was made, and it stays un-updated for a few years, you got something initially working, and you need update it yourself after running its demos.

i use petalinux, not great not terribly bad either, I would say it's average.

I wouldn't be surprised if this were the case. IME you're better off either going from scratch, using gentoo, or using a different distro rootfs if they have appropriate binaries and just maintaining a custom kernel.