Olimex Support Forum

OLinuXino Android / Linux boards and System On Modules => iMX233 => Topic started by: bbt on October 16, 2012, 06:06:13 pm

Title: [SOLVED] Did somebody succeed to boot with ArchlinuxARM images ?
Post by: bbt on October 16, 2012, 06:06:13 pm
Hi,
The SD Card from Olimex works very well... But it is not sufficient for my needs.

I tried many many ways and now I desperate...
I followed exactly the instructions.
I had first a 8 Gb micro SDHC card.
It doesn't works : no boot, so no ssh, no logs...
I bought a 2 Gb SD card : same thing.
I copied the Olimex SD Card, and untar the ArchlinuxARM : it boots, and I can connect with ssh.
But when I tried to use pacman, I had a crash (everything blocked) when trying to update glibc.

Since this, nothing...
Did someone have more luck than me ?
Could you explain me what I have to do ?
Title: Re: Did somebody succeed to boot with ArchlinuxARM images ?
Post by: flavigny on October 16, 2012, 09:52:00 pm
Yes, me (and I am novice in this domain)

One month ago, I downloaded from web: "ArchLinuxARM-olinuxino-latest.tar.gz" (compressed by tar and gzip).
After installation, I shrinked used partition to 600 mbytes. Finally, I saved image by dd if=/dev/mmcblk0 of=600.dd-dev
I have loaded it uncompressed on: http://dl.free.fr/g07npOxH9


Raw roadmap for usage: (for me, on Ubuntu (12.04, Live DVD)
- 1) download file http://dl.free.fr/g07npOxH9  by the way of any browser and save on disk
- 2) write the sdcard by:
      sudo dd if=600m.dd-dev of=/dev/mmcblk0 bs=1024000
- move the card to OlinuxIno Board and power it!

Roadmap for one shoot copy using OlinuxInoMaxi alone:
- boot olinuxIno Maxi with your original SdCard by Olimex (or some other correctly running)
- insert the new/used  sdcard (will be erased) in an Usb-adapter (as http://www.ebay.com/itm/270833196113 or bigger!)
- check CAREFULLY the name of the new device (for me: /dev/sda )
- enter line command:
   wget -O /dev/sda http://dl.free.fr/g07npOxH9
- shutdown the board
- remove the Sdcard from internal Slot
- insert the new" card in the internal slot
- power up the board

and next step, work in progress:
Roadmap for single copy:
- boot olinuxIno Maxi with your original SdCard by Olimex (or some other correctly running)
- insert the new/used  sdcard (will be erased) in an Usb-adapter (as http://www.ebay.com/itm/270833196113 or bigger!)
- check CAREFULLY the name of the new device (for me: /dev/sda )
- enter line command:
   wget  http://dl.free.fr/gwb3OyZX3 | gunzip | dd of=/dev/sda
- shutdown the board
- remove the Sdcard from internal Slot
- insert the new" card in the internal slot
- power up the board



It runs!
enter login: root, password: root
said "Arch Linux 2.6.35-5-ARCH+"

pacman runs, but it seems that the repository used is not complete.
At this point I leave because it does'nt contains driver fot PL2303!
Regards
PO.
Title: Re: Did somebody succeed to boot with ArchlinuxARM images ?
Post by: bbt on October 17, 2012, 04:56:43 pm
Hi,
Thanks a lot to Flavigny...
It is really a problem of files corrupted.
I'm trying to download from dl.free.fr...
But I got more luck trying this :

http://olimex.wordpress.com/2012/09/06/imx233-olinuxino-get-started-making-the-arch-linux-sd-card/

The boot sector image is bigger than others (32MB against 16MB) but IT WORKS : I obtain a Tux picture on my TV (not in good position, but it seems a reccurent problem without known issues.

But the tar.gz given here failed to expand.

So I used the one from ARCLinuxARM...
http://archlinuxarm.org/os/ArchLinuxARM-olinuxino-latest.tar.gz

and it works.
I can connect with ssh.
This afternoon, I'll try pacman and everything else... If I won't write anything else, it will be because it's good !

Bye

In fact, this solution causes problem I describe in my topic "Quotas" which completed this one.