(ARCHIVED) Ubuntu Xenial Image (BSP Kernel) - Printable Version +- PINE64 (https://forum.pine64.org) +-- Forum: PINE A64(+) (https://forum.pine64.org/forumdisplay.php?fid=4) +--- Forum: Linux on Pine A64(+) (https://forum.pine64.org/forumdisplay.php?fid=6) +---- Forum: Ubuntu (https://forum.pine64.org/forumdisplay.php?fid=27) +---- Thread: (ARCHIVED) Ubuntu Xenial Image (BSP Kernel) (/showthread.php?tid=376) |
(ARCHIVED) Ubuntu Xenial Image (BSP Kernel) - longsleep - 02-28-2016 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 Let me know what you think. RE: Ubuntu Xenial Image (BSP Kernel) - peterz - 02-28-2016 Wow, looks crunchy. 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 RE: Ubuntu Xenial Image (BSP Kernel) - longsleep - 02-29-2016 (02-28-2016, 03:48 PM)peterz Wrote: Compiling applications (ssh client and server will be the one of the first I suppose)? 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. RE: Ubuntu Xenial Image (BSP Kernel) - janjwerner - 02-29-2016 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 RE: Ubuntu Xenial Image (BSP Kernel) - longsleep - 02-29-2016 (02-29-2016, 10:06 AM)janjwerner Wrote: 1. resize the second partition (rootfs) to span the card I have a script for that https://github.com/longsleep/build-pine64-image/blob/master/simpleimage/resize_rootfs.sh - run with sudo on your Pine. RE: Ubuntu Xenial Image (BSP Kernel) - shockr - 02-29-2016 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? RE: Ubuntu Xenial Image (BSP Kernel) - patrickhwood - 02-29-2016 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). RE: Ubuntu Xenial Image (BSP Kernel) - longsleep - 03-01-2016 (02-29-2016, 06:37 PM)shockr Wrote: This is great, thanks. A couple of questions: 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: Good suggestion - will be changed in the next release. RE: Ubuntu Xenial Image (BSP Kernel) - mane - 03-07-2016 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. RE: Ubuntu Xenial Image (BSP Kernel) - longsleep - 03-07-2016 (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/longsleep/pine64-images/ubuntu/ As always, for a list of changes and full details see the first post in this thread. |