Author Topic: CUBIUNTU CUBIETRUCK  (Read 75984 times)

ikeeki

  • Guest
CUBIUNTU CUBIETRUCK
« on: January 31, 2014, 05:57:25 pm »
« Last Edit: March 14, 2014, 04:32:39 pm by ikeeki »

Offline corq

  • Newbie
  • *
  • Posts: 22
  • Karma: +3/-0
  • Proud owner of (3)Cubietrucks and a Cubieboard2
    • View Profile
    • corq's project blog
Re: CUBIUNTU CUBIETRUCK
« Reply #1 on: February 01, 2014, 05:51:38 am »
"History command line kept, so you can laugh and cry at me."

Oh Ikeeki, if you only could see how awful my history buffer is :D

I have two CT's ... one is doing duty as an software-defined-radio server, but I may try this on my other one when I get home. Is this NAND or SDcard image?


Offline rose28357

  • Hero Member
  • *****
  • Posts: 567
  • Karma: +28/-0
    • View Profile
Re: CUBIUNTU CUBIETRUCK
« Reply #2 on: February 01, 2014, 07:31:07 am »
i like it because it is fairly complete for my Cubietruck.

Obstacles i found so far:
  • Could not shut down by user interface. It requests authorisation but closes the window before you can enter the password.
  • Could not get network to work. Even with the setting ot /etc/network/interfaces it did not run. there are conflicts between network manager and /etc/network/interfaces. so you have to deactivate network manager if you use /etc/network/interfaces for network configuration. I prefer network manager with dhcp because i want to use several different access points/networks.
  • WLan did not work at all.
  • could not perform the gl test.
  • gparted did not allow to enlarge the rootfilesystem on the SDCard, which has only 190 MByte free, aprox. 400 MByte of the SDCard are not used

But thank you for the image and your effort to provide your results to us noobs!
« Last Edit: February 01, 2014, 08:36:27 am by rose28357 »

ikeeki

  • Guest
Re: CUBIUNTU CUBIETRUCK
« Reply #3 on: February 01, 2014, 08:44:08 am »
    i like it because it is fairly complete for my Cubietruck.

    Obstacles i found so far:
    • Could not shut down by user interface. It requests authorisation but closes the window before you can enter the password.
    • Could not get network to work. Even with the setting ot /etc/network/interfaces it did not run. there are conflicts between network manager and /etc/network/interfaces. so you have to deactivate network manager if you use /etc/network/interfaces for network configuration. I prefer network manager with dhcp because i want to use several different access points/networks.
    • WLan did not work at all.
    • could not perform the gl test.
    • gparted did not allow to enlarge the rootfilesystem on the SDCard, which is has only 190 MByte free

    But thank you for the image and your effort to provide your results to us noobs!

    The button off is for that, until I have time to fix lxdm

    The network issue... do not know. It could be that Nmanager is messing something, but I can connect at first try, I just put my config (static ip) for the first connection, then it is supposed to everyone to adapt it to his/her local confi (routers/dhcp and so on) I have been downloading 50 gb tonight to check if it was stable and so far so good. I fyou have another config more universal, please tell me and I'll put it in next version.

    Quote
    WLan did not work at all.
    I'll retry later, with my wifi dongle, and I'tell what I did.

    Quote
    could not perform the gl test.
    Try to test it when as soon as the cubie boots, do not run many programs before, as I think there may be some memory corruption. I ve noticed that too but I swear it runs, then I'll upload a video.

     gparted did not allow to enlarge the rootfilesystem on the SDCard, which is has only 190 MByte free[/li][/list]
     

    I have just resized it from a linux mint netbook, try to resize just the rootfs partition.
    If you mean from the cubie with cubiuntu, me neither, if anyone knows why, please tell.

    regards[/list]
    « Last Edit: February 01, 2014, 09:42:26 am by ikeeki »

    ikeeki

    • Guest
    Re: CUBIUNTU CUBIETRUCK
    « Reply #4 on: February 01, 2014, 08:57:14 am »
    "History command line kept, so you can laugh and cry at me."

    Oh Ikeeki, if you only could see how awful my history buffer is :D

    I have two CT's ... one is doing duty as an software-defined-radio server, but I may try this on my other one when I get home. Is this NAND or SDcard image?

    Lool
    sdcard image, i always have android in nand, I love it

    Offline rose28357

    • Hero Member
    • *****
    • Posts: 567
    • Karma: +28/-0
      • View Profile
    Re: CUBIUNTU CUBIETRUCK
    « Reply #5 on: February 01, 2014, 09:33:53 am »
    i did some more tests ....
    When i start LXDE as root/root networkmanager works fine and immediately shows all available wlan hotspots. it was a charm to login ....

    But i didn't manage to return to user linaro/linaro :-(

    I had some problems to change language and keyboard settings with the language preference app. would like to have a german layout. does update libre-office libs and fills up my disk space.

    If i use gparted on the rootfile system (try to enlarge from 3.5 GByte to 8 GByte on a 32 GByte sdcard) it say that the file system has errors that have to be fixed.

    I will try to change the partition when i boot my lubuntu from nand....

    ikeeki

    • Guest
    Re: CUBIUNTU CUBIETRUCK
    « Reply #6 on: February 01, 2014, 09:48:14 am »
    linaro/cubieboard, excuse me, added. And root/root

    Your sdcard may be corrupted, try formating to ext 2 and then use

    dd if=/path/to/image of=/dev/sdb bs=1M

    And take insto account that not all sdcards works fine (I hate kingston, the best transcend) and that the biiger the sdcard the more probably it won't works.

    Excuse the previous answer, my food was getting burnt ¡

    And please tell me the gl bench worked ¡¡¡


    « Last Edit: February 01, 2014, 10:19:47 am by ikeeki »

    Offline rose28357

    • Hero Member
    • *****
    • Posts: 567
    • Karma: +28/-0
      • View Profile
    Re: CUBIUNTU CUBIETRUCK
    « Reply #7 on: February 01, 2014, 10:06:25 am »
    finaly i could set up my keyboard using the terminal
    Code: [Select]
    $sudo apt-get install language-pack-de-base
    $sudo dpkg-reconfigure keyboard-configuration

    I change the /etc/network/interface to
    Code: [Select]
    # interfaces(5) file used by ifup(8) and ifdown(8)
    auto lo
    iface lo inet loopback

    #allow-hotplug eth0 # could be deleted because ethernet-hardware could not be removed
    #iface eth0 inet dhcp

    auto eth0
    iface eth0 inet static
    hwaddress ether ae:50:30:27:5a:cf # set same mac address every boot
    address 192.168.101.50
    netmask 255.255.255.0
    #network 192.168.101.0
    gateway 192.168.101.1
    broadcast 192.168.101.255

    #auto wlan0
    #iface wlan0 inet dhcp
    #    wpa-ssid YOUR-NETWORK-NAME
    #    wpa-key-mgmt WPA-PSK
    #    wpa-group TKIP CCMP
    #    wpa-psk YOUR-NETWORK-KEY

    #auto usb0
    #iface usb0 inet static
    #       address 192.168.0.2
    #       netmask 255.255.255.0
    #       broadcast 192.168.0.255
    #       gateway 192.168.0.1

    my lubuntu network manager requires this
    Code: [Select]
    # interfaces(5) file used by ifup(8) and ifdown(8)
    auto lo
    iface lo inet loopback

    #allow-hotplug eth0 # could be deleted because ethernet-hardware could not be removed
    #iface eth0 inet dhcp

    #auto eth0
    #iface eth0 inet static
    #hwaddress ether ae:50:30:27:5a:cf # set same mac address every boot
    #address 192.168.101.50
    #netmask 255.255.255.0
    #network 192.168.101.0
    #gateway 192.168.101.1
    #broadcast 192.168.101.255

    #auto wlan0
    #iface wlan0 inet dhcp
    #    wpa-ssid YOUR-NETWORK-NAME
    #    wpa-key-mgmt WPA-PSK
    #    wpa-group TKIP CCMP
    #    wpa-psk YOUR-NETWORK-KEY

    #auto usb0
    #iface usb0 inet static
    #       address 192.168.0.2
    #       netmask 255.255.255.0
    #       broadcast 192.168.0.255
    #       gateway 192.168.0.1
    Network manager only uses these interfaces that are not used in the /etc/network/interfaces configuration.
    « Last Edit: February 01, 2014, 10:45:42 am by rose28357 »

    ikeeki

    • Guest
    Re: CUBIUNTU CUBIETRUCK
    « Reply #8 on: February 01, 2014, 10:19:42 am »
    Thanks, added above :)

    BTW,

    Cubiuntu cubietruck Sdcard resizing capability proof:


    Offline rose28357

    • Hero Member
    • *****
    • Posts: 567
    • Karma: +28/-0
      • View Profile
    Re: CUBIUNTU CUBIETRUCK
    « Reply #9 on: February 01, 2014, 11:16:59 am »
    with lubuntu on Cubietruck i can do this to use the whole rest of the nand for rootfs on nandb
    Code: [Select]
    $sudo su - root
    #resize2fs  /dev/nandb
    in Cubiuntu i expect to do this but it regrets execution.
    Code: [Select]
    $sudo su - root
    #resize2fs  /dev/mmcblk0p2 8G
    gparted does not work because we try to change the mounted rootfilesystem.

    I have read somewhere in this forum that there is a special resize2fs version for allwinner or linaro (maybe for nand resizing?). But i couldn't find it ...

    patwood knows how to use resize2fs.
    « Last Edit: February 01, 2014, 11:27:42 am by rose28357 »

    Offline rose28357

    • Hero Member
    • *****
    • Posts: 567
    • Karma: +28/-0
      • View Profile
    Re: CUBIUNTU CUBIETRUCK
    « Reply #10 on: February 01, 2014, 12:10:39 pm »
    I had problems with network access even with the static configuration.

    The reason was the mac address configuration (hwaddress ether xx:xx:xx:xx). after checking my router i found a different mac address than the one i set in interfaces.

    @ikeeki : how can i check that the sunxi-gmac driver has been installed ? lsmod doesn't show it.

    ikeeki

    • Guest
    Re: CUBIUNTU CUBIETRUCK
    « Reply #11 on: February 01, 2014, 12:22:52 pm »
    check uEnv mac address section, maybe that is causing mess  :-[

    BTW, I forgot to install unrar and 7zip, available ins synaptic.
    « Last Edit: February 01, 2014, 12:39:13 pm by ikeeki »

    Offline rose28357

    • Hero Member
    • *****
    • Posts: 567
    • Karma: +28/-0
      • View Profile
    Re: CUBIUNTU CUBIETRUCK
    « Reply #12 on: February 01, 2014, 01:22:49 pm »
    I found this uEnv.txt
    Code: [Select]
    bootargs=console=tty0 sunxi_fb_mem_reserve=64
    sunxi_ve_mem_reserve=128 sunxi_g2d_mem_reserve=32 mac_addr=02:00:02:t0:kk:40
    extraargs=consoleblank=0 rootwait disp.screen0_output_type=3 disp.screen0_output_mode=EDID:5
    hdmi.audio=EDID:0 consoleblank=0
    the mac adress should conbtain hex numbers. t0:kk do not match !!!

    On my router the cubietruck has this mac :  1A:9B:62:80:9A:50

    BTW i did es2gears.sh (rotating gears) and glmark2-es2.sh (3 FPS !)

    But i also run the update manager. May be it distroid some if the application configurations for mali etc.
    « Last Edit: February 01, 2014, 01:40:02 pm by rose28357 »

    Offline Tokka

    • Developer
    • Full Member
    • ***
    • Posts: 193
    • Karma: +16/-0
      • View Profile
    Re: CUBIUNTU CUBIETRUCK
    « Reply #13 on: February 01, 2014, 02:26:50 pm »
    The specified mac address is not physical, and the router translate it into a physical one....more or less..
    Video tests result do not affect movies reproductions, they refer to 3D apps. If you only want watch movies, you will haven't problems  :)
    CB1 (A10) - Qbee-X_TMC

    Offline rose28357

    • Hero Member
    • *****
    • Posts: 567
    • Karma: +28/-0
      • View Profile
    Re: CUBIUNTU CUBIETRUCK
    « Reply #14 on: February 01, 2014, 02:50:04 pm »
    Video runs good. SMPlayer for Youtube is ok. The Sintel-Trailer should be reduced in size on my 1920x1080 screen with a hdmi to vga converter. But at half of the screen size it runs without a stutter.

    The kernel also runs with 1 GBit on my ethernet port. so sunxi-gmac was successfully loaded.