人工智能与机器人技术论坛

 找回密码
 立即注册
查看: 3784|回复: 1
打印 上一主题 下一主题

xilinx zynq 7000的linux kernel 内核编译

[复制链接]

82

主题

143

帖子

1024

积分

金牌会员

Rank: 6Rank: 6

积分
1024
跳转到指定楼层
楼主
发表于 2018-12-18 16:21:28 | 显示全部楼层 回帖奖励 |倒序浏览 |阅读模式
1:下载xilinx kernel 代码:https://github.com/Xilinx/linux-xlnx
2:解压到英文目录下
3:对整个文件夹 加权 chmod -R 7777 /linux-xlnx-master/
4:一般用户下编译
5:安装sudo apt install u-boot-tools

6:以下步骤安装:**的硬件版本:https://xilinx-wiki.atlassian.ne ... l-LinuxforZynqAPSoC
  Linux for Zynq AP SoC The kernel is configured based on linux-xlnx/arch/arm/configs/xilinx_zynq_defconfig:
make ARCH=arm xilinx_zynq_defconfig
make ARCH=arm menuconfig







出现设置界面 :General setup->cross-compiler tool prefix->输入编译工具:arm-linux-gnueabihf-

To produce the kernel image:
make ARCH=arm UIMAGE_LOADADDR=0x8000 uImage





In the process, linux-xlnx/arch/arm/boot/Image and linux-xlnx/arch/arm/boot/zImage are created. The Image file is the uncompressed kernel image and the zImage file is a compressed kernel image which will uncompress itself when it starts.
If the mkimage utility is available in the build environment, linux-xlnx/arch/arm/boot/uImage will be created by wrapping zImage with a U-Boot header.
参考:
https://xilinx-wiki.atlassian.ne ... l-LinuxforZynqAPSoC
https://github.com/Xilinx
https://blog.csdn.net/tmp_2011/article/details/81662709

如果有错参考:https://blog.csdn.net/qq_28219531/article/details/74415353


回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

QQ|小黑屋|AiRobotNews.com|人工智能与机器人技术论坛  

GMT+8, 2024-5-8 08:12 , Processed in 0.088057 second(s), 6 queries , File On.

Powered by Discuz! X3.3

© 2001-2017 Comsenz Inc.

快速回复 返回顶部 返回列表