Project Raspberry PI
Jump to navigation
Jump to search
Raspberry PI
Bezugsquellen
Kernel kompilieren
Die Infos kommen von [eLinux]. Dort ggf. nach Neuigkeiten suchen.
Das Zielverzeichnis braucht im Moment 6.1 GB. Dauer der Builds (ohne git Downloads):
* auf job1:/data3/rpi ca. 9 Minuten * auf job4:/dev/shm/rpi ca. 5 Minuten
export RPI_DIR=/data3/rpi mkdir -p "$RPI_DIR" cd "$RPI_DIR" git clone https://github.com/raspberrypi/linux export KERNEL_SOURCE="$RPI_DIR/linux" git clone https://github.com/raspberrypi/tools export CCPREFIX="$RPI_DIR/tools/arm-bcm2708/gcc-linaro-arm-linux-gnueabihf-raspbian-x64/bin/arm-linux-gnueabihf-" git clone git://github.com/raspberrypi/firmware.git cd linux make mrproper cp -av arch/arm/configs/bcmrpi_defconfig .config make ARCH=arm CROSS_COMPILE=${CCPREFIX} olddefconfig cp -av .config ../bcmrpi_defconfig-plus-oldconfig-and-defaults make ARCH=arm CROSS_COMPILE=${CCPREFIX} -j9 make ARCH=arm CROSS_COMPILE=${CCPREFIX} modules export MODULES_TEMP="$RPI_DIR/modules-temp" mkdir -p "$MODULES_TEMP" make ARCH=arm CROSS_COMPILE=${CCPREFIX} INSTALL_MOD_PATH=${MODULES_TEMP} modules_install