Get the App
SLTechnology News&Howtos  ›  Internet Technology  › 

What is the compilation of zedboard Linux kernel

Shulou Source: shulou.com Published: 2022-06-02 01:43:24 10月01日 Update

It is believed that many inexperienced people have no idea about what zedboard Linux kernel compilation is. Therefore, this article summarizes the causes and solutions of the problem. Through this article, I hope you can solve this problem.

Our goal is to generate the startup file for zedboard, first of all, we need a tool and an input file: Tools Required Xilinx SDK Input Files Required FSBL u-boot uImage uRamDisk.image.gz devicetree.dtb Output Files Produced boot.bin

First, you need to install some necessary software packages, sudo apt-get install device-tree-compiler openssl-devel libncurses5-dev libncursesw5-dev u-boot-tools.

First, uboot compilation step 1: download the uboot source code, (https://github.com/Xilinx/u-boot-xlnx/releases/tag/xilinx-v2016.3) I have uploaded Baidu Cloud disk (https://pan.baidu.com/s/1dE4jOm1))

Step 2: su enters Super privilege sudo tar-zxvf xilinx-v2016.3.tar.gz cd u-boot-xlnx-xilinx-v2016.3/tools/ export PATH=pwd:$PATH

Step 3: return the u-boot compiled by make ARCH=arm zynq_zed_config make ARCH=arm under the u-boot-xlnx-xilinx-v2016.3 directory without suffix, which is actually in zedboard executable file elf format for FSBL to generate boot.bin. U-boot.bin binary format, linux kernel compilation step 1: then download the linux source code of xilinx (https://github.com/Xilinx/linux-xlnx/releases) I have uploaded Baidu cloud disk (https://pan.baidu.com/s/1jIykq5g) step 2: su enters super permission make ARCH=arm xilinx_zynq_defconfig make ARCH=arm menuconfig (exit) make ARCH=arm UIMAGE_LOADADDR=0x8000 uImage 3. Devictree compilation executes make ARCH=arm dtbs in the current directory

To be continued. Finally, copy u-boot under the u-boot-xlnx-xilinx-v2016.3 directory to the / home directory, and finally copy the uImage to the / home directory under the linux-xlnx/arch/arm/boot directory. Finally, under the linux-xlnx/arch/arm/boot/dts/ directory, copy the zynq-zed.dtb to the / home directory and rename it to devicetree.dtb.

After reading the above, have you mastered the method of compiling the zedboard Linux kernel? If you want to learn more skills or want to know more about it, you are welcome to follow the industry information channel, thank you for reading!

Tags: Directories compilations kernels files contents methods more permissions formats source code problems cloud disks generation necessary helpless for this binary cause suffix for this Apple Docker Huawei Linux macOS MariaDB Microsoft MySQL NVidia OPPO Reno MySQL Microsoft MariaDB Shulou Technology Linux