Author Topic: Cubieboard4 linaro ubuntu desktop 1.0 release  (Read 11133 times)

Offline sam

  • Jr. Member
  • **
  • Posts: 73
  • Karma: +2/-0
    • View Profile
Cubieboard4 linaro ubuntu desktop 1.0 release
« on: May 11, 2015, 10:17:55 am »
Cubieboard4 linaro ubuntu desktop 1.0 release

Features:
- Supported video hardware decoding for vlc player
- PowerVR GPU acceleration baseed on opengl-es

Update log:
1 Fix audio bug. (bug: every time you play audio you need torun: amixer cset numid=54,iface=MIXER,name='Speaker Function' 0. )

2 Enable net-bridage, support ap hostapd (apt-get install hostapd)

3 Support USB AUDIO, CDC ACM, CD-ROM

4 MAC address is fixed.

5 Fix command line without cursor.

6 Add install_emmc.sh . Install and backup your systerm to emmc

7 WIFI connecting software: Wicd Network Manager

8 office: libreoffice. Programming: Geany, Bluetooth tools : Blueman , pdf reader: Document Viewer

9 Delete unnecessary library file in the past version which pull for gpu.

Download image:

 http://dl.cubieboard.org/model/cc-a80/Image/ubuntu-linaro/ubuntu-linaro-v1.0/

How to build:    (the sdk have updated. Downloard and build it refer this docunment)

http://dl.cubieboard.org/model/cc-a80/Doc/ubuntu-linaro/Cubieboard4-Linux-Sdk-Guide.pdf

More feaures you can refer last version:

http://www.cubieforums.com/index.php/topic,3608.0.html


Notice:

1 This image is TF card image, Livesuit or Phoneixsuit can not be used.

2 First time running will reboot to make some init setting .

3 Connect the net will make systerm boot quicker.

4 Run Wich Network Manager , can connect wifi directly.

5 The default desktop acceleration is using 2D fbturbo
switch to gpu pvr acceleration :
# cp /etc/X11/xorg-pvr.conf /etc/X11/xorg.conf
# reboot # apt-get install glmark2-es2
# glmark-es2

notice : the vlc player need 2D fbturbo acceleration to hardware decode play video, switch to gpu pvr will cause vlc play video failed Switch to 2D fbturbo acceleration:
# cp /etc/X11/xorg-fbturbo.conf /etc/X11/xorg.conf
# reboot


 6 Switch to 1024*768 VGA display
#cd /root/boot-file
#cp vga_sys_config.fex sys_config.fex
 #./update_sys_config.sh emmc
#reboot

Switch to 1080p 60 HDMI display
#cd /root/boot-file
#cp hdmi_sys_config.fex sys_config.fex
 #./update_sys_config.sh emmc
#reboot


7 /root/install_emmc.sh script can install and backup your systerm to emmc.
#/root/install_emmc.sh
 According to hint to choose “y” to do that.

Fixed Bug:
 1.  switch to VGA,  have some bugs:   cursor is hidden,  VLC play video failed 
https://github.com/sunbeyond40/a80-xf86-video-fbturbo    (should update kernel)

Known bugs

1. Use blutooth 's tools  blueman to trasnfer file:    The cubieboard4 can send file normaly, but receiving has a bug: only can receive  file in 300k.
2. 2D fbturbo Desktop acceleration can not be runed with gpu pvr acceleration ,  switch to gpu pvr  accleration will lead that vlc player play video failed
« Last Edit: June 18, 2015, 10:13:02 pm by sam »

Offline Christobalde

  • Newbie
  • *
  • Posts: 16
  • Karma: +0/-0
    • View Profile
Re: Cubieboard4 linaro ubuntu desktop 1.0 release
« Reply #1 on: May 11, 2015, 11:06:18 am »
Hi,

The CDROM is not working because you forgot to set :
CONFIG_BLK_DEV_SR=y in the defconfig.  :-\

CONFIG_MAC_PARTITION=y would be good too.
USB Audio is OK, and Bridge Network OK with hostapd_2.3-1.

Quite a good release, I will test more soon.



Offline actkk2000

  • Hero Member
  • *****
  • Posts: 570
  • Karma: +1/-11
    • View Profile
Re: Cubieboard4 linaro ubuntu desktop 1.0 release
« Reply #2 on: May 11, 2015, 04:13:18 pm »
Good job Sam  :)

Offline sam

  • Jr. Member
  • **
  • Posts: 73
  • Karma: +2/-0
    • View Profile
Re: Cubieboard4 linaro ubuntu desktop 1.0 release
« Reply #3 on: May 11, 2015, 09:19:30 pm »
Hi,

The CDROM is not working because you forgot to set :
CONFIG_BLK_DEV_SR=y in the defconfig.  :-\

CONFIG_MAC_PARTITION=y would be good too.
USB Audio is OK, and Bridge Network OK with hostapd_2.3-1.

Quite a good release, I will test more soon.

OK, Thanks for advice.

Offline Aaron

  • Newbie
  • *
  • Posts: 37
  • Karma: +0/-0
    • View Profile
Re: Cubieboard4 linaro ubuntu desktop 1.0 release
« Reply #4 on: May 11, 2015, 09:22:09 pm »
Hi,

The CDROM is not working because you forgot to set :
CONFIG_BLK_DEV_SR=y in the defconfig.  :-\

CONFIG_MAC_PARTITION=y would be good too.
USB Audio is OK, and Bridge Network OK with hostapd_2.3-1.

Quite a good release, I will test more soon.

OK, Thanks for advice.


This is  a big release ! 
Cubieboard Hacker  : )

Offline cyberluke

  • Newbie
  • *
  • Posts: 40
  • Karma: +0/-0
    • View Profile
Re: Cubieboard4 linaro ubuntu desktop 1.0 release
« Reply #5 on: May 14, 2015, 04:47:18 am »
So even if this is hdmi image, one can use vga as well without the need to build custom linaro-vga image?

Offline sam

  • Jr. Member
  • **
  • Posts: 73
  • Karma: +2/-0
    • View Profile
Re: Cubieboard4 linaro ubuntu desktop 1.0 release
« Reply #6 on: May 17, 2015, 10:37:30 pm »
So even if this is hdmi image, one can use vga as well without the need to build custom linaro-vga image?

VGA has  some bugs。

Offline EverydayDiesel

  • Newbie
  • *
  • Posts: 5
  • Karma: +0/-0
    • View Profile
Re: Cubieboard4 linaro ubuntu desktop 1.0 release
« Reply #7 on: July 31, 2015, 12:27:37 am »
Thank you for doing this!.

How do i write it to the emmc?

Offline sam

  • Jr. Member
  • **
  • Posts: 73
  • Karma: +2/-0
    • View Profile
Re: Cubieboard4 linaro ubuntu desktop 1.0 release
« Reply #8 on: August 03, 2015, 10:42:00 pm »
Thank you for doing this!.

How do i write it to the emmc?
this is the image
dl.cubieboard.org/model/cc-a80/Image/ubuntu-linaro/ubuntu-linaro-v1.0/linaro-desktop-cb4-emmc-hdmi-v1.0.img.7z

note : this  is a  card image, you must flash it into tfcard ( Linux : use  dd command ,  Sindows : use  win32diskimager ), after flash it into tfcard,    insert tfcard into cb4, power on ,    the systerm will  install lubuntu  into  emmc by itself.    When the install is over,  the systerm will shutdown automatically.    take out the  tfcard.  power on cb4.

Offline EverydayDiesel

  • Newbie
  • *
  • Posts: 5
  • Karma: +0/-0
    • View Profile
Re: Cubieboard4 linaro ubuntu desktop 1.0 release
« Reply #9 on: August 04, 2015, 04:35:36 pm »
sam, that worked perfectly.  THANKS!!!!

Offline hmm

  • Newbie
  • *
  • Posts: 2
  • Karma: +0/-0
    • View Profile
Re: Cubieboard4 linaro ubuntu desktop 1.0 release
« Reply #10 on: August 09, 2015, 04:13:51 am »
I have just bought a Cubieboard 4 and it seems that the HDMI interface is faulty. When I power it it with the default android on it, I can see the output through the VGA. But when I try the HDMI there is no output at all. Since I have a Linaro v1.0 os in my SD card, how can I change the default display output from HDMI to VGA?

Offline allen

  • Jr. Member
  • **
  • Posts: 68
  • Karma: +0/-0
    • View Profile
Re: Cubieboard4 linaro ubuntu desktop 1.0 release
« Reply #11 on: August 09, 2015, 11:25:17 pm »
 For linux :

6 Switch to 1024*768 VGA display
#cd /root/boot-file
#cp vga_sys_config.fex sys_config.fex
 #./update_sys_config.sh emmc
#reboot
Switch to 1080p 60 HDMI display
#cd /root/boot-file
#cp hdmi_sys_config.fex sys_config.fex
 #./update_sys_config.sh emmc
#reboot

android system can  support HDMI and VGA output at the same time .

Offline hmm

  • Newbie
  • *
  • Posts: 2
  • Karma: +0/-0
    • View Profile
Re: Cubieboard4 linaro ubuntu desktop 1.0 release
« Reply #12 on: August 10, 2015, 03:41:57 am »
For linux :

6 Switch to 1024*768 VGA display
#cd /root/boot-file
#cp vga_sys_config.fex sys_config.fex
 #./update_sys_config.sh emmc
#reboot
Switch to 1080p 60 HDMI display
#cd /root/boot-file
#cp hdmi_sys_config.fex sys_config.fex
 #./update_sys_config.sh emmc
#reboot

android system can  support HDMI and VGA output at the same time .

There is no output in which I can enter the mentioned commands!
How do I obtain an image which its output is VGA by default?

Offline allen

  • Jr. Member
  • **
  • Posts: 68
  • Karma: +0/-0
    • View Profile
Re: Cubieboard4 linaro ubuntu desktop 1.0 release
« Reply #13 on: August 10, 2015, 04:14:09 am »
For linux :

6 Switch to 1024*768 VGA display
#cd /root/boot-file
#cp vga_sys_config.fex sys_config.fex
 #./update_sys_config.sh emmc
#reboot
Switch to 1080p 60 HDMI display
#cd /root/boot-file
#cp hdmi_sys_config.fex sys_config.fex
 #./update_sys_config.sh emmc
#reboot

android system can  support HDMI and VGA output at the same time .

There is no output in which I can enter the mentioned commands!
How do I obtain an image which its output is VGA by default?

These is an image which its output is VGA but it is server
http://dl.cubieboard.org/model/cc-a80/Image/ubuntu-linaro-server/v2.0/

If you have USB-UART Cable,you can use it enter into  HDMI output  system ,switch it to VGA output .

Offline geromme

  • Newbie
  • *
  • Posts: 6
  • Karma: +0/-0
    • View Profile
Re: Cubieboard4 linaro ubuntu desktop 1.0 release
« Reply #14 on: August 18, 2015, 09:27:25 am »
Hi Sam,

you have fix the cd-rom problem?

"The CDROM is not working because you forgot to set :
CONFIG_BLK_DEV_SR=y in the defconfig."

thanks for your greate image