制做 tq2440(s3c2440) linux 内核

  • 下载 kernel 代码

kernel.org

  • 修改配置
vim Makefile
ARCH = arm
CROSS_COMPILE = armv4t-linux-
cp arch/arm/configs/s3c2440_config .config
cp .config config-s3c2440
make menuconfig
General setup  --->
  (armv4t-linux-) Cross-compiler tool prefix
  (tq2440) Local version - append to kernel release
  (tq2440) Default hostname
Kernel Features  --->
  [*] Use the ARM EABI to compile the kernel                                                                              │ │
    [*]   Allow old ABI binaries to run with this kernel (EXPERIMENTAL)
Device Drivers  --->
  • 编译
make -j4 zImage
ls -l arch/arm/boot