Linux:Kernelbuild: Unterschied zwischen den Versionen

Aus Alexander's Wiki
K
K
Zeile 13: Zeile 13:
* make -j4 INSTALL_MOD_PATH=out modules
* make -j4 INSTALL_MOD_PATH=out modules
* make -j4 INSTALL_MOD_PATH=out modules_install
* make -j4 INSTALL_MOD_PATH=out modules_install
Der Treiber ist jetzt da: linux-sunxi/drivers/rtc/rtc-pcf8563.c

Version vom 31. März 2016, 08:47 Uhr

  • 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