Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

What is the compilation of zedboard Linux kernel

2025-04-06 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Internet Technology >

Share

Shulou(Shulou.com)06/02 Report--

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!

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Internet Technology

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report