Linux:Kernelbuild: Unterschied zwischen den Versionen
Aus Alexander's Wiki
Admin (Diskussion | Beiträge) K |
Admin (Diskussion | Beiträge) 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
- apt-get install git libncurses-dev u-boot-tools
- git clone https://github.com/linux-sunxi/linux-sunxi
- 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