OESF Portables Forum

Model Specific Forums => Sharp Zaurus => Zaurus - pdaXrom => Topic started by: Stubear on April 02, 2004, 11:58:39 pm

Title: Dual Booting pdaX from SD
Post by: Stubear on April 02, 2004, 11:58:39 pm
Using the scripts provided by derekp in this thread  (https://www.oesf.org/forums/index.php?showtopic=1510&start=0&postdays=0&postorder=asc&highlight=) I\'ve been working on dual booting pdaX from a SD card on the C760.

I\'ve gotten pdax to boot and I can run ts_calibrate, but it and X runs in portrait mode rather than landscape mode. tc_calibrate is fine, but the display for X is munlged and unusable.

I\'m sure I\'ve missed something simple but as yet I\'ve been unable to get X working.

Ideas, suggestions greatfully accepted

Stu
Title: Dual Booting pdaX from SD
Post by: Bebe on April 03, 2004, 12:31:25 am
I\'m also having problems with the mangled display but under different circumstances.  I attempted to use the kernel that came with the latest Cacko Qt rom (for faster SD writes) under pdaXrom.  The display would automatically become mangled after running startx. However, if I put the zaurus in suspend mode and turn it back on, it would dipslay the desktop perfectly in portrait mode for about a second or two, then the display would become garbled.   Any suggestions would be appreciated.

Bebe
Title: Dual Booting pdaX from SD
Post by: jerrybme on April 03, 2004, 01:05:18 am
Quote
Using the scripts provided by derekp in this thread  (https://www.oesf.org/forums/index.php?showtopic=1510&start=0&postdays=0&postorder=asc&highlight=) I\'ve been working on dual booting pdaX from a SD card on the C760.

I\'ve gotten pdax to boot and I can run ts_calibrate, but it and X runs in portrait mode rather than landscape mode. tc_calibrate is fine, but the display for X is munlged and unusable. 

Great work Stu!  

Can you share how you got as far as you did? That might help others trouble shoot why the display is rotated. I know maslovky was interested in working on the dual boot method.

I tried the renaming of telinit method you posted in the OZ thread, but it didn\'t kick off the card.init.

Thanks & good luck,
Jerry
Title: Dual Booting pdaX from SD
Post by: Stubear on April 03, 2004, 07:09:47 am
Quote
Great work Stu! 

Can you share how you got as far as you did? That might help others trouble shoot why the display is rotated. I know maslovky was interested in working on the dual boot method.

I tried the renaming of telinit method you posted in the OZ thread, but it didn\'t kick off the card.init.

Thanks & good luck,
Jerry

Just got home from work, so I can now copy the scripts off the Z and zip them up. I\'ll post them over on the main dual boot thread for continuity sake.

Stu
Title: Dual Booting pdaX from SD
Post by: Stubear on April 03, 2004, 07:32:52 am
Quote
I\'m also having problems with the mangled display but under different circumstances.  I attempted to use the kernel that came with the latest Cacko Qt rom (for faster SD writes) under pdaXrom.  The display would automatically become mangled after running startx. However, if I put the zaurus in suspend mode and turn it back on, it would dipslay the desktop perfectly in portrait mode for about a second or two, then the display would become garbled.   Any suggestions would be appreciated.

Bebe

Hmm, Maybe the pdaXrom needs the jernel that comes with it - possibly they tweaked something in the kernel, but my guess is a mixed up config file somewhere.

I tried starting X manually by itself but still got mangled display, will try to capture the error messages X puts out to file if I can to help debug.

Stu
Title: Dual Booting pdaX from SD
Post by: jerrybme on April 03, 2004, 08:51:07 am
Quote
Quote
I\'m also having problems with the mangled display but under different circumstances.  I attempted to use the kernel that came with the latest Cacko Qt rom (for faster SD writes) under pdaXrom.  The display would automatically become mangled after running startx. However, if I put the zaurus in suspend mode and turn it back on, it would dipslay the desktop perfectly in portrait mode for about a second or two, then the display would become garbled.   Any suggestions would be appreciated.

Bebe

Hmm, Maybe the pdaXrom needs the jernel that comes with it - possibly they tweaked something in the kernel, but my guess is a mixed up config file somewhere.

I tried starting X manually by itself but still got mangled display, will try to capture the error messages X puts out to file if I can to help debug.

Stu
A while back I asked sashz if the Cacko kernel would work with pdaXrom and said it would, but it does sound like it\'s the X server that\'s not working right, makes wonder if it is indeed something in the kernel. If I can get this to work, I may try using the pdaXrom kernel to see if that fixes the problem.
Title: Dual Booting pdaX from SD
Post by: jerrybme on April 03, 2004, 01:55:27 pm
Stu:
I\'m posting this back here because it seems to belong in this area as it has nothing to do with OZ.
I tried your scripts but couldn\'t see what was happening during boot due to the damn Sharp banner, but it failed and booted back into Qtopia.
Next I flashed the pdaXrom kernel into my Z figuring at least I could see the errors. Although the pdaXrom kernel is not in verbose mode it does echo some messages
Code: [Select]
tar: Error opening \'/root/.dev_default.tar\':no such file

mount: mounting /dev/mmcda1 on /usr/mnt.rom/card failed: no such file or directory



Chainloading rom init

In reading through your script, it looks like it was successful in launching the init.card but not sure where it goes bad after that. The .dev_default.tar is there in the /root/ directory on the card. Perhaps I too had errors from extracting the fs from a mounted ROM. I\'m going to try extracting it directly from a flashed ROM to see it that makes a difference.

Also, it is looking more like there is something different in the pdaXrom kernel. Once it loaded Qtopia, the calibration was all screwed up, touching the upper left hand corner opened the app launch menu. Tried to recalibrate but it wouldn\'t take it. The x just traveled to all five points then started over, had to cancel out of the app. The pdaXrom kernel doesn\'t appear to support the Cacko Qt ROM.

We may need help from maslovsky & sashz if the kernel is doing something different to the digitizer. Hopefully it won\'t require a custom kernel.

Jerry

maslovsky & sashz: care to weigh in?
Title: Dual Booting pdaX from SD
Post by: Bebe on April 03, 2004, 02:16:58 pm
Quote
Quote
I\'m also having problems with the mangled display but under different circumstances.  I attempted to use the kernel that came with the latest Cacko Qt rom (for faster SD writes) under pdaXrom.  The display would automatically become mangled after running startx. However, if I put the zaurus in suspend mode and turn it back on, it would dipslay the desktop perfectly in portrait mode for about a second or two, then the display would become garbled.   Any suggestions would be appreciated.

Bebe

Hmm, Maybe the pdaXrom needs the jernel that comes with it - possibly they tweaked something in the kernel, but my guess is a mixed up config file somewhere.

I tried starting X manually by itself but still got mangled display, will try to capture the error messages X puts out to file if I can to help debug.

Stu

Capturing the error messages from X would help greatly.  I was hoping that the pdaXrom kernel was not too different from the cacko QT kernel.   I tried recompiling the original Sharp kernel with CONFIG_FS_SYNC turned off, but that didn\'t work either.
Title: Dual Booting pdaX from SD
Post by: maslovsky on April 05, 2004, 04:25:27 am
Kernes for the Qtopia and X ROM are different. You can\'t substitute one with another. That\'s the main problems preventing sual boot setup now. I hope to get it resolved, but we can\'t promise anything now...
Title: Dual Booting pdaX from SD
Post by: jerrybme on April 05, 2004, 07:26:35 am
Quote
Kernes for the Qtopia and X ROM are different. You can\'t substitute one with another. That\'s the main problems preventing sual boot setup now. I hope to get it resolved, but we can\'t promise anything now...
Thanks for responding, hope you\'re able to standardize the kernel across pdaXrom & Cacko.

Can you tell us what the differences are or post the diff. I might try rolling my own.

Thanks again,
Jerry
Title: Dual Booting pdaX from SD
Post by: derekp on April 05, 2004, 05:06:25 pm
Jerrybme,
Try the following on each kernel:
cat /proc/ksyms |awk \'{print $2}\' |sort ]somefile.kernelname

Then diff the two output files.  This should help track down what one kernel has that the other one lacks.
Title: Dual Booting pdaX from SD
Post by: Stubear on April 05, 2004, 08:19:14 pm
derekp,
thanks for the tip, when I get the chance I\'ll reflash pdaX and get the ksyms.

On another note I\'ve gotten X to run correctly - I pulled the Xfbdev out of x11zaurus and replaced the one on pdaX, viola X runs correctly (although calibration is slightly off on the right side of the screen)

Apps start time is lsow, but that is due to the old, slow SD card I\'ve been using to test dual booting. If anyone wants it I can create a tar ball of my pdaX SD card for testing.
Title: Dual Booting pdaX from SD
Post by: Stubear on April 05, 2004, 08:26:56 pm
Jerrybeme,

For verbose messages during kernel boot I recommend tetsu special kernel 14.a (it\'s available for all models of Cxx0 series) and allows you to over/underclock cpu and video if you want too, as well as a bunch of other tweaks. You can get it here (http://tetsu.homelinux.org/zaurus/kernel/) WARNING site in Japanese

With regards to the init script not finding /root.dev_default.tar - check that /root contains .dev_default.tar and not .dev_default.tar.gz or .dev-default.tar, I\'m pretty sure that one of the roms I have flashed used a tar.gz instead of tar for storing the .dev, .home, and .var files in root

Stu
Title: Dual Booting pdaX from SD
Post by: CoreyC on April 05, 2004, 08:54:30 pm
Quote
derekp,
thanks for the tip, when I get the chance I\'ll reflash pdaX and get the ksyms.

On another note I\'ve gotten X to run correctly - I pulled the Xfbdev out of x11zaurus and replaced the one on pdaX, viola X runs correctly (although calibration is slightly off on the right side of the screen)

Apps start time is lsow, but that is due to the old, slow SD card I\'ve been using to test dual booting. If anyone wants it I can create a tar ball of my pdaX SD card for testing.

Stu,

I\'ll test.  Just let me know what you want me to flash to my main rom first.  I currently have pdaxrom installed, which obviously will not be suitable for full testing of your project.

Corey
Title: Dual Booting pdaX from SD
Post by: Stubear on April 05, 2004, 11:15:42 pm
Quote
Stu,

I\'ll test.  Just let me know what you want me to flash to my main rom first.  I currently have pdaxrom installed, which obviously will not be suitable for full testing of your project.

Corey

Corey,

I\'m assuming that any Qtopia based rom will work but I\'m using the standard Sharp rom.

I\'ll create the tarball when I get home from work and I\'ll find somewhere to post it.

Note this has only been tested on my C760 so far and currently doesn\'t work for Qtopia based roms on the SD - they keep seg faulting.

Stu
Title: Dual Booting pdaX from SD
Post by: jerrybme on April 05, 2004, 11:36:25 pm
Quote
Jerrybeme,

For verbose messages during kernel boot I recommend tetsu special kernel 14.a (it\'s available for all models of Cxx0 series) and allows you to over/underclock cpu and video if you want too, as well as a bunch of other tweaks. You can get it here (http://tetsu.homelinux.org/zaurus/kernel/) WARNING site in Japanese

With regards to the init script not finding /root.dev_default.tar - check that /root contains .dev_default.tar and not .dev_default.tar.gz or .dev-default.tar, I\'m pretty sure that one of the roms I have flashed used a tar.gz instead of tar for storing the .dev, .home, and .var files in root

Stu
Thanks for the tips, indeed the Cacko 1.20 ROM uses .tar.gz, but in reading the error, I thought it was refering to the files on the SD card which are .tar files. If I remember correctly the 1.18 version uses dev_default.tar. So maybe that\'ll work.

Any chance you could post the Xfbdev file you extracted from x11zaurus by attaching it to a posting in this thread?

Thanks for your help.

Jerry
Title: Dual Booting pdaX from SD
Post by: Stubear on April 06, 2004, 03:41:16 am
Quote
Thanks for the tips, indeed the Cacko 1.20 ROM uses .tar.gz, but in reading the error, I thought it was refering to the files on the SD card which are .tar files. If I remember correctly the 1.18 version uses dev_default.tar. So maybe that\'ll work.

Any chance you could post the Xfbdev file you extracted from x11zaurus by attaching it to a posting in this thread?  

Thanks for your help.

Jerry

I\'ll attach Xfbdev as soon as i get home (at work I\'m don\'t have access to a machine with USB support - damm cheap company running NT still).

If you want to keep using Cacko 1.20 then change the tar line in the init script (but not the init.card script unless you are trying to boot cacko 1.20 from SD) to

gzip -cd  /root/.dev_default.tar.gz | tar xf -

this will pipe the gunzipped file to tar (without actually changing the file)

later

Stu
Title: Dual Booting pdaX from SD
Post by: Stubear on April 06, 2004, 06:53:54 am
Jerry,

Here is the Xfbdev that I\'m currently using on pdx rom on SD.

CoreyC,

I\'ve made a tarball of the pdaX on SD, just looking for somewher to host it, I\'ll let you know when I find somewhere (hopefully within a few hours)

Stu
Title: Dual Booting pdaX from SD
Post by: Stubear on April 06, 2004, 08:28:04 am
CoreyC,

I\'ve got a 17Mb tarball of the pdaXrom setup on my SD card, but unfortunately no where to store it online.
I can email you the tarball or drop it anywhere you want.

Maybe someone knows where I can get free online storage, all the palces I knew are now closed.

Stu
Title: Dual Booting pdaX from SD
Post by: jerrybme on April 06, 2004, 11:41:34 am
Quote
Jerrybme,
Try the following on each kernel:
cat /proc/ksyms |awk \'{print $2}\' |sort ]somefile.kernelname

Then diff the two output files.  This should help track down what one kernel has that the other one lacks.
derekp: thanks for the tip;  the ksyms output worked slick. Now on to try flashing the different kernels.

Jerry
Title: Dual Booting pdaX from SD
Post by: Stubear on April 07, 2004, 12:44:37 pm
With huge thanks to CoreyC, I now have a place to hold the tarball of my pdaX on SD setup.

It can be downloaded from http://zaurus.hostnic.us/ (http://zaurus.hostnic.us/) along with the scripts used for dual booting on the C760

Brief Instructions

1. remount / writeable (mount -o rw,remount /)
2. mkdir /sbin/sys
3. cp /sbin/telinit /sbin/sys/init - this was the crucial step for me, telinit didn\'t like being linked from /sbin/sys/init and gave spawning errors
4. cp init scrip to /sbin
5. chmod +x /sbin/init
6. untar pdaX-SD.tar.gz to ext2 formatted SD card
7. reboot and cross fingers

The tarball already contains the init.card and Xfbdev needed for booting from Qtopia based kernel.

Let me know if this works or not for anyone testing this, also I\'d love to hear from anyone who has dual booted a Qtopia based rom on the C760 as I\'m getting segmentation fault errors when I try.

Stu
Title: Dual Booting pdaX from SD
Post by: derekp on April 07, 2004, 01:53:55 pm
I\'ve been polishing up my original 5500 dualboot scripts, and have a couple things that might help.
First, I\'m setting it up to properly handle if /sbin/init is a program or a symlink to telinit.  Also, instead of using the mtdram test driver  to read a jffs2 initrd.bin image, I\'m switching to blkmtd, which is a test mtd driver you can point to a block devices (such as a loopback device pointing to the initrd.bin file).  This should help in being able to convert a larger image file (i.e., no more out of memory errors).
Finally, I\'m going to try and do a pdax2sd for the sl5500.  The main differences between this and the standard oz2sd is that oz uses a single file system, which is read-write.  The standard roms for other sharp models (5600 & above) have the flash divided into multiple partitions, with root being read-only and the user area (/home) read-write.  I\'m not sure what the pdaxrom uses, as I haven\'t looked at it that close yet, but if it\'s the same structure then there will be startup scripts along those lines to be modified accordingly.
My new 5500 dualboot stuff will be posted shortly, and I\'ll try my hand at working with the c-series rom images to see what I can do (of course, won\'t be able to test myself as I don\'t yet have one of those models).
I\'ll keep you posted on the progress.
Title: Dual Booting pdaX from SD
Post by: jerrybme on April 07, 2004, 03:18:55 pm
Stubear: Thanks for posting your tar ball, I was getting all kinds of errors when the card.init was trying to load up the file system I had extracted from the pdaXrom. Being able to test your extraction will allow me to see if it is some error in my extraction. The other possibility is the home, dev & var files being gzipped instead of tar. Need to try this on earlier Cacko ROM. I hesitate to use tKc ROM as it doesn\'t support backup-restore so it is PITA to reflash and re-install. BTW, are you going to try the latest pdaXrom? Please post your extraction if you do!

derekp: I\'ll be happy to test your scripts.

I haven\'t had a chance to reflash with the pdaXrom yet to do the ksysm diff yet but should be able to get to it soon. Damn work keeps getting in the way of playing with my toys  

Thanks to both of you for your help.
Title: Dual Booting pdaX from SD
Post by: CoreyC on April 08, 2004, 12:49:41 am
Stu,

I\'ve tried it a couple times with tkc rom with no sucess.

My error come after it attempts to sxecute init on my SD card...

It checks if the card is mounted, mounts the card and then does this:

+ cd /usr/mnt.rom.card
+ [ ! -d oldroot ]
+ pivot_root . old root
pivot_root: not found
+ sleep 5
+ exec sbin/init
/dev/init.card: cannot open dev/console: no such file
Kernel panic: Attempted to kill init!
Title: Dual Booting pdaX from SD
Post by: Stubear on April 08, 2004, 03:51:34 am
Corey,

The problem is pivot_root. You need to get the pivot_root file from Derekp\'s dual boot script and copy it to /sbin on your zaurus -  you will need to remount the / partition writable with mount - o rw.remount /

Make sure you put it back to roead-only with mount -o ro,remount / after you\'re done

A link to derekp\'s boot script is here (http://www.zaurususergroup.com/index.php?name=PNphpBB2&file=download&id=34)
You only need the pivot_root binary from it.

Stu
Title: Dual Booting pdaX from SD
Post by: CoreyC on April 08, 2004, 11:56:38 am
Stu,

Still no luck...

right now it seems like dev/console is a link to tty1 which for some reason is not getting extracted from the tarball.  I\'ve tried extractig the tarball serveral different ways with the same result.  (got the same error as above, \"cannot open dev/console\")

I tried manually placing the files in the tarball dev into /mnt/card/dev and I got farther in the boot process but it froze without any errors.  I forgot what the last line was when it froze, something about the monitor...
Title: Dual Booting pdaX from SD
Post by: jerrybme on April 08, 2004, 01:03:19 pm
Well, it looks like the earlier Cacko ROM -ver 1.18 might work with dual booting. I\'ve gotten farther with this ROM than previous one. I\'m running into this error now:
Code: [Select]
+ cd /usr/mnt.rom.card

+ [ ! -d oldroot ]

+ pivot_root . old root

modprobe: modprobe: Can\'t open dependencies files /lib/modules/2.4.18-rmk-pxa3-embedix/modules.dep (no such file or directory)

modprobe: modprobe: Can\'t open dependencies files /lib/modules/2.4.18-rmk-pxa3-embedix/modules.dep (no such file or directory)

Out of memory:Killed process 27 (init.card)

Terminated

+ sleep 5

+ exec sbin/sys/init

Kernel panic: attemped to kill init!

I\'m making progress. At least I know know the current scripts won\'t work with the gzipped files in /root

The file /lib/modules/2.4.18-rmk-pxa3-embedix/modules.dep does exist on both the Qt ROM and the SD card. Not sure why I\'m getting this error.

I\'ll need help from someone a lot smarter than I on how to deal with the gzipped .dev_default, .home_default and .var_default in the current Cacko ROM. Which is my goal as I want to take advantage of the updates to the ROM.

Cheers,
Jerry
Title: Dual Booting pdaX from SD
Post by: Stubear on April 09, 2004, 11:44:20 am
Quote
Stu,

Still no luck...

right now it seems like dev/console is a link to tty1 which for some reason is not getting extracted from the tarball.  I\'ve tried extractig the tarball serveral different ways with the same result.  (got the same error as above, \"cannot open dev/console\")

I tried manually placing the files in the tarball dev into /mnt/card/dev and I got farther in the boot process but it froze without any errors.  I forgot what the last line was when it froze, something about the monitor...

Corey,

Are you still getting the error about pivot_root not found?

If so then try moving pivot root to /bin
If not then cd /mnt/card and run
tar xf /root/.dev_default.tar

This will unpack all the dev files again onto /mnt/card/dev
Where did you unpack the tarball, on the Z or from pc? If you did it from the Z then you might need to get gtar, install it and try unpacking the tarball using gtar xzpf pdaX-SD.tar.gz - the p preserves the permissions instead of creating new ones.

Hope this helps

Stu
Title: Dual Booting pdaX from SD
Post by: Stubear on April 09, 2004, 11:45:55 am
Jerry,

I\'m currently tweaking my script to work on the new cacko rom 1.21, I\'ll post it as soon as I get it working

Stu
Title: Dual Booting pdaX from SD
Post by: jerrybme on April 09, 2004, 02:10:37 pm
Quote
Jerry,

I\'m currently tweaking my script to work on the new cacko rom 1.21, I\'ll post it as soon as I get it working

Stu
Thanks Stu, I really appreciate your help.
Cheers,
Jerry
Title: Dual Booting pdaX from SD
Post by: CoreyC on April 09, 2004, 03:20:39 pm
Stu,

I\'m not getting the pivot_root error.  I copied the tarball from my CF card to my ext2 formatted SD card and then extracted it.

I will try using gtar and post my results
Title: Dual Booting pdaX from SD
Post by: Stubear on April 11, 2004, 07:58:15 am
Sorry for the delay, took more testing than I anticipated. Cacko roms also have a usr.bin in /boot which is a cramfs of the normal /usr dir. Took me a whole day wondering why I kept getting errors on \"mount /dev/mmcda1 /usr/mnt.rom/card\" till I found this out.

This init script works form me on Sharp Qtopia, Cacko 1.21 roms, haven\'t had time to test on anything else yet.

Still can\'t dual boot into a Qtopia rom - the normal /sbin/init and all other apps give sig faults - any ideas anyone??

Here is the improved init script for C760 dual booting
Code: [Select]
#!/bin/sh

if [ "$1" != "" ]

then

    exec /sbin/sys/init $@

fi

mount none /proc -t proc

mount none /dev -t tmpfs

if [ -f /root/.dev_default.tar.gz ]

then

    echo "Cacko style"

    gzip -dc /root/.dev_default.tar.gz | tar xf -

    mount -n -r -t cramfs /boot/usr.bin /usr -o loop

else

    echo "Sharp style"

    tar xf /root/.dev_default.tar

fi

insmod /lib/modules.rom/2.4.18-rmk7-pxa3-embedix/kernel/drivers/block/sharp_mmcsd_m.o

mount -oasync,noatime /dev/mmcda1 /usr/mnt.rom/card



if [ -f /usr/mnt.rom/card/init.card ]

then

    echo ""

    echo "Executing init on SD card"

    cp /usr/mnt.rom/card/init.card /dev/.

    exec /dev/init.card

else

    echo ""

    echo "Chainloading rom init"

    umount /usr/mnt.rom/card >/dev/null 2>&1

    umount /dev >/dev/null 2>&1

    umount /proc >/dev/null 2>&1

    rmmod sharp_mmcsd_m.o >/dev/null 2>&1

    exec /sbin/sys/init

fi


hope this helps

Stu
Title: Dual Booting pdaX from SD
Post by: jerrybme on April 21, 2004, 02:44:32 pm
Has anyone been able to get Stu\'s script above to work?

I keep getting errors after it echos \"Cacko style\" . The first error is when it tries to insmod the SD driver and throws \"no such file or directory\"; then it throws about 6 modprobe errors complaining about not finding /lib/modules/2.4.18-rmk7-pxa-embedix/modules.dep.
This is occurring with the Cacko 1.21 ROM and pdaXrom on the SD. (I\'m using Stu\'s extraction of the pdaXrom which includes the init.card & fb fix) I can\'t believe it\'s a difference between the 760 & my 750.

Any ideas would be welcomed.
Thanks
Title: Dual Booting pdaX from SD
Post by: jerrybme on April 21, 2004, 04:34:51 pm
Quote
Has anyone been able to get Stu\'s script above to work?  
OK, I found updated instructions on the OZ dual boot thread and installed the gtar ipk. Evidently, the -p switch was not working, so now I\'ve gotten further  but have hit a different error.  :cry:

the init.card runs but when it tries to exec the sbin/init, I get
Code: [Select]
/dev/init.card: cannot open dev/console: no such file

Kernel panic: Attempted to kill init!


Stu, what\'s your secret that makes this work for you?
Thanks,
Jerry
Title: Dual Booting pdaX from SD
Post by: Stubear on April 21, 2004, 08:49:27 pm
Jerry,

From a terminal on the Z,

cd /mnt/card
tar xf root/.dec_defaul.tar

This will untar all the dev files again to /mnt/card/dev

cd /mnt/card/dev  and check that /mnt/card/dev/console is there. Looks like the /dev/ file perms or something didn\'t get packaged properly - sorry.

Will post a tarball of cacko-1.21 on SD later for people to try if they like. Just getting a few bug out.

Stu
Title: Dual Booting pdaX from SD
Post by: jerrybme on April 21, 2004, 09:58:11 pm
YES! Thanks Stu, now I\'ve made it to the pdaXrom login.  The X server seems to be a bit twitchy as after login I ran startx and the screnn went blank, backlight still on but no calibration screen. At lesast I\'ve got the text version working.
Thanks again Stu,
Jerry
Title: Dual Booting pdaX from SD
Post by: Stubear on April 22, 2004, 03:12:16 am
It takes a while (30 secs+) from typing startx and getting the matchbox desktop. My SD card is old and slow though.

Cacko 1.21 on SD takes even longer - about 4 minutes to boot

Stu
Title: Dual Booting pdaX from SD
Post by: maslovsky on April 22, 2004, 03:31:08 am
sash is working on creating an IPK from Sharp Qtopia, so that it can be installed on top of pdaxrom. If everything works, you should be able to start Qtopia without rebooting and maybe even without exiting X.
Title: Dual Booting pdaX from SD
Post by: ChrisEBoy on April 22, 2004, 04:19:25 am
god that would be excellent. IT would give full sync with kopi as well, this is one execellent tool and and even better community :-)
Title: Dual Booting pdaX from SD
Post by: jerrybme on April 22, 2004, 10:16:41 am
Quote
It takes a while (30 secs+) from typing startx and getting the matchbox desktop. My SD card is old and slow though.  

Cacko 1.21 on SD takes even longer - about 4 minutes to boot

Stu
Well, I gave it more than 15 mins no luck. Then I switched back to the original Xfbdev and it loaded the matchbox desktop but of course it was all garbled. So I\'m guessing it has something to do with the Xfbdev. I noticed that it belonged to \"users\" and the original was root so I chown it to root but still no joy. Next I\'ll try and down the version from this thread to see if that helps.

maslovsky- great news about the potential of having Qtopia on top of the Xrom. I really need and want both, they each have their strengths & weaknesses. To have both will make the Z the ultimate \"Personal Mobile Tool\"
Title: Dual Booting pdaX from SD
Post by: Stubear on April 22, 2004, 12:16:00 pm
Jerry,

Can you run ts_calibrate (I think that\'s the name, I used on another page of this thread) from the console using the Xfbdev I posted?

If so then it might be something that needs to run before - the calibration should already have ben done when I made the tarball (Currently have cacko 1.21 on SD so can\'t check)

After I get Cacko working properly, I\'m going to try to get pdaX to run with Q/X11 so I don\'t have to reboot to run pdaX

Stu
Title: Dual Booting pdaX from SD
Post by: jerrybme on April 22, 2004, 01:23:11 pm
Quote
Jerry,  

Can you run ts_calibrate (I think that\'s the name, I used on another page of this thread) from the console using the Xfbdev I posted?
That did the trick!    Very cool to finally have pdaXrom without having to reflash the Cacko ROM.

I mounted the initrd.bin from the pdaXrom1.05 on my linux box and extracted a tar ball. My next step is to see if I can get this to work with the current release.
A million thanks to Stu for helping me get this to work.
Jerry
Title: Dual Booting pdaX from SD
Post by: jerrybme on April 23, 2004, 07:51:17 am
Stu:
The tar ball I extracted from the initrd.bin doesn\'t seem to work, it hangs after
Code: [Select]
exec init If I remember correctly you had similar problems with extracting from the image too. So I flashed the ROM and extracted the tar ball from the Z, I did it by excluding /mnt/cf. That tar ball worked but I get segmentation errors when I try and run startx. Any tips to extracting the file system from the Z?
Thanks,
Jerry
Title: Dual Booting pdaX from SD
Post by: Stubear on April 23, 2004, 10:53:58 am
Jerry,

From /mnt/card/ do
tar xf /mnt/card/root/.dev_default.tar
tar xf /mnt/card/root/.home_default.tar
cd /mnt/card/home/system/var
tar xf /mnt/card/root/.var_default.tar

then cd /mnt/card/root/etc and edit fstab to remove / and /mnt/card entries
cd /mnt/card/root/etc/rc.d and edit rc.rofilesys to only mount the tmp filesystem

Basically you need to make sure that the rom on the SD doesn\'t try to mount the zaurus filesystem or SD - have a look at the pdaX-SD tarball for examples - I may be missing something.

I have a 4 hour return shinkansen trip next week, I hope to write a SD card rom filesystem cleanup script then, but look at the scripts that Derek posted for the 5500 for ideas - they\'re not quite the same but you can get an idea what to change

Stu
Title: Dual Booting pdaX from SD
Post by: jerrybme on April 23, 2004, 02:34:10 pm
Thanks Stu:
For those trying this too, the other steps are
Code: [Select]
cd /mnt/card/etc/

mv sdcontrol _sdcontrol

cd /mnt/card/etc/rc.d/init.d

mv sd _sd


So now I\'ve got it working with one major problem & one minor:
init is throwing cardmgr error relating to hda1, so I can\'t access the CF,
and suspend doesn\'t work so you can\'t turn it off (PITA to have to use halt & reboot)
Jerry
Title: Dual Booting pdaX from SD
Post by: jerrybme on April 23, 2004, 04:54:51 pm
Update: the cardmgr error was occuring when I had an ext2 formatted Cf card in the slot during boot. Booting with vfat CF works fine & I have access to the card. Weird.
Jerry
Title: Dual Booting pdaX from SD
Post by: jerrybme on April 24, 2004, 12:46:26 am
Ok, a few observations now that I\'ve had a chance to play around with several configurations.

First, having pdaXrom on the SD is great, especially for a C750 owner, with a 256 SD card, I can install what ever I want without worrying about space.

Using the Cacko 1.21 kernel will work as long as you use the Xfbdev file from x11zaurus that Stu posted. While it works, it doesn\'t work well. The calibration is off (I think because x11zaurus was meant for the portrait orientation of the 5x00 (the calibration screen\'s text is in portrait). Also suspend, power buttons, on the fly rotation and wireless don\'t work.

I flashed the pdaXrom kernel (while still keeping Cacko 1.21 ROM in internal memory) and the original Xfbdev works fine, calibration is spot on, rotation works, wireless and power button all work. It is however, noticibly slower than with Cacko kernel. And of course with the pdaXrom kernel, Cacko Qt is wacked. It runs but the calibration is so off it is all but unusable.

Conclusion, for this to work well the kernels of Cacko & pdaXrom need to be more compatible. Next I\'m going to try derek\'s suggestion of comparing output of ksyms, but my shallow linux skills may not be enough to make much of them.

Jerry
Title: Dual Booting pdaX from SD
Post by: jerrybme on April 24, 2004, 01:55:52 am
Here\'s the result of the diff between the ksysm output of the pdaxrom v cacko kernels:
Code: [Select]
pdaXrom Kernel                                     Cacko Kernel



__insmod_net_fd_O/lib/modules/2.4.18-rmk7-pxa3-embedix/kernel | __insmod_kbdsim_O/home/root/usr/local/bin/kbdsim.o_M3F99D189_

                                                              > __insmod_kbdsim_S.bss_L4

                                                              > __insmod_kbdsim_S.data_L72

                                                              > __insmod_kbdsim_S.text_L300

                                                              > __insmod_net_fd_O/lib/modules.rom/2.4.18-rmk7-pxa3-embedix/ke

                                                              > __insmod_net_fd_S.bss_L120

__insmod_net_fd_S.text_L15496                                 | __insmod_net_fd_S.text_L15472

__insmod_pxa_bi_O/lib/modules/2.4.18-rmk7-pxa3-embedix/kernel | __insmod_pxa_bi_O/lib/modules.rom/2.4.18-rmk7-pxa3-embedix/ke

                                                              > __insmod_pxa_bi_S.bss_L116

__insmod_pxa_bi_S.text_L13668                                 | __insmod_pxa_bi_S.text_L13684

__insmod_usbdcore_O/lib/modules/2.4.18-rmk7-pxa3-embedix/kern | __insmod_usbdcore_O/lib/modules.rom/2.4.18-rmk7-pxa3-embedix/

                                                              > __insmod_usbdcore_S.bss_L48

__insmod_usbdcore_S.text_L22016                               | __insmod_usbdcore_S.text_L22064

__insmod_usbdmonitor_O/lib/modules/2.4.18-rmk7-pxa3-embedix/k | __insmod_usbdmonitor_O/lib/modules.rom/2.4.18-rmk7-pxa3-embed

                                                              > __insmod_usbdmonitor_S.bss_L72

baswap                                                        <

batostr                                                       <

bluez_accept_dequeue                                          <

bluez_accept_enqueue                                          <

bluez_dump                                                    <

bluez_sock_init                                               <

bluez_sock_link                                               <

bluez_sock_poll                                               <

bluez_sock_recvmsg                                            <

bluez_sock_register                                           <

bluez_sock_unlink                                             <

bluez_sock_unregister                                         <

bluez_sock_wait_state                                         <

bterr                                                         <

hci_conn_auth                                                 <

hci_conn_encrypt                                              <

hci_connect                                                   <

hci_dev_get                                                   <

hci_get_route                                                 <

hci_recv_frame                                                <

hci_register_dev                                              <

hci_register_proto                                            <

hci_resume_dev                                                <

hci_send_acl                                                  <

hci_send_cmd                                                  <

hci_send_sco                                                  <

hci_si_event                                                  <

hci_suspend_dev                                               <

hci_unregister_dev                                            <

hci_unregister_proto                                          <

                                                              > journal_enable_debug

                                                              > kbdsim_fops

                                                              > kbdsim_open

                                                              > kbdsim_release

                                                              > kbdsim_write

l2cap_load                                                    <

                                                              > nb_opens

                                                              > slc7x0_key_suspend

wireless_send_event                                           <


Is there anyway to compile a kernel that would work with both? maslovsky? A little help here
***edit***
The text is not wrapping correctly so I\'m attaching a txt file for those inquiring minds that want to see it clearer
Title: Dual Booting pdaX from SD
Post by: maslovsky on April 24, 2004, 03:27:02 pm
Making a kernel that would be compatibe for both ROMs is what I wanted to accimplish next after releasing Cacko ROMs 1.2x.
I hope we\'ll get to make it.
Title: Dual Booting pdaX from SD
Post by: jerrybme on April 24, 2004, 09:45:18 pm
Quote
Making a kernel that would be compatibe for both ROMs is what I wanted to accimplish next after releasing Cacko ROMs 1.2x.
I hope we\'ll get to make it.
 That\'s great!  
 While we wait can you enlighten me on what\'s different about the pdaXrom kernel that makes the digitizer act so differently than the Cacko kernel?
Thanks,
Jerry
Title: Dual Booting pdaX from SD
Post by: iyah on April 25, 2004, 08:36:38 pm
Just a note to let you dude(tte?)s know that following stu\'s instructions and caveats, then pdaXrom dual booted on an sl-6 with an sd card. X pops up with the xfbdev from x11zaurus, and looks clean. Problem is it doesn\'t recognize the pen input ... should I just be able to edit the xfree86 file and change input devices ? Any ideas on this appreciated ...
Title: Dual Booting pdaX from SD
Post by: Joshp on April 25, 2004, 08:51:14 pm
And I might add that I tryed this on my sl-5500 it WORKS!!! The only problume I had is that it wouldint recognize pen input and or anything form the keyboard.

JP
Title: Dual Booting pdaX from SD
Post by: Stubear on April 25, 2004, 10:52:50 pm
iyah, Joshp,

Try running ts_calibrate prior to runngi xstart - or delete /etc/ts_calibrate then run xstart , this will recalibrate the touch screen for pdaX, I probably left the calaibration file from the C760 in the tarball.

Stu
Title: Dual Booting pdaX from SD
Post by: iyah on April 26, 2004, 09:25:54 am
Found ts_calibrate in /usr/bin/ ... was nothing like that in /etc/. Anyways, ran it, and it went through the 5 point and taps ... afterwards nothing new was in /etc/ (should there be a file generated from this ?). X was the same .. I could navigate using the buttons (not so straightforward, but probably not hard to fix) a bit, but the pen still does nothing. For instance, use the keys to highlight a folder, then use the pen to tap another folder, the highlighted folder will blink, but not open. There is a hint of a pointer somewhere on the screen, but does not follow the pen. So there is also no way top get down to the menu on the bottom where the taskbar is either. When I get some more time I can hack at it some more, so any pointers appreciated. Does pdaX use a config file like xf86config-4 or something ?
Title: Dual Booting pdaX from SD
Post by: Stubear on April 26, 2004, 06:26:51 pm
Sorry my miss,

remove /etc/pointercal and try startx again - should run the calibration first. Otherwise I\'m at a lose, what XFbdev are you using?

Stu
Title: Dual Booting pdaX from SD
Post by: jerrybme on April 26, 2004, 10:45:21 pm
Quote
Sorry my miss,

remove /etc/pointercal and try startx again - should run the calibration first. Otherwise I\'m at a lose, what XFbdev are you using?

Stu
I just run ts_calibrate the first time after I boot to the SD before I run startx. This only works with X11zaurus Xfbdev that Stu posted (assuming you\'re running a Sharp compatible Kernel)

Jerry
Title: Dual Booting pdaX from SD
Post by: anonuk on April 29, 2004, 06:38:06 pm
what sort of speed does x11 run at on the SD card?
Title: Dual Booting pdaX from SD
Post by: jerrybme on April 29, 2004, 07:10:26 pm
Quote
what sort of speed does x11 run at on the SD card?
With the cacko kernel it runs at an acceptable speed only a tad bit slower than normal. With the pdaXrom kernel it is much slower. It is very usable (but the right side of the screen is always mis-calibrated and it\'ll drive you nuts).

Let\'s hope maslovsky is able to unify the kernels so it works for both ROMs. That\'ll take care of the calibration problem (and others too)
Jerry
Title: Dual Booting pdaX from SD
Post by: Stubear on April 29, 2004, 09:28:20 pm
Once it7s started it\'s fine - just takes a while to get going, large apps also take a while to start but are okay after that

Stu
Title: Dual Booting pdaX from SD
Post by: jerrybme on April 29, 2004, 11:44:47 pm
Quote
Once it7s started it\'s fine - just takes a while to get going, large apps also take a while to start but are okay after that

Stu
Stu:
Have you been able to get the wifi or suspend to work with the Sharp kernel or is it just me?

BTW, thanks for all of your help getting this to work.
Jerry
Title: Dual Booting pdaX from SD
Post by: Stubear on April 30, 2004, 04:25:30 am
I don\'t have a wifi card yet - still very underused in Japan at present, And  I had problems with suspend on pdaX when it was flashed to main rom, generally I just reboot - been trying to get it running via X/Qt recently - had some luck but have problems with fonts being huge and matchbox keeps seg faulting in the chroot

Stu
Title: Dual Booting pdaX from SD
Post by: jerrybme on April 30, 2004, 07:37:04 am
Quote
I don\'t have a wifi card yet - still very underused in Japan at present, And  I had problems with suspend on pdaX when it was flashed to main rom, generally I just reboot - been trying to get it running via X/Qt recently - had some luck but have problems with fonts being huge and matchbox keeps seg faulting in the chroot  

Stu
The power-suspend problem was fixed in the 1.05 version (although the version number at boot still reads 1.0.0 which makes it hard to tell which version you have). So it works fine when flashed as the main rom.
Jerry
Title: Dual Booting pdaX from SD
Post by: iyah on April 30, 2004, 02:29:30 pm
Probably off topic .. but while you guys are discussing dual booting, thought I\'d drop a not for any newbies (such as myself) out there that another reason to have a dual boot from a sd card, is so that you can get into the unit if the original one crashes.
Toasted my  sl-6 installing some libs or other the other day (would not boot into Qt) ... ok, I was able to eventually reformat the internal rom as per the manual, but not before booting through the sd card and mounting the internal flash/rom (mmtdblock3 I believe) and searching every file and lib that had been touched. I just couldn\'t figure out what was vanilla, and what was add-on as per the stuff I was trying to install.
Title: Dual Booting pdaX from SD
Post by: anonuk on May 03, 2004, 09:42:04 pm
i have tried to follow the instructions in this thread to pdaxrom running off the sd card on my 860, i retried all the variations suggested above but keep arriving at the following:

The verbose output kernel shows the following:
Freeing init memory: 76K
: Can\'t open
Kernel panic: attempted to kill init!

I tried placing pivot_root in all the suggested places, and the console file is in its place on /mnt/card/dev, can anyone help?? (cacko 1.21a)
Also, is there a way to recover from this without flashing? (for the next time it happens)..
Title: Dual Booting pdaX from SD
Post by: Stubear on May 03, 2004, 11:38:06 pm
I\'ve seen that message when I hadn\'t had the /sbin/init script working properly.

Make sure that /sbin/init is chmod +x and that you can created /sbin/sys and cp /sbin/telinit to /sbin/sys/init, other than that try checking the init script for corruption.

Stu
Title: Dual Booting pdaX from SD
Post by: jerrybme on May 04, 2004, 08:06:57 am
Quote
Also, is there a way to recover from this without flashing? (for the next time it happens)..

Just pulling the battery and putting it back in, then reboot (make sure the SD is not in) should work.

Also, I\'ve got a tarball of the 1.0.5 pdaXrom for extraction to a SD. It has MC, xmonobutton and xmms already installed (plus has all of the fixes so it\'ll boot from the SD). If anybody is interested I can upload it to the ZUG download section.

Jerry
Title: Dual Booting pdaX from SD
Post by: anonuk on May 04, 2004, 08:29:21 am
Ill give it another go, perhaps i missed something.... ill check the script for corruption too.

Jerryb: a tar.gz of pdaXrom 1.05 would be excellent, i still havent figured out how to extract images from the rom image, if you could upload it that would be great.

Thanks guys for your hard work on the dual boot setup (all those involved), it willl hopefully make my Z even more useful than it is already!!
Title: Dual Booting pdaX from SD
Post by: anonuk on May 04, 2004, 11:04:59 am
Dual boot is working for me!! The init script i was using must have been corrupted, i downloaded a new one and now it works :-)
Even my wifi card works fine, im installing abiword at the moment... can\'t wait to try 1.05, thanks for your help guys
Title: Dual Booting pdaX from SD
Post by: jerrybme on May 04, 2004, 01:26:07 pm
Quote
Dual boot is working for me!! The init script i was using must have been corrupted, i downloaded a new one and now it works :-)
Even my wifi card works fine, im installing abiword at the moment... can\'t wait to try 1.05, thanks for your help guys

Congrats  Pretty cool eh? I love being able to install whatever I want with out worries about internal space. I just hope maslovsky is able to create a kernel that works with both ROMs so the digitizer is more accurate.

 What WiFi card are you using? My Symbol card doesn\'t want to work in pdaXrom from the SD. Never thought to try another card.

I\'ll upload the tarball when I get home from work tonight

Jerry
Title: Dual Booting pdaX from SD
Post by: anonuk on May 04, 2004, 01:34:26 pm
Yeah, its pretty cool - the one thing i was really missing on my zaurus was abiword - and it runs great on the sd!

as far as the wifi goes, im using a prism based card, recognised as an Intersil in the cacko rom. Not sure exactly what card it is though...

Is there any way of inserting a boot menu to choose whether to boot into cacko or pdaX into the init script? i have a 512Mb and 128Mb sd cards, one is too small to fit everything i want on pdaX, and the other I want to keep the 187Mb wikipedia on, so I want it to be accessible under Qtopia.

It seems that it would be possible to install pdaX onto the 512Mb card, but insert a boot menu so that it is possible to boot into Qt without removing the SD card (sorta like pocketworkstations method). Any ideas?

Looking forward to trying out the 1.05 version tar.gz, thanks in advance!
Title: Dual Booting pdaX from SD
Post by: jerrybme on May 04, 2004, 02:57:31 pm
Quote
Is there any way of inserting a boot menu to choose whether to boot into cacko or pdaX into the init script?

Yes, it\'s just a matter of editing the the init script. My scripting skills are pretty basic, but I\'ll looking into it. I bet stubear could knock it out fairly quickly.
Jerry
Title: Dual Booting pdaX from SD
Post by: anonuk on May 04, 2004, 05:23:16 pm
i\'ll try playing around with the init script too, although i doubt my scripting skills are up to it.
just btw, the xcopilot-alpha binary runs great in pdaXonSD, especially in -double mode - will hopefully work even better with v1.05 where you can rotate the screen.

If you cant manage to upload the tarball to ZUG i can find some space on one of my servers, just let me know.....
Title: Dual Booting pdaX from SD
Post by: Stubear on May 04, 2004, 09:55:35 pm
Quote
Quote

Is there any way of inserting a boot menu to choose whether to boot into cacko or pdaX into the init script?

Yes, it\'s just a matter of editing the the init script. My scripting skills are pretty basic, but I\'ll looking into it. I bet stubear could knock it out fairly quickly.
Jerry


Actually I tried that, I put pdaX in one dir on the SD and cacko on the other, but the pivot-root didn\'t like not starting from the sd root for some reason.

If you have 2 SD cards then its just a matter of switching them and rebooting.

Just put a new kernel in my desktop machine so hopefully I\'ll have better luck at extracting ROMs now and won\'t have to reflash to get new tarballs. Would really like to get pdaX running under X/Qt though

Stu
Title: Dual Booting pdaX from SD
Post by: anonuk on May 04, 2004, 11:03:48 pm
actually, what i meant was only pdaXrom on the root of the SD, but arranged so that I can boot into qtopia without removing the SD card. Maybe replacing the automatic boot on init.card with a prompt for q or x to choose wether to boot from the card(xrom) or the internal memory(qtopia)?
Title: Dual Booting pdaX from SD
Post by: Stubear on May 05, 2004, 05:41:25 am
Ahh, that I could probably do.
I\'ll give it a try tonight (I\'d do now at work but I left my pdaX and cacko SD cards at home ) and post the changed script for others to test.

Stu
Title: Dual Booting pdaX from SD
Post by: jerrybme on May 05, 2004, 11:10:51 am
Quote
Just put a new kernel in my desktop machine so hopefully I\'ll have better luck at extracting ROMs now and won\'t have to reflash to get new tarballs. Would really like to get pdaX running under X/Qt though

Stu

Hmm, you think the newer kernel will help. Which kernel did you upgrade to?
I couldn\'t get the extracted fs from a mounted initrd.bin to work from my laptop with Mandrake 10 with 2.6.3 (I think).  Let me know if you get it work.
Thanks,
Jerry
Title: Dual Booting pdaX from SD
Post by: dahukanna on May 05, 2004, 01:42:46 pm
I would like to try this on a C860 using Cacko 1.21 \"Elena\" and  pdaxrom SD tarball from this thread.  How do format my SD card to ext2 ?
Title: Dual Booting pdaX from SD
Post by: jerrybme on May 05, 2004, 02:01:57 pm
Quote
I would like to try this on a C860 using Cacko 1.21 \"Elena\" and  pdaxrom SD tarball from this thread.  How do format my SD card to ext2 ?

Code: [Select]
umount /dev/mmcda1

mkfs.ext2 /dev/mmcda1

Then remove SD card & reinsert it.

I sent anonuk a tarball of the newer version of pdaXrom for use on SD. Hopefully he\'ll post a link soon.

Jerry
Title: Dual Booting pdaX from SD
Post by: dahukanna on May 05, 2004, 02:10:46 pm
Jerry, Thanks for the tip.  How big is the new tarball? I\'d rather use the latest. How can I get my hands on it ? D.
Title: Dual Booting pdaX from SD
Post by: jerrybme on May 05, 2004, 02:18:01 pm
Quote
Jerry, Thanks for the tip.  How big is the new tarball? I\'d rather use the latest. How can I get my hands on it ? D.

Weighs in around 19 megs. I can\'t get the ZUG upload area to work, tried both firefox & ie without luck.
Jerry
Title: Dual Booting pdaX from SD
Post by: anonuk on May 05, 2004, 03:08:58 pm
Tarball for the 1.05 pdaXrom (courtesy of Jerrybme) is available (for the moment) at the following url:

http://www.webspinners.co.il/pdaxrom/pdaX-...1.0.5-SD.tar.gz (http://www.webspinners.co.il/pdaxrom/pdaX-1.0.5-SD.tar.gz)

the script for dualbooting (courtesy of Stubear and others) is also there at:

http://www.webspinners.co.il/pdaxrom/Dual_..._boot_files.zip (http://www.webspinners.co.il/pdaxrom/Dual_boot_files.zip)

If someone can mirror these files or upload them to ZUG it would be much appreciated, not sure how much bandwidth i can afford this month :-)
Title: Dual Booting pdaX from SD
Post by: anonuk on May 05, 2004, 03:41:00 pm
Jerry, my wifi card isnt working properly either with the 1.05, only with the 1.00 release - so it isnt just your card, it finds it in console mode, but not in xwindows. Also have you managed to get either the suspend or rotation features working, neither autorotation or any suspend type work for me, any ideas?
Title: Dual Booting pdaX from SD
Post by: jerrybme on May 05, 2004, 04:09:23 pm
Quote
Jerry, my wifi card isnt working properly either with the 1.05, only with the 1.00 release - so it isnt just your card, it finds it in console mode, but not in xwindows. Also have you managed to get either the suspend or rotation features working, neither autorotation or any suspend type work for me, any ideas?

I could only get the suspend & auto rotation to work when I had the pdaXrom kernel flashed into internal memory. However that\'s not practical as the pdaXrom kernel doesn\'t work with Cacko ROM, the digitizer is all screwed up so screen taps do not work. I think we\'ll have to wait for sash & maslovsky to use a compatible kernel. Perhaps someone with better linux skills than I can roll a custom kernel that\'ll work. However maslovsky has said a compatible kernel is his goal after the next release of the next Cacko ROM.

It concerns me that your Wifi worked with the 1.0.0 version & not with the one I tarred. I might have done something that broke the wireless.  :cry: Stu might want to take a look at what I did, since I used his tarball as a source of fixes to get this to work. I used the startx, and rc.rofilesys from his tarball, not clear why/how that\'d screw up wifi, though.
Jerry
Title: Dual Booting pdaX from SD
Post by: anonuk on May 05, 2004, 06:24:34 pm
maybe a stupid suggestion, but perhaps it is because you are tarring to a cf card and this is blocking the socket? i cant seem to mount any cf cards with the pdaxrom 1.05 on SD either as well as the wifi problem. Maybe try tarring it to SD instead - i attempted this but failed to produce a good working version of the tar.gz it booted with various errors.

In xcardinfo it shows socket 0 as empty regardless (although it registers the insertions and removals of the card in the log window) whereas in the other version (and when flashed natively) it showed the wifi card in socket 0. cardctl ident works in the console though....
Title: Dual Booting pdaX from SD
Post by: Stubear on May 05, 2004, 08:04:38 pm
I think it might be a kernel issue, we know that the pdaX kernel is different for fbdev and it\'s likely that the modules for wifi may also be different.

I don\'t have wifi to test, but you could try copying the modules from zaurus to SD card and see if that helps.

Stu
Title: Dual Booting pdaX from SD
Post by: anonuk on May 05, 2004, 08:56:52 pm
the wifi worked fine for me with your 1.0 tarball, just not with the new 1.05 tarball - thats why i thought it wasn\'t to do with the kernel but the tar.gz instead. I think ill stick with 1.0 installed for the moment with working wifi, and keep fiddling with 1.05 to try and get the wifi going well....
Title: Dual Booting pdaX from SD
Post by: jerrybme on May 06, 2004, 04:04:24 pm
Wifi not working with the tarball I made is definately a kernel issue. To test it, I flashed the pdaXrom kernel and sure enough, wifi worked fine. However, now rotation is not working, nor is suspend. Unless, I\'m going crazy, I thought on an earlier test last week, they were working with my tarball & the pdaXrom kernel.  But I\'ve done so much flashing - no, not that kind , in the last week trying different combinations and different extractions it might have worked with a different tarball (in my earlier versions I didn\'t exclude /proc & /dev when tarring). When I get a chance I\'ll use Stu\'s 1.0 version to see if I can get my Symbol card to work with the Cacko kernel.

Jerry
Title: Dual Booting pdaX from SD
Post by: raduga on May 26, 2004, 03:57:06 pm
has any progress been made toward making this possible?

Using either QT or pdaXrom kernel?

Stubear I believe had this running at some point;
was going to release a tarball of the QT environment....

Is it possible to have pdaXrom on flash, and QT working from SD?
(preferably with pdaXrom\'s native kernel...)

There have been reports of screen corruption and TS calibration issues;
the latter I can live with.

(I have a few QT apps that I run occasionally, that don\'t really need TS input)

Stubear: if you have any tarballs of a working QT-on-sd environment, I\'d love to see them.

Possibly with the next pdaxrom kernel things may be easier....
Title: Dual Booting pdaX from SD
Post by: jerrybme on May 28, 2004, 12:02:01 pm
raduga:
I\'ve got it working with pdaXrom on SD, wifi will work with pdaXrom 1.0 (stubear\'s tarball), with 1.0.5 wifi, rotation don\'t work. Plus both versions have calibration issues in pdaXrom.

Stubear never reported getting QT on SD to work, maybe he\'s still working on it...

I\'m waiting for the next version of either Cacko or pdaXrom in the hopes of the kernel being able to work with either. maslovsky has mentioned his hope to use the same kernel, keeping my fingers crossed  ..
Title: Dual Booting pdaX from SD
Post by: raduga on May 28, 2004, 12:33:33 pm
Quote
raduga:
I\'ve got it working with pdaXrom on SD, wifi will work with pdaXrom 1.0 (stubear\'s tarball), with 1.0.5 wifi, rotation don\'t work. Plus both versions have calibration issues in pdaXrom.  
..

I have it working in the same configuration, with slightly more success.

The calibration issues are due to an old X server that doesn\'t appear to play well with the  QT kernel.  (The standard X server is even worse)

Are the calibration values hardcoded?  I can\'t seem to recalibrate at all.

The problem with 1.0.5 networking (maybe rotation too) is definitely one of modules;  I copied over the /lib/modules/ from the QT side of things,
and replaced pdaxrom\'s on SD, and everything worked great.

pdaXrom runs even better on SD, with its native kernel /X server; though I haven\'t used it long enough to see if SD writes are a major bottleneck.
Title: Dual Booting pdaX from SD
Post by: omega on June 09, 2004, 06:04:26 am
Hi, how is the dual boot setup working these days? I\'d really like to try it with Cacko on the Flash and PDAXROM on the SD card.
Title: Dual Booting pdaX from SD
Post by: padishah_emperor on July 03, 2004, 09:51:59 pm
I would really appreciate it if someone could just tell me without having to read until my eyes hurt, what files do I download (links please) and how (in simple idiot-proof steps) to set this up, I've been trying for hours and I'm totally confused.  I've got two files and no idea what to do with them and no idea what size card I need.

I want to dual boot pdaXrom (1.0.5) from Cacko QT ROM 1.21b on a C860

thanks!
-Francis
Title: Dual Booting pdaX from SD
Post by: Stubear on July 04, 2004, 09:06:10 am
Quote
I would really appreciate it if someone could just tell me without having to read until my eyes hurt, what files do I download (links please) and how (in simple idiot-proof steps) to set this up, I've been trying for hours and I'm totally confused.  I've got two files and no idea what to do with them and no idea what size card I need.

I want to dual boot pdaXrom (1.0.5) from Cacko QT ROM 1.21b on a C860

thanks!
-Francis
Padish,

I have only tested the following files (http://zaurus.hostnic.us/pdaXrom-SD%20dual%20boot/Dual_C760.zip and http://zaurus.hostnic.us/pdaXrom-SD%20dual...pdaX-SD.tar.gz) (http://zaurus.hostnic.us/pdaXrom-SD%20dual%20boot/pdaX-SD.tar.gz)) The pdaX is only 1.0.0 but should there is a rom tarball of 1.0.5 here (http://www.webspinners.co.il/pdaxrom/pdaX-1.0.5-SD.tar.gz). If I get time before the new version of pdaX comes out I'll try it out and report back, but the process should be exactly the same.

Here is a copy of what is in the ReadMe.txt in the Dual_C760.zip file.

1. Download pdaXrom tarball from http://zaurus.hostnic.us (http://zaurus.hostnic.us) (Special thanks to Corey Costadura for supplying storage space)
2. remount / read-write (mount -o rw,remount /
3. mkdir /sbin/sys
4. cp /sbin/telinit /sbin/sys/init - this is necessary as telinit doesn't like being called from /sbin/sys/init and gave errors
5. cp init script to /sbin
6. chmod +x /sbin/init
7. Copy pivot_root to /sbin
8. untar pdaX tarball to ext2 formatted card (tar xzpvf pdax-SD.tar.gz) NOTE: you need a version of tar that understands the "p" flag to preserve permissions. I use gtar on the zaurus rather than busybox tar.
9. reboot, while the SD card is in you should boot to pdaX, remove the card and boot into normal rom.

The main things to remember is that the perms from the tarball need to be kept - I suggest untarring to your SD card from a desktop linux system via a card reader or via USB-storage - it's faster and you can use the "p" flag which the Z busybox tar doesn't have. If you really want to do everything on the Z then use the gtar ipk in the Dual_C760.zip - it is a full tar.

The biggest problem I had was that the pdaX fbvnc was not compatible with the normal qtopia kernel so I switched it for the fbvnc from the x11zaurus - worked fine except for a calibration problem where the calibration is of in greater amounts as you move across the screen - on the right side of the screen it is off by about 5 pixels - not great but you can still use it.

Let me know if you require further explanation on any of these steps and if I get the chance I'll try out the 1.0.5 tarball and report back

Stu

Editted to add missing step
Title: Dual Booting pdaX from SD
Post by: padishah_emperor on July 04, 2004, 09:17:05 am
Thankyou Stu, I will give this a go in a while, I'm about to kick back and chill for the day with my beloved Z, it looks like I downloaded the wrong files which didn't help at all and by the time I gave up last night, my eyes were stinging...  The tar info is useful, I didn't know about the limitations of it, I will remedy that today as well.

Thanks again

- Francis
Title: Dual Booting pdaX from SD
Post by: padishah_emperor on July 04, 2004, 11:31:03 am
Thanks for your help, it was interesting to try.
Title: Dual Booting pdaX from SD
Post by: jerrybme on July 07, 2004, 01:51:43 pm
Stubear:
In your instructions above I believe you left out the step of copying pivot_root to the /sbin directory. Am I wrong?

cheers,
Jerry
Title: Dual Booting pdaX from SD
Post by: Stubear on July 07, 2004, 02:30:57 pm
Quote
Stubear:
In your instructions above I believe you left out the step of copying pivot_root to the /sbin directory. Am I wrong?

cheers,
Jerry
Nope your not wrong, I did miss that step  

I'll go back and edit the previous post for others reference

thanks for catching that

Stu
Title: Dual Booting pdaX from SD
Post by: rikm on July 16, 2004, 09:10:28 pm
And not to pick nits, but a previous post that answered the 'how to format' question left out the fdisk step.  A new SD card will have a FAT16 partition ID and should be changed to type 83 prior to format.

This looks like a fun project.  I'm going to give it a try with the next release.
Title: Dual Booting pdaX from SD
Post by: Stubear on July 17, 2004, 12:40:20 am
Quote
And not to pick nits, but a previous post that answered the 'how to format' question left out the fdisk step.  A new SD card will have a FAT16 partition ID and should be changed to type 83 prior to format.

This looks like a fun project.  I'm going to give it a try with the next release.
It doesn't matter, Linux is smart enough not to rely solely on the partition ID for working out what the filesystem type is.

So you can safely miss the fdisk stage if you aren't changing partition sizes

Stu
Title: Dual Booting pdaX from SD
Post by: kitsnews on August 30, 2004, 11:49:05 pm
Quote
Quote
I would really appreciate it if someone could just tell me without having to read until my eyes hurt, what files do I download (links please) and how (in simple idiot-proof steps) to set this up, I've been trying for hours and I'm totally confused.  I've got two files and no idea what to do with them and no idea what size card I need.

I want to dual boot pdaXrom (1.0.5) from Cacko QT ROM 1.21b on a C860

thanks!
-Francis
Padish,

I have only tested the following files (http://zaurus.hostnic.us/pdaXrom-SD%20dual%20boot/Dual_C760.zip and http://zaurus.hostnic.us/pdaXrom-SD%20dual...pdaX-SD.tar.gz) (http://zaurus.hostnic.us/pdaXrom-SD%20dual%20boot/pdaX-SD.tar.gz)) The pdaX is only 1.0.0 but should there is a rom tarball of 1.0.5 here (http://www.webspinners.co.il/pdaxrom/pdaX-1.0.5-SD.tar.gz). If I get time before the new version of pdaX comes out I'll try it out and report back, but the process should be exactly the same.

Here is a copy of what is in the ReadMe.txt in the Dual_C760.zip file.

1. Download pdaXrom tarball from http://zaurus.hostnic.us (http://zaurus.hostnic.us) (Special thanks to Corey Costadura for supplying storage space)
2. remount / read-write (mount -o rw,remount /
3. mkdir /sbin/sys
4. cp /sbin/telinit /sbin/sys/init - this is necessary as telinit doesn't like being called from /sbin/sys/init and gave errors
5. cp init script to /sbin
6. chmod +x /sbin/init
7. Copy pivot_root to /sbin
8. untar pdaX tarball to ext2 formatted card (tar xzpvf pdax-SD.tar.gz) NOTE: you need a version of tar that understands the "p" flag to preserve permissions. I use gtar on the zaurus rather than busybox tar.
9. reboot, while the SD card is in you should boot to pdaX, remove the card and boot into normal rom.

The main things to remember is that the perms from the tarball need to be kept - I suggest untarring to your SD card from a desktop linux system via a card reader or via USB-storage - it's faster and you can use the "p" flag which the Z busybox tar doesn't have. If you really want to do everything on the Z then use the gtar ipk in the Dual_C760.zip - it is a full tar.

The biggest problem I had was that the pdaX fbvnc was not compatible with the normal qtopia kernel so I switched it for the fbvnc from the x11zaurus - worked fine except for a calibration problem where the calibration is of in greater amounts as you move across the screen - on the right side of the screen it is off by about 5 pixels - not great but you can still use it.

Let me know if you require further explanation on any of these steps and if I get the chance I'll try out the 1.0.5 tarball and report back

Stu

Editted to add missing step
Hi,

The link of package for dual boot is broken. Could anyone post it to download aread? I really need it.

Thanks in advance
Kit
Title: Dual Booting pdaX from SD
Post by: alan on September 02, 2004, 04:33:30 pm
Dear pdaxrom team : can you make this work with Katherin Official ? It woulb be a REEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEALY great stuff !!!!!!