-
创建kernel文件夹
mkdir /opt/systemmake/kernel
cd /opt/systemmake/kernel
-
将光盘中的linux-3.5-20190720.tgz放入kernel文件夹
-
解压源码
tar -xvf linux-3.5-20190720.tgz
cd linux-3.5
-
清理配置
make distclean
make clean
-
修改配置
拷贝一份工程下为4412配置好的config文件
cp tiny4412_linux_defconfig .config
图形化配置
make menuconfig
-
第一处修改
Kernel hacking --->
[ *] Kernel low-level debugging functions (read help!)
-
第二处修改
Devices Drives --->
Character devices --->
Serial drivers --->
[*] Samsung SoC serial support
-
第三处修改
System Type --->
[ ] Support TrustZone-enabled Trusted Execution Environment
-
编译kernel
time ( make -j 16 )
-
编译好的内核会默认放在 linux-3.5/arch/arm/boot 下