Linux:Kernelbuild

Aus Alexander's Wiki
  • Installation einer Server-Minimalinstallation von Ubuntu
  • apt-get install gcc-arm-linux-gnueabihf
  • export CROSS_COMPILE=arm-linux-gnueabihf-
  • export ARCH=arm
  • make menuconfig
  • z.B.: rtc-pcf8563 als Kernel Modul wählen (M) (Device Drivers -> Real Time Clock -> Philips PCF8563/Epson TRC8564)
  • make -j4 uImage
  • make -j4 INSTALL_MOD_PATH=out modules
  • make -j4 INSTALL_MOD_PATH=out modules_install

Der Treiber ist jetzt da: linux-sunxi/drivers/rtc/rtc-pcf8563.c