A13 Ubuntu Precise kickstart image available

Started by anubis, March 20, 2013, 11:23:27 AM

Previous topic - Next topic

anubis

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

olimex


anubis

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.

anubis

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

toyso

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?

anubis

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.

toyso

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).

anubis

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/)


toyso

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).

Autom01

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.

Morzilla

#10
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 :)

bobmelville

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!

yo9hnf

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 !

Folgore

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

davidefa

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 ;-)?