TERES-I USB debug cable


TERES-USB-DEBUG cable is now in stock. TERES has unique features to multiplex audio port between audio headphone output and serial console debug.

There are two ways to enable the serial debug via audio jack. First one is with teres1-debug on|off script and it will work until reboot:

sudo teres1-debug on

when you want to stop use

sudo teres1-debug off

this is good for try something while your laptop is working, but if you want to catch the early uboot messages you have to use another script:

sudo debug-switch.sh on

this will switch debug serial port permanently to audio jack until you execute the scriupt

sudo debug-switch.sh off

These scripts are included in the official image, but if you build your own you can install them from the GitHub sources

TERES I DIY Open Source Hardware Modular Hacker’s Laptop update


TERES-I DIY laptop first shipments started in September last year and we quickly sold the first initial production run. Immediately we start to get valuable feed back. Meantime the spare parts now are online and can be ordered.


Some of the feed back was quite pleasant like this one sent from Martin Krastev:


Този път ви пиша не с въпроси по подръжката, а като потребител на Терес с
няколкоседмичен опит и впечатления ; )

Знам, че по идея Терес-А64 е бил замислен като хакерски ноутбук, но вече
седмици го ползвам като машина за разработка:
1. Освен проектите, по които работя, Терес сам си компилира и
компилаторите, които ползвам — 2-та ГБ памет наистина правят паралелното
компилиране възможно, та дори да е само -j2 или 3 (нещата, които компилирам са сравнително тежки, и по-голяма паралелност вече опира до суоп файла).
Така че голямо благодаря за ъпгрейда на паметта!
2. Въпреки нищожното охлаждане на чипа, Терес успва да държи по-голяма част от времето 1152МХц, което беше много приятна изненада за мен.
3. Клавиатурата се оказа доста ергономична, въпреки че в началото имах
опасения, че ще е малка.
4. Избора на чип от програмна гледна точка също се оказа удачен – някои
прозиводители на А53-базирани чипове орязват архитектурни фийчъри (демек – инструкции), но allwinner не са от тях (за изненада! ; ) Това ми позволява да не се тервожа, че код писан за по-глеми армове може да не тръгне на Терес.
5. Батерията носи добре на натоварване – дълги компилации не угасват по
средата! : ) А и шината за sd карти държи прилична скорост – напъно
сравнима с вътрешния флаш (при прилична карта, разбира се), така че и
проблемът с допълнително дисково пространство за големи проекти е решен.

Ами това е засега! Исках само да ви кажа, че с Терес сте в правилната
посока, тъй както сте създали напълно ползваем работен ноутбук за арм
програмисти, което си е постижение!


Google translate does satisfactory translation so I would not challenge my English translation skills 🙂


There were two issues we couldn’t catch during our tests and went with the first lot to our very impatient customers:

1. LCD backlight, some LCDs cause the backlight circuit inductor L11 to resonance at annoying audible high pitch harmonic frequency caused by the 300Hz PWM.


According to best Murphy’s law practices this problem didn’t show at the first few laptops we build and tested, but when we shipped the first lot some people complained back about it, so we had to find quick solution.
1.1. adding bigger capacitor 100 uF in parallel to C204 was solving completely the issue, but the boards were already produced and shipped to customers;
1.2. adding double adhesive tape which to press the L11 to the plastic cover solved the issue in most of the cases, if this was not enough sealing the L11 with superglue also stopped the noise, which was caused by L11 vibrations, needless to say this was quick dirty and messy fix

Инфорамция как да ъпгрейднем фърмуер на touchpad и бутони:

This issue was completely fixed with adding 100uF to second production lot

2. Touch panel buttons issue. We run out of GPIOs on the keyboard board so ADC was used to scan these two buttons. Again everything was OK when we tested the few laptops we assembled in house, but soon after the shipment people start complaining that sometimes they press left button but laptop register right button and etc, quite annoying!
2.1. the problem was partially fixed with changing the firmware, we posted new keyboard PCB firmware and instructions on GitHub but this not always solved the problem
2.2. the good fix solution was to decrease the resistor values on the PCB and use 1% precision resistors instead of 5% used initially

We do apologize to all customers who had experienced such problem, we guess they are not many, but if someone has still such issue after the firmware upgrade we will send free PCB3 replacement, just please send us your requests to support@olimex.com.

In the current KITS this issue is solved.


The initial version of the Linux software was not in best shape, the community helped us a lot and we are now on the third release. Special thanks to Alexey Korepanov for reporting lot of issues and fixes! He also made his own Gentoo distribution for TERES-I at GitHub!


As you all know we suck at mechanical engineering and we had to find all plastic parts from Chinese laptop supplier. Some people asked about possible 3D designs of the laptop case but we are not capable to do this. So one of our customers Jeff Moe who obviously has mechanical engineering skills decided to re-design the plastics and make them as models in 3D printed format – he sends me pictures of his progress from time to time which I post here. So 3D makers be patient – there will be soon 3D printed designs and replacement parts for TERES!

EDIT: Jeff just noted me that the design is made by Brent MacKenzie from the Colorado Printing Project.



IMG_20180118_182208 (1)IMG_20180118_183356

It looks the LCD back plastic he designed is even easier to assembly than the original one.




I will post more in my next post about our progress in turning TERES-I DIY Laptop in portable lab with additonal FPGA board which makes from TERES component tester, Logic Analyzer and Digital Storage Oscilloscope with Sigrok.

TERES-I update. First feedback from our customers


Today we shipped all pending orders for TERES-I and we start to get valuable feedback from our customers!

First thing – we missed the magnet assembly in the instruction manual (blush). This leaded to laptops not go in suspend mode when lit is closed.

We updated this in the assembly manual 1.1 which is now on the web and included in the GitHub too in sources so people who notice typos and want to help improveing the Bulgarian-English language in which the manual is written.

Another issue reported immediately which we missed during our testing is that on small percentage of the laptops the LCD backlight step-up inductor cause annoying sound when LCD backlight is with 50% brightness.


It’s a interesting phenomenia as the backlight PWM is 300Hz which is not possible to hear, but when LCD backlight is switch ON and OFF high current surges are happening and some harmonics cause mechanical resonance with this inductor.

The solutions may be few:

  • play with PWM frequency to get away from this frequency which cause the mechanical resonance – pure software approach which need lot of experimenting
  • adding small double adhesive matt on top of the inductor which make contact with the back plastic and this way absorb all vibrations – we start to add this mat as soon as we discover this issue to all laptops no matter if they buzz or not. Not very aestetish but quick and dirty solution:


  • Add more capacitors to the PWM power supply which to handle this current surge, adding 100 uF seems to remove the problem, but the first lot was already assembled and many laptops are already shipped – so this we will implement in the second assembly.


We have two reports about problems caused by the touch pad after “apt-get update / upgrade” we have to look more closely into this issue. For the moment we do not recommend you to update and upgrade your Ubuntu packages or if you do this and something stop working to revert to the original image – this is pretty easy just download the image write it to SD card, boot and run the eMMC copy script.

TERES I assembly workshop this Saturday!


This Saturday 21st of October we will have TERES I assembly workshop!

Customers from Bulgaria who placed orders for TERES I DIY Open Source laptop will have their laptop kits ready and are invited to come and we assembly them together!

The assembly workshop will be in OLIMEX Training Building and will start at 14.00 o’clock.

No need to have Laptop kit to participate, everyone is welcome to join us.

TERES-I DIY Open Source Hardware hacker’s Laptop update


It’s have been long time since I blogged about our laptop project.

What is the status – we have first PCBs prototyped and most of parts works fine.

We had to make Matrix keyboard + I2C touchpad to USB converter board. We did this with small AVR.

For this project we couldn’t use any of our standard connectors – we had to source all new: mini HDMI connectors, USB host connectors, power jack, audio jack connectors all they had to be low profile and embedded inside the PCB, hence this off form of the main PCB:


The LCDs used in laptops are not as the normal LCDs, they are very thin only 3mm or less and as their cable is special as must have as low as possible number of thin wires knitted together in very thin round cable, is has to go through laptop plastic’s hinges and normal cable can’t fit there. This is why all laptop LCDs are not parallel RGB neither LVDS but use eDP interface.

For bad luck A64 do not support such interface so we start to search LVDS/HDMI/RGB to eDP converter ICs. What we found is that Western suppliers solutions (TI etc) are more expensive than A64 chip itself so no go. We found Chinese solution for $1 NCS8801 and we said – well this is our solution 🙂 we made PCBs prototype and sourced few chips then we struggled by the lack of documentation 🙂 The ‘datasheet’ is 30 pages and the only code which is on the net initializes registers at addresses not mentioned in the datasheet, after spending almost 4 weeks on this we gave up and start looking for another solution. We found ANX6345 which is a bit more expensive but has some code in Linux Kernel and seems used with Rockchip ICs, so we hope this to solve LCD issue. We designed new board and got the new prototypes few days ago so they wait open window on assembly line to be assembled, crossing fingers everything to work 🙂

The mechanical parts has their history too. In June we placed orders to several different suppliers for the plastic parts, speakers, touchpads, power adapters, screws, hinges, total 40 different parts which are inside the laptop. The orders were complete in July and consolidated as one shipment on August 6 they were expressed with TNT and 2 days later were at Sofia airport, but the troubles just began 🙂

To import something may seems very easy for outsiders, but has it’s tricks. Usually every component can be classified in several positions in customs tariff, for instance LCDs have at least 7-8 different codes at which they can be imported, like they can be classified as display for computing equipment, as display for TV, as display for signage, as display for metal processing machine, etc etc. The trouble is that all these positions had different import tax 🙂 and of course Bulgarian customs try to force you to pay on the highest tariff code unless you prove them other. Another issue is that there work mostly people with economic education and very few know electronics matter. Import tax starts from 0% for computer parts and go up to 4-5% for TVs and machines, not small amount when you talk for $200 laptop parts! So laptop parts were sitting on customs 3 weeks as customs officers were trying to tariff every hinge, screw, plastic etc part as different product to tariff it with the highest code. Fortunately after 3 weeks of thinking somebody with common sense allowed all laptop spare parts to be imported as such with 0% tax and we got them today, but the fight will continue as this was only 10% of the order which we wanted to receive promptly paying expensive air transport, remain 90% parts still travel by sea and will arrive end of September, so let’s see how they will tariff these when arrive 🙂

We get lot of request when the laptop will be done and we love all our impatient customers 🙂

Guys be sure that we do anything humanly possible to release it as soon as we can, but to design something from scratch which you had never did before is not easy, once we do this I’m sure we will easily make 10 other laptops, but first time is always more difficult, to arrange logistic of so many parts and produce is not less challenging.


P.S. I hope you like the “Super” key on our new keyboard above 🙂

Help Day recap


On 28 November we had Help Day at our training building, we got dozen of visitors!

Radoslav Kolev and Leon Anavi made talk about OpenEmbedded, Yocto, Poky:



They had the same talk at OpenFest but due to the limited time there they couldn’t show all demos, here they had plenty of time to show how core-minimal distribution is made, and how you can add your own programs to the distro.

What are the good practices when you build Linux with Yocto and why it’s choosen de-facto for Industry standard by all big players working for industrial and automotive applications.

We show H3-OLinuXino and A33-OLinuXino and of course the new DIY Laptop plastic parts:


Everyone was able to touch and feel the different parts and plastics and to see the quality.


The LCD is special laptop edition very thin and light with just 2.8 mm thickness.


The battery is 8000mAh also very thin.


you can see the laptop size compared with A20-OLinuXino-MICRO


Total dimensions are 29 x 20 x 1 cm with final weight less 1 kg – a bit less the size of A4 paper.

A64 OLinuXino OSHW Linux Laptop idea becomes more real :)


Few weeks ago I blogged about the idea to make OSHW Laptop based on Allwinner A64 64-bit SoC.

Today we received the first samples of the laptop plastic body.

The quality of the plastic parts is very good!

As you can see we have already sourced the plastic body, the battery, LCD display, keyboard, touchpad, speakers, camera, microphone and all fittings.

What’s left is to design the motherboard to fit inside the plastic body.

The feeling of building your very own laptop by yourself is incredible.

Every one can go to the shop and buy laptop, but to build one with your hands, and to know every component inside is different experience.

We start seriously thinking to make Do-It-Yourself kit version where you get all components and instructions and can build your laptop.

Why not choose different boards with different SOCs and configurations which you put up to your choice.

These who come to the Help Day this Saturday will be able to touch for first kits, we have one in White and one in Black.

Crossing fingers to may complete the mother boards to show at FOSDEM in January 🙂

Previous Older Entries