Author Topic: How To Install Angstrom After Cacko  (Read 35306 times)

craigtyson

  • Sr. Member
  • ****
  • Posts: 462
    • View Profile
How To Install Angstrom After Cacko
« Reply #15 on: November 29, 2008, 03:40:57 pm »
OK Updated the WIKI Docs.  Now has links to relevant files.  Will update with my progress getting various stuff working on the C1000.  Currently the only issue I have is lack of space on the root.

The C1000 Angstrom image configures the Onboard flash with two 64MB partitions one mounted as Root the other as Home which means I'm running out of space to install apps to root.

Although ipkg is set up to install to either, if you install a package to Home then you have to manually link the files into the root file system.  I'm considering writing a script to run through the /home/packages/usr directory and create links in /usr but I'm concerned it will do more harm than good.  Currently I install a package and then run it form the command line and see where it fails and link that file into its root location, takes time but stops messing things up.

More info to go onto the WIKI.  I'm a firm believer in documentation helping a distro, and think that UBUNTUs success is as much to do with its documentation as its code and ease of use.
Craig
SL-C1000, Angstrom GPE 2007.12r13
Ambicom WL1100C, SanDisk UltraII 1GB SD
 
Old Faithfull - SL-5500 battery out of the C750 (see below) TKC v1 (New) 1GB SD
Dead - SL-C750, Cacko 1.23 lite (Dropped, very messy!)
Ambicom WL1100C, SanDisk Dead - 1GB SD
Keep your Z on a bungee, you never know.....

speculatrix

  • Administrator
  • Hero Member
  • *****
  • Posts: 3706
    • View Profile
How To Install Angstrom After Cacko
« Reply #16 on: November 29, 2008, 05:30:22 pm »
Quote from: craigtyson
Although ipkg is set up to install to either, if you install a package to Home then you have to manually link the files into the root file system.  I'm considering writing a script to run through the /home/packages/usr directory and create links

IIRC, someone wrote a utility for this very purpose, but the angstrom devs didn't like it very much as it had too much potential to break things. I'll go see if I can find it in the mail archives.
--edit-- sorry, can't find it. might be worth asking on the angstrom user's list about it.
« Last Edit: November 29, 2008, 06:06:48 pm by speculatrix »
Gemini 4G/Wi-Fi owner, formerly zaurus C3100 and 860 owner; also owner of an HTC Doubleshot, a Zaurus-like phone.

craigtyson

  • Sr. Member
  • ****
  • Posts: 462
    • View Profile
How To Install Angstrom After Cacko
« Reply #17 on: November 30, 2008, 12:21:32 pm »
Yup.  I'd agree that automating linking breaks things, just got myself into a pickle that needed to be re-flashed out of. But hey if you don't break it then you can't fix it.


Updated the wiki docs with some Application suggestions for Cacko users.  Hope its of use


C
Craig
SL-C1000, Angstrom GPE 2007.12r13
Ambicom WL1100C, SanDisk UltraII 1GB SD
 
Old Faithfull - SL-5500 battery out of the C750 (see below) TKC v1 (New) 1GB SD
Dead - SL-C750, Cacko 1.23 lite (Dropped, very messy!)
Ambicom WL1100C, SanDisk Dead - 1GB SD
Keep your Z on a bungee, you never know.....

Jon_J

  • Hero Member
  • *****
  • Posts: 1853
    • View Profile
    • http://
How To Install Angstrom After Cacko
« Reply #18 on: December 04, 2008, 01:36:03 am »
AngstromAndCacko on the wiki instructions worked well for me.  
http://www.linuxtogo.org/gowiki/AngstromAndCacko
I just had a few things that I had to repeat and do over again.
zImage.bin changed to lowercase when I extracted it in windows and transferred to my CF card.

I don't know if I'll stay with Angstrom though - Waay too many things seem to be broken or not working.
The only way I can use package manager successfully is to install one file at a time and reboot after each install.
USB settings don't stick. I would go on, but I don't think everyone wants to hear my gripes about Angstrom.

My main purpose to try Angstrom is because of the 2.6 kernel, and before very long, "Regular" SD cards will not be available, they will all be SDHC
« Last Edit: December 04, 2008, 09:18:20 am by Jon_J »
C3100 Multiboot-->Angstrom 2007.12-r18 | Cacko 1.23 | ArchLinuxARM
C3200 pdaxii13v2-5.5-alpha4 Akita on NAND

Ambicom WL1100C-CF Wifi - Ambicom CF modem - Ambicom CF GPS - Belkin-F5D5050 USB LAN
Socket CF Bluetooth rev K - Iogear 4 port USB micro hub - pocket CF card reader
Targus mini USB optical mouse - 2 Targus SD card readers

craigtyson

  • Sr. Member
  • ****
  • Posts: 462
    • View Profile
How To Install Angstrom After Cacko
« Reply #19 on: December 04, 2008, 06:07:27 am »
Good to hear the instructions worked.

The GUI for installing software seems to have some isuses runnning on my C1000 so I use the command line which works fine.

USB is a bit of an issue, though Ive found some scripts that work fine.  Il add them to the post.

As I said in the before you start bit.  its going to take a bit of time to get everything to work.  The good news though is Angstrom is closer to a "normal" Linux distro so there are quite a few work rounds out there for getting more out of your Z.

After 2 weeks of tweaking and a couple of reinsalls, I'm now more or less sorted with my Angstrom setup. The only bits that remain to "fix" are

WEP / WPA for WIFI
WIFI applet not showing connection information
On Screen Keyboard layout, no £, and repeat speed too quick
GUI for MPlayer (Kino2 alike?)
Chinese language support (guess I just need the right UNICode font + an input method)

And then the bits that Cacko SHARP can only dream of

Printing using CUPS
Citrix  / ICA client
Craig
SL-C1000, Angstrom GPE 2007.12r13
Ambicom WL1100C, SanDisk UltraII 1GB SD
 
Old Faithfull - SL-5500 battery out of the C750 (see below) TKC v1 (New) 1GB SD
Dead - SL-C750, Cacko 1.23 lite (Dropped, very messy!)
Ambicom WL1100C, SanDisk Dead - 1GB SD
Keep your Z on a bungee, you never know.....

Jon_J

  • Hero Member
  • *****
  • Posts: 1853
    • View Profile
    • http://
How To Install Angstrom After Cacko
« Reply #20 on: December 04, 2008, 09:02:49 am »
On my C3100 I installed "Angstrom-x11-image-glibc-ipk-2007.12-r13-spitz-installkit.tgz"

One thing that worked, and really surprised me was my Wifi card just connected when inserted. (Ambicom WL1100C-CF)
I opened up my router to "no security" (is normally WPA) and just did the upgrade and updates.
I tried commandline installing, but I couldn't seem to download the files that way. I'm more of a GUI type person.

Do I need to install BASH to get some of the missing console commands?
cardctl command is missing, and some other commands are missing that I don't remember right now.

USB networking didn't work for me either. I once had USB networking connected in Cacko, but I have since installed SP3 to windows and ndis driver only installs if I have my other Zaurus (with pdaxii13) connected. (When connected with my Angstrom Zaurus, the ndis driver in device manager is not available).

I do have another PC with Puppy Linux, and would like to try to connect thru USB on that machine, but the Linux USB instructions on this forum are archaic and go over my head.

EDIT:
Will Gparted from Debian arm work in Angstrom? http://packages.debian.org/sid/qtparted
It has a ton of dependencies. I need to "fix" my HDD, it is only using 1.2 GB. I lost the other 2.8 GM when I partitioned it as per instructions.
« Last Edit: December 04, 2008, 10:43:37 am by Jon_J »
C3100 Multiboot-->Angstrom 2007.12-r18 | Cacko 1.23 | ArchLinuxARM
C3200 pdaxii13v2-5.5-alpha4 Akita on NAND

Ambicom WL1100C-CF Wifi - Ambicom CF modem - Ambicom CF GPS - Belkin-F5D5050 USB LAN
Socket CF Bluetooth rev K - Iogear 4 port USB micro hub - pocket CF card reader
Targus mini USB optical mouse - 2 Targus SD card readers

craigtyson

  • Sr. Member
  • ****
  • Posts: 462
    • View Profile
How To Install Angstrom After Cacko
« Reply #21 on: December 04, 2008, 02:39:35 pm »
I'm guessing you are using the "Terminal" icon not the "Root shell" icon
most commands are not accessable from the "Terminal" icon for some reason.

from "Root Shell" do

ipkg update
ipkg upgrade

if that worked try

ipkg list | grep -i {what you want to install} to see if it exists in the feed

For example I couldnt see what app was availavble to view pdfs so I

ipkg list | grep -i pdf

and then used

ipkg install epdfview

to install it.

C
Craig
SL-C1000, Angstrom GPE 2007.12r13
Ambicom WL1100C, SanDisk UltraII 1GB SD
 
Old Faithfull - SL-5500 battery out of the C750 (see below) TKC v1 (New) 1GB SD
Dead - SL-C750, Cacko 1.23 lite (Dropped, very messy!)
Ambicom WL1100C, SanDisk Dead - 1GB SD
Keep your Z on a bungee, you never know.....

Jon_J

  • Hero Member
  • *****
  • Posts: 1853
    • View Profile
    • http://
How To Install Angstrom After Cacko
« Reply #22 on: December 04, 2008, 03:48:13 pm »
I do use the root shell
update/upgrade worked for me.
I haven't tried "grep", I just tried "ipkg install package.ipk"
If you don't know the real name of a pkg, it's difficult to install that way.

With the pkg manager, all I need to do is look at a list, and it never mis-spells words or transposes the occasional odd character.
C3100 Multiboot-->Angstrom 2007.12-r18 | Cacko 1.23 | ArchLinuxARM
C3200 pdaxii13v2-5.5-alpha4 Akita on NAND

Ambicom WL1100C-CF Wifi - Ambicom CF modem - Ambicom CF GPS - Belkin-F5D5050 USB LAN
Socket CF Bluetooth rev K - Iogear 4 port USB micro hub - pocket CF card reader
Targus mini USB optical mouse - 2 Targus SD card readers

craigtyson

  • Sr. Member
  • ****
  • Posts: 462
    • View Profile
How To Install Angstrom After Cacko
« Reply #23 on: December 04, 2008, 06:51:40 pm »
Yup using the command you do need to know the exact name of the package but you dont add the .ipk as this will fail as ipkg will assume you have the file.

so if i was going to install nano id do the following

ipkg list | grep -i nano

to list all the packages with nano in their title or description.

looking through the list I'd see there is a package called nano so I'd install it by

ipkg install nano

not

ipkg install nano.ipk

hope this helps

C
Craig
SL-C1000, Angstrom GPE 2007.12r13
Ambicom WL1100C, SanDisk UltraII 1GB SD
 
Old Faithfull - SL-5500 battery out of the C750 (see below) TKC v1 (New) 1GB SD
Dead - SL-C750, Cacko 1.23 lite (Dropped, very messy!)
Ambicom WL1100C, SanDisk Dead - 1GB SD
Keep your Z on a bungee, you never know.....

craigtyson

  • Sr. Member
  • ****
  • Posts: 462
    • View Profile
How To Install Angstrom After Cacko
« Reply #24 on: December 09, 2008, 05:57:15 pm »
Craig
SL-C1000, Angstrom GPE 2007.12r13
Ambicom WL1100C, SanDisk UltraII 1GB SD
 
Old Faithfull - SL-5500 battery out of the C750 (see below) TKC v1 (New) 1GB SD
Dead - SL-C750, Cacko 1.23 lite (Dropped, very messy!)
Ambicom WL1100C, SanDisk Dead - 1GB SD
Keep your Z on a bungee, you never know.....

Jon_J

  • Hero Member
  • *****
  • Posts: 1853
    • View Profile
    • http://
How To Install Angstrom After Cacko
« Reply #25 on: December 10, 2008, 09:17:03 am »
craigtyson,
I want to update my Cacko install to the latest kernel, using "eviljazz-kernel" (which includes latest tetsu and newer SD card driver).
If I flash this to my dualboot Cacko/Angstrom install, do I also need to replace the file: /home/root/zImage.bin (in Angstrom) with the newer kernel's "zImage"?
The files included in the eviljazz kernel upgrades are only these 2 files:
zImage
updater.sh

There is no "tools.tar" to extract "zImage.bin" from.
Should I just rename the above "zImage" to "zImage.bin" and place that on my Angstrom install into /home/root ?

Thank you, I'm a little dense when it comes to these things.
« Last Edit: December 10, 2008, 09:21:17 am by Jon_J »
C3100 Multiboot-->Angstrom 2007.12-r18 | Cacko 1.23 | ArchLinuxARM
C3200 pdaxii13v2-5.5-alpha4 Akita on NAND

Ambicom WL1100C-CF Wifi - Ambicom CF modem - Ambicom CF GPS - Belkin-F5D5050 USB LAN
Socket CF Bluetooth rev K - Iogear 4 port USB micro hub - pocket CF card reader
Targus mini USB optical mouse - 2 Targus SD card readers

craigtyson

  • Sr. Member
  • ****
  • Posts: 462
    • View Profile
How To Install Angstrom After Cacko
« Reply #26 on: December 11, 2008, 06:35:31 am »
As far as I know the tools.tar file contains the extras that make it possable to resize your partitions when installing cacko and some kernel patches. There are no extraction tools in there.

If your zImage file is the kernel then renaming it should work.  However I would make sure you have your data backed up and a free afternoon to fix your Z if it all goes wrong.

Good luck

C
Craig
SL-C1000, Angstrom GPE 2007.12r13
Ambicom WL1100C, SanDisk UltraII 1GB SD
 
Old Faithfull - SL-5500 battery out of the C750 (see below) TKC v1 (New) 1GB SD
Dead - SL-C750, Cacko 1.23 lite (Dropped, very messy!)
Ambicom WL1100C, SanDisk Dead - 1GB SD
Keep your Z on a bungee, you never know.....

Jon_J

  • Hero Member
  • *****
  • Posts: 1853
    • View Profile
    • http://
How To Install Angstrom After Cacko
« Reply #27 on: December 11, 2008, 11:25:24 am »
It worked!
There is an extra step one needs to take to upgrade Cacko's kernel with an Angstrom/Cacko dual boot setup.
Do this after you do the steps shown on this page:
http://www.linuxtogo.org/gowiki/AngstromAndCacko

1. Flash Cacko with eviljazz's kernel. I used eviljazz's kernel "kernel-fastfpe-cachedfb"
(instructions are inside when you download this)
place these two files onto SD/CF
zImage
updater.sh

Use normal flashing procedure.
battery out 5 sec and power disconnected, replace battery, close door and move switch to "on"
While holding the "OK" button, turn your Zaurus on. You should know what to do from there.
After flashing this kernel, you are asked to reset your Zaurus.
Zaurus boots into Cacko with new kernel installed. (pic below)

2. Now remove the eviljazz kernel files from the SD/CF if you use the same card.
Now Angstrom doesn't boot, so you need to do the following, place the following onto a SD/CF:
(I did not need the "hdimage1.tgz", since I had Angstrom previously installed).
These files are described on the Angstrom spitz install page.
http://www.angstrom-distribution.org/angst...tallation-spitz
gnu-tar
zImage.bin
updater.sh

Flash as normal.
Angstrom will boot now.

3. Go back to the eviljazz kernel files that you have and rename "zImage" to zImage.bin"
Boot into Angstrom and replace /home/root/zImage.bin with this new one.
You can tell if you replaced it because the file sizes are different.
eviljazz "zImage" = 1120 kb
original Cacko "zImage.bin" = 1086 kb

4. check that you can boot into Cacko now using the command:
kexec -f /home/root/zImage.bin

5. Once Cacko is running, check that you can boot into Angstrom.
Go to settings and use the "Shutdown" icon and select "Reboot"
You should now boot into Angstrom.

That's it, you're finished.
Jon
« Last Edit: December 19, 2008, 12:01:05 am by Jon_J »
C3100 Multiboot-->Angstrom 2007.12-r18 | Cacko 1.23 | ArchLinuxARM
C3200 pdaxii13v2-5.5-alpha4 Akita on NAND

Ambicom WL1100C-CF Wifi - Ambicom CF modem - Ambicom CF GPS - Belkin-F5D5050 USB LAN
Socket CF Bluetooth rev K - Iogear 4 port USB micro hub - pocket CF card reader
Targus mini USB optical mouse - 2 Targus SD card readers

Allelectrix

  • Jr. Member
  • **
  • Posts: 84
    • View Profile
    • http://
How To Install Angstrom After Cacko
« Reply #28 on: December 17, 2008, 03:19:40 pm »
just been reading this thread with some interest, so, by the looks of things you Guys have had some gripe with Angstrom.

I am interested in doing the following with this OS:

1. Set up Networking using USB Wifi with an rt73 based card
2. Wifi MUST support at least Managed and Monitor modes , with Monitor mode supporting packet injection
3. install a good Web Browser
4. install LinNeighborhood
5. install good EMail client
6. install Aircrack-ng
7. install Kismet
8. install Samba and support software
9. install GUI MP3 Player
10, install CUPS
11. install MySQL Server

Does anyone know if these APs will run on this OS ?

Oh yes, I want this on a C1000.
« Last Edit: December 17, 2008, 03:23:01 pm by Allelectrix »
SL-C1000 running PdaXii13
Edimax EW-7318USg rt73 Chipset USB 802.11 g/b Wifi
ASPj Source Code rt73.o 2.4.20 kernel module with monitor + packet injection capability
Aircrack-ng 0.9
Miniature USB 2.0 Hub that attaches to rear of screen comfortably using velcro
2 x 500mA 12v DC - 5v DC Converters powering the USB Hub, WiFi Card and the Computer
12v DC 7Ah Sealed Lead Acid Rechargeable Cell powering the DC to DC Convertors

Wildherb

  • Jr. Member
  • **
  • Posts: 92
    • View Profile
How To Install Angstrom After Cacko
« Reply #29 on: December 17, 2008, 07:31:25 pm »
Allelectrix,

Angstrom is well worth checking out but is not without its frustrations as you have seen from this thread. For me, some 2 years after the demise of OZ, I still see OZ as a richer platform in terms of its applications and hence its functionality (at least, the apps that I want - oh, quick note that Blue Lightning is doing some great work on porting the legacy QT apps to the new Angstrom OPIE interface).

There seems to be a straight choice in the Z community now, either:

1) to go with a 'full size' OS (OpenBSD, Debian or the emerging Zubuntu) which offer a full archive of applications but at the expense of some annoying niggles at the lower levels like power drain when in standby mode or lack of basic drivers and, of course, being  being un-optimised for the limited resources of the Z
2) Choose an optimised operating environment that has full hardware support and be resigned to missing out on some of the applications or functionallity that you would like.

Wait, there is a 3rd option...

3) Some sort of hybrid, either multi-booting or hot switching. Hats off to the Angstrom team for the options they have given us with their kernels altboot)

Personally, I'm leaning towards Angstrom/OPIE as a base OS as it is light and functional and I'm looking for a way to get the full archive of Debian apps through XQt and something like pocketworkstation or a chrooted rootfs on another partition. GPE is just so awful as an interface! If only there was an option to boot it directly into a modern window manager such as E17 or XFCE4 and use that as a window into the Debian/Ubuntu package archive then I'd be a very happy man!

Anyway, back to your post. I've run Angstrom (and OZ) on a Spitz and my experiences are as follows:

1. Set up Networking using USB Wifi with an rt73 based card - cant help here as I use CF cards. Both Prism and Orinoco seem to work just fine.

2. Wifi MUST support at least Managed and Monitor modes , with Monitor mode supporting packet injection. Yes, monitor mode and Kismet run fine with Prism and Orinoco. I did have some success with packet injection using a Prism card. See below.

3. install a good Web Browser. Konqueror under OPIE is pretty good for my requirements. Under GPE there is a build of Firefox but personally, I cant be bothered to wait a full minute for a browser to load when I just want to view some informaton. It's not as if it will give you Youtube or anything 'modern', so I'll take Konqueror (or Opera or Netfront on cacko) any time! Dillo sucks. Developers, please can we have something midway for X such as Galeon?

4. install LinNeighborhood - not tried it.

5. install good EMail client. The OPIE mail client is horrible. Sylpheed on GPE or under XQt is good.

6. install Aircrack-ng. Aircrack worked for me with a Prism card, but having proved that Aireplay can inject packets, I've not actually bothered to wait around to crack a WEP on my Z as it seems a bit pointless. I'm sure it will work but oh!, so slow! There is a video somewhere on the web of a guy doing packet injection from a Z with OZ. search around here somewhere. http://hackaday.com/2006/07/22/aircrack-ru...a-zaurus-c1000/

7. install Kismet. Works like a dream. Full colour and full control of sorting etc.

8. install Samba and support software. Samba works fine. Not sure what support software you want. Based on this, I guess LinNeighborhood should work fine.

9. install GUI MP3 Player. OPIE has a GUI media player.

10, install CUPS. Not tried it.

11. install MySQL Server. Not tried it.

Hope that helps. Do let us know how you get on. If you find bugs then feed them back to the devs through their preferred channel which is NOT this forum.
C3000 running OpenBSD 4.4
C3100 running OpenZaurus