Xen Zynq Distribution Support Forums

Full Version: Possible to run older versions of xilinx linux kernel on zynqmp ultrascale+?
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
I would like to run a 3.x linux kernel on my zynqmp ultrascale+ (ZCU102), rather than the 4.x kernel that corresponds to the latest xlnx-linux release. Accordingly, I checked out the version of xlnx-linux tagged as 2013.4 (which used v3.12 kernel), and I was able to build it after making some minor tweaks (e.g., adding zcu102-specific DTS files). But it hangs near the beginning of boot. I'll probably try to enable some additional debug information, but I'd like to know before I get too far down the debugging path whether what I'm trying to do is even feasible. What is the earliest kernel version on which the xilinx linux kernel has been tested on the ZCU102?

Thanks,
Brett S.
(08-18-2017, 06:51 PM)brettstahlman Wrote: [ -> ]I would like to run a 3.x linux kernel on my zynqmp ultrascale+ (ZCU102), rather than the 4.x kernel that corresponds to the latest xlnx-linux release. Accordingly, I checked out the version of xlnx-linux tagged as 2013.4 (which used v3.12 kernel), and I was able to build it after making some minor tweaks (e.g., adding zcu102-specific DTS files). But it hangs near the beginning of boot. I'll probably try to enable some additional debug information, but I'd like to know before I get too far down the debugging path whether what I'm trying to do is even feasible. What is the earliest kernel version on which the xilinx linux kernel has been tested on the ZCU102?

Thanks,
Brett S.

Brett,

If you are trying to run Linux natively, this would be a question for the Xilinx Support Portal: https://www.xilinx.com/support.html (My guess is that it isn't supported though.)

If you are trying to use a 3.x linux kernel as a Dom0 with XZD, then that isn't currently a supported configuration. If it is a necessity, you could contact our sales department about backporting: http://dornerworks.com/contact-us 

Thanks,
Robbie VanVossen
(08-21-2017, 02:48 PM)Robert.VanVossen Wrote: [ -> ]
(08-18-2017, 06:51 PM)brettstahlman Wrote: [ -> ]I would like to run a 3.x linux kernel on my zynqmp ultrascale+ (ZCU102), rather than the 4.x kernel that corresponds to the latest xlnx-linux release. Accordingly, I checked out the version of xlnx-linux tagged as 2013.4 (which used v3.12 kernel), and I was able to build it after making some minor tweaks (e.g., adding zcu102-specific DTS files). But it hangs near the beginning of boot. I'll probably try to enable some additional debug information, but I'd like to know before I get too far down the debugging path whether what I'm trying to do is even feasible. What is the earliest kernel version on which the xilinx linux kernel has been tested on the ZCU102?

Thanks,
Brett S.

Brett,

If you are trying to run Linux natively, this would be a question for the Xilinx Support Portal: https://www.xilinx.com/support.html (My guess is that it isn't supported though.)

If you are trying to use a 3.x linux kernel as a Dom0 with XZD, then that isn't currently a supported configuration. If it is a necessity, you could contact our sales department about backporting: http://dornerworks.com/contact-us 

Thanks,
Robbie VanVossen

Robbie,
Sorry for the delay - I just now saw your response. I don't need to run 3.x as Dom0, just as a DomU. I've been building the 3.x kernel with Buildroot, but I'm not set on that - it could just as well be Petalinux, or anything that can produce a kernel that runs on the zynqmp ultrascale+...

Thanks,
Brett S.
Brett,

If you are running a 3.x Linux Kernel as just a DomU, then I would expect it to work, but we haven't tested it ourselves. The only issue I am pretty sure you would run into is if you want to pass-through any of your devices. I think the earliest version of the Linux Kernel that has support for the Zynq UltraScale+ MPSoC is 3.19. So if you use anything older, the guest won't have the drivers to use the devices directly. If you are only using Paravirtualized drivers, then that shouldn't be an issue.

Thanks,
Robbie VanVossen