olimex:kernels
Différences
Ci-dessous, les différences entre deux révisions de la page.
— | olimex:kernels [2024/02/09 17:10] (Version actuelle) – créée - modification externe 127.0.0.1 | ||
---|---|---|---|
Ligne 1: | Ligne 1: | ||
+ | |||
+ | ====== autres sources ====== | ||
+ | http:// | ||
+ | |||
+ | attention pas de LIME A10 ! Que de A20 | ||
+ | |||
+ | ====== Debian image for A13-OLinuXino-LIME with Kernel 3.4.90+ ====== | ||
+ | Description du process de construction : {{: | ||
+ | |||
+ | cf doc chez olimex http:// | ||
+ | |||
+ | |||
+ | ====== Autres méthode d' | ||
+ | |||
+ | |||
+ | ===== Olimex LIME kernel et modules ===== | ||
+ | |||
+ | * {{: | ||
+ | * {{: | ||
+ | * {{: | ||
+ | |||
+ | |||
+ | |||
+ | ===== Olimex préparation des noyaux ===== | ||
+ | ===== A20 ===== | ||
+ | de | ||
+ | * http:// | ||
+ | * https:// | ||
+ | * https:// | ||
+ | |||
+ | ===== U-boot ===== | ||
+ | < | ||
+ | mkdir A20-U-boot | ||
+ | git clone -b sunxi https:// | ||
+ | cd u-boot-sunxi/ | ||
+ | make A20-OLinuXino_MICRO_config | ||
+ | make CROSS_COMPILE=arm-linux-gnueabihf- | ||
+ | |||
+ | ls u-boot.bin u-boot-sunxi-with-spl.bin spl/ | ||
+ | |||
+ | </ | ||
+ | |||
+ | ===== Kernel ===== | ||
+ | récupérer : {{: | ||
+ | < | ||
+ | git clone https:// | ||
+ | cp a20_defconfig linux-sunxi/ | ||
+ | cp sunxi-i2c.patch.txt linux-sunxi/ | ||
+ | cd linux-sunxi | ||
+ | patch -p0 < sunxi-i2c.patch | ||
+ | make ARCH=arm a20_defconfig | ||
+ | make ARCH=arm menuconfig | ||
+ | export CCFLAGS=" | ||
+ | make ARCH=arm CROSS_COMPILE=arm-linux-gnueabihf- -j4 uImage | ||
+ | mkdir out | ||
+ | make ARCH=arm CROSS_COMPILE=arm-linux-gnueabihf- -j4 INSTALL_MOD_PATH=out modules | ||
+ | make ARCH=arm CROSS_COMPILE=arm-linux-gnueabihf- -j4 INSTALL_MOD_PATH=out modules_install | ||
+ | make ARCH=arm CROSS_COMPILE=arm-linux-gnueabihf- -j4 INSTALL_MOD_PATH=out firmware_install | ||
+ | |||
+ | # au caszou compilation en natif pour bibi | ||
+ | make ARCH=arm uImage | ||
+ | rm -rf out/* | ||
+ | mkdir -p out | ||
+ | make ARCH=arm INSTALL_MOD_PATH=out modules | ||
+ | make ARCH=arm INSTALL_MOD_PATH=out modules_install | ||
+ | make ARCH=arm INSTALL_MOD_PATH=out firmware_install | ||
+ | |||
+ | </ | ||
+ | |||
+ | le fichier u-boot avec la partie configuration est dans le a20_kernel_3.4 c'est : ./ | ||
+ | |||
+ | dd if=u-boot-sunxi-with-spl.bin of=/dev/sdX bs=1024 seek=8 | ||
+ | |||
+ | le kernel uImage est dans linux-sunxi/ | ||
+ | |||
+ | les modules sont dans linux-sunxi/ | ||
+ | |||
+ | |||
+ | ===== A10 Lime ===== | ||
+ | de http:// | ||
+ | |||
+ | ===== U-boot ===== | ||
+ | < | ||
+ | mkdir a10-LIME-U-boot | ||
+ | cd a10-LIME-U-boot | ||
+ | git clone -b sunxi https:// | ||
+ | cd u-boot-sunxi/ | ||
+ | make ARCH=arm CROSS_COMPILE=arm-linux-gnueabihf- distclean | ||
+ | make ARCH=arm CROSS_COMPILE=arm-linux-gnueabihf- A10-OLinuXino-Lime_config | ||
+ | make ARCH=arm CROSS_COMPILE=arm-linux-gnueabihf- | ||
+ | cd .. | ||
+ | </ | ||
+ | ===== Kernel ===== | ||
+ | récupérer : {{: | ||
+ | < | ||
+ | git clone https:// | ||
+ | cp a10lime_defconfig linux-sunxi/ | ||
+ | cd linux-sunxi | ||
+ | patch -p0 < ../ | ||
+ | patch -p0 < ../ | ||
+ | make ARCH=arm a10lime_defconfig | ||
+ | make ARCH=arm menuconfig | ||
+ | export CCFLAGS=" | ||
+ | make ARCH=arm CROSS_COMPILE=arm-linux-gnueabihf- -j4 uImage | ||
+ | mkdir out | ||
+ | make ARCH=arm CROSS_COMPILE=arm-linux-gnueabihf- -j4 INSTALL_MOD_PATH=out modules | ||
+ | make ARCH=arm CROSS_COMPILE=arm-linux-gnueabihf- -j4 INSTALL_MOD_PATH=out modules_install | ||
+ | make ARCH=arm CROSS_COMPILE=arm-linux-gnueabihf- -j4 INSTALL_MOD_PATH=out firmware_install | ||
+ | |||
+ | </ | ||
+ | certaine fois sur la LIME , kernel 3.14 {{: | ||
+ | < | ||
+ | make uImage LOADADDR=0x40008000 | ||
+ | </ | ||
+ | |||
+ | ===== Installation de la SD sur la NAND (A20) ===== | ||
+ | de | ||
+ | https:// | ||
+ | avec | ||
+ | {{: | ||
+ | |||
+ | ===== Ptits trucs ===== | ||
+ | lire aussi : | ||
+ | * http:// | ||
+ | * http:// | ||
+ | |||
+ | recupération de u-boot.bin et sunxi-spl.bin | ||
+ | < | ||
+ | ?? dd of=u-boot.bin if=/dev/sdc bs=1 seek=32 count=227536 | ||
+ | ?? dd of=sunxi-spl.bin if=/dev/sdc bs=1 seek=8 count=17912 | ||
+ | dd of=bootsd.bin if=/dev/sdc bs=1 seek=8 count=2039 | ||
+ | </ | ||
+ | |||
+ | gunzip -c / | ||
+ | |||
+ | |||
+ | * http:// | ||
+ | ==== boot.cmd pour 512 Mo de RAM et plus de sortie graphique ==== | ||
+ | |||
+ | < | ||
+ | setenv bootargs console=ttyS0, | ||
+ | ve=0 sunxi_no_mali_mem_reserve sunxi_ve_mem_reserve=0 | ||
+ | ait panic=10 | ||
+ | fatload mmc 0 0x43000000 script.bin | ||
+ | fatload mmc 0 0x48000000 uImage | ||
+ | bootm 0x48000000 | ||
+ | </ | ||
+ | < | ||
+ | #apt-get install uboot-mkimage | ||
+ | mkimage -C none -A arm -T script -d boot.cmd boot.scr | ||
+ | </ | ||
+ | |||
+ | {{: | ||
+ | ==== xorg ==== | ||
+ | test xorg.conf pour eviter le décalage du curseur | ||
+ | < | ||
+ | Section " | ||
+ | Identifier | ||
+ | Screen | ||
+ | InputDevice | ||
+ | EndSection | ||
+ | |||
+ | #Section " | ||
+ | # | ||
+ | # | ||
+ | # | ||
+ | # | ||
+ | # | ||
+ | # | ||
+ | # | ||
+ | #EndSection | ||
+ | |||
+ | Section " | ||
+ | Identifier | ||
+ | # | ||
+ | DefaultDepth | ||
+ | EndSection | ||
+ | |||
+ | #Section " | ||
+ | # Mode 0666 | ||
+ | #EndSection | ||
+ | |||
+ | Section " | ||
+ | Identifier | ||
+ | Option | ||
+ | Driver | ||
+ | Option | ||
+ | Option | ||
+ | Option | ||
+ | Option | ||
+ | Option | ||
+ | EndSection | ||
+ | </ | ||
+ | Option " | ||
+ | |||
+ | **Décalage du curseur par rapport à la touche, même après un ts_calibrate** | ||
+ | |||
+ | de fait ça fonctionnne avec: | ||
+ | |||
+ | / | ||
+ | < | ||
+ | Section " | ||
+ | Identifier " | ||
+ | MatchDevicePath "/ | ||
+ | MatchProduct " | ||
+ | Driver " | ||
+ | Option | ||
+ | Option | ||
+ | Option | ||
+ | Option | ||
+ | Option | ||
+ | Section " | ||
+ | </ | ||
+ | === Autres sources === | ||
+ | |||
+ | Debian Jessie packages for A10 : http:// | ||