OESF Portables Forum

Everything Else => Zaurus Distro Support and Discussion => Distros, Development, and Model Specific Forums => Archived Forums => Debian => Topic started by: 2or0 on May 28, 2008, 03:27:03 pm

Title: Customized New Rootfs
Post by: 2or0 on May 28, 2008, 03:27:03 pm
I posted the details of this rootfs which is simple howto.
http://yonggun.tistory.com/77 (http://yonggun.tistory.com/77)

Add: May 29 2008

-------------------------------
I built new rootfs based on lxp-icewm for Korean users, but I think it is usable for everybody. The tarball size is ~200MB and unziped file size is ~500MB. I don't have enough space to upload it. If somebody are interested in this distribution and can afford to host it, please tell me.


[img]http://cafe3.ktdom.com/zaurus/bbs/data/free/lxp_icewm.png\" border=\"0\" class=\"linked-image\" /]

Features

- name: Andromeda
- easy installation script for Cxx00 on SD or HDD.
- X-window fully set up (xfbdev)
- lxp-icewm, which is a fork of icewm, with a large number of the patches.
- background auto changing when zaurus is swiveled.
- Fn+click = mouse middle click, Shift+click = mouse right click
- Dual boot environment
- Multimedia (mplayer, mpd+gmpc+ncmpc, streo output)
- auto (un)mount of the removable disk using autofs module.
- short keyes to control sound volume, brightness, fullscreen, maximize, minimize, screencapture.
- pre-installed wpasupplican , wireless-tools

Applications

- file manager: rox
- text editor: leafpad
- text reader: justreader
- dictionary: zbedic, stardict
- multimedia: mplayer, mpd (+ncmpc+gmpc)
- browsers: dillo, icehamster
- pims: osmo
- note-taking: xounal
- graphic: gpicview
- game: sudoku
- etc: mc, ecalc, etimedate, sakura, xvkbd, feh, and so on
Title: Customized New Rootfs
Post by: Capn_Fish on May 28, 2008, 07:15:17 pm
Would you mind sharing your {middle|right} clicking trick? I'm interested in adapting it.

Sounds very cool nonetheless, and I will likely try it!

Thanks for all your Debian-on-the-Z work!
Title: Customized New Rootfs
Post by: matthis on May 28, 2008, 07:26:00 pm
Hello! This looks very nice.
I'd love to try it, and be happy to host the file as well.
I have sent you a pm.

Best regards,
Title: Customized New Rootfs
Post by: 2or0 on May 29, 2008, 04:54:58 am
Quote from: Capn_Fish
Would you mind sharing your {middle|right} clicking trick? I'm interested in adapting it.

Sounds very cool nonetheless, and I will likely try it!

Thanks for all your Debian-on-the-Z work!

It is simple. If you are using xbindkeys and ZDevils' click program( https://www.oesf.org/forum/index.php?s=&...st&p=175322 (https://www.oesf.org/forum/index.php?s=&showtopic=25459&view=findpost&p=175322) ), then just add the followings in .xbindkeysrc:

[div class=\'codetop\']CODE[/div][div class=\'codemain\' style=\'height:200px;white-space:pre;overflow:auto\']#mouse-click-m
"mouse-r"
    m:0x1 + b:1
    Shift + Shift_L

#mouse-click-m
"mouse-m"
    m:0x10 + b:1
    Mod2 + Mode_switch [/div]
Title: Customized New Rootfs
Post by: 2or0 on May 29, 2008, 04:56:07 am
Quote from: matthis
Hello! This looks very nice.
I'd love to try it, and be happy to host the file as well.
I have sent you a pm.

Best regards,

I have sent you a pm too.

yonggun
Title: Customized New Rootfs
Post by: matthis on May 29, 2008, 09:20:30 am
Thanks 2or0 for your reply and rootfs!
It is now ready to be grabbed at:

1. Slow but big server: I will be able to leave the file there for a very long time.
http://badaboum.bidibom.free.fr/andromeda.zip (http://badaboum.bidibom.free.fr/andromeda.zip)

2. Small but fast server: grab it from here until it lasts!
http://web.mita.keio.ac.jp/~mh070504/andromeda.zip (http://web.mita.keio.ac.jp/~mh070504/andromeda.zip)
Title: Customized New Rootfs
Post by: 2or0 on May 29, 2008, 10:25:00 am
Quote from: matthis
Thanks 2or0 for your reply and rootfs!
It is now ready to be grabbed at:

1. Slow but big server: I will be able to leave the file there for a very long time.
http://badaboum.bidibom.free.fr/andromeda.zip (http://badaboum.bidibom.free.fr/andromeda.zip)

2. Small but fast server: grab it from here until it lasts!
http://web.mita.keio.ac.jp/~mh070504/andromeda.zip (http://web.mita.keio.ac.jp/~mh070504/andromeda.zip)

Thank you. Then I will post the details about this.
Title: Customized New Rootfs
Post by: linx on May 29, 2008, 12:04:09 pm
Thank you yonggun I guess I'll give it a try on my C3200 when the download is finished and hope to get my Planex wifi card at least blinkin'. Can we have md5 checksum?

Edit: I tried to install it but got an error. I made the partitions using fdisk /dev/hda one for the rootfs and the other swap. When I tried to flash the kernel was flashed ok as it said but then it tried to umount and format the /dev/hdc instead of /dev/hda had some modprobe errors and the final piece of info is that it couldn't load a filesystem for rootfs. I tried to fdisk /dev/hdc but there is no such device. Any ideas?
Title: Customized New Rootfs
Post by: hch on May 29, 2008, 06:21:05 pm
hi linx,

if you have a cf card, just insert it while booting, then the internal drive becomes hdc. i did tht and unzipped tge rootfs and modules manually.

great distro, really! thanks 2or0 this one is what i was always looking for. only glitch i noticed was the middle buttom emulation does not work.
Title: Customized New Rootfs
Post by: linx on May 29, 2008, 07:22:36 pm
I guess by CF card we mean a CF drive and not just whatever card like wifi? Hmmm any other way to tell it I'm using hda?
Title: Customized New Rootfs
Post by: matthis on May 29, 2008, 08:37:55 pm
I was able to install.
The first time I wasn't watching and it rebooted to cacko,
so I just flashed the kernel again with the normal updater.sh and then it worked perfectly.

2or0: your rootfs is really beautiful! I like the "brightness" overlay!
This is really the best debian rootfs I've tried so far, very very user friendly!!
I'm making it my default rom now.
Title: Customized New Rootfs
Post by: linx on May 29, 2008, 10:38:00 pm
What you mean the normal updater.sh? Not the one in the andromeda.zip
Title: Customized New Rootfs
Post by: matthis on May 29, 2008, 10:42:25 pm
Yes, I meant the one provided on sharp's site, or yonggun' site , which do only kernel flashing (and not system installs).
But I don't know if I had to do that because I had done something wrong in the first place.
Title: Customized New Rootfs
Post by: matthis on May 30, 2008, 01:04:31 am
@2or0:

Your rootfs already has support for Korean input.
What would be the best way to add Japanese input, using the same system you are using for Korean?
Is anything that would use uim the best solution?

Thanks
Title: Customized New Rootfs
Post by: digitaller on May 30, 2008, 01:34:55 am
Hi 2or0,
Thanks for the great job! I really love this rootfs.

However I have a question. Each time the system starts it says:
Quote
Starting Adanced Power Management daemon....
* Can't  start Hadware abstraction layer - please ensure dbus is running

What is the problem?
Title: Customized New Rootfs
Post by: 2or0 on May 30, 2008, 03:55:12 am
Quote from: matthis
@2or0:

Your rootfs already has support for Korean input.
What would be the best way to add Japanese input, using the same system you are using for Korean?
Is anything that would use uim the best solution?

Thanks
I built latest uim for Korean without Japanese support because I don't want many dependencies.  
But you can install uim from feed directly or scim?.


Quote from: digitaller
Hi 2or0,
Thanks for the great job! I really love this rootfs.

However I have a question. Each time the system starts it says:
Quote
Starting Adanced Power Management daemon....
* Can't  start Hadware abstraction layer - please ensure dbus is running

What is the problem?
You can solve it by renaming /etc/rc2.d/K12dbus to /etc/rc2.d/S12dbus.
Title: Customized New Rootfs
Post by: kikilafourmi on May 30, 2008, 05:59:48 am
2or0,

Great job & thanks!
Even a linux newbie like me could install and get this to work on my C3200!
I was wondering, is it possible to overclock the cpu after starting andromeda? there is something like this in Pdaxii13, in start menu->CPU freq (don't remember exactly).
Just curious to see how it feels with Andromeda when the machine is overclocked  

Rgds
Title: Customized New Rootfs
Post by: 2or0 on May 30, 2008, 08:36:18 am
Quote from: kikilafourmi
2or0,

Great job & thanks!
Even a linux newbie like me could install and get this to work on my C3200!
I was wondering, is it possible to overclock the cpu after starting andromeda? there is something like this in Pdaxii13, in start menu->CPU freq (don't remember exactly).
Just curious to see how it feels with Andromeda when the machine is overclocked  

Rgds

There are two ways to change the clock. The first is to type the command on terminal.
for 624 MHz: dvfm 16 6 1 2 1
for 418 MHz: dvfm 16 4 1 2 1

Second is to install cpuoverclock_0.0.3-1_armel.deb which is packaged from pdaXrom.
 http://yonggun.tistory.com/54 (http://yonggun.tistory.com/54)

Enjoy.
Title: Customized New Rootfs
Post by: digitaller on May 31, 2008, 12:24:37 am
Hi 2or0

Thanks for the reply, the dbus problem is solved.

Another question. I changed the locale settings as instructed in your blog to en_US.UTF-8. I did a few apt-get installs and get the error message saying locale setting error. After that, when I rebooted and tried to do a startx, I get the following message.

Quote
Fatal server error:
could not open default font 'fixed'
XIO: fatal IO eror 104 (connection reset by peer) on X server ":0.0"
        after 0 reqeuests (0unknown processed) with 0 events remaining.

Can you help me with this?
Title: Customized New Rootfs
Post by: 2or0 on May 31, 2008, 06:03:22 am
Quote from: digitaller
Hi 2or0

Thanks for the reply, the dbus problem is solved.

Another question. I changed the locale settings as instructed in your blog to en_US.UTF-8. I did a few apt-get installs and get the error message saying locale setting error. After that, when I rebooted and tried to do a startx, I get the following message.

Quote
Fatal server error:
could not open default font 'fixed'
XIO: fatal IO eror 104 (connection reset by peer) on X server ":0.0"
        after 0 reqeuests (0unknown processed) with 0 events remaining.

Can you help me with this?

I think you should install 'xfonts-base'.
Title: Customized New Rootfs
Post by: digitaller on May 31, 2008, 11:30:07 am
That solves the problem.

Thank you so much 2or0
Title: Customized New Rootfs
Post by: notstrom on May 31, 2008, 02:30:04 pm
Hi, I wonder if you could help me. When trying to install this on my SL-C3200 from SD, I get as far as to choose which partition to install to (HDD1, HDD2, SD). As I had created a Linux partition on hda1 I chose "1" (HDD1), but after installing the kernel I get an error message "umount /dev/hdc1 invaldid argument" and then something about module "block-major-22" not being loadable.
Any ideas? Thank You
Title: Customized New Rootfs
Post by: 2or0 on May 31, 2008, 03:09:08 pm
Quote from: notstrom
Hi, I wonder if you could help me. When trying to install this on my SL-C3200 from SD, I get as far as to choose which partition to install to (HDD1, HDD2, SD). As I had created a Linux partition on hda1 I chose "1" (HDD1), but after installing the kernel I get an error message "umount /dev/hdc1 invaldid argument" and then something about module "block-major-22" not being loadable.
Any ideas? Thank You

I don't know I understand you correctly. If you want to use my updater.sh and install it on hda1, you should keep cf card inside. Otherwise internal disk will be recognized as hda1 instead of hdc1, which is my mistake.
Title: Customized New Rootfs
Post by: notstrom on May 31, 2008, 03:21:40 pm
Ah, I see, thanks for your kind reply. I don't have a CF-Card, so this is probably the reason why it does not work.
Title: Customized New Rootfs
Post by: Raul on June 05, 2008, 12:45:36 pm
If it only worked with socket bluetooth card it would be the best thing I ever saw on Zaurus.
Title: Customized New Rootfs
Post by: 2or0 on June 05, 2008, 03:32:18 pm
Quote from: Raul
If it only worked with socket bluetooth card it would be the best thing I ever saw on Zaurus.

If you tell me where the patch of socket bluetooth card is for kernel 2.6.24.x, then I will build it for you.  
Title: Customized New Rootfs
Post by: matthis on June 05, 2008, 09:11:59 pm
Hi, I'm getting used to lx-icewm and its shortcut, its becoming more and more easy to use.
I like Alt-Tab for switching windows, and I wondered if it would be possible to do this with just one key, like the "Home" key.

I thought I could do that with xmodmap, but found out that xmodmap doesn't allow you to have [one key = combination of keys].
Any ideas on how to do that?

Thanks!!
Title: Customized New Rootfs
Post by: Capn_Fish on June 05, 2008, 09:31:07 pm
I assume it's a value in a config filr (look in ~/.icewm). Fluxbox has a file where you can configure keybindings, at any rate.

HTH
Title: Customized New Rootfs
Post by: Raul on June 06, 2008, 12:03:47 pm
Quote from: 2or0
Quote from: Raul
If it only worked with socket bluetooth card it would be the best thing I ever saw on Zaurus.

If you tell me where the patch of socket bluetooth card is for kernel 2.6.24.x, then I will build it for you.  
Thank you very much.
The problem is that last info I've found was in this ubuntu thread: http://ubuntuforums.org/showthread.php?t=1...et+CF+Bluetooth (http://ubuntuforums.org/showthread.php?t=182926&highlight=Socket+CF+Bluetooth)
There is only a patch for 2.6.23.1 and older kernels
Title: Customized New Rootfs
Post by: Capn_Fish on June 06, 2008, 01:01:31 pm
I suspect that the bluetooth stuff hasn't changed much at all between 2.6.23 and 2.6.24, so the patch should work fine.
Title: Customized New Rootfs
Post by: Raul on June 07, 2008, 04:02:51 pm
I've tried to flash it and i'm booting to flash partition with pdaxii13. When it asked me to chose partition on hdd I chose 1. What am I doing wrong?
Title: Customized New Rootfs
Post by: matthis on June 07, 2008, 08:54:53 pm
For some reason I got the same problem.
Just flash the kernel from yonggun: http://yonggun.tistory.com/72 (http://yonggun.tistory.com/72) (rename to zImage without .bin)
and flash with an updater.sh which just flashes the kernel: http://support.ezaurus.com/developer/sourc...pdater.sh.c3200 (http://support.ezaurus.com/developer/source/c3200/20060228/updater.sh.c3200)
(this is for sl-c3200)

Hope this helps.
Title: Customized New Rootfs
Post by: Raul on June 08, 2008, 01:38:55 pm
Thanks, I will try to flash kernel first.
Update: Kernel flashed, extracting root. I have some doubts ...
Ok, Root extracted but I don't see other hdd partition. Do I have to add them manually to fstab?
Where should I unpack modules? To root? Is rootfs on the internal hdd?
Title: Customized New Rootfs
Post by: Raul on June 12, 2008, 10:42:24 am
Is there any application which helps setting wifi connection?
Title: Customized New Rootfs
Post by: canguy247 on June 14, 2008, 05:45:18 pm
First off, thanks to 2or0 for a great tarball.  It seems like a great system.

I was just hoping you could help me with an issue I have.  The system recognizes hardware such as usb ethernet and cf cards, but does not attach them in /dev.  
For example, when I insert (or have it in during boot) my 16gb cf card, dmesg shows: pccard: blah blah
but no /dev/hda1 is created.  I also get nothing with my usb ethernet even though dm9601 is loaded, and the hardware is recognized.

I would assume this is related to a couple of errors that occur during bootup:
i2c: error: exhausted retries
i2c: msg_num: 0 msg_idx -2000 msg_ptr: 0
etc...

and also hald will not load until I manually start dbus


If you have an idea what is wrong, please let me know.

PS - I can elaborate on what I did etc if needed.
Title: Customized New Rootfs
Post by: Osage on June 14, 2008, 08:14:14 pm
Hi, I found this Andromeda Debian very excellent!
However I stucked with usb networking.

My Z has a configured usb0 interface, but my Debian laptop not.
How can I make it to have the connection?

I've tried g_ether, cdc_*, usbnet, zaurus modules so far.

laptop#: modprobe g_ether host_addr=00:dc:c8:f7:75:05 dev_addr=7e:44:7c:4f:a0:6c
FATAL: Error inserting g_ether (/lib/modules/2.6.24.2v2/kernel/drivers/usb/gadget/g_ether.ko): No such device

PS. Couldn't figure Sakura terminal behavior for font size inc/decrease. Is it a keymap issue or...?
Title: Customized New Rootfs
Post by: matthis on June 14, 2008, 10:37:31 pm
@Raul: there is none included by default... there might be something in debian feed, but you need network working first  
So you have to edit /etc/network/interfaces. There is an example for a wifi connection on eth0 in there, I had to write a similar one for eth1 and then ifup eth1. (Dmesg tells you which name your card has been given.)


@Osage: things to check:
- are the modules present and did you do depmod -a ?
- there is a command to start usb networking, something like usb_gadget start (I can't remember, maybe gadget-usb start ??)
Title: Customized New Rootfs
Post by: canguy247 on June 16, 2008, 01:32:58 am
A small update;

For the ethernet problem: modprobe ohci_hcd fixed it.  It is now in /etc/modules

For the CF card:   I tried another CF card (256mb) and it worked fine.  My 16gb worked great before.  Is there anything that has changed between this rootfs and zdevils that would cause this?  I am using the same kernel as before.

EDIT:
CF Card problem fixed by installing PCMCIAUtils.  Noticed that neither this or pcmcia-cs were installed.

Thanks,
Canguy
Title: Customized New Rootfs
Post by: zs_ftp on June 17, 2008, 04:34:32 am
Who install tarball to hda1?
Title: Customized New Rootfs
Post by: matthis on June 17, 2008, 11:27:25 am
I installed it to hda1
Title: Customized New Rootfs
Post by: hwillson on June 17, 2008, 01:45:48 pm
Wow, this looks great!

One question - I've had problems with other Debian installs whereby my Zaurus 3100 would keep turning on (un-suspending) in my pocket, even though I had the lid shut, and draining the battery before I knew it.  Would your distro happen to handle this issue, say in a similiar fashion to Cacko? (whereby when the lid is shut the Zaurus suspends, and can't be un-suspended until the lid is open no matter how many times or how long the power button is hit)

Thanks - again, amazing work!
Hugh
Title: Customized New Rootfs
Post by: Shem on June 18, 2008, 03:24:57 pm
Sorry, I don't get it. When I'm trying to install this (from a SD card), en choose to install in on hda1 (I have 2 partitions, 5.5 gig / 0.5 gig), it says it can't find hdc. I read that this was some kind of mistake when u compiled it? Is there a workaround?


Btw I can host your files on a 100mbit server, if you like..
Title: Customized New Rootfs
Post by: Raul on June 18, 2008, 03:38:15 pm
You have to put cf card (memory) into cf slot, then it will work.
Title: Customized New Rootfs
Post by: Shem on June 18, 2008, 03:40:00 pm
Blegh, I don't have one.. Need to buy one then I guess..
Title: Customized New Rootfs
Post by: linx on June 21, 2008, 12:14:17 am
@Shem:
Or you can untar manually the files where u want them and use an updater.sh to only flash the kernel. I did it that way.
Title: Customized New Rootfs
Post by: Osage on June 22, 2008, 06:27:31 am
Quote from: 2or0
I posted the details of this rootfs which is simple howto.
http://yonggun.tistory.com/77 (http://yonggun.tistory.com/77)
[...]

I stated previously that I found andromeda very userful.
Easy install, very fitting customizations, and seems to be standard debian.

Ok, my philosophic questions are:
-is it "andromeda" possible or worth to applied for model c700?

-it is really a standard debian system?
  Previously I've tried a lot of roms, and finally those died. Why? Simply 'cause
  upon my extra needs I started to heavily modify them, but with each 'n every
  update (eg. libc, x-devel environment, path-relocation due to storage issues, etc)
  I got closer to the end. Finally there always were a barrier (outdating, inconsistency,
  broken packages, etc).
  Will "andromeda-debian" assure long time maintanance in standard debian way?

-if this "andromeda" is such succesful, as I find, why there are other "rom" experiments?
  (well, why not) What do they know, what more do they offer what makes them vital
  to be considered using a zaurus gadget? (in other words: what "andromeda" lacks?)
Title: Customized New Rootfs
Post by: 2or0 on June 22, 2008, 05:02:40 pm
Quote
-is it "andromeda" possible or worth to applied for model c700?
Now the main kernel of Andromeda is 2.6.24.4-yonggun which only works on Cxx00 but not Cxx0. If you want to use it, you need the kernel for c700 and should modify this rootfs. Following might be useful for you.
https://www.oesf.org/forum/index.php?showtopic=25663 (https://www.oesf.org/forum/index.php?showtopic=25663)

Quote
-it is really a standard debian system?
  Previously I've tried a lot of roms, and finally those died. Why? Simply 'cause
  upon my extra needs I started to heavily modify them, but with each 'n every
  update (eg. libc, x-devel environment, path-relocation due to storage issues, etc)
  I got closer to the end. Finally there always were a barrier (outdating, inconsistency,
  broken packages, etc).
  Will "andromeda-debian" assure long time maintanance in standard debian way?
Yes, this is a standard debian system.

Quote
-if this "andromeda" is such succesful, as I find, why there are other "rom" experiments?
  (well, why not) What do they know, what more do they offer what makes them vital
  to be considered using a zaurus gadget? (in other words: what "andromeda" lacks?)
Since Debian eabi is ported from pc-based system, it has many dependencies which may not be used in zaurus. So the size of Debian system is much bigger and heavier than those of angstrom or pdaXrom which are targeted for the embedded system.
Title: Customized New Rootfs
Post by: fgp on July 01, 2008, 07:59:56 pm
Hi 20r0,

First off , thanks for developing this rootfs. After a while I thought my zaurus is dead already. Anyway I am not sure if I am the only one experiencing this but the rootfs seems to be missing the old pccardctl command.  So my first question is how can I eject my cf or wifi card? In serach of this and support for my Belkin blueetooth CF card I also found the pcmcia package in the deb distribution and installed it. It magically gave me the command and suprisingly the drivers for my card. The only problem is every time I run pccardctl eject  get segmentation fault  and the system freezes. Can you help me point out what I am doing wrong?

Thanks in advance  
Title: Customized New Rootfs
Post by: ArchiMark on July 02, 2008, 04:36:26 pm
Been trying to get this installed on my 3200, but so far no go....not sure why, hope someone can please advise...

I currently have Debian EABI installed and working OK on my 3200...so, did the following:

Downloaded file and copied the 5 extracted files onto SD card. At first I left the 'zImage-debian.bin.hda1' file with this filename and tried flashing.

As I understand, if you want to install to hda1 (internal drive) then you need to have a CF card inserted. So I put a CF in the 3200.

When I did flashing, I see the following:

Code: [Select]
------ Universal Zaurus Updater r20-1 -------
MODEL:  SL-C3200 (c3x00)
Select the number of the partition to install Debian (1,2 or 3)
1.HDD1 2.HDD2 3.SD
1
Installing HDD root  file system
umount: /dev/hdc1: Invalid argument
* Now formatting
done
* Now extracting (this can take over 5m)....

Then after about 5 minutes, it's starts extracting lots of files.....then it reboots...

When I got to login prompt, I tried logging in as root, with no password as per instructions, but said incorrect password....so, when I tried the password for my current EABI install, it logged in OK....did startx and it went to IceWM desktop....so, realized that install did not work....

So, after realizing that I think I should have renamed 'zImage-debian.bin.hda1' to just 'zImage', I did that and tried install again....

When I did flashing, I see the following:

Code: [Select]
------ Universal Zaurus Updater r20-1 -------
MODEL:  SL-C3200 (c3x00)
Select the number of the partition to install Debian (1,2 or 3)
1.HDD1 2.HDD2 3.SD
1
Installing HDD root  file system
umount: /dev/hdc1: Invalid argument
* Now formatting
done
* Now extracting (this can take over 5m)....

Then after about 5 minutes, it's starts extracting lots of files.....
also, on some items it says "Could not create directory: No such file or directory"....

then it reboots...

Should I have rename zImage file to 'zImage-debian' instead?

Decided to see if that would make a difference....and tried install again...

Same result, no install....

Can anyone please advise as to how to get this to install correctly?

Thanks!
Title: Customized New Rootfs
Post by: Fatty on July 03, 2008, 03:15:31 pm
Quote from: ArchiMark
...
Should I have rename zImage file to 'zImage-debian' instead?
...

Should be 'zImage-debian.bin' renamed from ...bin.hda1 or ...bin.sd depending on where you're going to install.
Title: Customized New Rootfs
Post by: 2or0 on July 03, 2008, 06:57:14 pm
Quote from: ArchiMark
Been trying to get this installed on my 3200, but so far no go....not sure why, hope someone can please advise...

I currently have Debian EABI installed and working OK on my 3200...so, did the following:

Downloaded file and copied the 5 extracted files onto SD card. At first I left the 'zImage-debian.bin.hda1' file with this filename and tried flashing.

As I understand, if you want to install to hda1 (internal drive) then you need to have a CF card inserted. So I put a CF in the 3200.

When I did flashing, I see the following:

Code: [Select]
------ Universal Zaurus Updater r20-1 -------
MODEL:  SL-C3200 (c3x00)
Select the number of the partition to install Debian (1,2 or 3)
1.HDD1 2.HDD2 3.SD
1
Installing HDD root  file system
umount: /dev/hdc1: Invalid argument
* Now formatting
done
* Now extracting (this can take over 5m)....

Then after about 5 minutes, it's starts extracting lots of files.....then it reboots...

When I got to login prompt, I tried logging in as root, with no password as per instructions, but said incorrect password....so, when I tried the password for my current EABI install, it logged in OK....did startx and it went to IceWM desktop....so, realized that install did not work....

So, after realizing that I think I should have renamed 'zImage-debian.bin.hda1' to just 'zImage', I did that and tried install again....

When I did flashing, I see the following:

Code: [Select]
------ Universal Zaurus Updater r20-1 -------
MODEL:  SL-C3200 (c3x00)
Select the number of the partition to install Debian (1,2 or 3)
1.HDD1 2.HDD2 3.SD
1
Installing HDD root  file system
umount: /dev/hdc1: Invalid argument
* Now formatting
done
* Now extracting (this can take over 5m)....

Then after about 5 minutes, it's starts extracting lots of files.....
also, on some items it says "Could not create directory: No such file or directory"....

then it reboots...

Should I have rename zImage file to 'zImage-debian' instead?

Decided to see if that would make a difference....and tried install again...

Same result, no install....

Can anyone please advise as to how to get this to install correctly?

Thanks!


The explanation in my blog is wrong. You need to follow ZDevil's post. or rename the files: zImage-debian.bin.hda1 ->zImage.bin, rootfs-debian.tgz->hdimage1.bin. Also take update.sh and gnu-tar from Angstrom webpage or ZDevil's post. If you finish this, then reflash it as you did for sharp rom. this is the easiest way, I think.
Title: Customized New Rootfs
Post by: ArchiMark on July 03, 2008, 08:48:09 pm
Quote from: 2or0
The explanation in my blog is wrong. You need to follow ZDevil's post. or rename the files: zImage-debian.bin.hda1 ->zImage.bin, rootfs-debian.tgz->hdimage1.bin. Also take update.sh and gnu-tar from Angstrom webpage or ZDevil's post. If you finish this, then reflash it as you did for sharp rom. this is the easiest way, I think.

Thanks, for your help, 2or0! (and you too, fatty!!)....

OK, followed your instructions, renamed files and took files from ZDevil's post....this time install seemed to go OK!

Rebooted and now I want to extract modules as per instructions. However, now, I can't seem to get my SD card to mount, please advise....have tried different mount points, but always get the same error message as below:

Code: [Select]
#mount -t vfat /dev/mmcblk0p1 /mnt/card
mount point /mnt/card is a symbolic link to nowhere...

Any suggestions????

Thanks!
Title: Customized New Rootfs
Post by: Capn_Fish on July 03, 2008, 09:51:23 pm
Code: [Select]
rm -rf /mnt/card
mkdir /mnt/card
Title: Customized New Rootfs
Post by: ArchiMark on July 03, 2008, 10:03:44 pm
Quote from: Capn_Fish
Code: [Select]
rm -rf /mnt/card
mkdir /mnt/card

Thanks, Capn!

Just tried that but still no go....get message no room...

 

Starting to think something is funky with the last install.... updater started but did not ask me to select which partition to install to like before....just did it automatically, realize now that it didn't install to hda1...

 


Think I'll try installing again....

 
Title: Customized New Rootfs
Post by: Capn_Fish on July 03, 2008, 10:05:27 pm
Maybe either manually format the drive beforehand or shred it for good measure. There may be FS/partition issues, and if you're nuking your current setup anyway...
Title: Customized New Rootfs
Post by: ArchiMark on July 03, 2008, 10:26:01 pm
Quote from: Capn_Fish
Maybe either manually format the drive beforehand or shred it for good measure. There may be FS/partition issues, and if you're nuking your current setup anyway...

Good idea, Capn!

Will try and start fresh....

 
Title: Customized New Rootfs
Post by: 2or0 on July 04, 2008, 06:12:42 am
Quote from: ArchiMark
Quote from: Capn_Fish
Maybe either manually format the drive beforehand or shred it for good measure. There may be FS/partition issues, and if you're nuking your current setup anyway...

Good idea, Capn!

Will try and start fresh....

 

This system automounts CF or SD using autofs modules. If it doesn't work, just remove it as following.
apt-get remove autofs
After rebooting the system, you can mount SD manually.
Title: Customized New Rootfs
Post by: ArchiMark on July 04, 2008, 11:00:18 am
Thanks again for your help and for this Rootfs, 2or0!!!!!!!!!

I started fresh install, redownloaded your zip file, extracted the files and this time Voila! it worked!!!!!

Just got to your beautiful desktop!

T H A N K S !

FWIW, I just renamed your 'zImage-debian.bin.hda1' file to 'zImage.bin'. The other files I did not change at all.

 

Mark

PS. I did notice some error messages:

When it shutdown for reboot:

Something like:
Code: [Select]
cannot open /vmlinuz...stream error"

Also, during boot up, it said:
Code: [Select]
can't start Hardware abstraction layer - please ensure that dbus is running
....
Swapon: can't stat /dev/hda3: No such file or directory

My internal drive, hda1 is where I installed files to and hda2 is my swap partition. I do not have a hda3 partition...

Think there were a few other error messages but this is what I was able to write down so far....

But, so far, everything seems to be working good!
Title: Customized New Rootfs
Post by: Fatty on July 04, 2008, 11:05:32 am
Quote from: ArchiMark
Code: [Select]
#mount -t vfat /dev/mmcblk0p1 /mnt/card
mount point /mnt/card is a symbolic link to nowhere...

Any suggestions????

Thanks!

Mine (auto) goes to /media/card, which is a link from /var/auto blah blah blah.

Also I had all 1G SD working, but one 2G SD having the same issue (Not tried another 4G SDHC). Well, maybe you can use CF instead for extracting the modules?

EDIT1 :
- dbus error can be referred back to post #16, which works for me also.
- for the swapon issue, obviously the init script assumed us to have a swap partition at /dev/hdc3. I just ignore it and adjust /etc/fstab to mount mine (also at /dev/hda2).

EDIT 2:
2or0, forget to thank you for your excellent work!

One stupid question. How can I make a rootfs like yours? I had pretty much utilities installed and would like to do a backup. Thanks!
Title: Customized New Rootfs
Post by: bunkford on July 08, 2008, 08:52:01 pm
Thank you for the great work you have done! Could you please patch the orinoco wireless driver for injection?
Title: Customized New Rootfs
Post by: Raul on July 26, 2008, 07:16:26 am
Could anyone post small how-to about connecting with wifi (wep) with access point?
Title: Customized New Rootfs
Post by: Capn_Fish on July 28, 2008, 12:29:14 am
Code: [Select]
iwconfig INTERFACE mode managed essid YOURSSID key WEPKEY
dhclient INTERFACE

should do it for you.
Title: Customized New Rootfs
Post by: Raul on July 28, 2008, 06:03:05 am
Thanks, I will check that
Title: Customized New Rootfs
Post by: koan on August 12, 2008, 08:22:29 am
Battery indicator is only half working, it says -1 minutes remaining.  I can see % remaining.

How do I fix that ?
Title: Customized New Rootfs
Post by: 2or0 on August 13, 2008, 03:41:26 am
Quote from: koan
Battery indicator is only half working, it says -1 minutes remaining.  I can see % remaining.

How do I fix that ?

I tried to read remaining time from zaurus but I couldn't do it with my short knowlege.
Title: Customized New Rootfs
Post by: koan on August 13, 2008, 09:18:51 pm
Quote from: 2or0
I tried to read remaining time from zaurus but I couldn't do it with my short knowlege.

I see. I searched for "apm battery remaining time", I think you have to calculate remaining time yourself.

An old blog post at http://dkukawka.blogspot.com/2006_03_01_archive.html (http://dkukawka.blogspot.com/2006_03_01_archive.html),

Quote
poll battery every 30-60 seconds and compute the remainig time over the percentage because the APM remainig time information are not really trustable and APM does not provide remainig time for changing mode.

A simple approximation is multiplying percentage remaining by battery capacity, e.g. 50% remaining of 1 hour battery = 30 minutes
Title: Customized New Rootfs
Post by: Raul on August 16, 2008, 06:15:08 am
I can't connect to hotspot. It worked jst few days ago. I think of upgrading firmware in my Ambicom W1100C card.Is there a way of doing it from the zaurus with andromeda?
Title: Customized New Rootfs
Post by: ArchiMark on August 18, 2008, 09:43:33 am
Quote from: Raul
I can't connect to hotspot. It worked jst few days ago. I think of upgrading firmware in my Ambicom W1100C card.Is there a way of doing it from the zaurus with andromeda?


Raul, I have Ambicom card and it works fine....check your settings...have you checked that it works OK in another device?
Title: Customized New Rootfs
Post by: Raul on August 18, 2008, 05:52:53 pm
It worked fine just a few days ago. I'm sure the card is fine. Could you post your settings? Does it work with orinoco or hostap drivers?
Title: Customized New Rootfs
Post by: matthis on August 18, 2008, 08:16:51 pm
I only got mine to work with orinoco.

Strangely, after a few times the card would try to load with hostap and fail.

What I did was turn off the card, rmmod hostap_cs hostap, and put it back in, and it would work.
(And strangely I only had to do it once.)
Title: Customized New Rootfs
Post by: koan on August 22, 2008, 04:08:39 am
I want to dual boot with Sharp/QPE on NAND.

If I understand correctly, I shouldWhere do I get the Sharp kernel file ?

Thanks
Title: Customized New Rootfs
Post by: xamindar on August 23, 2008, 02:54:04 pm
Quote from: koan
I want to dual boot with Sharp/QPE on NAND.

If I understand correctly, I should
  • Flash the Sharp ROM to get the filesystem back on NAND
  • Flash the yonggun kernel
  • Copy the Sharp kernel file to /boot
Where do I get the Sharp kernel file ?

Thanks

Koan, all your answers are in this thread:  https://www.oesf.org/forum/index.php?showtopic=25555 (https://www.oesf.org/forum/index.php?showtopic=25555)If you need any help or have questions you can pm me....I currently have a successful dualboot with sharp rom and eabi.
Title: Customized New Rootfs
Post by: HRH_H_Crab on August 23, 2008, 07:46:08 pm
Great work Yonggun, I've just switched over to Andromeda.
I noticed that screenshot featuring the "awesome" window manager on your blog.
Any plans to use this in future releases? - it looks amazing!
Title: Customized New Rootfs
Post by: scottlfa on August 30, 2008, 11:53:33 pm
A shot of my Andromeda, using the Lxp-icewm that comes with Yonggun's rootfs.  Love this so far, very responsive.
Title: Customized New Rootfs
Post by: xamindar on August 31, 2008, 04:20:11 am
Quote from: scottlfa
A shot of my Andromeda, using the Lxp-icewm that comes with Yonggun's rootfs.  Love this so far, very responsive.

Why does it look like windows XP? Sorry, but that is pretty gross to me. Nice wallpaper though
Title: Customized New Rootfs
Post by: scottlfa on August 31, 2008, 04:32:59 am
LOL, well its the darkest theme I can seem to get on it.  The ubuntu theme is too bright too me.  Tried the icewm themes, but it bombs them back too the default icewm theme ... so its what it has to be for the moment
Title: Customized New Rootfs
Post by: relapse808 on September 06, 2008, 05:15:01 pm
I have finally got this installed and I am having a hell of a time getting my ambicom wifi card to work.  Can anyone help me out.  Its listed as eth1.  I have done a iwconfig eth 1 essid myid and done the dhclient eth1 but it wont give me a address.  The wifi router is wide open.
Title: Customized New Rootfs
Post by: wowo123 on September 07, 2008, 07:41:05 am
Works really nice and much faster than my old pdaxrom! Got wifi working with my d-link-card and installed bluetooth (still testing). Only one small issue I noticed: date&time seems to be broken. Has to be done by commandline.
My only problem: (I'm not quite familiar with icewm, I used rox-session with pdaxrom): How can I bring icons on the desktop? Any hint?
Title: Customized New Rootfs
Post by: scottlfa on September 10, 2008, 08:39:43 pm
idesk, pretty easy to config.
Title: Customized New Rootfs
Post by: Raul on September 21, 2008, 01:09:15 pm
I would like to backup my andromeda system just in case. How to do it properly?
Title: Customized New Rootfs
Post by: xamindar on September 22, 2008, 02:13:42 pm
Quote from: Raul
I would like to backup my andromeda system just in case. How to do it properly?
Well, one way would be to use the zaurus backup to make a complete image of your internal disk and NAND. I plan to do this once I get everything how I want it.  Then, if anything catastrophic happens just restore those two images and it should work again.
Title: Customized New Rootfs
Post by: Osage on November 08, 2008, 04:55:26 pm
Hi,

I've got a battery-drain issue. I realize that my c3200 with Andromeda get switched on while suspended and it is in the leather case with lid closed.
First I suspedted that the power button is beeing pressed accidentally, however it was not the case before [Andromeda].

I try to investigate this state. E.g. to log and forbid unattended wake-up while lid is beeing closed.
Tell me, where is a wake-up script and how it should detect the lid switch?
As far as I know, Andromeda uses apm method, but could not get further with this.

What your opinion?
Title: Customized New Rootfs
Post by: xamindar on November 08, 2008, 10:17:51 pm
Quote from: Osage
Hi,

I've got a battery-drain issue. I realize that my c3200 with Andromeda get switched on while suspended and it is in the leather case with lid closed.
First I suspedted that the power button is beeing pressed accidentally, however it was not the case before [Andromeda].

I try to investigate this state. E.g. to log and forbid unattended wake-up while lid is beeing closed.
Tell me, where is a wake-up script and how it should detect the lid switch?
As far as I know, Andromeda uses apm method, but could not get further with this.

What your opinion?

I have that problem as well. Mine will also turns on randomly on debian eabi. But it's not much of a problem because I only go into eabi to crack wep and then boot back into sharp rom to actually use the zaurus.
Title: Customized New Rootfs
Post by: jeana on November 14, 2008, 01:16:10 pm
Quote from: xamindar
Quote from: Osage
Hi,

I've got a battery-drain issue. I realize that my c3200 with Andromeda get switched on while suspended and it is in the leather case with lid closed.
First I suspedted that the power button is beeing pressed accidentally, however it was not the case before [Andromeda].

I try to investigate this state. E.g. to log and forbid unattended wake-up while lid is beeing closed.
Tell me, where is a wake-up script and how it should detect the lid switch?
As far as I know, Andromeda uses apm method, but could not get further with this.

What your opinion?

I have that problem as well. Mine will also turns on randomly on debian eabi. But it's not much of a problem because I only go into eabi to crack wep and then boot back into sharp rom to actually use the zaurus.
We have the same issue !
Did somebody found a solution, because the Debian distribution isn't usable with this issue (i.e. we need to reset the Zaurus after each the battery drain, and re-input the date/time) ?
Title: Customized New Rootfs
Post by: jeana on December 01, 2008, 06:33:08 am
On my SL-C3000, the issue of the battery drain seems to be related to the following :[/li][/list][/li][/list]I didn't find what is triggering this malfunctioning.

EDIT:
Did somebody is encountering the same symptoms ?
Title: Customized New Rootfs
Post by: Yao on May 14, 2009, 12:05:01 am
I have downloaded andromeda.
The kernel is for hda1 and sd.

I have something already installed in these two partition.
I want to install andromeda to sd partition 2.

Is there a kernel for sd p2. Or can this kernel accept a cmdline to specify root=/dev/mmcblk0p2
BTW:I am using angstrom kexecboot kernel.
Title: Customized New Rootfs
Post by: Muckel on May 14, 2009, 05:26:01 am
Quote from: Yao
I have downloaded andromeda.
The kernel is for hda1 and sd.

I have something already installed in these two partition.
I want to install andromeda to sd partition 2.

Is there a kernel for sd p2. Or can this kernel accept a cmdline to specify root=/dev/mmcblk0p2
BTW:I am using angstrom kexecboot kernel.


Try http://yonggun.tistory.com/68 (http://yonggun.tistory.com/68) with the Kernel image zImage.bin.mmcblk0p2.

I used the 2.6.24.3 kernel because I had issues with 2.6.24.4.

Achim
Title: Customized New Rootfs
Post by: linx on June 17, 2009, 02:26:21 pm
I haven't messed with my Zaurus for a loooong time now. It is sitting in a shelf with a "would like it to work dual boot w/ Ubuntu + Cacko" but it doesn't. I am in the middle of an examination period now and I really want to put Andromeda back to my trusted little machine and hope that I can get my Prism Planex GW-CF11x card to work flawlessly. So because free time is scarce at the moment and I would like to take my SL-C3200 with me during the summer vacation I would like to know if there are any updates in yongun's kernel (which is the latest) or an updated EABI image (since we had the release of Debian 5.0 in the meantime) or anything else (post install script fixing minor stuff) I might consider to have it up and running in a little time. I just want networking to work (probably WPA too) so I can have unlimited space to upload photos from my camera.

A second question would be if there is a problem with sdhc cards? I was using Andromeda w/o problems with a 4gb card but due to heavy usage it got some bad blocks and discarded it for a new 8gb kingston one but it doesn't seem to work. And if anyone had/has a problem with that kind of wireless card could point me to one that does indeed work "out of the box"?

Thanks again in advance and sorry for the length of this post.

PS: If anyone from Greece or Ibiza is up to the challenge to help me fix the machine please say so!
Title: Customized New Rootfs
Post by: scottlfa on August 06, 2009, 12:57:05 pm
I have used 8Gb SDHC cards with my Z experiements.