https://wenku.baidu.com/view/e282bed333687e21ae45a964.html
http://www.whhexin.com/article/4381.html
http://blog.csdn.net/tiancai13579/article/details/51056914
1、下载内核源代码,解压:https://github.com/altera-opensource/linux-socfpga/tree/socfpga-3.12
2、配置顶部的makefileARCH = arm
CROSS_COMPILE = arm-Linux-gnueabihf- (arm-gcc 目录)
# Architecture as present in compile.h
UTS_MACHINE := $(ARCH)
SRCARCH := $(ARCH)
2、配置Gcc:export CROSS_COMPILE= arm-linux-gnueabihf-
make ARCH=arm socfpga_defconfig
make ARCH=arm zImage LOADADDR=0x8000

本文详细介绍如何下载并配置ARM内核源代码进行编译的过程。包括设置makefile参数、配置GCC交叉编译器等关键步骤。

63

被折叠的 条评论
为什么被折叠?



