Author Topic: Ubuntu 12.04 LTS + Mali400  (Read 27653 times)

Offline nevilles

  • Newbie
  • *
  • Posts: 8
  • Karma: +0/-0
    • View Profile
Re: Ubuntu 12.04 LTS + Mali400
« Reply #15 on: March 20, 2013, 03:59:08 pm »
Hi Lawrence

Found it!

Thanks for the quick reply - really appreciated.


FYI - I am an electronics 'dabbler' and a Linux noobie - having a heaps of fun with the Cubieboard/Linux - have rebuilt the kernel and enabled GPIO and have twinkling LED's attached to 8 pins driven by a liteweight  C program , trying to enable IR but don't really know how it all 'connects' at a s/w level.



« Last Edit: March 20, 2013, 05:54:45 pm by nevilles »

Offline mt12345

  • Newbie
  • *
  • Posts: 8
  • Karma: +0/-0
    • View Profile
Re: Ubuntu 12.04 LTS + Mali400
« Reply #16 on: March 20, 2013, 08:53:00 pm »
3D gaming is not supported I assume?

Offline mt12345

  • Newbie
  • *
  • Posts: 8
  • Karma: +0/-0
    • View Profile
Re: Ubuntu 12.04 LTS + Mali400
« Reply #17 on: March 20, 2013, 09:13:41 pm »
Is it armhf?

Offline Delectable

  • Newbie
  • *
  • Posts: 21
  • Karma: +2/-0
    • View Profile
Re: Ubuntu 12.04 LTS + Mali400
« Reply #18 on: March 21, 2013, 06:08:42 am »
3D gaming is not supported I assume?
Haven't tried it, but it should work. Just don't expect too much performance.
Is it armhf?
Yep!

Offline nevilles

  • Newbie
  • *
  • Posts: 8
  • Karma: +0/-0
    • View Profile
Re: Ubuntu 12.04 LTS + Mali400
« Reply #19 on: March 22, 2013, 04:26:53 am »
The Ubuntu image works great - really nice piece of work putting it together.

I really like using it but have an instance where I would like to reclaim the memory used by the GUI.

I have tried to stop the GUI by using 'sudo service lightdm stop' but this results in the system hanging, I then tried to see if I could follow the boot sequence to to disable the GUI on boot but nothing in /boot, no inittab etc only can find uImage in the boot partition of the SD card..

So I have 2 questions:

1- Is it possible to enable and disable the GUI from the command line after boot?
2- What is the boot sequence - which files cause Ubuntu to load and where are they?

TIA

Neville

Offline patwood

  • Linux geek
  • Global Moderator
  • Hero Member
  • *****
  • Posts: 1660
  • Karma: +129/-0
    • View Profile
Re: Ubuntu 12.04 LTS + Mali400
« Reply #20 on: March 23, 2013, 11:39:23 pm »
After stopping the lightdm service, try different CTRL-ALT-F<n> combinations (press and hold the CTRL and ALT keys and start hitting the function keys; you may also want to try just ALT-F<n> combinations).  These are different virtual terminals, and the GUI runs on one of them.

You may be able to disable the GUI at boot time if you have a recent kernel (mid Feb) by setting the following kernel command-line options:

sunxi_no_mali_mem_reserve=0
sunxi_g2d_mem_reserve=0
sunxi_ve_mem_reserve=0
sunxi_fb_mem_reserve=16

Alternatively, you can find the upstart configuration file in /etc/init that starts up the GUI (lightdm.conf? been a long time since I turned mine off) and either delete the file (or move it somewhere else) or append the line "manual" to the end, which will make it a manual service that has to be started... manually, e.g., "start lightdm".

BlackBird

  • Guest
Re: Ubuntu 12.04 LTS + Mali400
« Reply #21 on: April 01, 2013, 11:48:03 am »
Hi,

Thanks for the image , I managed to install without problems but when I try to  "chmod 777 /dev/mali"
I get "Operation not permitted" ,same with ump , anyone know how to fix this?

Offline Delectable

  • Newbie
  • *
  • Posts: 21
  • Karma: +2/-0
    • View Profile
Re: Ubuntu 12.04 LTS + Mali400
« Reply #22 on: April 01, 2013, 02:28:45 pm »
Hi,

Thanks for the image , I managed to install without problems but when I try to  "chmod 777 /dev/mali"
I get "Operation not permitted" ,same with ump , anyone know how to fix this?
Did you use su in the command line?

Laffer

  • Guest
Re: Ubuntu 12.04 LTS + Mali400
« Reply #23 on: April 21, 2013, 01:46:51 pm »
Hi. You have done a great job! I used the image now for several days. But I have some questions / suggestions:

(I was before a SuSE Linux / SLES user, so please excuse stupid questions)

I want to use my Cubieboard as ZONEMINDER Server. SD Cards are  slow in reading and writing compared to HDD.
So I chose the Cubieboard because of the SATA Port. I connect a 60 GB SATA Disk.

Now the questions:

Your Image was create without LVM. So first I cannot easily increase the / volume from 5 to more (I have a 32 GB SD Card).

/boot is located on the same Partition. So I cannot easily move the / to the Harddisk.

Now coming to the point: what did you use for basic installation and what adoptions you have made? Ubuntu Desktop Install (I ran on my notebook) does not to seem very custom for choosing partitions / LVM etc.
I would like to make my own image, so I require only a very basic installation starter on SD Card.

Or: Do you have some image using LVM, for increasing size of partition it is much easier?

How in Ubuntu the / Partition etc. is mounted if there is nothing in fstab?

With Ubuntu I really feel like a complete dummy.

Also I am missing a text mode configuration utility like YaST.

I can do of course everything manually in the config files... but this take time and effort.

Anybody has a Ubuntu 12.04 LTS SD Card Image just with installer start?

shindig

  • Guest
Re: Ubuntu 12.04 LTS + Mali400
« Reply #24 on: May 03, 2013, 12:19:44 am »
what is the password for the default user?

Offline Delectable

  • Newbie
  • *
  • Posts: 21
  • Karma: +2/-0
    • View Profile
Re: Ubuntu 12.04 LTS + Mali400
« Reply #25 on: May 07, 2013, 10:04:50 am »
what is the password for the default user?
Same as it is for all Linaro distro's. User = linaro, pass = linaro

ikeeki

  • Guest
Re: Ubuntu 12.04 LTS + Mali400
« Reply #26 on: May 16, 2013, 10:10:05 am »
Could be possible for the advanced users to build an image with mali support BUT that fit in the NAND (that is, <=4gb)
Thanks.
Excuse me if I miss something with Englishhhhhhh

Offline Delectable

  • Newbie
  • *
  • Posts: 21
  • Karma: +2/-0
    • View Profile
Re: Ubuntu 12.04 LTS + Mali400
« Reply #27 on: May 16, 2013, 04:54:21 pm »
Could be possible for the advanced users to build an image with mali support BUT that fit in the NAND (that is, <=4gb)
Thanks.
Excuse me if I miss something with Englishhhhhhh
I believe the stripped down image is around 3gig. It should fit on the NAND. But why would you want to use the nand over the SD card?

ikeeki

  • Guest
Re: Ubuntu 12.04 LTS + Mali400
« Reply #28 on: May 16, 2013, 06:32:52 pm »
I thought:

linaro.........................................>speed down
Delectable tricks---------------------------->speed
image with mali support ++++++++++++++>speed up
reading OS directly from nand**************************>hyperspeed up

Offline patwood

  • Linux geek
  • Global Moderator
  • Hero Member
  • *****
  • Posts: 1660
  • Karma: +129/-0
    • View Profile
Re: Ubuntu 12.04 LTS + Mali400
« Reply #29 on: May 17, 2013, 11:22:10 am »
A base linaro/ubuntu distro with mali support (but without many "real" apps) fits in under 2GB.

> reading OS directly from nand**************************>hyperspeed up

Not really.  The nand is about equal to a class 6 SD card (faster than all of my class 4 cards, and I have them from 5 different manufacturers; slower than most of my class 6 cards -- the brand name ones at least; way slower than my class 10 cards).  In general, reducing the sync rate on the file system (which causes data written to files to sit around in memory longer before it's written out to the device) speeds things up more than using faster storage devices.