Author Topic: Pdaxrom For C3000 (based On Beta1/beta3)  (Read 133122 times)

Meanie

  • Hero Member
  • *****
  • Posts: 2803
    • View Profile
    • http://www.users.on.net/~hluc/myZaurus/
Pdaxrom For C3000 (based On Beta1/beta3)
« Reply #90 on: December 04, 2006, 10:26:06 pm »
Hi ajnstajn,

congrats on your new Z. however, your post is really confusing this thread as this thread is about pdaXrom for C3000 and you are mixing several distros.

could you create a new thread and move your post there? thanks.
SL-C3000 - pdaXii13 build5.4.9 (based on pdaXrom beta3) / SL-C3100 - Sharp ROM 1.02 JP (heavily customised)
Netgear MA701 CF, SanDisk ConnectPlus CF, Socket Bluetooth CF, 4GB Kingston CF,  4GB pqi SD, 4GB ChoiceOnly SD, 2GB SanDisk SD USB Plus, 1GB SanDisk USB Plus, 1GB Transcend SD, 2GB SanDisk MicroSD with SD adaptor, Piel Frama Leather Case, GoldX 5-in-1 USB cable, USB hub, USB mouse, USB keyboard, USB ethernet, USB HDD, many other USB accessories...
(Zaurus SL-C3000 owner since March 14. 2005, Zaurus SL-C3100 owner since September 21. 2005)
http://members.iinet.net.au/~wyso/myZaurus - zBook3K

ajnstajn

  • Newbie
  • *
  • Posts: 4
    • View Profile
    • http://
Pdaxrom For C3000 (based On Beta1/beta3)
« Reply #91 on: December 04, 2006, 11:19:22 pm »
Quote
Hi ajnstajn,

congrats on your new Z. however, your post is really confusing this thread as this thread is about pdaXrom for C3000 and you are mixing several distros.

Sorry if it sounds confusing but I intended to install the C3000 distro on 3200 (you said it should work in theory and some people asked about it on 3100 so I tried it. As I was stucked  in #prompt without reaction (after flashing pdaxiirom ) I had to reflash to pdaXrom beta3 while having the disks partitioned with hdimage-full contents.

kkazakov13

  • Sr. Member
  • ****
  • Posts: 408
    • View Profile
Pdaxrom For C3000 (based On Beta1/beta3)
« Reply #92 on: December 05, 2006, 01:35:21 am »
I tried installing it on SL-C3200 ... however, no luck - kernel panic. It could not initialize console or sth like this (don't have it in front of me).

As I saw, it tries to do some things in /media directory ... I mean, it does not reflash anything (like for C3000), but instead, creates new init script. Which tries to mount some stuff and work with /media ... do I need to have some specific distro _before_ trying pdaxii13 on c3200 ? I don't have /media directory there (there was plain b3 before this)

p.p. I tried to fix it by changing some names, but it was failing with lot of other errors ...
SL-C3200 ** FOR SALE :( **
https://www.oesf.org/forum/index.php?showtopic=25969

Canon K30225 CF wireless card
Taxan iTax-LAN10 wired card
My packages for customized pdaXrom beta 3

danboid

  • Hero Member
  • *****
  • Posts: 881
    • View Profile
    • http://
Pdaxrom For C3000 (based On Beta1/beta3)
« Reply #93 on: December 05, 2006, 03:26:06 am »
Hi Meanie!

The next pdaxii13 sounds as if its going to be great! Your list of new stuff and fixes seems like it should solve most of the problems I've had with the current version but you made no mention of an upgraded gnumeric (has it been upgraded to using 1.6.3 from the b3 feed instead of the buggy 1.6.0 version?) and, most importantly, the problem with the X keyboard map - 1 and CAPS LOCK don't work.

OK, so maybe I could live without CAPS LOCK but not being able to type 1 under X is a showstopper for me seeing as this Z gets mainly used for spreadsheets and unless I get this sorted shortly I'm going to have to return it to beepin' Cacko and thats something I'm really not looking forward to and don't want to do. I had a look at the Xmodmap file and as far as I could see it was correct- these keys also work fine under the non-X console so its not the kernel map file so I'm guessing this is something to do with initrd?

Nobody else has mentioned this keymap problem- can someone confirm its not just my install? As I said previously, 1 actually works under aterm I've found but not under gnumeric, leafpad etc.
« Last Edit: December 05, 2006, 03:28:14 am by danboid »
Zaurus SL-C3000 w/ MD swapped for a Kingston 32GB Ultimate 266X CF running ALARM
Banana Pi running ALARM on a WD Scorpio SATA II HD
System76 Gazelle Pro i7 laptop w/ SAMSUNG 840 EVO SSD running Arch x64

How to install Arch on your C3x00 Zaurus https://github.com/danboid/ZALARM-install

tanjian2

  • Jr. Member
  • **
  • Posts: 98
    • View Profile
Pdaxrom For C3000 (based On Beta1/beta3)
« Reply #94 on: December 05, 2006, 04:39:29 am »
Quote
Hi Meanie!

The next pdaxii13 sounds as if its going to be great! Your list of new stuff and fixes seems like it should solve most of the problems I've had with the current version but you made no mention of an upgraded gnumeric (has it been upgraded to using 1.6.3 from the b3 feed instead of the buggy 1.6.0 version?) and, most importantly, the problem with the X keyboard map - 1 and CAPS LOCK don't work.

OK, so maybe I could live without CAPS LOCK but not being able to type 1 under X is a showstopper for me seeing as this Z gets mainly used for spreadsheets and unless I get this sorted shortly I'm going to have to return it to beepin' Cacko and thats something I'm really not looking forward to and don't want to do. I had a look at the Xmodmap file and as far as I could see it was correct- these keys also work fine under the non-X console so its not the kernel map file so I'm guessing this is something to do with initrd?

Nobody else has mentioned this keymap problem- can someone confirm its not just my install? As I said previously, 1 actually works under aterm I've found but not under gnumeric, leafpad etc.
[div align=\"right\"][{POST_SNAPBACK}][/a][/div]

The keyboard problem was one of my biggest moans of pdaxrom. However, see here
[a href=\"https://www.oesf.org/forums/index.php?showtopic=21869]https://www.oesf.org/forums/index.php?showtopic=21869[/url] for an explanation. I currently have no F keys defined (no brightness etc) and gaim/gnumeric all work great.

IanS
SL-C3000(Spitz) - pdaXii13 5.5alpha + sound enhanced kernel - MD in 1 great big partition -  Ambicom CF Wifi + USB Ethernet  and NOW Zubuntu on a 4Gb SD

Meanie

  • Hero Member
  • *****
  • Posts: 2803
    • View Profile
    • http://www.users.on.net/~hluc/myZaurus/
Pdaxrom For C3000 (based On Beta1/beta3)
« Reply #95 on: December 05, 2006, 05:31:24 am »
Quote
I tried installing it on SL-C3200 ... however, no luck - kernel panic. It could not initialize console or sth like this (don't have it in front of me).

As I saw, it tries to do some things in /media directory ... I mean, it does not reflash anything (like for C3000), but instead, creates new init script. Which tries to mount some stuff and work with /media ... do I need to have some specific distro _before_ trying pdaxii13 on c3200 ? I don't have /media directory there (there was plain b3 before this)

p.p. I tried to fix it by changing some names, but it was failing with lot of other errors ...
[div align=\"right\"][a href=\"index.php?act=findpost&pid=148057\"][{POST_SNAPBACK}][/a][/div]

basically, what you need to do on C3100/C3200 is:

1. repartition your MicroDrive, the first partition, hdd1 has to be ext3 and at least 512MB but bigger than 1GB is better. you can use the options in the pdaXii13 installer to do it for you or use fdisk to manually repartition you microdrive which you can also do from the installer.

2. copy pivot_root (binary file) and init (shell script) into /sbin (I assume you have pdaXrom beta3 installed already). below is a minimal init script. I recommend you create a sys subdirectory under sbin and move the original init into there. the pdaXii13 installer should be doing this, but haven't had much time to test it yet. you can do this manually from the pdaXii13 installer, select option 5 to go to the console. then do the following:

mkdir -p /mnt/flash
mount /dev/mtdblock2 /mnt/flash
cd /mnt/flash/sbin
mkdir sys
mv init sys/
cp /tmp1/tools/bin/init .
chmod 755 init
cp /tmp1/tools/bin/pivot_root .
chmod 755 pivot_root
cd /
umount /mnt/flash
exit

3. reformat and extract hddimage file onto microdrive. this can also be done by the pdaXii13 intaller.

if the init script does not work, you can try debugging it. use the pdaXii13 installer to boot up your system and then use the console option to get to the file system (the steps above) and modify the init script until it works

i put extra comments in with ###


Code: [Select]
#!/bin/sh
echo "pivot boot script 0.4a for pdaXii13"
echo "intercepting: $0 $1"

if [ "$1" != "" ]; then
        /sbin/sys/init $1
    exit 0
fi

mount -t proc proc /proc
mount -o remount,rw /
echo "Loading driver for MicroDrive"
/sbin/cardmgr -o
if [ "`dmesg | tail -3 |grep hda1`" != "" ]; then
    IDE1=/dev/hda1
else
    IDE1=/dev/hdc1
fi
echo "Internal harddrive is $IDE1"

### the code should execute until here without problems

umount /proc

### if you have problems, try commenting out the umount /proc

echo Mounting $IDE1.
if [ ! -f /media/hdd ]; then
    mkdir -p /media/hdd
fi
mount -t ext3 $IDE1 /media/hdd

### if you get up to here, then you should be ok

if [ "$?" != "0" ]; then
    echo Dropping to a shell due to error in mounting root disk.
    exec /bin/sh
fi

if [ -e /media/hdd/sbin/init -o -L /media/hdd/sbin/init ]; then
    echo "Found /sbin/init on HD; pivoting."
    if [ ! -f /media/hdd/media/realroot ]; then
     mkdir -p /media/hdd/media/realroot 2>/dev/null
    fi
    cd /media/hdd
    pivot_root . media/realroot
    cd /
    exec /sbin/init
fi

echo Dropping to a shell due to problems.
exec /bin/sh
SL-C3000 - pdaXii13 build5.4.9 (based on pdaXrom beta3) / SL-C3100 - Sharp ROM 1.02 JP (heavily customised)
Netgear MA701 CF, SanDisk ConnectPlus CF, Socket Bluetooth CF, 4GB Kingston CF,  4GB pqi SD, 4GB ChoiceOnly SD, 2GB SanDisk SD USB Plus, 1GB SanDisk USB Plus, 1GB Transcend SD, 2GB SanDisk MicroSD with SD adaptor, Piel Frama Leather Case, GoldX 5-in-1 USB cable, USB hub, USB mouse, USB keyboard, USB ethernet, USB HDD, many other USB accessories...
(Zaurus SL-C3000 owner since March 14. 2005, Zaurus SL-C3100 owner since September 21. 2005)
http://members.iinet.net.au/~wyso/myZaurus - zBook3K

Meanie

  • Hero Member
  • *****
  • Posts: 2803
    • View Profile
    • http://www.users.on.net/~hluc/myZaurus/
Pdaxrom For C3000 (based On Beta1/beta3)
« Reply #96 on: December 05, 2006, 08:33:52 am »
Quote
Hi Meanie!

The next pdaxii13 sounds as if its going to be great! Your list of new stuff and fixes seems like it should solve most of the problems I've had with the current version but you made no mention of an upgraded gnumeric (has it been upgraded to using 1.6.3 from the b3 feed instead of the buggy 1.6.0 version?) and, most importantly, the problem with the X keyboard map - 1 and CAPS LOCK don't work.

OK, so maybe I could live without CAPS LOCK but not being able to type 1 under X is a showstopper for me seeing as this Z gets mainly used for spreadsheets and unless I get this sorted shortly I'm going to have to return it to beepin' Cacko and thats something I'm really not looking forward to and don't want to do. I had a look at the Xmodmap file and as far as I could see it was correct- these keys also work fine under the non-X console so its not the kernel map file so I'm guessing this is something to do with initrd?

Nobody else has mentioned this keymap problem- can someone confirm its not just my install? As I said previously, 1 actually works under aterm I've found but not under gnumeric, leafpad etc.
[div align=\"right\"][a href=\"index.php?act=findpost&pid=148064\"][{POST_SNAPBACK}][/a][/div]

gnumeric has been fixed and upgraded as well as some other apps like xournal, gftp and gthumb
keys been fixed also (you can enable caps lock by modifying spitz.xmodmap and uncommenting the line which has ! add Lock = Caps_Lock)
SL-C3000 - pdaXii13 build5.4.9 (based on pdaXrom beta3) / SL-C3100 - Sharp ROM 1.02 JP (heavily customised)
Netgear MA701 CF, SanDisk ConnectPlus CF, Socket Bluetooth CF, 4GB Kingston CF,  4GB pqi SD, 4GB ChoiceOnly SD, 2GB SanDisk SD USB Plus, 1GB SanDisk USB Plus, 1GB Transcend SD, 2GB SanDisk MicroSD with SD adaptor, Piel Frama Leather Case, GoldX 5-in-1 USB cable, USB hub, USB mouse, USB keyboard, USB ethernet, USB HDD, many other USB accessories...
(Zaurus SL-C3000 owner since March 14. 2005, Zaurus SL-C3100 owner since September 21. 2005)
http://members.iinet.net.au/~wyso/myZaurus - zBook3K

jpmatrix

  • Hero Member
  • *****
  • Posts: 1014
    • View Profile
    • http://matrixmen.free.fr
Pdaxrom For C3000 (based On Beta1/beta3)
« Reply #97 on: December 05, 2006, 10:30:02 am »
great meanie!
we're waiting for your uploads
could you add a version number or a date on your pdaxii13 web page ?

another question : do you still suggest to use the b2 kernel . why don't you put it straight in your install files ?

a great addon would be java too , with plugins to firefox or else
**Fujitsu U1010 !!!  
**ex-Zaurus SL-C3000 owner with Debian kernel 2.6.24-yonggun

danboid

  • Hero Member
  • *****
  • Posts: 881
    • View Profile
    • http://
Pdaxrom For C3000 (based On Beta1/beta3)
« Reply #98 on: December 05, 2006, 01:52:37 pm »
That's it!

Thanks to Ian and of course my main man Meanie I have got a working keyboard map now! The great c3000 OS conversion is upon us!   I just had to use mcedit to comment out the line starting 'keycode 49' and un-comment the add lock = caps lock line in /etc/X11/kb/spitz.xmodmap- woo!

The only thing I have to do now to complete my conversion process is install gpe-calendar and its several missing dependencies then fingers crossed I'll get the alarm working too!

It looks very much to me like this 3rd release of pdaXii13 will be THE release c3000 (and maybe c3100/3200 owners too) have been waiting so long for!

Thanks for the early xmas present Meanie!
« Last Edit: December 05, 2006, 01:58:03 pm by danboid »
Zaurus SL-C3000 w/ MD swapped for a Kingston 32GB Ultimate 266X CF running ALARM
Banana Pi running ALARM on a WD Scorpio SATA II HD
System76 Gazelle Pro i7 laptop w/ SAMSUNG 840 EVO SSD running Arch x64

How to install Arch on your C3x00 Zaurus https://github.com/danboid/ZALARM-install

kkazakov13

  • Sr. Member
  • ****
  • Posts: 408
    • View Profile
Pdaxrom For C3000 (based On Beta1/beta3)
« Reply #99 on: December 05, 2006, 02:29:18 pm »
Meanie, I just downloaded all the files again, and restarted the process from the beginning.

I was able to boot successfully pdaxii13, however, a lot of error and warning messages, but finally it started in X.

Is it possible to use kernel from beta3 with it? My wireless doesn't want to start even with firmware files in /etc/pcmcia/firmware/ ( Planex GW-CF11X ).

It was ok in b3.
SL-C3200 ** FOR SALE :( **
https://www.oesf.org/forum/index.php?showtopic=25969

Canon K30225 CF wireless card
Taxan iTax-LAN10 wired card
My packages for customized pdaXrom beta 3

patmc

  • Newbie
  • *
  • Posts: 4
    • View Profile
Pdaxrom For C3000 (based On Beta1/beta3)
« Reply #100 on: December 05, 2006, 02:49:02 pm »
This is my first post here.
Meanie- amazing job. I got a SL-C3000 three weeks after it was launched and it has never been more than a toy until now. I've tried every distro except OpenBSD. Now it's a proper lil linux laptop!!! Terrific.

Keyboard. I'm a Dvorak touch typist (I'm OLD- built my first micro-computer (Altair) in 1976). Have a small usb keyboard, A Jetion I got in Singapore.
How do I remap the external keyboard to Dvorak? You mention that it'll remap when the USB is plugged in. What file will it go looking for?

Thanks a million
patmc

Meanie

  • Hero Member
  • *****
  • Posts: 2803
    • View Profile
    • http://www.users.on.net/~hluc/myZaurus/
Pdaxrom For C3000 (based On Beta1/beta3)
« Reply #101 on: December 05, 2006, 03:54:43 pm »
Quote
Meanie, I just downloaded all the files again, and restarted the process from the beginning.

I was able to boot successfully pdaxii13, however, a lot of error and warning messages, but finally it started in X.

Is it possible to use kernel from beta3 with it? My wireless doesn't want to start even with firmware files in /etc/pcmcia/firmware/ ( Planex GW-CF11X ).

It was ok in b3.
[div align=\"right\"][{POST_SNAPBACK}][/a][/div]

if possible, could you paste the output of dmesg right after it starts up? it sounds like the pivot boot process worked for you which is good progress. did you have to do any tweaking to the init file or just used the latest installer files?
it may help if you installed the latest beta3 kernel module package.
[a href=\"http://zaurus.spy.org/feeds/cacko/pdaXrom/1.1.0/beta3/feed/kernel-modules_2.4.20_armv5tel.ipk]http://zaurus.spy.org/feeds/cacko/pdaXrom/...20_armv5tel.ipk[/url]
and do a depmod -v
also, can you check whether /home is mounted on the microdrive or flash? the output of mount and df would be great if you could paste it here.
i did update all the files last night except the hdimages which i am still working on but i am very close to completion and releasing new hdimages tarballs.
« Last Edit: December 05, 2006, 04:15:15 pm by Meanie »
SL-C3000 - pdaXii13 build5.4.9 (based on pdaXrom beta3) / SL-C3100 - Sharp ROM 1.02 JP (heavily customised)
Netgear MA701 CF, SanDisk ConnectPlus CF, Socket Bluetooth CF, 4GB Kingston CF,  4GB pqi SD, 4GB ChoiceOnly SD, 2GB SanDisk SD USB Plus, 1GB SanDisk USB Plus, 1GB Transcend SD, 2GB SanDisk MicroSD with SD adaptor, Piel Frama Leather Case, GoldX 5-in-1 USB cable, USB hub, USB mouse, USB keyboard, USB ethernet, USB HDD, many other USB accessories...
(Zaurus SL-C3000 owner since March 14. 2005, Zaurus SL-C3100 owner since September 21. 2005)
http://members.iinet.net.au/~wyso/myZaurus - zBook3K

Meanie

  • Hero Member
  • *****
  • Posts: 2803
    • View Profile
    • http://www.users.on.net/~hluc/myZaurus/
Pdaxrom For C3000 (based On Beta1/beta3)
« Reply #102 on: December 05, 2006, 04:09:34 pm »
Quote
This is my first post here.
Meanie- amazing job. I got a SL-C3000 three weeks after it was launched and it has never been more than a toy until now. I've tried every distro except OpenBSD. Now it's a proper lil linux laptop!!! Terrific.

Keyboard. I'm a Dvorak touch typist (I'm OLD- built my first micro-computer (Altair) in 1976). Have a small usb keyboard, A Jetion I got in Singapore.
How do I remap the external keyboard to Dvorak? You mention that it'll remap when the USB is plugged in. What file will it go looking for?

Thanks a million
patmc
[div align=\"right\"][a href=\"index.php?act=findpost&pid=148160\"][{POST_SNAPBACK}][/a][/div]

the keyboard mapping i am still working on.
what should be happening once it is done, the correct usbkbd.o module is loaded when the keyboard is plugged in. currently my tiny usb keyboard refuses to work but my generic 104 key ps2 keyboard plugged in via a usb2ps2 adaptor seems to be working with only one dead key so far (i only mapped the main keyboard but not the keys on the right hand side where the keypad is and the home key, etc since my tiny usb keyboard does not have those keys anyway)
so the usbkbd.o module might change in the new upcoming hdimage.
also, the hotplug subsystem will execute the keybdev script which will turn the auto repeat off and remap the keys, ie in summary it will run the following two commands:
xset r off
xmodmap /etc/X11/kb/usb.xmodmap
the usb.xmodmap would be where the keys will be mappped. i am still working on a map for qwerty and might decide to give it a diffrent name such as usb-en-101.xmodmap
« Last Edit: December 05, 2006, 04:12:43 pm by Meanie »
SL-C3000 - pdaXii13 build5.4.9 (based on pdaXrom beta3) / SL-C3100 - Sharp ROM 1.02 JP (heavily customised)
Netgear MA701 CF, SanDisk ConnectPlus CF, Socket Bluetooth CF, 4GB Kingston CF,  4GB pqi SD, 4GB ChoiceOnly SD, 2GB SanDisk SD USB Plus, 1GB SanDisk USB Plus, 1GB Transcend SD, 2GB SanDisk MicroSD with SD adaptor, Piel Frama Leather Case, GoldX 5-in-1 USB cable, USB hub, USB mouse, USB keyboard, USB ethernet, USB HDD, many other USB accessories...
(Zaurus SL-C3000 owner since March 14. 2005, Zaurus SL-C3100 owner since September 21. 2005)
http://members.iinet.net.au/~wyso/myZaurus - zBook3K

kkazakov13

  • Sr. Member
  • ****
  • Posts: 408
    • View Profile
Pdaxrom For C3000 (based On Beta1/beta3)
« Reply #103 on: December 05, 2006, 04:26:34 pm »
Quote
if possible, could you paste the output of dmesg right after it starts up? it sounds like the pivot boot process worked for you which is good progress. did you have to do any tweaking to the init file or just used the latest installer files?
it may help if you installed the latest beta3 kernel module package.
http://zaurus.spy.org/feeds/cacko/pdaXrom/...20_armv5tel.ipk
and do a depmod -v
also, can you check whether /home is mounted on the microdrive or flash? the output of mount and df would be great if you could paste it here.
i did update all the files last night except the hdimages which i am still working on but close to completion.
[div align=\"right\"][{POST_SNAPBACK}][/a][/div]

I did not changed anything. just downloaded latest files off your location and used them.

Some images i took during the boot ... not best quality  but it reads
[a href=\"http://up.drun.net/files/pdaxii13_1.jpg]Shot 1[/url] Shot 2 Shot 3 Shot 4



I'm also attaching my dmesg, hope it helps.
Attached messages file, with the wlan errors inside.

I noticed that Fn+key does not work under X/mrxvt/aterm. I cannot type symbols that depend on it, like * , : , ; , etc.
« Last Edit: December 05, 2006, 04:34:13 pm by kkazakov13 »
SL-C3200 ** FOR SALE :( **
https://www.oesf.org/forum/index.php?showtopic=25969

Canon K30225 CF wireless card
Taxan iTax-LAN10 wired card
My packages for customized pdaXrom beta 3

patmc

  • Newbie
  • *
  • Posts: 4
    • View Profile
Pdaxrom For C3000 (based On Beta1/beta3)
« Reply #104 on: December 05, 2006, 04:46:50 pm »
pls bear with me
testing post

patmc