Odroid-u3
Apparence
Arrêt / reboot
# arrêt
halt
# reboot
reboot
|
![]() |
Comme l'ODROID-U3 ne possède pas de système de gestion d'énergie, la commande poweroff ne pourra pas l'éteindre. Il faut donc utiliser la commande halt et le débrancher. |
MAJ de la date
Comme ODROID ne possède pas de RTC, un programme comme systemd-timesyncd doit se charger de mettre la date à jour.
systemctl enable systemd-timesyncd
# redémarrer pour que la date soit mise à jour
|
Liens
Composants
Processor | Samsung Exynos4412 Prime Cortex-A9 Quad Core 1.7Ghz with 1MB L2 cache Architecture ARMv7l Cortex-A9 |
Memory | 2048MB(2GB) LP-DDR2 880Mega data rate |
3D Accelerator | Mali-400 Quad Core 440MHz |
Video | supports 1080p via HDMI cable (H.264+AAC based MP4 container format) |
Video Out | micro HDMI connector |
Audio | Standard 3.5mm headphone jack, HDMI Digital |
LAN | 10/100Mbps Ethernet with RJ-45 Jack ( Auto-MDIX support) |
USB 2.0 Host | High speed standard (35 Mo/s) A type connector x 3 ports |
USB 2.0 Device | ADB/Mass storage (Micro USB) |
Storage | MicroSD Card Slot, eMMC module socket |
Power | 5V 2A Power |
PCB Size | 83 x 48 mm |
Weight | 48g including the heat sink |
Consommation | 2.4 Watts min |
Installation Archlinux
- Démonter les partitions avant d'écrire l'image sur la carte
- Écrire l'image sur la carte
dd if=ArchLinuxARM-odroid-u2-latest.img of=/dev/sdX
|
- After dd is finished issue a
sync
to make sure all cached data is written to the SD card. - Débrancher puis rebrancher la carte avant le redimensionnement
- Connexion ssh
ssh root@192.168.0.x
# password root
|
- Modifier le password de root
passwd |
- Mises à jour
pacman -Syu |
bashrc
Pour que le fichier .bashrc soit lu, il faut créer un fichier .bash_profile
cp /etc/skel/.bash_profile /root
cp /etc/skel/.bashrc /root
|
/root/.bashrc |
#
# ~/.bashrc
#
# If not running interactively, don't do anything
[[ $- != *i* ]] && return
alias pc='pacman -S'
alias pcr='pacman -Rs'
alias pcrn='pacman -Rsn'
alias pcs='pacman -Ss'
alias pcq='pacman -Qs'
alias pci='pacman -Qi'
alias pcu="script -q -c 'pacman -Syu' ~/update"
alias ls='ls --color=auto'
alias ll='ls -al'
alias lt='ls -alt'
|
MAJ du noyau
![]() |
Hardkernel n'assurant plus le support d'ODROID-U3, la version du noyau reste à 3.8.13.30 |
- Odroid U3 Kernel Upgrade + Docker
- ODROID-U3: kernel >= 4 ?
- Odroid U3: Último kernel (4.12) y último u-boot (2017-05)
LED Bleue
# afficher le mode séléctionné parmi tous les modes disponibles
cat /sys/class/leds/led1/trigger
# activité eMMC
echo mmc1 > /sys/class/leds/led1/trigger
|
Rendre la modification permanente
/etc/tmpfiles.d/leds.conf |
# Type Path Mode UID GID Age Argument
w /sys/class/leds/led1/trigger - - - - mmc1
|
Erreurs
ipv4_addaddr: if_addaddress: Invalid argument
Pas d'adresse IP associée.
Solution: rétrograder dhcpcd de 7.0.1 à 6.11.5
smsc95xx 1-2:1.0 eth0: kevent 2 may have been dropped
# vérifier la valeur de vm.min_free_kbytes
sysctl -n vm.min_free_kbytes
# 3514
|
/etc/sysctl.d/31-smsc95xx_fix.conf |
vm.min_free_kbytes = 32768 |
![]() |
Ne semble pas avoir d'effet. |
![]() |
Ne fonctionne pas: ignoring bad line starting with 'option' |
/etc/modprobe.d/smsc_turbo_mode.conf |
option smsc95xx turbo_mode=N |
PHP Fatal error: Uncaught Exception: Could not gather sufficient random data
PHP 7.1.2 avec ArchLinux ARM. Problème avec Owncloud, Roundcube
php <<< "<?php echo random_int(0,200);"
|
- https://archlinuxarm.org/forum/viewtopic.php?f=15&t=11321
- https://forums.archlinux.fr/viewtopic.php?f=5&t=18917
Retourner à PHP 7.1.1 ou attendre la prochaine version!