Is it possible to get the source code for the Linux kernel that MathWorks uses to create the images for the Zynq support packages?

7 views (last 30 days)
I am using one of the Zynq support packages that comes with a MathWorks Linux image, but I need to either use my own Linux kernel or modify the one that is downloaded to the SD during the Hardware Setup of that support package. When I try to integrate the generated code into our own kernel, I get errors that I believe are due to using different drivers. Can we get the Linux kernel code that MathWorks uses?

Accepted Answer

MathWorks Support Team
MathWorks Support Team on 21 Mar 2024
Edited: MathWorks Support Team on 21 Mar 2024
The MathWorks buildroot repository can be found on GitHub and contains the source code for all Linux images:
The buildroot framework specifically for each support package can be found here:
Starting with the MATLAB R2024a, the features of the Xilinx Zynq Support from Vision HDL Toolbox will be available through Xilinx Zynq SoC Support from SoC Blockset, following is the link: 
For releases prior to MATLAB R2024a, unlike SoC Blockset, the above support packages do not explicitly support adding custom boards or Linux image customization, but the above repository tag should give you a starting point to investigate your own solution.

More Answers (0)

Products


Release

R2020b

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!