OLIMEX / DIY-LAPTOP

Do It Yourself Open Source Hardware and Software Modular Hacker's Friendly Laptop
Apache License 2.0
493 stars 88 forks source link

Add an Option for Building Ubuntu 18.04.2 Bionic for A64-Teres #36

Closed leon-anavi closed 5 years ago

leon-anavi commented 5 years ago

Hi,

@lazarh and I spent the whole day working on these scripts :) Finally we added option to successfully boot and build Ubuntu 18.04.2 for A64-Teres. Please, review the provided pull request.

The next step is to make another image with KDE Plasma on top of Ubuntu 18.04.2 for A64-Teres :)

Best regards, Leon

binutzu commented 5 years ago

Does it have the video acceleration like in 16.04?

leon-anavi commented 5 years ago

Hi @binutzu,

No, at least not by default yet. But it is on the roadmap for my spare time activities :)

I believe for bionic we should switch from ppa:longsleep/ubuntu-pine64-flavour-makers to ppa:ayufan/pine64-ppa. However the Ubuntu 18.04.2 is very basic - just boots to command prompt. The kernel is the same 3.10.104-teres as for Ubuntu 16.04 xenial. I guess after booting Ubuntu 18.04 you can execute something like to install the packages for video acceleration:

sudo apt-add-repository ppa:ayufan/pine64-ppa -y
sudo apt-get install -y xserver-xorg-video-armsoc-sunxi libmali-sunxi-utgard0-r6p0
wget https://raw.githubusercontent.com/ayufan-pine64/linux-build/master/package/root/usr/local/sbin/pine64_enable_sunxidrm.sh
chmod +x pine64_enable_sunxidrm.sh
sudo ./pine64_enable_sunxidrm.sh

These are not exact steps. Further work is needed for this. I am also working on this and I will keep you updated with my progress. Btw link to the basic Ubuntu 18.04.2 image for A64-Teres is available at: https://pc.cd/zLRrtalK

Thanks, Leon