===== OLinuXino A20 Rev E : =====
* https://www.olimex.com/wiki/A20-OLinuXino-MICRO#
* a20_debian_kernel_3_4_LAN_USBx2_Cards_LCD_HDMI_SATA_TS_X_GPIO_OTG_MIC_release5.7z
* 1GB DDR3 RAM memory
* http://linux-sunxi.org/A20-olinuxino-micro
* http://en.wikipedia.org/wiki/OLinuXino#A20
* https://www.olimex.com/forum/index.php?action=profile;area=showposts;u=3954# CommunitY
* http://alarma20.wordpress.com/
* https://github.com/OLIMEX/OLINUXINO/commits/master/SOFTWARE/A20
===== CHANGELOG =====
* 2020-09-24 : http://ix.io/2yA7# sudo armbianmonitor -u
* 2020-10-30 : https://github.com/armbian/build/issues/770#
* https://forum.armbian.com/topic/12321-reboot-results-in-poweroff-on-olimex-lime2-emmc-and-olimex-micro/
* 2021-03-06 : arm_ioremap_pfn_caller
* https://mastodon.social/@rzr/105844235294269676
* 2023-11-29 : http://ix.io/4MKH#
* 2023-12-17: : ReBoot RegressioN UBooT
* ii u-boot-sunxi:armhf 2023.01+dfsg-2 armhf A boot loader for sunxi systems
* https://mastodon.social/@rzr/111595601191335994
* https://github.com/rzr/u-boot/issues/2
* https://github.com/OLIMEX/OLINUXINO/issues/93
* https://mastodon.social/@rzr/111595601191335994
* https://github.com/u-boot/u-boot/commits/master/configs/A20-OLinuXino_MICRO_defconfig
* "CONFIG_AXP_ALDO3_INRUSH_QUIRK"
* https://github.com/u-boot/u-boot/commit/8311e84b18627d836b4f90df268bb6890c2576eb
* http://patchwork.ozlabs.org/project/uboot/list/?series=389169
* https://tracker.debian.org/pkg/u-boot
* 2024-05-18 : https://tracker.debian.org/pkg/linux# 6.1.0-21-armmp-lpae
[173483.465944] BTRFS warning (device mmcblk1p2): csum failed root 256 ino 5381 off 4096 csum 0x8c58c970 expected csum 0x1ff48d85 mirror 1
[173483.466065] BTRFS error (device mmcblk1p2): bdev /dev/mmcblk1p2 errs: wr 0, rd 0, flush 0, corrupt 115, gen 0
===== UART =====
If you have an UART Link you'll be able to see those uboot messages :
# Olimex micro eth .... uart0 { 3v, tx0, rx0 , gnd } .... power
{{https://linux-sunxi.org/images/thumb/1/1e/Olinuxino_A20_uart_uart.jpg/360px-Olinuxino_A20_uart_uart.jpg}}
This worked from me from RPI's UART to OLinuXino UART (3wires)
I used an Rpi as UART cable (dont connect vcc, just gnd and rx to tx in both way)
root@pi:~# screen /dev/ttyAMA0 115200
_________________
|
| 5V 5V *GND* *TXD* *RXD* PCM ...
| 3V3 ...
|
Raspberry Pi
U-Boot SPL 2013 1024 MiB
CPU: 96000000/AHB/APB: 3/2/2
spl: not an uImage at 1600
U-Boot 2013.10-rc2-00118-gbf62731 (Oct 13 2013 - 11:53:03) Allwinner Technology
CPU: Allwinner A20 (SUN7I)
Board: A20-OLinuXino_MICRO
I2C: ready
DRAM: 1 GiB
MMC: SUNXI SD/MMC: 0
....
* http://raspberrypi.stackexchange.com/questions/10078/how-to-connect-raspberry-pi-to-the-serial-interface-ttl-of-a-cubieboard
* http://elinux.org/RPi_Low-level_peripherals
* http://elinux.org/RPi_Serial_Connection
===== BOOT =====
* https://linux-sunxi.org/Olimex_A20-OLinuXino-Micro#U-Boot
* https://github.com/allwinner-zh/bootloader
Only booting from uSD is supported the larger SD one (but can be used simultaneously)
* https://www.olimex.com/Products/OLinuXino/A20/A20-OLinuXino-MICRO/resources/A20-OLinuXino-Micro.pdf
U-Boot SPL 2013 1024 MiB
CPU: 96000000/AHB/APB: 3/2/2
spl: not an uImage at 1600
U-Boot 2013.10-rc2-00118-gbf62731 (Oct 13 2013 - 11:53:03) Allwinner Technology
CPU: Allwinner A20 (SUN7I)
Board: A20-OLinuXino_MICRO
I2C: ready
DRAM: 1 GiB
MMC: SUNXI SD/MMC: 0
*** Warning - bad CRC, using default environment
In: serial
Out: serial
Err: serial
Net: emac
Hit any key to stop autoboot: 0
sun7i#
U-Boot 2011.09-rc1-00000-geceb6aa-dirty (Sep 17 2013 - 14:53:57) Allwinner Technology
CPU: SUNXI Family
Board: SUN7I-EVB
DRAM: 1 GiB
NAND: [NAND] set nand_good_block_ratio 870
3480 MiB
sunxi#printenv
boot_fastboot=fastboot
boot_normal=boota 40007800
boot_recovery=sunxi_flash read 40007800 recovery;boota 40007800
bootcmd=run setargs_nand boot_normal
bootdelay=3
console=ttyS0,115200
fastboot_key_value_max=0x8
fastboot_key_value_min=0x2
init=/init
loglevel=4
mmc_root=/dev/mmcblk0p7
nand_root=/dev/system
partitions=bootloader@nanda:env@nandb:boot@nandc:system@nandd:data@nande:misc@nandf:recovery@nandg:cache@nandh:databk@nandi:private@nandj:UDISK@nandk
recovery_key_value_max=0x13
recovery_key_value_min=0x10
root=/dev/sda2
setargs_mmc=setenv bootargs console=${console} root=${mmc_root} init=${init} loglevel=${loglevel} partitions=${partitions}
setargs_nand=setenv bootargs console=${console} root=${nand_root} init=${init} loglevel=${loglevel} partitions=${partitions}
stderr=serial
stdin=serial
stdout=serial
Environment size: 859/131068 bytes
* https://github.com/ebutera/meta-sunxi/blob/master/conf/machine/olinuxino-a20.conf
* http://www.jann.cc/2013/02/07/u_boot_for_the_imx233_olinuxino.html
UpStream:
* https://github.com/u-boot/u-boot/commits/master/configs/A20-OLinuXino_MICRO_defconfig
* https://source.denx.de/u-boot/custodians/u-boot-sunxi/-/branches
Links:
* https://forum.openwrt.org/t/axp209-olimex-a20-board-fails-to-boot-sometimes-after-a-kernel-panic-reboot-command-or-power-cycle-happens-randomly/145262/4
==== WIP ====
First, I could not boot it first because I needed a larger micro SdCard to put :
archive=a20_debian_kernel_3_4_LAN_USBx2_Cards_LCD_HDMI_SATA_TS_X_GPIO_OTG_MIC_release5.7z# armhf wheezy
file=a20_debian_kernel_3_4_LAN_USBx2_Cards_LCD_HDMI_SATA_TS_X_GPIO_OTG_MIC_release5.img # 3980394496
disk=/dev/sdb # 3963617280 3965190144
time 7z e -so $archive $file | sudo dd bs=8MB of=$disk # 14m35.191s
See 1st part is starting 1MB ahead :
# 1 1049kB 17.8MB 16.8MB primary fat16
# 2 17.8MB 3980MB 3963MB primary ext3
So let's format at repart our 4GB sdcard :
sudo parted /dev/sdb -s resize 1 1MB 17MB
sudo parted /dev/sdb -s mkpart p ext3 17MB 100%
sudo mkfs.ext3 /dev/sdb2
Did not boot . just got the Red LED on ...
Once Reparted SdCard ( keep space before 1st part) too add Uboot over it :
* http://dl.linux-sunxi.org/nightly/u-boot-sunxi/u-boot-sunxi/u-boot-sunxi-latest/u-boot-sunxi-a20-olinuxino_micro.tar.xz
# sudo dd if=u-boot-sunxi-with-spl.bin of=/dev/sdb bs=1024 seek=8
* https://github.com/linux-sunxi/u-boot-sunxi/wiki
* http://hansvi.be/mediawiki/index.php?title=OLinuXino
* https://source.denx.de/u-boot/custodians/u-boot-sunxi/-/commit/c93a6fc8f5313b2aa7081d53c3061c7c1b94afca
===== LINUX =====
Now it booted (using my RpI's UarT as SeriaL link : you can see Uboot messages ; and Standard linux dmesg
[ 0.000000] Linux version 3.4.67+ (root@debian) (gcc version 4.7.1 (Debian 4.7.1-7) ) #6 SMP PREEMPT Fri Nov 1 17:32:40 EET 2013
[ 0.000000] CPU: ARMv7 Processor [410fc074] revision 4 (ARMv7), cr=10c5387d
[ 0.000000] CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache
[ 0.000000] Machine: sun7i
[ 0.000000] Memory cut off:
[ 0.000000] MALI : 0x5c000000 - 0x5fffffff ( 64 MB)
[ 0.000000] Ignoring unrecognised tag 0x00000000
[ 0.000000] Memory Reserved:
[ 0.000000] SYS : 0x43000000 - 0x4300ffff ( 64 kB)
[ 0.000000] VE : 0x44000000 - 0x48ffffff ( 80 MB)
[ 0.000000] G2D : 0x49000000 - 0x49ffffff ( 16 MB)
[ 0.000000] LCD : 0x5a000000 - 0x5bffffff ( 32 MB)
[ 0.000000] Memory policy: ECC disabled, Data cache writealloc
[ 0.000000] sunxi: Allwinner A20 (AW1651/sun7i) detected.
...
* http://linux-sunxi.org/Linux_Kernel
* https://www.olimex.com/forum/index.php?topic=3250.msg13629#new # 3.4 branch
* ArmBian = 5.8.6-sunxi
* https://github.com/armbian/build/issues/770# ReBoot
===== OS =====
* https://images.olimex.com/release/a20/
* https://github.com/OLIMEX/LibreELEC.tv/blob/olinuxino/A20-Olinuxino_BUILD.md
* https://ftp.olimex.com/Allwinner_Images/A20-OLinuXino/4.LibreELEC_KODI_images/README.txt
* https://sd-card-images.johang.se/boards/a20_olinuxino_micro_emmc.html
==== Debian ====
* https://wiki.debian.org/FreedomBox/Hardware/A20-OLinuXino-MICRO
* https://wiki.debian.org/InstallingDebianOn/Allwinner#Supported_Platforms Olimex A20-Olinuxino Microsun7i-a20-olinuxino-micro.dtb
* https://freedombox.org/download/a20-olinuxino-micro/
* https://ftp.freedombox.org/pub/freedombox/hardware/a20-olinuxino-micro/stable/freedombox-bookworm_a20-olinuxino-micro-armhf.img.xz 586Mi861Ki292o to 4GB SdCard
* https://tracker.debian.org/news/1504364/linux-6615-2-migrated-to-testing/# [2024-02-17] linux 6.6.15-2 MIGRATED to testing (Debian testing watch)
* https://ftp.freedombox.org/pub/freedombox/hardware/a20-olinuxino-micro/testing/
==== ARMBIAN ====
* https://docs.armbian.com/Hardware_Allwinner-A20/
I can share a backup of my sdcard to fit in smaller SdCard :
sudo apt-get remove iceweasel xserver-xorg-video-radeon xserver-xorg-video-ati xserver-xorg-video-nouveau
sudo apt-get remove mousepad orage squeeze xfburn squeak-plugins-scratch
apt-get remove xfce4-weather-plugin a2ps xserver-xorg-dev libavutil-dev libpixman-1-dev libpostproc-dev libsmbclient-dev libswscale-dev libavformat-dev libavdevice-dev
* https://www.armbian.com/olimex-micro/
* https://armbian.hosthatch.com/archive/micro/archive/
==== OE ====
* https://github.com/mtrx/meta-sunxi
* http://layers.openembedded.org/layerindex/branch/master/layer/meta-sunxi/
* https://github.com/linux-sunxi/meta-sunxi
* https://github.com/mtrx/meta-sunxi/blob/master/conf/machine/cubieboard.conf
===== TODO =====
* http://rzr.online.fr/x/pdf/https://www.olimex.com/Products/OLinuXino/A20/A20-OLinuXino-MICRO-4GB/resources/A20-OLinuXino-Micro.pdf
* http://linux-sunxi.org/%C3%85ngstr%C3%B6m#.C3.85ngstr.C3.B6m
* https://www.olimex.com/forum/index.php?topic=3230.0#
* http://images.olimex.com/release/a20/A20-OLinuXino-focal-minimal-20200731-120630.img.list# 2020
Gpu :
* https://www.olimex.com/forum/index.php?topic=2363.0
* http://linux-sunxi.org/XBMC
* http://forum.xbmc.org/showthread.php?tid=126995
Misc:
* http://linux-sunxi.org/SPIdev# SpI
* https://wiki.labriqueinter.net/doku.php?id=howto:install_sata# SatA
* https://github.com/armbian/build/issues/770#issuecomment-961089940 ReBoot
===== TODO : SoftWare : =====
* https://github.com/leon-anavi/tizen-sunxi/issues/1
* https://www.olimex.com/forum/index.php?topic=2666.0# [[qt]]
* http://olimex.wordpress.com/2014/05/19/tutorial-video-compiling-linux-mainline-kernel-for-allwinner-processors/
* http://linux-sunxi.org/Mainline_Kernel_Howto
* https://github.com/jwrdegoede/linux-sunxi/commits/sunxi-devel
* http://linux-sunxi.org/Tizen
* https://www.olimex.com/wiki/A20-OLinuXino-MICRO#Linux_Images
* https://freedombox.org/download/a20-olinuxino-micro/# DebiaN
* https://en.opensuse.org/HCL:A20-OLinuXino-MICRO# SuSe RpM
* https://www.armbian.com/olimex-micro/# [[A20]]
* https://files.devuan.org/devuan_jessie/embedded/README.txt# [[A20]]
* https://github.com/OLIMEX/LibreELEC.tv/commits/olinuxino# KoDi
AndroiD :
* http://linux-sunxi.org/LiveSuit
==== SoftWare : =====
PossiblE WorkAround :
time 7z x -so Cubian-base-r4-arm-a20.img.7z Cubian-base-r4-arm-a20.img | sudo dd bs=8M of=/dev/sdb
MisC :
* http://olimex.wordpress.com/2013/09/18/7795/# DebiaN UBooT
* http://olimex.wordpress.com/2013/10/22/leon-is-tizen-evangelist-and-he-is-playing-with-tizen-build-for-a10s-olinuxino/# TizeN
* http://linux-sunxi.org/Tizen
==== HardWare : ====
* http://rzr.online.fr/x/pdf/https://www.olimex.com/Products/OLinuXino/A20/A20-OLinuXino-MICRO-4GB/resources/A20-OLinuXino-Micro.pdf
Note that the board consumes around 300mA of current at 12V = 3.6W but 5W is preferred
==== CPU A20 : Dual-Core ARM Cortex-A7 ====
* https://en.wikipedia.org/wiki/Allwinner_A20
* http://elinux.org/Allwinner_A20
* http://olimex.wordpress.com/tag/a20/
* https://www.olimex.com/wiki/Category:A20
* http://dl.linux-sunxi.org/A20/a20_pad_std_v1_1.pdf# HardWare
* http://www.allwinnertech.com/en/product/A20.html
* https://lkml.org/lkml/2013/8/2/157
* https://wiki.debian.org/CubieBoard# A10
* https://groups.google.com/forum/#!msg/linux-sunxi/gon7_KVL0QQ/PsHaW6TPzI0J
* https://github.com/linux-sunxi/linux-sunxi/blob/sunxi-3.4/arch/arm/configs/sun7i_defconfig# CONFIG_FB_SUNXI=y
* https://github.com/linux-sunxi/linux-sunxi/blob/wip/stage-sunxi-3.4/a20/arch/arm/configs/sun5i_defconfig
* http://community.arm.com/servlet/JiveServlet/downloadImage/38-1981-3827/blogentry-103749-004812900+1365712953_thumb.png
* http://www.arm.com/products/processors/cortex-a/cortex-a7.php#
* https://gadgetversus.com/processor/allwinner-a20-specs/ TDP=4 W
==== NETWORK ====
* Realtek's RTL8201CP
==== GRAPHICS ====
* http://linux-sunxi.org/Fex_Guide#disp_init_configuration# VgA , HdMi
root@micro:~# cat /boot/micro-vga.fex
[disp_init]
disp_init_enable = 1
disp_mode = 0
screen0_output_type = 4
screen0_output_mode = 4
screen1_output_type = 3
screen1_output_mode = 4
fb0_framebuffer_num = 2
fb0_format = 10
fb0_pixel_sequence = 0
fb0_scaler_mode_enable = 1
fb1_framebuffer_num = 2
fb1_format = 10
fb1_pixel_sequence = 0
fb1_scaler_mode_enable = 1
if [ -e '/dev/cedar_dev' ] ; then
export DISPLAY=:0 ;
export VDPAU_DRIVER=sunxi ;
export LIBVA_DRIVER_NAME=vdpau ;
export VDPAU_SCREEN=0 ;
fi
gst-launch-1.0 videotestsrc ! autovideosink
gst-launch-1.0 videotestsrc ! vaapisink fullscreen=true
root@micro:~# export DISPLAY=:0 ; export VDPAU_DRIVER=sunxi ; vdpauinfo
gst-launch-1.0 filesrc location=my-video.mp4 ! qtdemux ! vaapidecode ! vaapisink
sudo apt-get install automake1.11 m4
[VDPAU SUNXI] Requested unimplemented background_surface
root@micro:/usr/local/src/libvdpau-sunxi# make clean ; make ; sudo make install
root@micro:/usr/local/src/vdpau-driver# apt-get install cdbs
#root@micro:/usr/local/src/vdpau-driver# make clean ; make ; sudo make install
root@micro:/usr/local/src/vdpau-driver# make deb
==== GPU : ARM Mali-400 MP2 ====
* http://linux-sunxi.org/Mali400
* http://limadriver.org/# GpU MalI
* https://gitorious.org/lima
* https://github.com/libv
* https://github.com/linux-sunxi/sunxi-mali
* https://github.com/limadriver/mali-kernel/tree/master/driver/src/devicedrv/mali
* http://libv.livejournal.com/26292.html# ListeN
* https://en.wikipedia.org/wiki/Graphics_hardware_and_FOSS#ARM
* http://malideveloper.arm.com/develop-for-mali/drivers/
* http://www.arm.com/products/multimedia/mali-graphics-hardware/mali-400-mp.php
* https://github.com/linux-sunxi/linux-sunxi/commits/sunxi-3.4/drivers/video/Kconfig
* http://irclog.whitequark.org/linux-sunxi/2013-08-13#4668334
* http://linux-sunxi.org/index.php?title=Special:Search&search=wayland&fulltext=Search&profile=all&redirs=1
==== VPU ====
* https://www.olimex.com/forum/index.php?topic=1747.0
* http://forum.lemaker.org/thread-10992-1-1-.html
sunxi_cedar_mod
apt-get install libvdpau-dev libvdpau1 vdpau-va-driver vdpauinfo
* https://github.com/linux-sunxi/libvdpau-sunxi.git
git clone git://anongit.freedesktop.org/vaapi/vdpau-driver
=== LIBVA ===
* https://bugs.freedesktop.org/attachment.cgi?id=90910# libva
* http://lists.freedesktop.org/archives/libva/2013-July/001780.html# LibVa
* https://bugs.freedesktop.org/show_bug.cgi?id=72822 - LIBVA_DRIVER_NAME not used if va_GetDriverName fails (vdpau)
[VDPAU SUNXI] Requested unimplemented background_surface
[DISP] request scaler layer fail!
[18257.757701] [DISP] request scaler fail
* https://gstreamer.freedesktop.org/data/doc/gstreamer/head/gstreamer-vaapi-plugins/html/# GStreameR
==== IO / STORAGE / SATA ====
IO : SATA connector with 5V SATA power jack
Connector is close to supply, red wire is close to the edge , black wire is close to center of .com in onlimex.com label.
* https://www.olimex.com/forum/index.php?topic=2312.msg10161#msg10161# SatA
* http://olimex.wordpress.com/2013/11/13/new-product-in-stock-sata-cable-set-for-a20-olimexino/
* http://www.allpinouts.org/index.php/Serial_ATA_(SATA,_Serial_Advanced_Technology_Attachment)
Observed:
Average writing speed: 30.68 MB/s # with f3write on SSD disk
Average reading speed: 101.60 MB/s
https://www.kingston.com/en/ssd/a400-solid-state-drive?partnum=sa400s37%2F480g
==== STORAGE : eMMC / NAND =====
* https://forum.armbian.com/topic/4170-olimex-a20-olinuxo-micro-4gb-emmc-support/
* https://github.com/OLIMEX/OLINUXINO/blob/3dec595df38ff015de207e217674d3caf3f8d2da/SOFTWARE/A64/emmc.sh#L4
* https://github.com/linux-sunxi/linux-sunxi/issues/242
* https://www.olimex.com/forum/index.php?topic=5933.0
=== NAND ===
* https://ftp.olimex.com/Allwinner_Images/A20-OLinuXino-MICRO/Debian/sd/A20_OLinuxino_Micro_debian_Jessie_34_103_2G_NAND_release_15.7z
root@A20-OLinuXino:~# lsblk -b /dev/nand # 4GB
NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT
nand 93:0 0 3984588800 0 disk
root@A20-OLinuXino:~# dmesg | grep -i nand
[ 1.500935] [NAND] nand driver version: 0x2 0x9
[ 3.157659] Dev Sunxi softw311 nand magic does not match for MBR 1: softw411
[ 3.170827] Dev Sunxi softw311 nand magic does not match for MBR 2:
[ 3.184057] Dev Sunxi softw311 nand magic does not match for MBR 3:
[ 3.197282] Dev Sunxi softw311 nand magic does not match for MBR 4:
[ 3.212146] Dev Sunxi softw311 nand header bad for all MBR copies, MBR corrupted or not present.
[ 3.230488] Dev Sunxi softw411 nand: part 1, start 32768, size 32768
[ 3.242184] Dev Sunxi softw411 nand: part 2, start 65536, size 32768
[ 3.253844] Dev Sunxi softw411 nand: part 3, start 98304, size 32768
[ 3.265763] Dev Sunxi softw411 nand: part 4, start 131072, size 1048576
[ 3.278026] Dev Sunxi softw411 nand: part 5, start 1179648, size 1048576
[ 3.290202] Dev Sunxi softw411 nand: part 6, start 2228224, size 32768
[ 3.302205] Dev Sunxi softw411 nand: part 7, start 2260992, size 65536
[ 3.314380] Dev Sunxi softw411 nand: part 8, start 2326528, size 1048576
[ 3.326653] Dev Sunxi softw411 nand: part 9, start 3375104, size 524288
[ 3.338831] Dev Sunxi softw411 nand: part 10, start 3899392, size 32768
[ 3.351181] Dev Sunxi softw411 nand: part 11, start 3932160, size 3850240
[ 3.364655] nand: nanda nandb nandc nandd nande nandf nandg nandh nandi nandj nandk
[ 3.376622] [NAND]nand driver, ok.
root@A20-OLinuXino:~#
root@A20-OLinuXino:~# cat /proc/version
Linux version 3.4.103-00033-g9a1cd034181a-dirty (root@debian) (gcc version 4.9.2 20140904 (prerelease) (crosstool-NG linaro-1.13.1-4.9-2014.09 - Linaro GCC 4.9-2014.09) ) #44 SMP PREEMPT Fri Mar 10 08:50:33 EET 2017
grep nand /proc/devices
93 nand
root@A20-OLinuXino:~# ls -l /dev/nand
brw-rw---- 1 root disk 93, 0 Jan 1 2010 /dev/nand
root@A20-OLinuXino:~# cat /etc/os-release
PRETTY_NAME="Debian GNU/Linux 8 (jessie)"
NAME="Debian GNU/Linux"
VERSION_ID="8"
VERSION="8 (jessie)"
ID=debian
HOME_URL="http://www.debian.org/"
SUPPORT_URL="http://www.debian.org/support"
BUG_REPORT_URL="https://bugs.debian.org/"
sudo nandinstall
* https://ftp.olimex.com/Allwinner_Images/A20-OLinuXino-MICRO/Debian/sd/A20_OLinuxino_Micro_debian_Jessie_34_103_2G_NAND_release_15.7z
* https://www.olimex.com/forum/index.php?topic=7227.0
* "A20_OLinuxino_Micro_debian_Jessie_34_103_2G_NAND_release_15"
* https://www.olimex.com/wiki/How_to_install_Debian_to_NAND#FAQ
* https://www.olimex.com/forum/index.php?topic=8614.msg33207#msg33207
* https://github.com/OLIMEX/OLINUXINO/blob/master/DOCUMENTS/OLIMAGE/Olimage-guide.pdf
* https://www.olimex.com/forum/index.php?topic=5987.msg24602#msg24602
* https://linux-sunxi.org/DRAM_Calibration_Results/Olimex_A20-OLinuXino-Micro_Rev.E
* https://linux-sunxi.org/NAND
==== SDCARD ====
The bigger SD card slot is not detecting any card ?
cat /proc/device-tree/model
Olimex A20-OLinuXino-LIME
find /sys/devices/platform/ -iname 'date'
/sys/devices/platform/soc/1c20d00.rtc/rtc/rtc0/date
/sys/devices/platform/soc/1c0f000.mmc/mmc_host/mmc0/mmc0:0001/date
==== AUDIO ====
* https://www.olimex.com/forum/index.php?topic=3004.msg13160#msg13160
* https://www.olimex.com/forum/index.php?topic=2071.msg10312#msg10312# SpdiF
==== GPIO ====
cat /sys/class/gpio/export
echo "47" > /sys/class/gpio/export
echo "out" > /sys/class/gpio/gpio47_ph2/direction
echo "1" > /sys/class/gpio/gpio47_ph2/value
* http://www.youtube.com/watch?v=xLP35NGRVhA
* http://linux-sunxi.org/GPIO#Accessing_the_GPIO_pins_through_sysfs_on_sunxi-3.4
* https://www.olimex.com/forum/index.php?topic=1836.msg8310#msg8310# SeriaL UarT
* https://www.olimex.com/Products/Components/Cables/USB-Serial-Cable/USB-Serial-Cable-F/# LvTtl
* https://www.olimex.com/forum/index.php?topic=2309.0# [[IR]] TSOP4838
==== DISPLAY : LCD_CON / LVDS ====
* https://www.olimex.com/forum/index.php?topic=2097.0
* https://www.olimex.com/forum/index.php?topic=2996.0
* ftp://ftp.cadsoft.de/eagle/program/6.5/eagle-lin-6.5.0.run
* https://www.olimex.com/Products/OLinuXino/A20/A20-LCD15.6/resources/LCD15_sources.zip
* http://rzr.free.fr.tripod.com/file/A20-LCD15_6_rev_D.scm.tmp.png
* http://rzr.free.fr.tripod.com/file/A20-LCD15_6_rev_D.brd.tmp.png
==== PARTS ====
* https://www.olimex.com/forum/index.php?topic=1687.0# PowerSupply
* http://www.bwiegmann.de/index.php/en/home/29-blog/blog-en/73-erste-a20-olinuxino-micro-verfuegbar-2# LeD?
* http://rzr.online.fr/x/pdf/https://github.com/OLIMEX/OLINUXINO/raw/master/HARDWARE/A20-PDFs/A20%20Datasheet%20v1.0%2020130227.pdf
{{https://www.olimex.com/wiki/images/6/6e/A20-OLinuXino-FRONT.jpg}}
==== UBOOT ====
Board: A20-OLinuXino_MICRO
I2C: ready
DRAM: 1 GiB
MMC: SUNXI SD/MMC: 0
*** Warning - bad CRC, using default environment
In: serial
Out: serial
Err: serial
Net: emac
Hit any key to stop autoboot: 0
sun7i# fatload mmc 0 0x46000000 uImage
reading uImage
1826608 bytes read in 98 ms (17.8 MiB/s)
sun7i# fatload mmc 0 0x49000000 sun7i-a20-olinuxino-micro.dtb
reading sun7i-a20-olinuxino-micro.dtb
22905 bytes read in 21 ms (1 MiB/s)
sun7i# env set fdt_high ffffffff
sun7i# bootm 0x46000000 - 0x49000000
## Booting kernel from Legacy Image at 46000000 ...
Image Name: Linux-3.15.0-rc5-14254-gb9505da
Created: 2014-05-20 13:41:16 UTC
Image Type: ARM Linux Kernel Image (uncompressed)
Data Size: 1826544 Bytes = 1.7 MiB
Load Address: 40008000
Entry Point: 40008000
Verifying Checksum ... OK
## Flattened Device Tree blob at 49000000
Booting using the fdt blob at 0x49000000
Loading Kernel Image ... OK
Using Device Tree in place at 49000000, end 49008978
Starting kernel ...
===== A80 =====
* http://www.merrii.com/en/pla_d.asp?id=173# Input Power:5V/3A
* http://www.cnx-software.com/2014/08/26/allwinner-a80-linux-sdk-released/#ixzz3CFiCDh2X
* http://linux-sunxi.org/images/3/30/Allwinner_A80_User_Manual_Revision1.1_20140929.pdf # SpecS
* http://linux-sunxi.org/A80#Original_SDK
* http://dl.cubieboard.org/software/a80/
* http://www.cnx-software.com/2014/10/04/how-to-upgrade-allwinner-a80-optimusboard-firmware/
* http://www.mininodes.com/running-linux-on-the-allwinner-a80-optimusboard-arm-server-part-2/
* http://www.pcduino.com/images-pcduino8/
* http://bbs.merrii.com/zh/viewforum.php?f=43
* http://bbs.merrii.com/en/viewforum.php?f=43
* http://www.geekbuying.com/item/Allwinner-A80-Optimusboard-Octa-Core-ARM-Cortex-A15-A7-A80-Android-4-4-Linux-Board-2G-8G-332199.html# 180USD
* https://github.com/linux-sunxi/meta-sunxi/pull/424
=== OS : ===
* https://www.mininodes.com/running-linux-on-the-allwinner-a80-optimusboard-arm-server-part-2/
* https://www.arangodb.com/2015/05/merii-hummingbird-a80-optimus-cluster/
* https://www.mininodes.com/installing-ubuntu-server-14-04-on-the-arm-allwinner-a80-optimusboard-or-pcduino8-arches/
ReferencE :
* https://www.mininodes.com/uploads/A80-H8a.pdf
CommunitY :
* http://irclog.whitequark.org/linux-sunxi/2015-05-20
ToolS :
* http://androidmtk.com/download-phoenixsuit
@TaG: [[Sun9I]] PowerVr
==== SERIAL PORT ====
[132046.522607] usb 1-1.6: new full-speed USB device number 3 using ehci-pci
[132046.615573] usb 1-1.6: New USB device found, idVendor=067b, idProduct=2303
[132046.615575] usb 1-1.6: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[132046.615576] usb 1-1.6: Product: USB-Serial Controller
[132046.615577] usb 1-1.6: Manufacturer: Prolific Technology Inc.
[132046.750031] usbcore: registered new interface driver usbserial
[132046.750040] usbcore: registered new interface driver usbserial_generic
[132046.750047] usbserial: USB Serial support registered for generic
[132046.767178] usbcore: registered new interface driver pl2303
[132046.767188] usbserial: USB Serial support registered for pl2303
[132046.767203] pl2303 1-1.6:1.0: pl2303 converter detected
[132046.768728] usb 1-1.6: pl2303 converter now attached to ttyUSB0
shell@kylin-optimus:/ $ cat /proc/version
Linux version 3.4.39+ (zhu@Ubuntu12) (gcc version 4.6.3 20120201 (prerelease) (crosstool-NG linaro-1.13.1-2012.02-20120222 - Linaro GCC 2012.02) ) #9 SMP PREEMPT Fri Jun 20 16:18:38 CST 2014
# cat /system/build.prop
# begin build properties
# autogenerated by buildinfo.sh
ro.build.id=KVT49L
ro.build.display.id=kylin_optimus-eng 4.4.2 KVT49L 20140620 test-keys
ro.build.version.incremental=20140620
ro.build.version.sdk=19
ro.build.version.codename=REL
ro.build.version.release=4.4.2
ro.build.date=2014年 06月 20日 星期五 20:03:23 CST
ro.build.date.utc=1403265803
ro.build.type=eng
ro.build.user=zhu
ro.build.host=Ubuntu12
ro.build.tags=test-keys
ro.product.model=UltraOcta A80 OptimusBoard
ro.product.brand=Allwinner
ro.product.name=kylin_optimus
ro.product.device=kylin-optimus
ro.product.board=exdroid
ro.product.cpu.abi=armeabi-v7a
ro.product.cpu.abi2=armeabi
ro.product.manufacturer=Allwinner
ro.product.locale.language=en
ro.product.locale.region=US
* https://github.com/skoperst/android_device_sunxi_kylinoptimus
==== UBOOT ====
U-Boot 2011.09-rc1-00001-ga70098a (Jun 09 2014 - 09:12:58) Allwinner Technology
arm-linux-gnueabi-gcc (crosstool-NG linaro-1.13.1-2012.02-20120222 - Linaro GCC 2012.02) 4.6.3 20120201 (prerelease)
GNU ld (crosstool-NG linaro-1.13.1-2012.02-20120222 - Linaro GCC 2012.02) 2.22
===== A20 / HOWTO =====
* http://linux-sunxi.org/Olimex_A20-OLinuXino-Micro
* http://github.com/igorpecovnik
* http://www.armbian.com/olimex-micro/#
* http://www.igorpecovnik.com/2014/11/18/olimex-lime-debian-sd-image/# OperatingSystem
* http://mirror.igorpecovnik.com/Micro_Ubuntu_1.9_trusty_3.4.108.zip
* http://mirror.igorpecovnik.com/Armbian_4.5_Micro_Ubuntu_trusty_3.4.109_desktop.zip
* https://github.com/cubieplayer/Cubian/wiki/VGA-output
root@micro:~# sudo apt-get install software-properties-common python-software-properties
root@micro:~# apt-get install xserver-xorg-video-fbturbo
/usr/lib/xorg/modules/drivers/fbturbo_drv.so
* http://www.lemaker.org/thread-10992-1-1-.html# GstreameR
===== ERROR: =====
uptime
16:23:51 up 4 days, 9:55, 1 user, load average: 0.18, 0.16, 0.11
[361930.240997] Unable to handle kernel paging request at virtual addresc 00e95914
[361930.248395] pgd = 04dc887e
[361930.251202] [00e95914] *pgd=00000000
[361930.255022] Internal error: Oops: 5 [#1] SMP THUMB2
[361930.260018] Modules linked in: fuse xt_multiport xt_REDIRECT iptable_nat nf_nat_ipv4 nf_nat ip6table_filter ip6_tables xt_tcpudp xt_conntrack nf_conntrack nf_defrag_ipv6 nf_defrag_ipv4 iptable_filter zstd sun4i_gpadc_iio zram axp20x_adc industrialio evdev lima at24 gpu_sched ttm sun4i_ts sun4i_gpadc sun4i_ss cpufreq_dt uio_pdrv_genirq uio thermal_sys bonding ip_tables x_tables uas
[361930.294034] CPU: 1 PID: 8348 Comm: kworker/1:2 Not tainted 4.19.62-sunxi #5.92
(...)
[361930.549225] [] (ccu_div_set_rate) from [] (clk_change_rate+0x9b/0x2f4)
[361930.557609] [] (clk_change_rate) from [] (clk_change_rate+0x123/0x2f4)
xinit
X.Org X Server 1.20.4
X Protocol Version 11, Revision 0
Build Operating System: Linux 4.19.0-12-armmp-lpae armv7l Debian
waiting for X server to shut down Xorg: ../../../../include/privates.h:121: dixGetPrivateAddr: Assertion `key->initialized' failed.
sudo apt install sunxi-tools xserver-xorg-video-armsoc-sun4i
libGL error: unable to load driver: sun4i-drm_dri.so
===== H313 =====
* https://xdaforums.com/tags/h313/ "eros-p1"
* https://xdaforums.com/t/game-box-tv-8k-5g.4651354/#post-89426935
* https://xdaforums.com/f/android-stick-console-allwinner-based-computers.5559/
* https://www.cnx-software.com/2020/04/13/x96q-android-10-tv-box-shows-up-with-allwinner-h313-quad-core-cortex-a53-processor/
* https://xdaforums.com/t/i-need-h98-mini-4k-hdr-stick-android-firmware.4619159/
* https://xdaforums.com/t/help-what-alternative-methods-to-enable-developer-mode-if-the-manufacturer-prevents-the-user-from-doing-so.4633715/
Build: "h313_Bj_1694481806_eros-p1"
* https://github.com/mzsmakr/ATVConfiguration/blob/3a144d3f103e3a4db71c0a5d991b46e09e5ca82a/X96Mini_X96Q_h313.md?plain=1#L93
HiD
[49363.180547] usb 1-1.3: new full-speed USB device number 4 using ehci-pci
[49363.261049] usb 1-1.3: New USB device found, idVendor=2563, idProduct=0555, bcdDevice=10.03
[49363.261059] usb 1-1.3: New USB device strings: Mfr=0, Product=2, SerialNumber=0
[49363.261062] usb 1-1.3: Product: Twin USB Joystick
[49363.320646] hid: raw HID events driver (C) Jiri Kosina
[49363.330338] usbcore: registered new interface driver usbhid
[49363.330344] usbhid: USB HID core driver
[49363.348419] input: Twin USB Joystick as /devices/pci0000:00/0000:00:1d.0/usb1/1-1/1-1.3/1-1.3:1.0/0003:2563:0555.0001/input/input18
[49363.348696] hid-generic 0003:2563:0555.0001: input,hidraw0: USB HID v1.11 Joystick [Twin USB Joystick] on usb-0000:00:1d.0-1.3/input0
[49363.521161] usb 1-1.3: USB disconnect, device number 4
[49364.285506] usb 1-1.3: new full-speed USB device number 5 using ehci-pci
[49364.368085] usb 1-1.3: New USB device found, idVendor=0810, idProduct=0001, bcdDevice= 2.00
[49364.368108] usb 1-1.3: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[49364.368114] usb 1-1.3: Product: Twin USB Joystick
[49364.368118] usb 1-1.3: Manufacturer: Twin USB Joystick
[49364.437938] input: Twin USB Joystick Twin USB Joystick as /devices/pci0000:00/0000:00:1d.0/usb1/1-1/1-1.3/1-1.3:1.0/0003:0810:0001.0002/input/input19
[49364.489603] input: Twin USB Joystick Twin USB Joystick as /devices/pci0000:00/0000:00:1d.0/usb1/1-1/1-1.3/1-1.3:1.0/0003:0810:0001.0002/input/input20
[49364.490403] pantherlord 0003:0810:0001.0002: input,hidraw0: USB HID v1.10 Joystick [Twin USB Joystick Twin USB Joystick] on usb-0000:00:1d.0-1.3/input0
[49364.490457] pantherlord 0003:0810:0001.0002: Force feedback for PantherLord/GreenAsia devices by Anssi Hannula
sudo evtest
/dev/input/event16: Twin USB Joystick Twin USB Joystick
/dev/input/event17: Twin USB Joystick Twin USB Joystick
Select the device event number [0-17]: 16
Input driver version is 1.0.1
Input device ID: bus 0x3 vendor 0x810 product 0x1 version 0x110
Input device name: "Twin USB Joystick Twin USB Joystick"
Supported events:
Event type 0 (EV_SYN)
Event type 1 (EV_KEY)
Event code 288 (BTN_TRIGGER)
Event code 289 (BTN_THUMB)
Event code 290 (BTN_THUMB2)
Event code 291 (BTN_TOP)
Event code 292 (BTN_TOP2)
Event code 293 (BTN_PINKIE)
Event code 294 (BTN_BASE)
Event code 295 (BTN_BASE2)
Event code 296 (BTN_BASE3)
Event code 297 (BTN_BASE4)
Event code 298 (BTN_BASE5)
Event code 299 (BTN_BASE6)
Event type 3 (EV_ABS)
Event code 0 (ABS_X)
Value 128
Min 0
Max 255
Flat 15
Event code 1 (ABS_Y)
Value 128
Min 0
Max 255
Flat 15
Event code 2 (ABS_Z)
Value 128
Min 0
Max 255
Flat 15
Event code 5 (ABS_RZ)
Value 128
Min 0
Max 255
Flat 15
Event code 16 (ABS_HAT0X)
Value 0
Min -1
Max 1
Event code 17 (ABS_HAT0Y)
Value 0
Min -1
Max 1
Event type 4 (EV_MSC)
Event code 4 (MSC_SCAN)
Event type 21 (EV_FF)
Event code 80 (FF_RUMBLE)
Event code 81 (FF_PERIODIC)
Event code 88 (FF_SQUARE)
Event code 89 (FF_TRIANGLE)
Event code 90 (FF_SINE)
Event code 96 (FF_GAIN)
Properties:
Testing ... (interrupt to exit)
Event: time 1712346475.402427, type 4 (EV_MSC), code 4 (MSC_SCAN), value 90009
Event: time 1712346475.402427, type 1 (EV_KEY), code 296 (BTN_BASE3), value 1
Event: time 1712346475.402427, -------------- SYN_REPORT ------------
Event: time 1712346475.626499, type 4 (EV_MSC), code 4 (MSC_SCAN), value 90009
Event: time 1712346475.626499, type 1 (EV_KEY), code 296 (BTN_BASE3), value 0
Event: time 1712346475.626499, -------------- SYN_REPORT ------------
Event: time 1712346478.618403, type 4 (EV_MSC), code 4 (MSC_SCAN), value 9000a
Event: time 1712346478.618403, type 1 (EV_KEY), code 297 (BTN_BASE4), value 1
Event: time 1712346478.618403, -------------- SYN_REPORT ------------
Event: time 1712346478.858426, type 4 (EV_MSC), code 4 (MSC_SCAN), value 9000a
Event: time 1712346478.858426, type 1 (EV_KEY), code 297 (BTN_BASE4), value 0
Event: time 1712346478.858426, -------------- SYN_REPORT ------------
(...)
:/ # cat /proc/version
Linux version 4.9.170 (jm@ubuntu) (gcc version 5.3.1 20160412 (Linaro GCC 5.3-2016.05) ) #940 SMP PREEMPT Tue Sep 12 09:21:21 CST 2023
cat /proc/device-tree/model
sun50iw9
:/ # getprop ro.bootimage.build.fingerprint
Allwinner/eros_p1/eros-p1:10/QP1A.191105.004/875:userdebug/test-keys
===== MisC : =====
* http://linuxfr.org/news/olinuxino-la-raspberry-pi-version-open-source
* https://www.olimex.com/forum/index.php?board=30.0
* http://limadriver.org/
* http://webchat.freenode.net/?channels=linux-sunxi
* http://olimex.wordpress.com/2013/10/22/leon-is-tizen-evangelist-and-he-is-playing-with-tizen-build-for-a10s-olinuxino/
* http://cubian.org/downloads/# Cubian-base-r4-arm-a20.img.7z
* http://linux-sunxi.org/Linux_mainlining_effort
* https://github.com/cubieplayer/Cubian
* https://wiki.debian.org/CubieBoard
* http://rhombus-tech.net/allwinner_a10/a10_boot_process/
* http://pibanglinux.org/
* https://plus.google.com/communities/106444724606123025069
@TaG: ArM UBooT RpI GpiO HdmI DvI VgA SdCard [[ArmV7]]
* https://packages.debian.org/experimental/linux-image-3.16-rc6-armmp
* http://www.cnx-software.com/2012/06/13/hardware-packs-for-allwinner-a10-devices-and-easier-method-to-create-a-bootable-ubuntu-12-04-sd-card/
* http://fedoraproject.org/wiki/Fedora_ARM_Installer# ToDo
* http://events.linuxfoundation.org/sites/events/files/slides/RasPiHacks.pdf
* https://plus.google.com/u/0/+TomCubie/posts/UL7ykUFcEuj
* https://github.com/linux-sunxi/meta-sunxi# YoctO
* https://github.com/ssvb/xf86-video-fbturbo/wiki/Installation
* https://armbian.atlassian.net/browse/AR-305#
===== MORE =====
@TaG: ArM
{{https://www.olimex.com/wiki/images/a/a9/Example.jpg}}