Simple kernel transplant

1: Compiling the kernel

  1.1: Modify the Makefile top: ARCH define two variables and values ​​CROSS_COMPILE arm and arm-linux-gnueabihf-

  1.2: The first compilation clean up: make clean

  1.3: Configuring the kernel: make imx_v7_mfg_defconfig

  1.4: Compiling the kernel: make

2: Adding a default profile development board

  cd arch/arm/configs

  cp imx_v7_mfg_defconfig imx_alientek_emmc_defconfig

3: Add a device file tree

  cd arch/arm/boot/dts

  cp imx6ull-14x14-evk.dts imx6ull-alientek-emmc.dts
4: Compile
5: Change drive device tree recompile the device tree: make dtbs, using the new device tree can reboot the system

 

 

Guess you like

Origin www.cnblogs.com/lzd626/p/11953913.html