[Original] based on ZYNQ Linux Environment Building (iii)

Source: Internet
Author: User

This compilation kernel

Extract:

[#17 #17:26:56 [email protected] ~/zybo_demo] $tar zxvf *.tar.gz

  

Go to the File kernel folder, clean

  

Configuration

[#21 #18:49:01 [email protected] ~/zybo_demo/linux-xlnx-xilinx-v2014.2] $make arch=arm xilinx_zynq_defconfig

  

Make Arch=arm Menuconfig

An error occurred, you need to install the ncurses Library, command sudo apt-get install Libncurses5-dev

Make

[#22 #18:49:14 [email protected] ~/zybo_demo/linux-xlnx-xilinx-v2014.2] $make arch=arm uimage loadaddr=0x00100000

  

The following error occurred while compiling the production image file

"Mkimage" command not found-u-boot images won't be builtmake[1]: * * * [arch/arm/boot/uimage] Error 1make: * * * [uimage] Error 2

  

Update U-boot-tools

[#22 #18:55:17 [email protected] ~/zybo_demo/linux-xlnx-xilinx-v2014.2] $sudo apt-get Install U-boot-tools

  

Once the update is complete, run it again to generate the image file

DTS compilation

Configuring related templates in the SDK

Generate device information on PL side and PS side, import to./arch/arm/boot/dts/

The pre-restart versions are as follows:

  

Generates DTB under the current directory.

At this point, both kernel and DTS generate numbers

[Original] based on ZYNQ Linux Environment Building (iii)

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.