Arietta G25/howto-kernel

Aus FabLab Nürnberg Wiki
Wechseln zu: Navigation, Suche

CAUTION keep in sync with https://github.com/jnweiger/ws2812_sprites/blob/master/arietta/README.txt#L63

                        jw, Do 2. Okt 10:31:21 CEST 2014

compile a kernel
----------------
# FROM http://www.acmesystems.it/compile_linux_3_16
wget https://www.kernel.org/pub/linux/kernel/v3.x/linux-3.16.1.tar.xz
tar xvfJ linux-3.16.1.tar.xz
cd linux-3.16.1
wget http://www.acmesystems.it/www/compile_linux_3_16/acme.patch
patch -p1 < acme.patch
make ARCH=arm CROSS_COMPILE=arm-linux-gnueabi- acme-arietta_defconfig
make ARCH=arm menuconfig
 -> hrtimer on
make ARCH=arm CROSS_COMPILE=arm-linux-gnueabi- acme-arietta.dtb
make -j8 ARCH=arm CROSS_COMPILE=arm-linux-gnueabi- zImage
make modules -j8 ARCH=arm CROSS_COMPILE=arm-linux-gnueabi-
make modules_install INSTALL_MOD_PATH=./modules ARCH=arm
scp arch/arm/boot/dts/acme-arietta.dtb root@192.168.10.10:/boot
scp arch/arm/boot/zImage root@192.168.10.10:/boot
rsync -avc modules/lib/. root@192.168.10.10:/lib/.
ssh root@192.168.10.10
reboot
depmod -a

[[Kategorie:Mikrocontroller]]