Help - Search - Members - Calendar
Full Version: Customized New Rootfs
OESF Forums > Distros, Development, and Model Specific Forums > Distro Support and Discussion > Debian
Pages: 1, 2
2or0
I posted the details of this rootfs which is simple howto.
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.




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
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!
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,
2or0
QUOTE(Capn_Fish @ May 28 2008, 03:15 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!


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

CODE
#mouse-click-m
"mouse-r"
m:0x1 + b:1
Shift + Shift_L

#mouse-click-m
"mouse-m"
m:0x10 + b:1
Mod2 + Mode_switch
2or0
QUOTE(matthis @ May 28 2008, 03:26 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,


I have sent you a pm too.

yonggun
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

2. Small but fast server: grab it from here until it lasts!
http://web.mita.keio.ac.jp/~mh070504/andromeda.zip
2or0
QUOTE(matthis @ May 29 2008, 05:20 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

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


Thank you. Then I will post the details about this.
linx
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?
hch
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.
linx
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?
matthis
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! wink.gif
This is really the best debian rootfs I've tried so far, very very user friendly!!
I'm making it my default rom now.
linx
What you mean the normal updater.sh? Not the one in the andromeda.zip
matthis
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.
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
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?
2or0
QUOTE(matthis @ May 29 2008, 09:04 PM) *
@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. tongue.gif
But you can install uim from feed directly or scim?.


QUOTE(digitaller @ May 29 2008, 09:34 PM) *
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.
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 wink.gif

Rgds
2or0
QUOTE(kikilafourmi @ May 30 2008, 01:59 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 wink.gif

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

Enjoy.
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?
2or0
QUOTE(digitaller @ May 30 2008, 08:24 PM) *
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'.
digitaller
That solves the problem.

Thank you so much 2or0
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
2or0
QUOTE(notstrom @ May 31 2008, 10:30 AM) *
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.
notstrom
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.
Raul
If it only worked with socket bluetooth card it would be the best thing I ever saw on Zaurus.
2or0
QUOTE(Raul @ Jun 5 2008, 08:45 AM) *
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. wink.gif
matthis
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!!
Capn_Fish
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
Raul
QUOTE(2or0 @ Jun 5 2008, 09:32 PM) *
QUOTE(Raul @ Jun 5 2008, 08:45 AM) *
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. wink.gif

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
There is only a patch for 2.6.23.1 and older kernels

Capn_Fish
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.
Raul
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?
matthis
For some reason I got the same problem.
Just flash the kernel from yonggun: 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
(this is for sl-c3200)

Hope this helps.
Raul
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?
Raul
Is there any application which helps setting wifi connection?
canguy247
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.
Osage
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...?
matthis
@Raul: there is none included by default... there might be something in debian feed, but you need network working first tongue.gif
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 ??)

canguy247
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
zs_ftp
Who install tarball to hda1?

matthis
I installed it to hda1
hwillson
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
Shem
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..
Raul
You have to put cf card (memory) into cf slot, then it will work.
Shem
Blegh, I don't have one.. Need to buy one then I guess..
linx
@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.
Osage
QUOTE(2or0 @ May 28 2008, 09:27 PM) *
I posted the details of this rootfs which is simple howto.
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?)
2or0
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.
http://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.
fgp
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 unsure.gif
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
------ 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
------ 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!







Fatty
QUOTE(ArchiMark @ Jul 3 2008, 04:36 AM) *
...
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.
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2014 Invision Power Services, Inc.