Closed albjeremias closed 5 years ago
There is an unofficial Gentoo image, check this forum thread: https://www.olimex.com/forum/index.php?topic=5966.0
If things go bad just download the official image to a micro SD card and boot from there. There is an install script that allows you to transfer the image to the eMMC memory, so that you can boot without card.
I'll see what I can do to document supported OSes with TERES. It's just slightly difficult for me to be super thorough because I don't actually own a TERES -- I just want to see it succeed.
theres this:
I downloaded the gentoo image.. burn it to a sd card.. and nothing happens... I dunno how-to install ! (I have experience installing linux in peepz computers on more than 100 probably...)
The Gentoo author has published instructions:
" To install to MMC, replace the contents of your /dev/mmcblk0p1 and /dev/mmcblk0p2 with what is in the respective partitions in the image. Then edit /etc/fstab and /boot/uEnv.txt. "
the olimex bios is weird..
TERES-I is not a conventional x86 laptop. Its has an ARM chip inside and ARM architecture, not x86. The ARM architecture is more common for tablets and smartphones (and some netbooks like Chromebook); the x86 is more common for personal computers and bigger laptops. Because of the ARM architecture, TERES-I has no BIOS either (in the traditional sense of "BIOS").
The typical way of installing the operating system of TERES-I is via a micro SD card (there is a slot on the TERES-I). It generally goes like this:
is there a button to select where to boot from?
No. There is a pre-defined priority list of boot mediums (the board would attempt to boot from different places in specific order - if it can't boot from the top priority place it would try from the second, then the third, and so on).
Hi how do I do this:
To install to MMC, replace the contents of your /dev/mmcblk0p1 and /dev/mmcblk0p2 with what is in the respective partitions in the image. Then edit /etc/fstab and /boot/uEnv.txt.
?? Is there a more detailed guide?
@albjeremias hi, there is no more detailed guide, sorry. This is on purpose: I did not mean to be too user friendly, because maintaining linux for teres still requires expertise, gentoo in particular.
If you are adventurous, here are approximate (untested) instructions. Run them only if you understand what is going on and that this may kill your cat. Assuming you boot from gentoo micro sd card, run
mkdir /mnt/mmc-boot
mkdir /mnt/mmc-root
mount /dev/mmcblk0p1 /mnt/mmc-boot
mount /dev/mmcblk0p2 /mnt/mmc-root
mkdir /mnt/sd-root
mount --bind / /mnt/sd-root
rsync -aAxXhH --delete /boot/ /mnt/mmc-boot
rsync -aAxXhH --delete /mnt/sd-root/ /mnt/mmc-root
Then edit /mnt/mmc-boot/uEnv.txt
and /mnt/mmc-root/etc/fstab
to point to mmcblk0
instead of mmcblk1
. Make sure the root filesystem type in fstab
is correct.
See also install_emmc.sh which is a part of the official installation. It does the same and more.
@albjeremias please do not take it offenseve but the questions you ask show that you have no much experience with linux, in this case may be good idea to stay with ubuntu as it's most user friendly distro for beginners. Gentoo require you to compile everything from sources and this may be a bit confusing for novices. Arch also has not so many packages available as Ubuntu, for instance you should compile KiCad from sources in Arch as if I remember correctly the KiCad team work on Ubuntu and their nightly builds are for Ubuntu.
lol! :-1: dude, i use linux since 15yrs... since fedora... i used gentoo, debian, rasppi, rockbox, etc.. etc... i have much experience... im just no familiar with this ARM stuffs... and I want gentoo because i bet that is way faster than stupid ubuntu, and i hate that ubuntu sold our souls to amazon once [1].
anyways you sound like a super hacker, maybe you can help out, instead of dragging people down... so how do I brick my TERES forever? Which are the cases where it stays bricked with no possibility to unbrick?
1- https://nakedsecurity.sophos.com/2012/11/01/ubuntu-search-amazon-privacy/
If I can bring this thread back on topic please...
I don't understand the mentality of intentionally-limited documentation. It is completely valid to not provide half-complete walkthroughs which contain so many gaps that the user becomes confused and wastes tons of time, potentially losing vital data. Bold warnings are generally acceptable if there is inherent risk in a particular step of the process (e.g. partition managers, etc). However, unless the products are flying off the shelves faster than they can be restocked, there is value in making the product more powerful, easier to use, and more reliable. I have never experienced thoughtfully-written documentation as being a negative factor in my professional career. Something is better than nothing, and it's okay to not be perfect.
If any of you find value in this, I am happy to provide a general guide to load OSes on eMMC, as well as a comprehensive example. If this is the case, I would appreciate some direction as to not waste time creating a useless example.
What is the completion criteria of this issue?
but i cant just boot some distro from the sd card?
There is an Armbian image too now. Armbian is friendlier for people outside of electronics. Check here: https://www.armbian.com/olimex-teres-a64/
Has anyone tried to get archlinux running?
@sameer Not that I'm aware, but I'll keep an eye out until then.. and, of course, please report back if you hear of anything. It looks like there are Arch options for Olimex's sister products, but I'm sure this is not news to you: https://archlinuxarm.org/platforms
@albjeremias You definitely can. I finally got a Teres so I can be of more help now. Once you download/extract/copy a valid .img
file containing a valid boot partition onto a uSD card, the Teres will look to boot off of the uSD card before eMMC. In this way, you can have a stack of imaged uSD cards handy (I coincidentally do right now!) and freely boot whatever you want. If you so desire to copy an image to the eMMC, you can do so using your own method or one of the provided scripts. This is one of the particularly pleasant aspects of ARM boards. :smiley:
These are the available Teres image torrents I currently seed. Am I missing any (apart from the laundry list of past Armbian releases)? I will create a wiki page describing the official/unofficial distros with associated torrent files. Will that be enough to satisfy this issue for now?
Based on the decision from issue #32, I uploaded all known (by me personally) torrent files for the A64-TERES. I also created a README within SOFTWARE/A64-TERES describing the currently available operating system images, both Olimex-supported and third-party. Issues related to the Olimex-supported Teres images should be created within this repository, and any issues with third-party images should be submitted through their respective maintainers. Once an alternative OS is deemed production-ready for the Teres, I will be happy to link it (with disclaimers, obviously) accordingly. I think these commits satisfy the requirements for this issue, so I'm closing it. Feel free to open it again, with comment, if you disagree.
Hi! is the laptop supporting other distros? maybe debian or archlinux? If I want to try something like that, what do I need to keep in mind to don't brick the hardware?
More specificall, how can I install archlinux on this laptop? On https://archlinuxarm.org/ says olimex is supporting them!