Notes sur les équipements
ExoPC
À venir
http://www.alwaysinnovating.com
Mise a jour en différé (notes)
Script approximatif:
cat /proc/partitions
mknod /dev/sda1 b 8 1 mkdir /mnt/usb mount -o iocharset=utf8 /dev/sda1 /mnt/usb cd / cp /mnt/usb/install-sd.sh . chmod 777 install-sd.sh ./install-sd.sh -d /dev/mmcblk0 -e -f -o /mnt/usb
Download the following files and place them in the root of your USB flash drive:
ai-install.tbz2
ai-os.squashfs
ai-ui.tbz2
android.squashfs
install-sd.sh
mlo
u-boot.bin
ubuntu.squashfs
uImage
From here:
http://www.alwaysinnovating.com/release/latest/
Warning to Windows users: Windows will save mlo and uImage as .txt files; after downloading, rename the files and remove the .txt from the end.
The flash drive can be inserted in the TB either prior to powering on or at the command prompt below; I've done both.
Select the "command prompt" option from the boot menu and from there enter the following.
[Note if you have 2010-01.b or higher, at the OS selection screen, tap/poke the "Advanced Boot Menu" text in the lower left of the screen.]
mknod /dev/sda b 8 0
mkdir /mnt/usb
mount -o iocharset=utf8 /dev/sda /mnt/usb
cd /
cp /mnt/usb/install-sd.sh .
chmod 777 install-sd.sh
./install-sd.sh -d /dev/mmcblk0 -e -f -o /mnt/usb
In 10-15 minutes you'll have an updated TB
Meilleure possibilité
if that succeeds, then the contents of the first partition will be accessible in /mnt/mmc directory
then:
1. go to
http://www.alwaysinnovating.com/release/latest/
, download all the files you see on the small drive (that should be: mlo, u-boot.bin, uImage, ai-ui.tbz2 and ai-install.tbz2) to some directory on your desktop - or anywhere, but not on the card (yet)
2. open the download directory and make sure that your browser didn't rename mlo to mlo.html or uImage to uImage.html (one of those happens sometimes, not sure which)
3. copy the files from the download directory to the small drive (which is /mnt/mmc). overwrite everything.
4. reboot and enjoy your OS selection screen. at this point, you should apply the "normal" update method
Téléchargement
wget -r -np http://www.alwaysinnovating.com/release/latest/
http://www.alwaysinnovating.com/wiki/index.php/Reinstall_OS#On_Linux
Repartitionner en supprimant toutes les partitions et en faisant:
sudo -s
mydevice='sdb' gunzip -dc sd-card.gz | dd of=/dev/$mydevice bs=1m
Réinstaller tout
mypartition='mmcblk0'
sudo -s wget http://www.alwaysinnovating.com/release/install-sd.sh chmod a+x install-sd.sh ./install-sd.sh -d /dev/$mypartition
Pour installer a partir d'un autre répertoire:
Fichiers téléchargés de http://www.alwaysinnovating.com/release/latest/
ai-install.tbz2 ai-os.squashfs ai-ui.tbz2 android.squashfs install-sd.sh mlo u-boot.bin uImage ubuntu.squashfs
Ä partir de ce répertoire:
./install-sd.sh -o . -d /dev/$mypartition
(durée de 5 a 10 minutes)
Autres:
problème avec java5
http://osdir.com/ml/ubuntu-archive/2.../msg00004.html
So to get the repo for java5 add these lines to your /etc/apt/sources.list
deb http://us.archive.ubuntu.com/ubuntu/ jaunty multiverse
deb http://us.archive.ubuntu.com/ubuntu/ jaunty-updates multiverse
Plus simple de travailler avec une machine virtuelle http://www.turnkeylinux.org/core sudo -s apt-get install git-core gnupg flex bison gperf libsdl-dev libesd0-dev \ libwxgtk2.6-dev build-essential zip curl libncurses5-dev zlib1g-dev wget http://launchpadlibrarian.net/30371982/sun-java5-bin_1.5.0-20-1_i386.deb wget http://launchpadlibrarian.net/30371986/sun-java5-jre_1.5.0-20-1_all.deb wget http://launchpadlibrarian.net/30371986/sun-java5-demo_1.5.0-20-1_all.deb wget http://launchpadlibrarian.net/30371984/sun-java5-jdk_1.5.0-20-1_i386.deb dpkg --install sun-java5-* update-java-alternatives -s java-1.5.0-sun exit mkdir tbdroid2 cd tbdroid2 curl http://android.git.kernel.org/repo > repo chmod a+x repo ./repo init -u git://labs.embinux.org/embinux-android-build/android-omap3/repo/android/platform/manifest.git -b beagle-eclair ./repo sync make mkdir rfs sudo -s cp -a out/target/product/generic/root/* rfs/ cp -a out/target/product/generic/system/* rfs/system/ cd rfs chown -R root.root * chmod -R 777 data system mkdir -p dev mknod dev/console c 5 1 mkdir -p sbin ln -s /init sbin/init rm -f ../android.squashfs mksquashfs . ../android.squashfs -noappend cd .. exit
Then, you need to have the android.squashfs on the second partion in the .images folder.
USB Bluetoooth and Wifi in 1 stick (might come in handy for freeing up an internal USB port?
http://www.dealextreme.com/details.dx/sku.26128
handy internal USB Hub?
http://usb.brando.com/usb-4-port-hub-cable_p00379c039d015.html
http://www.alwaysinnovating.com/
Installation d'un paquetage
Remote Desktopipkg install rdesktopredesktop -u username -p password -f -0 ipaddress
Enlightenment (e17)
Réinstallation du OS sous Linux
Voir le Wiki : http://www.alwaysinnovating.com/wiki/index.php/Reinstall_OS
Les OS inclus sont AI-os, Ubuntu, Android. Le téléchargement est assez long (40 minutes à 10mbps) puisqu'il comprend plusieurs fichiers de 600-700KB:
| Gros fichiers | Taille en MB |
|---|---|
| ai-os.squashfs | 754 |
| ubuntu.squashfs | 576 |
| ai-os.tbz2 | 656 |
| sd-card.gz | 1300 |
Méthode alternative de réinstallation du OS
Exécuter les étapes 1 et 2 ci-haut, puis:
mkdir TouchBookOS cd TouchBookOS wget -r -np http://www.alwaysinnovating.com/release/latest/ cd os/www.alwaysinnovating.com/release/latest rm -f index.html* ./install-sd.sh -o . -d $MYFLASH
on peut ajouter "-f" à cette dernière commande pour automatiser les réponses. Pour plus d'info sur les répertoires utilisés: http://www.alwaysinnovating.com/wiki/index.php/List_release_folder.
La durée de l'installation est de 10 minutes (?)
Utilisation d'une clé USB pour l'Internet mobile
Installer le paquet usb-modeswitch (outil de changement de mode pour contrôler les périphériques USB « flip flop »)
apt-get install usb-modeswitch
/lib/udev/rules.d/40-usb_modeswitch.rules
/etc/usb_modeswitch.conf