Kernel

From ElectroDragon
Jump to navigation Jump to search

DTS

  • make ARCH=arm CROSS_COMPILE=arm-linux-gnueabi- dtbs -j4


Build single KO file

  • Edit Makerfile
obj-m := mxt224.o

or change exist line

obj-$(CONFIG_ESP8089) := esp8089.o
  • Run:
ARCH=arm CROSS_COMPILE=arm-linux-gnueabihf- make -C /opt/linux-v3s/ M=${PWD}  modules
make -C /home/kernel_path/ M=$(pwd) modules
  • In which
-C is the kernel folder

Reference

Upgrade

Check kernel: uname –sr

  • sudo apt-get update
  • sudo apt-get dist-upgrade