I found this post http://www.gplsquared.com/eoma_boot/eoma_boot.html#Ubunt_13_04_3D
and adapted image to olinuxino, and it worked.
linaro_13_4_aolinuxino-a20.img.xz - https://docs.google.com/file/d/0B5o2FZvy5RcnSHhwX082blY3c0E/edit?usp=sharing
details:
User: jm
pass: jm
Hdmi out : 1360x768 ( you can adjust in uEnv.txt)
I's a 5.2 Gig file system, so you need to write on a 8 Gig sd card.
I used win32diskimager to make img file and seven zip to compress into xz file.
thanks for the share :-)
I tried this unofficial Ubuntu on my A20 but it doesn't work.
I just copied the image on a 16GB uSD (everything seems good, I obtained 2 partitions fat16 and ext4)
When I boot my A20 with this uSD, nothing happens (just the red light, no greend light and no ouput to my HDMI screen).
I tried to copy the scipt.bin and script_a20_linux_HDMI_sd.fex files from the script_a20_linux_HDMI_sd directory to the root directory of the fat16 partition, but I obtained the same behaviour.
My A20 works well with the official Debian image.
Did I missed something to do ?
Thanks for your answer.
Must be your sdcard. I copied it to 8GB sdcard and it worked fine.
Try another card?
I tried with a 8GB uSD and it works now !
I'm sure I tried before with this uSD but I changed the power supply too since because I've noticed non stable behavior with the official Debian ... may be the conjonction of the both changes.
Thanks a lot for your suggestion Lurch.
Hi,
This image does not seem to fit my 8 GB card:
$ su -c "xzcat linaro_13_4_aolinuxino-a20.img.xz | dd of=/dev/sdb bs=4M"
Password:
dd: writing '/dev/sdb': No space left on device
0+871110 records in
0+871109 records out
7822376960 bytes (7,8 GB) copied, 705,741 s, 11,1 MB/s
Any hints?
@jmss
it's due to different brand of cards, yours has fewer sectors than the average.
Regardless, I think the card can boot. Have you tried to mounts its two partitions?
OK, it makes sense.
No, the green LED does not light.
When I insert the card in my laptop there's an error from mount. I only see partition BB7C-505C.
Anyway, this is strange because "I's a 5.2 Gig file system, so you need to write on a 8 Gig sd card."
try to explode first the file with sevenZip and then use dd without the "bs=4M" option.
Other way, the most safe, is to mount filesistems in loop mode, then copy it on a fresh created partition (one of 16M the fat one e one that fill the remasining space of the sdcard)
Quote from: isidoro on October 25, 2013, 05:55:07 PM
try to explode first the file with sevenZip and then use dd without the "bs=4M" option.
I've thought of that and tried it before, but it didn't solve it. bs is just an upper limit, so if there are fewer bytes to write, dd will only write the missing ones. Uncompressing the image reveals an image larger than what the SD card can hold.
Quote from: isidoro on October 25, 2013, 05:55:07 PM
Other way, the most safe, is to mount filesistems in loop mode, then copy it on a fresh created partition (one of 16M the fat one e one that fill the remasining space of the sdcard)
Thanks for the suggestion. I was forgetting that one thing is the partition size and other is the files size. I tried resizing the partition in gparted, but it does not allow it. So I did this:
- mount the rootfs partition from the image file
- copied its files to another directory
- (re)created the rootfs partition in the card
- copied all files into it
The green LED does not light, but this time the board is up and I could successfully login.
Something that I observed with this image is that in my project the C/C++ code runs about twice as faster comparing to Debian Unstable.
I was using the official Debian image and upgraded to Testing and then to Unstable to make it as close as possible to Ubuntu 13.04.
Do you think this performance improvement is due to moving:
- from Debian Unstable to Ubuntu/Linaro or
- from Debian/Ubuntu to Linaro?
Thanks.
Hi
Do you have audio, on your devices running on this distro. I've tried alot of things but no luck.
I someone has a clue how to fix the audio it will be great.
Hi,
Quote from: wizard3001 on October 31, 2013, 04:30:35 PM
Do you have audio, on your devices running on this distro. I've tried alot of things but no luck.
I think I managed to play the WAVE file that comes with the Official Debian image (?) and I can also play, e.g.:
$ mplayer ./code/gambas/trunk/examples/examples/Games/Concent/Paddle.wav
with the current Ubuntu 13.10 (I have upgraded with do-release-upgrade).
Quote from: jmss on October 25, 2013, 10:44:09 PM
Something that I observed with this image is that in my project the C/C++ code runs about twice as faster comparing to Debian Unstable.
how did you measure it?
Quote from: jmss on October 25, 2013, 10:44:09 PM
Do you think this performance improvement is due to moving:
- from Debian Unstable to Ubuntu/Linaro or
- from Debian/Ubuntu to Linaro?
Nice question. I think this question is to forward to whom effectively made it, on the original link.
By me, I think is a matter of some kind of flags used to optimize code build.
Quote from: isidoro on November 04, 2013, 06:21:40 PM
how did you measure it?
With Python's time.time() in a script who invoked the C code.
Quote from: isidoro on November 04, 2013, 06:21:40 PM
Nice question. I think this question is to forward to whom effectively made it, on the original link.
By me, I think is a matter of some kind of flags used to optimize code build.
Afterwards, I concluded it is due to Linaro's gcc optimizations, since the binary programs did not show any improvements, only the code that I recompile.
I was able to copy this Ubuntu image on my microSd card and start it.
Green led don't go on but image boot and I can SSH to it and login as jm/jm
No possibility to do any sudo command:
sudo: effective uid is not 0, is sudo installed setuid root?
and password of root is unknown
How can I reset/modify root passwd and use this image?
Regards
Franco Spinelli
Maybe you can mount the filesystem on another computer and set root's password directly on the /etc/shadow file?
Or use chroot?
Done.
In downloaded version there is an audio problem. No audio at all.
Now, after updating to 13.10 version, I have correct audio for output but no audio input device.
This happen with built-in sound card and also with an external USB sound card.
Any tip for this?
Regards
Franco Spinelli
Hi Franco,
can you exactly describe what kind of command you typed to update?
maybe apt-get dist-upgrade ?
For audio settings I think may be usefull to upgrade kernel to the last one,
but maybe also an alsamixer stuff. I have got any mic to plug in
Yes. apt-get dist-upgrade and now I am in 1310 version.
For audio setting Ubuntu is using Pulse.
Opening pavucontrol in setting tab you get only option for output (working) and no input device.
Same using alsamixer.
Same hardware is working using last Debian image from Olimex.
How can I upgrade to last kernel image?
Regards
Franco Spinelli
I replay to myself.
Downloaded last kernel (3.4.67), compiled and installed on microSD.
Update packages to last version from Ubuntu 13.10
Still no audio input device:
arecord -l
**** List of CAPTURE Hardware Devices ****
arecord -L
null
Discard all samples (playback) or generate zero samples (capture)
pulse
PulseAudio Sound Server
With Debian "official" image all in working, also after upgrading to instable/testing repo.
An external USB soundcard is correctly used:
arecord -l
**** List of CAPTURE Hardware Devices ****
card 1: LT3 [Muse Pocket LT3], device 0: USB Audio [USB Audio]
Subdevices: 1/1
Subdevice #0: subdevice #0
It is a problem with script.bin.
Substituting original script.bin with script.bin downloaded as in instruction for "ultimate Debian SD card" all is now OK
arecord -l
**** List of CAPTURE Hardware Devices ****
card 0: sunxicodec [sunxi-CODEC], device 0: M1 PCM [sunxi PCM]
Subdevices: 1/1
Subdevice #0: subdevice #0
Regards
Franco Spinelli
Hi,
Do we need to load some kernel module to access the GPIO's with this distro?
I tried to export the GPIO's but I get:
root@a20:~# echo 1 > /sys/class/gpio/export
-su: echo: write error: Invalid argument
Thanks.
A bit late, as there hasn't been any activity on this thread for a month now, but I have to ask this.
I'm trying to get this image as it seems that it has libc 2.17 - I need a rootfs which has libc >= 2.15, so I think it should fit. Debian is limited to 2.13, which is not suitable for me.
However, the download from google drive always breaks somewhere close to the end and google drive does not support resume. Is there any other link for this, as I think it has nothing to do with my internet connection (downloading from my company)?
if you are having problems with dd, you can always mount loopback and copy the files onto a pre formatted second partition (the first should be the vfat boot partition)
fdisk -l nameofimage.img
will tell you the start of the partition multiply this by the sector size to get the offset
you can then
mount -o loop,offset=xxx nameofimage.img anemptyfolder
where xxx is your calculated offset
you can then copy (cp -rfv /anemptyfolder/* /media/username/SDp2/ ) the files onto your pre formatted second sd partition
anyhow its how I did it with a different image onto a craptastic 4GB card that was actually 4x1000mb
in fact I don't know why people don't just make a tatball containing 2* tars... one for each partition....
Google download still breaks somewhere at the end (tried several places so far). Could anyone re-upload?
It boots fine on my a20, I see the login screen etc.
however hardware acceleration doesn't seem to be working.
Can you give a step by step list of instructions on how to test that acceleration is working?
Thanks!
Quote from: skaag on April 03, 2014, 03:16:52 AM
It boots fine on my a20, I see the login screen etc.
however hardware acceleration doesn't seem to be working.
Can you give a step by step list of instructions on how to test that acceleration is working?
Thanks!
May I ask how did you manage to download it - my download always breaks somewhere close to the end - do you have another link by any chance?
Hi,
I'm having the same problem as ikozic. The download from googledocs breaks, Can anyone please, reupload or use a torrent? I'm very interested in trying this image.
Best regards,
Ruler
Hi,
I just downloaded the file from my working desktop (@office) without any issues, maybe your connection has some timeout. When home I will try to create a torrent file, never did it, I hope to learn (with mtorrent)
Best,
Isidoro
Wow thanks that would be great! :)