Olimex Support Forum

OLinuXino Android / Linux boards and System On Modules => A13 => Topic started by: anubis on March 20, 2013, 11:23:27 AM

Title: A13 Ubuntu Precise kickstart image available
Post by: anubis on March 20, 2013, 11:23:27 AM
Hi All,

I just uploaded R1 of minimal Ubuntu 12.04.2 LTS with 3.4.29 kernel

Tested on A13-Olinuxino  (without WiFi).

Features:
---------

+ USB-Ethernet drivers in kernel
+ VGA, LCD support
+ main console on VGA
+ dmesg console on UART1
+ DHCP on eth0 auto
+ ssh server running (just 'arp -a' from your host to detect A13's IP and ssh it to connect)
+ UVC camera support in kernel
+ ready to install x-window-system
+ .config is included (with uImage) to simplify kernel rebuild
+ /tmp as 16M tmpfs

+ Login/pass:  root/password


Based on:
---------

Kernel - https://github.com/linux-sunxi/linux-sunxi.git (branch 'sunxi-3.4')
Rootfs - http://cdimage.ubuntu.com/ubuntu-core/releases/12.04/release/ubuntu-core-12.04.2-core-armhf.tar.gz


You can download it here:

https://docs.google.com/folder/d/0B3qj7lQaPKZGMDNPNXdEb2hGQjQ/edit?usp=sharing


Best,
Alex
Title: Re: A13 Ubuntu Precise kickstart image available
Post by: olimex on March 20, 2013, 06:51:37 PM
nice, I will link to the Wiki
Title: Re: A13 Ubuntu Precise kickstart image available
Post by: anubis on March 21, 2013, 12:58:50 PM
Great.
I'm always happy to contribute the community, for you, friends!

Always open for issue reports and feature requests :)


PS:

Right now I'm also working on (let's call it "x-core") image based on current minimal Ubuntu image.

X-core mean very basic X windows components installed but tuned for maximum performance (using last sunxifb video driver)

X-core image will have NO window manager like LXDE or Xfce.
It's up to you to install wm/desktop environment which fits your needs best way.

The only GUI components installed will be:
- GTKPerf  (to test X GUI performance)
- chromium-browser  (as an real world interactive performance demo)


Open for your suggestions.
Title: Re: A13 Ubuntu Precise kickstart image available
Post by: anubis on March 21, 2013, 09:49:01 PM
Hi all,

New image 'A13_ubuntu_precise_3.4.29_anubis_XCORE_R1.img.gz'
(minimal, performance optimized X-window image) of Ubuntu 12.04.02 just uploaded to GDrive:

https://docs.google.com/folder/d/0B3qj7lQaPKZGMDNPNXdEb2hGQjQ/edit?usp=sharing

Features/updates:
-----------------

+ just core X. (no window managers)
+ latest sunxifb video driver is used for default X sessions (src: https://github.com/ssvb/xf86-video-sunxifb)
+ optimized rootfs mount options to minimize sd-card write operations
+ most temp dirs are in RAM  (also /var/log, so all logs are not persistant now !!!)
+ optimized boot time: 13 seconds to see console login prompt.


After login you can:
--------------------

Try Chromium
# startx chromium-browser --user-data-dir=/tmp  http://google.com

Test GTK performance
# startx gtkperf

Install you favorite Window Manager
# apt-get install xfce4

or

# apt-get install lxde



Best,
Alex
Title: Re: A13 Ubuntu Precise kickstart image available
Post by: toyso on March 28, 2013, 02:25:27 PM
I've burned the image on a 8GB microSD card, put it into the slot and turn on the device but nothing happens (the device had the red led on). I waiting 5min and nothing happens.
Please, what can I do to make this Ubuntu image runs? There's something to do on the hardware before turn on an image from the microSD?
Title: Re: A13 Ubuntu Precise kickstart image available
Post by: anubis on March 28, 2013, 02:46:58 PM
Hi toyso,

Do you have any video output device connected (VGA or LCD)?
Which exact command did you used to write image to SD-card ?


Alex.
Title: Re: A13 Ubuntu Precise kickstart image available
Post by: toyso on March 28, 2013, 05:11:44 PM
I have a VGA monitor connected to the device.
I wrote the image with win32diskimager.
An extra information about my case: after 4 time I tried to boot, the card 8GB stops to work and it is ruined now. I tryed another 8GB card and after 3 time I tried to boot, this card ruined too. Now I'll try with a 4GB card (I hope everything goes right with 4GB).
Title: Re: A13 Ubuntu Precise kickstart image available
Post by: anubis on March 28, 2013, 06:21:40 PM
Sorry, but did you unpacked it before writing?

Uploaded images are gzip compressed.
First of all you need to ungzip it to obtain *.img file

7-zip can do it well at Win32 platforms (http://www.7-zip.org/)

Title: Re: A13 Ubuntu Precise kickstart image available
Post by: toyso on March 28, 2013, 08:01:59 PM
Yep, I did that. Uncompressed the .gz and burn the .img into the card.
Like I said, I tried with a 4GB microSD card by now, but the same thing happens: nothing. After I try to look what is inside the card and the 3 files that was there before aren't there anymore. The 4GB card ruined too.
I cannot understand what happens. The process I use to burn the image is the same I use to burn another images (like the Lubuntu to MK802).
Title: Re: A13 Ubuntu Precise kickstart image available
Post by: Autom01 on April 17, 2013, 12:43:09 PM
Hello Anubis,

I'm trying your image. My Board boot without problem, but i get isue with the LCD screen.

This one: https://www.olimex.com/Products/OLinuXino/A13/A13-LCD7/

The board works properly on VGA but not on LCD. Is there a configuration file to edit ?

(i plug the screen just with a regular ide cable...)

Thx you in advance,

Charles.
Title: Re: A13 Ubuntu Precise kickstart image available
Post by: Morzilla on May 03, 2013, 12:54:05 PM
Hello Anubis. I've the same problem of charlesjabged. The VGA display work correctly, but when I try the 7" LCD on the onboard connector, nothing happens, the LCD remain black. I tried different script.bin, but the result is the same. Can you give me an hint?

Thanks!

UPDATE: For now, I used a workaround for this problem: I took the kernel 3.0.42+ (/lib/modules/3.0.42+), uImage and script.bin (FAT32 Partition) from the Official Olimex Debian Image and I put these in the Ubuntu SD Card, now I have a working LCD panel :)

Waiting for a correct fix :D

P.S. Sorry for my English, I am an italian Boy :)
Title: Re: A13 Ubuntu Precise kickstart image available
Post by: bobmelville on July 18, 2013, 09:48:03 AM
Very pleased with this build, but I have one small question.
I want my own C++ program to communicate via UART1 on the Olimex board.
Right now, dmesg is routed through UART1, and these messages
are getting in the way.
How can I get control of UART1 for my own use (I assume on /dev/ttyS0)??
Thanks much!
Title: Re: A13 Ubuntu Precise kickstart image available
Post by: yo9hnf on August 12, 2013, 04:19:00 PM
Hello,

My Olinuxino A13-MICRO give me in the serial console this message :


[    2.110000] Kernel panic - not syncing: Attempted to kill init! exitcode=0x0000000b
[    2.110000]
<0>Rebooting in 10 seconds..[    2.120000] Rebooting in 10 seconds..[mmc]: mmc 0 detect change, present 1

[mmc]: mmc 0 detect change, present 1

What can i do ? Thank you !
Title: Re: A13 Ubuntu Precise kickstart image available
Post by: Folgore on October 18, 2013, 07:38:05 PM
Quote from: anubis on March 21, 2013, 09:49:01 PM
Hi all,

New image 'A13_ubuntu_precise_3.4.29_anubis_XCORE_R1.img.gz'
(minimal, performance optimized X-window image) of Ubuntu 12.04.02 just uploaded to GDrive:

https://docs.google.com/folder/d/0B3qj7lQaPKZGMDNPNXdEb2hGQjQ/edit?usp=sharing

Features/updates:
-----------------

+ just core X. (no window managers)
+ latest sunxifb video driver is used for default X sessions (src: https://github.com/ssvb/xf86-video-sunxifb)
+ optimized rootfs mount options to minimize sd-card write operations
+ most temp dirs are in RAM  (also /var/log, so all logs are not persistant now !!!)
+ optimized boot time: 13 seconds to see console login prompt.


After login you can:
--------------------

Try Chromium
# startx chromium-browser --user-data-dir=/tmp  http://google.com

Test GTK performance
# startx gtkperf

Install you favorite Window Manager
# apt-get install xfce4

or

# apt-get install lxde



Best,
Alex
Hello, I tried the command for install the window manger, but I receved the Unable to locate package lxde or xfce4
Why?

Thank's
Title: Re: A13 Ubuntu Precise kickstart image available
Post by: davidefa on October 23, 2013, 10:52:23 AM
Is your network working/configured?
Can you ping another host in your network (for example: ping 192.168.1.1 if this is the address of your router )?
Can you ping an host in internet (for example: ping www.google.com don't know why everybody want to ping google ;-)?
Title: Re: A13 Ubuntu Precise kickstart image available
Post by: killrill on February 25, 2014, 03:18:40 PM
hi! sorry my english, I need ft5x_ts.ko to collect under your kernel please, or provide instructions for self-assembly from source.
  with respect, Cyrill Berestennikov
Title: Re: A13 Ubuntu Precise kickstart image available
Post by: LastHorizon on May 25, 2017, 04:10:43 PM
Hi there,

Not sure whether anyone still monitors this thread but I'll try anyway. I used the provided Ubuntu image (kickstart) to get off the ground with. I have since installed ubuntu desktop, created a user etc. and want to run some openGL ES code on the Mali GPU. I have followed the instructions to install the binaries found here (http://linux-sunxi.org/Mali_binary_driver). But when I get to installing the xf86-video-sunxi drivers the ./config process failed and doesn't produce a make file. Any ideas? Does this need a different version of the xf86-video drivers?

Alex