Linux:Kernelbuild: Unterschied zwischen den Versionen

Aus Alexander's Wiki
K
K
 
Zeile 11: Zeile 11:
* Enable loadable module support
* Enable loadable module support
** z.B.: ''Device Drivers'': I2C support
** z.B.: ''Device Drivers'': I2C support
** z.B.: ''Device Drivers/Real Time Clock'' rtc-pcf8563 als Kernel Modul wählen (M) (Device Drivers -> Real Time Clock -> Philips PCF8563/Epson TRC8564)
** z.B.: ''Device Drivers/Real Time Clock'': rtc-pcf8563 als Kernel Modul wählen (M) (Device Drivers -> Real Time Clock -> Philips PCF8563/Epson TRC8564)
* make -j4 uImage
* make -j4 uImage
* make -j4 INSTALL_MOD_PATH=out modules
* make -j4 INSTALL_MOD_PATH=out modules

Aktuelle Version vom 1. April 2016, 09:30 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
  • Enable loadable module support
    • z.B.: Device Drivers: I2C support
    • z.B.: Device Drivers/Real Time Clock: 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

Kernel Module sind im Ordner linux-sunxi/out/lib/modules/3.x.xx