(ARCHIVED) Ubuntu Xenial Image (BSP Kernel)
OK thanks. Another question I want to use the Pine to stream RTSP/RTP streams using VLC. It works on Android 5.1 with the touchscreen but no luck with Xenial. I get the first frame and that's it. I played with the HW accelerator option but same thing. Can the Pine do live RTSp/RTp streaming? I have the 2gig version is there some sort of embedded GPU in that chip?
(02-28-2016, 03:07 PM)longsleep Wrote: 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

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.
Hi.  seems that image falls off the connection over an Ethernet network every 5 minutes. I use SSH and it breaks every 5 minutes ....
(08-11-2016, 10:22 AM)Artyom Wrote:
(02-28-2016, 03:07 PM)longsleep Wrote: 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

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.
Hi.  seems that image falls off the connection over an Ethernet network every 5 minutes. I use SSH and it breaks every 5 minutes ....

hmmm... I have not had this experience.

Two things:
1. did you download off the forum or from pine64 website?
the pine64 links have been out of date for me in the past.

running:
sudo /usr/local/sbin/pine64_update_kernel.sh ## I messed this up in my unedited post - linux is hard
 should resolve any discordance with that - after reboot anyhow.

2. are you using it out of the box with no alterations to the network configuration?
If you are, and you have access to your router/dhcp server check that out.

If that sounds like a lot I can put some instructions that will set a non-persistent static ip address and see if that is the issue.. such that if my commands fail - you can just reboot and the network config will revert back
(08-11-2016, 01:34 PM)rallar8 Wrote:
(08-11-2016, 10:22 AM)Artyom Wrote:
(02-28-2016, 03:07 PM)longsleep Wrote: 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

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.
Hi.  seems that image falls off the connection over an Ethernet network every 5 minutes. I use SSH and it breaks every 5 minutes ....

hmmm... I have not had this experience.

Two things:
1. did you download off the forum or from pine64 website?
the pine64 links have been out of date for me in the past.

running:
sudo /usr/local/sbin/pine64_update_kernel.sh ## I messed this up in my unedited post - linux is hard
 should resolve any discordance with that - after reboot anyhow.

2. are you using it out of the box with no alterations to the network configuration?
If you are, and you have access to your router/dhcp server check that out.

If that sounds like a lot I can put some instructions that will set a non-persistent static ip address and see if that is the issue.. such that if my commands fail - you can just reboot and the network config will revert back

1. I downloaded the OS image from the forum.
2. I did update the kernel and OS loader.
3. I have access to the router.
4. After upgrading the kernel and bootloader I rebooted the OS.
5. address issued by DHCP lease is issued in 5 days. As it is issued it is always the same during this time.

Send your instruction on blademoon@yandex.ru and I test them.
(02-28-2016, 03:07 PM)longsleep Wrote: 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

Hi,

I'm running the Ubuntu image on my Pine64 (2GB) for a few weeks now, and noticed some troubles with the network (when playing an audio stream, there were quite a lot of buffering cuts). I have a 1Gbps download bandwidth provided by my Internet access provider, and which I can verify on my laptop. I plugged my Pine64 to my network using a category 6 RJ45 cable, in the exact same way I do for the said laptop with which I can confirm the bandiwdth I'm provided with. 

Today, I installed speedtest-cli to check if there was an actual bandwidth problem, and after several tests on the same server I'm using from my laptop, I couldn't get past 20-30Mbps. Even when using a server I'm less than 1km from gets me a similar result. Which isn't normal since the 2GB model should support up to 1000Mbps.

The upload bandwidth is also lower than usual (~250Mbps on my laptop, around 110-130Mbps on my Pine64), and I have a ping to this server way higher than usual.

There's currently no other devices in my local network, all the tests were made remotely using SSH (from my work place, while my Pine64 is at home), and I don't believe that SSH uses ~980Mbps from my download from my bandwidth.

As the image is supposed to allow me 1000M on Ethernet, why is it so low, and how can I fix this?
(02-29-2016, 12:39 AM)longsleep Wrote:
(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.

GPIO, I2C tested ok.
seldom use SPI.
morning, the problem you are describing is well known and fully documented on this site.

... some of the pineA64 boards (for no apparent reason) will not DO 1000mb/s.

Some folks are looking into the issue, but it does not look like there is a resolution soon. Also, if you plug into a Gbe network, your pine may not communicate ... use the ethtool to set the speed to 100mb/s
marcushh777    Cool

please join us for a chat @  irc.pine64.xyz:6667   or ssl  irc.pine64.xyz:6697

( I regret that I am not able to respond to personal messages;  let's meet on irc! )
I noticed sudo reboot hangs, but sudo reboot -f does not. I'd prefer not to use the force arg. I build my own distro using debootstrap, but the problem still exists. I also noticed this with the Mate desktop image as well, but using the UI shutdown/reboot it reboots. Any ideas why this is happening?
Made a video using this version of Ubuntu to show how my live TV streams are working.  Keep in mind, I know absolutely NOTHING about Linux.  I am most grateful for all the help you guys on here and the IRC channel, without their help, I would have given up and  tossed this board.  But with their help, I am learning, slowly, but learning.

I built a Ubuntu 16.04 distro from xenial-pine64-bspkernel-20160716-1.img.xz using debootstrap. My USB wifi device is detected and driver module loaded, but nothing from iwconfig:

Code:
lsusb

Bus 001 Device 002: ID 0bda:8176 Realtek Semiconductor Corp. RTL8188CUS 802.11n WLAN Adapter
Code:
lsmod | grep rtl

rtl8192cu              66504  0
rtlwifi                60032  1 rtl8192cu
rtl8192c_common        40280  1 rtl8192cu
mac80211              370652  2 rtlwifi,rtl8192cu
cfg80211              374207  2 mac80211,rtlwifi
Code:
iwconfig

eth0      no wireless extensions.

dummy0    no wireless extensions.

sit0      no wireless extensions.

lo        no wireless extensions.


Possibly Related Threads…
Thread Author Replies Views Last Post
  Ubuntu server 20.04 request phi0x 2 6,110 12-30-2020, 08:02 PM
Last Post: phi0x
  Xenial Minimal Image (PINE A64(+)) 0.6.2-77 pineadmin 4 22,549 08-30-2020, 10:35 AM
Last Post: jrronimo
  Kickstarter P64 with LCD, working image? MostHated 1 4,973 01-04-2020, 10:32 AM
Last Post: igorp
  USB Wireless Drivers with Longsleep Linux Kernel jacobscarter 15 27,687 03-06-2019, 02:26 PM
Last Post: tllim
  Allwinner A64 RTC bug fix on bionic image? tkaivola 1 5,316 02-01-2019, 05:09 AM
Last Post: tllim
  SPI on ubuntu IlyaM 4 10,162 07-16-2018, 03:00 AM
Last Post: kingflab
  Ubuntu password not working joemassimino 4 9,583 05-18-2018, 03:33 PM
Last Post: Luke
  How can I get a wireless dongle working on Xenial Desktop latest build Rocklobster 1 4,387 04-16-2018, 03:09 PM
Last Post: Rocklobster
  After flashing Ubuntu- how to get graphical desktop Partymack711 6 12,009 02-01-2018, 09:45 AM
Last Post: Partymack711
  PPTP doesnt work with ubuntu escovedo 2 9,681 08-23-2017, 09:28 AM
Last Post: gilbertotcc

Forum Jump:


Users browsing this thread: 20 Guest(s)