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)