Outils pour utilisateurs

Outils du site


ancien:tek:ubuntu

GNU/Linux sur igepv2

En partant de ce qui a l'air de bouger le plus: ubuntu

Quelques liens pour commencer :

En suivant la page de free-electrons, la plus à jour, nous avons monter assez rapidement l'ubuntu en ajouant un acces USB a l'audio. Voici le fichier de config :igep0020_usb_defconfig.txt

petits trucs pour test

kernel

git clone git://git.igep.es/pub/scm/linux-omap-2.6.git
cd linux-omap-2.6
git tag
git checkout -b  v2.6.33.7-0  v2.6.33.7-0

#and build with omap3_defconfig !
# pour mon cas
export PATH=/mnt/data/igepv2/arm-2010q1/bin:$PATH
export ARCH=arm
export CROSS_COMPILE=arm-none-linux-gnueabi-

make ARCH=arm CROSS_COMPILE=arm-none-linux-gnueabi- igep0030_defconfig
make ARCH=arm CROSS_COMPILE=arm-none-linux-gnueabi- uImage modules

#The result will be an uImage file in arch/arm/boot directory. You can install the kernel modules to your target rootfs

make ARCH=arm CROSS_COMPILE=arm-none-linux-gnueabi- modules_install INSTALL_MOD_PATH=[path to your target rootfs]

La modification la plus importante pour nous est la prise en compte du driver snd-usb-audio en natif

2.6.33.4

2.6.35.8

rootfs

un rootfs simple sans probleme, nous compilerons tout le reste directement sur la carte

apt-get install rootstock
rootstock --fqdn igepv2 --login ubuntu --password ubuntu --imagesize 2G --seed build-essential,openssh-server,usbutils,ubuntu-minimal --dist marverick

# une fois le fichier decompressé sur la SD
# regle un pb udevd
echo "dev /dev tmpfs rw 0 0
tmpfs /tmp tmpfs defaults 0 0 " >> etc/fstab

Cela donne:

quelques paramètres

ntpdate : pas d'horloge sur ces cartes ! il faut chercher l'heure ailleurs

echo "#!/bin/sh -e
#
# rc.local
ntpdate 2.fr.pool.ntp.org 1.fr.pool.ntp.org 0.fr.pool.ntp.org
exit 0" > etc/rc.local
echo "
auto eth0
iface eth0 inet dhcp

auto eth0:0
iface eth0:0 inet static
     address 192.168.1.22 
     netmask 255.255.255.0

">> ./etc/network/interfaces

mv etc/init/ureadahead.conf etc/init/ureadahead.disable
mv etc/init/plymouth.conf etc/init/plymouth.disable

un paquet d'ajouts de paquets

apt-get install build-essential autoconf automake1.9 libtool automake gettext awk
ancien/tek/ubuntu.txt · Dernière modification : 2024/02/09 17:39 de 127.0.0.1