Olimex Teres-A64

From linux-sunxi.org
Jump to navigation Jump to search
Olimex Teres-A64
Teres-1.jpg
Manufacturer Olimex
Release Date 2017-10
Website Olimex
Specifications
SoC A64 @ 1.2Ghz
DRAM 2GiB DDR3L @ 672 MHz
NAND 16GB eMMC
Power DC 5V @ 3A, 9500mAh 3.7V Li-Ion battery
Features
LCD 157.5x168 (11")
Video HDMI (mini)
Audio 3.5mm headphone plug HDMI, internal stereo speakers, internal microphone
Network WiFi 802.11 b/g/n ([RTL8723BS])
Storage µSD, NAND
USB 2 USB2.0 Host, X USB2.0 OTG
Camera VGA (640x480) front

This page needs to be properly filled according to the New Device Howto and the New Device Page guide.

Do it yourself laptop, hacker friendly.

Identification

The PCB has the following silkscreened on it:

TERES
PCB1-A64-MAIN 
REV. B

Along with the availability in the olimex web shop mid-2017, PCB1 Rev.C was released.

Sunxi support

Current status

Give a brief overview of the current status of support under sunxi here.

Generally works with mainline kernel since release 4.19 and mainline u-boot since [504bf79] targeted release 2019.07.

Debian buster image (including linux 4.19, and u-boot 2019.04 with above patch backported) is at http://box.redpill.dk/

Manual build

You can build things for yourself by following our Manual build howto and by choosing from the configurations available below.

U-Boot

Sunxi/Legacy U-Boot

Use the MANUFACTURER_DEVICE build target.

Mainline U-Boot

The board is [expected to be] fully supported since v2019.07. Use the teres_i_defconfig target to build a U-Boot image. You need an ARM Trusted Firmware build (bl31.bin), which will be included in the FIT image.

Booting from MicroSD card or USB works, as does use of an externally plugged in USB keyboard. Builtin USB keyboard fails to register with U-boot - possibly due to special quirks needed. [See also this bug in debian BTS]

Linux Kernel

Sunxi/Legacy Kernel

Use the MANUFACTURER_DEVICE.fex file.

Mainline kernel

Use the FAMILY-CHIP-DEVICE.dtb device-tree binary. (no "final" device tree yet)

Linux-4.19 has most of the relevant drivers included. If U-Boot has provided an appropriate frame buffer it can be re-used for a display; otherwise screen still stays dark. Drivers for the eDP bridge anx6345 mainly responsible for this are being discussed [[1]]. Audio drivers are to appear in 4.20.

Tips, Tricks, Caveats

Add MANUFACTURER DEVICE specific tips, tricks, Caveats and nice to have changes here.

FEL mode

The main PCB has a solder jumper labeled "UBOOT1", next to the internal expansion connector "CON3". A drop of solder will pull A64's ball F17 low and should activate FEL mode. The corresponding USB OTG however is only available on the internal extension connectors, so an appropriate breakout PCB seems to be the bigger task.

Device specific topic

If there are no further device specific topics to add, remove these sections.

...

Adding a serial port

DEVICE UART pads

PCB1 has solder pads for a 3-pin header. A horizontal pin header would however bump into the battery, once assembled.

On Revision C boards, a serial port is provided through the audio jack. It can be enabled via an analog switch controlled by bit 9 on Port L, which has to be pulled low. Otherwise it will be a plain audio jack, as on Rev.B boards. You can find more information on [Olimex github repo]. Olimex sell a specific cable: [Teres usb debug]. The Pinebook debug cable also works.

If you decide to build your adapter cable, connect the tx to the tip of the jack, rx to central ring, and ground to the sleeve. They must be 3.3V compatible. The board's RX is protected with a diode ("D4"), so 5V should work as well. Never connect to a rs232 serial port directly. Usually usb serial adapters with 1/10" pin headers are 5v or 3.3v level compatible, but if in doubt, double check it.

Pictures

Take some pictures of your device, upload them, and add them here. DO NOT UPLOAD PICTURES WHICH YOU PLUCKED OFF THE INTERNET.

Also known as

List rebadged devices here.

See also

TERES-I on Debian wiki

Manufacturer images

The Olimex image of Ubuntu Mate can be downloaded, using torrent. It uses allwinner provided linux kernel 3.10 and u-boot.

[[2]]