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、配置顶部的makefile ARCH = 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