OpenMediaVault (PINE A64(+)) 4.13.10 [Nov 21] | OpenMediaVault (A64-LTS / SOPINE) 4.13.10 [Nov 21] | Q4OS (PINE A64(+)) 2.4-r1 [Nov 10] | Volumio (ROCK64) 2.299 [Oct 30] | Q4OS (Pinebook) 2.4-r1 [Oct 30] | DietPi (ROCK64) v156 [Oct 24] | Armbian - Xenial Desktop (Pinebook) 5.34 [Oct 24] | motionEyeOS (PINE A64(+)) 20171003 [Oct 23] | Android Images (ROCK64) 20171012 [Oct 23]

Getting Started | Visit the WIKI | IRC Logs | Forum Rules/Policy


Ubuntu Xenial Image (BSP Kernel)
#1
I also built a mimimal Ubuntu image combined with the the BSP Kernel and my image building gear. Similar to the Arch Image **this image is intended for developers. If you are looking for accelerated 2D/3D or video decoding use Android** and do not bother with trying this image.

What you get:

- HDMI at 1080P
- HDMI analog audio (alsa, pulseaudio)
- Ethernet (including 1000M)
- USB
- Wifi
- Ubuntu Ubuntu 16.04 (Xenial Xerus) aarch64
- BSP Linux Kernel 3.10.65+ (see http://forum.pine64.org/showthread.php?tid=293)
- BSP U-Boot (see http://forum.pine64.org/showthread.php?tid=99)
- Support for all Pine64 models (512MB, 1GB, 2GB) with auto detection so Ethernet works with the same image on all models

It works good enough so it can be used as headless server, as compile platform for aarch64 or as virtualization host. You can even install a desktop environment if you wish.

These images require a 4GB medium (3700 MiB rootfs). Extend the partition with `sudo /usr/local/sbin/resize_rootfs`.

Download (for instructions see README.txt)

Starting with Kernel 3.10.101 it is possible to lower HDMI resolution from 1080p to 720p. See http://forum.pine64.org/showthread.php?tid=980 for instructions.

History:

**20160228-2**
- Initial publish release
- Known issue: console-setup.service fails to start
- Firefox is very unstable

**20160306-1**
- Updated U-Boot and device tree to 20160306-1
- Updated Kernel to 3.10.65-2-pine64-longsleep-39-1
- Ethernet MAC address is now persistent (added to uEnv.txt on first boot)
- Added system service to reenable CPU cores
- Added helper Pine64 platform scripts to /usr/local/sbin
- Serial getty no longer waits on rc.local service
- Linux Kernel firmware and headers are now installed

**20160320-1**
- Added support for Pine64 512MB model (auto detected)
- Updated U-Boot and device trees to 20160319-1 (2014.07-3-pine64-longsleep)
- Updated Kernel to 3.10.65-3-pine64-longsleep-2
- Wireless tools are now installed by default (iw, rfkill, wpasupplicant)

**20160403-1**
- Updated Kernel to 3.10.65-4-pine64-longsleep-16 (fixing Pine64+ 2GB model Ethernet crash)

**20160424-1**
- Updated U-Boot and device trees to 20160423-1 (v2014.07-4-pine64-longsleep)
- Updated to Kernel 3.10.65-7-pine64-longsleep-28
- Initrd updated to support root= Kernel parameter and wait for rootfs delay (thanks to j0zzy)
- Ubuntu rootfs updated to 16.04 Xenial Xerus final release
- Platform scripts were updated to latest
- Mackeeper service was updated (thanks to sWski)
- UART2, UART3 and UART4 are now enabled (thanks to Martin Ayotte)

**20160507-1**
- Updated to Kernel 3.10.101-0-pine64-longsleep-39
- Alsa-utils are now installed by default, including sane mixer settings
- It is now possible to change the HDMI resolution via uEnv.txt (sunxi-disp-tool installed by default)
- Default hostname is now "pine64"
- Locale en_US.UTF-8 is now pre-generated

**20160716-1**
- Updated to Kernel 3.10.102-2-pine64-longsleep-66

**20161217-1**
- Updated to Kernel 3.10.104-2-pine64-longsleep-113
- Backports repository no longer enabled by default

**20161218-1**
- Ubuntu 16.04.1 base rootfs without proposed repository (was nightly before)
- Proposed repository no longer enabled by default


Released images are signed with a detached GPG signature (.asc) signed by my personal key 0x090EF0DB. Get the key and verify that the download is intact and unmodified.
Code:
gpg --keyserver keyserver.ubuntu.com --recv-keys 090EF0DB
gpg --with-fingerprint xenial-pine64-*.xz.asc

Let me know what you think.
Reply
#2
Wow, looks crunchy.  Smile If I'd have my PINE64 already at hands would start testing it immediately.
What are the next steps now? Compiling applications (ssh client and server will be the one of the first I suppose)?
Is it possible to control the RP2 and Euler buses pins somehow already now or some tools needs to be compiled first?


BR,
Peter
Reply
#3
(02-28-2016, 03:48 PM)peterz Wrote: Compiling applications (ssh client and server will be the one of the first I suppose)?
Is it possible to control the RP2 and Euler buses pins somehow already now or some tools needs to be compiled first?

Well you have the full Ubuntu ports repository - so it is usually not required to compile things like SSH.

I have not tried GPIO, I2C or SPI yet.
Reply
#4
Works like a charm so far.
Things to do after you dd image to your sd card:
1. resize the second partition (rootfs) to span the card
2. resize the file system to span the partition
3. add the universe repository in /etc/apt/sources.list
4. sudo apt-get update
5. sudo apt-get upgrade
6. sudo apt-get install xubuntu-desktop
7. wait for 2.6gb
8. reboot in the graphical environment
9. Win. Thanks Longsleep Wink
Reply
#5
(02-29-2016, 10:06 AM)janjwerner Wrote: 1. resize the second partition (rootfs) to span the card
2. resize the file system to span the partition

I have a script for that https://github.com/longsleep/build-pine6..._rootfs.sh - run with sudo on your Pine.
Reply
#6
This is great, thanks. A couple of questions:

1. What's the lightest weight desktop environment you would recommend? Preferably something that doesn't use up a lot of RAM since I opted for the 1GB version and I will be doing a bit of development work.

2. Any chance to set this up with kernel 4.x?
Reply
#7
You might also want to change /lib/systemd/system/serial-getty@.service to start the getty earlier:

After=dev-%i.device systemd-user-sessions.service # plymouth-quit-wait.service
# After=rc-local.service

Otherwise, systemd waits for the network startup to time out before starting up the getty (5 minutes).
Reply
#8
(02-29-2016, 06:37 PM)shockr Wrote: This is great, thanks. A couple of questions:

1. What's the lightest weight desktop environment you would recommend? Preferably something that doesn't use up a lot of RAM since I opted for the 1GB version and I will be doing a bit of development work.

2. Any chance to set this up with kernel 4.x?

1. Xfce4 works OK (Xubuntu)

2. Not really. Mainline kernel is lacking features and the BSP is missing source for libdram and libhdmi.

(02-29-2016, 10:15 PM)patrickhwood Wrote: You might also want to change /lib/systemd/system/serial-getty@.service to start the getty earlier:

After=dev-%i.device systemd-user-sessions.service # plymouth-quit-wait.service
# After=rc-local.service

Otherwise, systemd waits for the network startup to time out before starting up the getty (5 minutes).

Good suggestion - will be changed in the next release.
Reply
#9
Hi there,

I wonder if with this xenial image I will be able to install all packages from the repos (using apt-get) and also be able to keep the OS up to date running atp-get upgrade.

Thank you.
Reply
#10
(03-07-2016, 09:58 AM)mane Wrote: I wonder if with this xenial image I will be able to install all packages from the repos (using apt-get) and also be able to keep the OS up to date running atp-get upgrade.

Sure, you can install and upgrade everything what is in the Ubuntu ports repository for arm64 (http://ports.ubuntu.com/).

I do not provide packaging for Kernel, initrd and boot - so those cannot be upgraded through packaging.

I built a new Ubuntu Xenial image incorporating the latest changes to U-Boot and Kernel. It also adds the platform scripts i use, does automatically keep the Ethernet MAC address in uEnv.txt and re-enables CPU cores automatically if they got disabled by thermal throttling / overheating.

Get 20160306-1 from https://www.stdin.xyz/downloads/people/l...es/ubuntu/

As always, for a list of changes and full details see the first post in this thread.
Reply


Possibly Related Threads...
Thread Author Replies Views Last Post
  PPTP doesnt work with ubuntu escovedo 2 1,133 08-23-2017, 09:28 AM
Last Post: gilbertotcc
  Xenial Minimal Image (PINE A64(+)) 0.6.2-77 pineadmin 1 1,237 08-17-2017, 02:34 AM
Last Post: pineuseran
  SPI on ubuntu IlyaM 0 116 08-07-2017, 03:41 AM
Last Post: IlyaM
Question HELP Ubuntu Mate password recovery procedure Captain Anni Hilator 5 371 08-03-2017, 03:52 PM
Last Post: Luke
  Ubuntu boot very slow with wifi driver remainder 9 1,471 08-03-2017, 07:23 AM
Last Post: victorssantos
  Recovering root access in Ubuntu Scientomancer 3 180 07-28-2017, 02:53 PM
Last Post: Scientomancer
  Pine64 2Gb Ubuntu Mono not updating and stuck petec 0 137 07-08-2017, 09:34 AM
Last Post: petec
  Xenial Minimal Image (PINE A64(+)) 0.5.5-65 pineadmin 0 1,440 06-15-2017, 12:37 AM
Last Post: pineadmin
  Ubuntu Xenial - Firefox add support for H264 and EAC3 klode 1 840 05-26-2017, 11:10 AM
Last Post: Gnx
  Xenial Minimal Image (PINE A64(+)) 0.5.2-59 pineadmin 0 1,148 05-25-2017, 09:27 AM
Last Post: pineadmin

Forum Jump:


Users browsing this thread: 2 Guest(s)