Author:GGZ
使用工具为4.4.3的arm-linux-工具(非必须)
- 解压工具压缩包:tar xvf toolschain.tar
- 设置环境变量:. set_toolschain.sh
- 检查是否可以使用交叉工具
进入路径$(path)/N32905_Linux_BSP
- 解压文件系统:tar zxvf rootfs-2.6.35.tar.gz
- cd linux-2.6.35.4_fa93
- make w55fa93_defconfig
- ./build (cd/spi/nand) 选择内核的启动方式
1.运行./build时报错:kernel/Makefile:138:kernel/timeconst.h] 错误 255
解决方法:修改kernel/timeconst.pl
373:---if (!defined(@val)) {
373:+++if(defined(@val)) {
进入内核上一级目录,参考教程
-
命令: git apply xxx.patch
-
报错:patch does not apply
-
解决办法:强制把能打上的补丁打上,git apply --reject xxx.patch 根据生成生成的*.rej,根据*.rej把未打上的补丁打上即可