Olimex Teres-A64

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
It works with mainline kernel. There is a debian image with mainline u-boot (including an ATF hack for the anx6345) and kernel:

[|olimex forum thread]

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

Sunxi/Legacy U-Boot
Use the  build target.

Mainline U-Boot
Use the  build target. (no "final" device tree yet)

Along with ATF-2.0 and a proper device tree (work in progress) u-boot-2018.11 can be configured to boot kernel and initrd from both internal or external SD/MMC. Without patches and additional drivers however, the LCD screen will stay dark until eventually activated by the kernel.

Sunxi/Legacy Kernel
Use the  file.

Mainline kernel
Use the  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 []. Audio drivers are to appear in 4.20.

= Tips, Tricks, Caveats =

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.

= Adding a serial port =



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 =

= Also known as =

= 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.

[]