Author Topic: Pdaxrom For C3000 Beta2  (Read 119199 times)

anonuk

  • Full Member
  • ***
  • Posts: 176
    • View Profile
    • http://
Pdaxrom For C3000 Beta2
« Reply #60 on: January 19, 2006, 03:02:08 am »
Quote
@anonuk : there is still no "dual boot" available as I'm still only dreaming about it and will have to recompile a whole OZ dist against pdaXrom kernel/libs so they can be dual booted well (well ... I guess I could use an actual snapshot but there would be a lot of non-working things then I guess) ...

btw, the actual pivot_root image *should* work on a 3100 with minor mods in the updater script... so if it's the pivot_root you want to test, let me know and I'll send you an updated updater script (keep in mind I won't be able to test it to any extent as I don't have any 3100 to test with)

ps : I'm also thinking of (and talking with iamasmith about this) makeing a pdaXrom/OpenBSD dualboot if enough people gets some interrest into it ...
[div align=\"right\"][a href=\"index.php?act=findpost&pid=111534\"][{POST_SNAPBACK}][/a][/div]

pivot root would be great, i have something similar working on my 860 (see sig) but it had a few problems (mouse alignment and suspend) and I also had no hard disk to play with :-)

if you could mail me the script to       realitygaps at  yahoo.com     that would be great, or post it as an attachment for others to download in the future. One thing, can it (the script) brick my Z?, i am experienced with linux and zauruses but not with the hdd.. Thanks in advance...
* C3100 with Cacko 1.23 and debian (pocketworkstation) - 1Gb SD / 1Gb CF / Prism Wifi
* C-860 with Cacko 1.21b/pdaXrom dualboot with 256Mb CF / 512 Mb SD / Prism Wifi
* SL-5500 with Cacko rom with 128Mb SD home on SD / 96 Mb CF

ThC

  • Sr. Member
  • ****
  • Posts: 259
    • View Profile
    • http://
Pdaxrom For C3000 Beta2
« Reply #61 on: January 19, 2006, 03:17:21 am »
the "few" problems you experimented are all normal with actual dual boot methods as diferent Zaurus OSes use different kernels/libs as I was telling in my precedent posts...
Beside, this install simply won't work to create a dual boot as installer in canging initrd image with a pivot_root only image so you won't be able to boot cacko anymore.
I suggest you take a look at my topic about dual booting pdaXrom on a c3000 and try to apply it using a more recent snapshot. (the hdimage.tgz included in the actual installer for c3000 is more or less a 1.1.0beta1 snapshot so you may use it if you want  )

the dual bot I'm now trying to achieve will be a little more evolved as t would allow us to  keep multiple OSes on HD partitions, choosing the one to boot during boot time, like any other comp.  (btw, I must admit that most of my ideas toward realizing a true multi boot management are scaring me so I don't have guts to test half of these ... too afraid of bricking my Z dd'ing a new kernel to /dev/mtdblock1 during boot process for example lol)
« Last Edit: January 19, 2006, 03:17:43 am by ThC »
SL-C3000 - pdaXrom 1.1.0Beta1
SL-C860 - pdaXrom 1.1.0 RC8 (charging circuitry dead :( )
CF RamStar 512 Mb / Hitachi 4Gb microdrive (thanks to creative's muvo² :p)
SD Sandisk 1Gb / Viking 256 Mb
Linksys WCF13 CF wifi card

Anyone willing to donate for my work, please consider donate to pdaXrom and/or OE/OZ projects instead, I wouldn't have been able to do anything without them ...

anonuk

  • Full Member
  • ***
  • Posts: 176
    • View Profile
    • http://
Pdaxrom For C3000 Beta2
« Reply #62 on: January 19, 2006, 03:22:40 am »
Quote
Beside, this install simply won't work to create a dual boot as installer in canging initrd image with a pivot_root only image so you won't be able to boot cacko anymore.
I suggest you take a look at my topic about dual booting pdaXrom on a c3000 and try to apply it using a more recent snapshot. (the hdimage.tgz included in the actual installer for c3000 is more or less a 1.1.0beta1 snapshot so you may use it if you want  )

Sorry, didn't see the other thread - but the link to the init script is dead do you have a copy? and would i be able to use the same one anyways with a 3100? I should probably post on the other thread and stop hijacking this one. I guess we keep dreaming about a real dual boot - or maybe i will try to master building oz and help :-)


UPDATE: found script on thread... didnt read it properly..
« Last Edit: January 19, 2006, 03:27:31 am by anonuk »
* C3100 with Cacko 1.23 and debian (pocketworkstation) - 1Gb SD / 1Gb CF / Prism Wifi
* C-860 with Cacko 1.21b/pdaXrom dualboot with 256Mb CF / 512 Mb SD / Prism Wifi
* SL-5500 with Cacko rom with 128Mb SD home on SD / 96 Mb CF

ThC

  • Sr. Member
  • ****
  • Posts: 259
    • View Profile
    • http://
Pdaxrom For C3000 Beta2
« Reply #63 on: January 19, 2006, 03:28:47 am »
Yes, the scripts should just work on a 3100  (3000 and 3100 are not that different )
SL-C3000 - pdaXrom 1.1.0Beta1
SL-C860 - pdaXrom 1.1.0 RC8 (charging circuitry dead :( )
CF RamStar 512 Mb / Hitachi 4Gb microdrive (thanks to creative's muvo² :p)
SD Sandisk 1Gb / Viking 256 Mb
Linksys WCF13 CF wifi card

Anyone willing to donate for my work, please consider donate to pdaXrom and/or OE/OZ projects instead, I wouldn't have been able to do anything without them ...

pyknite

  • Full Member
  • ***
  • Posts: 118
    • View Profile
    • http://pyknite.monserveurperso.com
Pdaxrom For C3000 Beta2
« Reply #64 on: January 19, 2006, 03:50:54 pm »
no idea for my problem with right click?
zaurus sl-c3000 - under pdaXrom1.0.1 for sl-c3000
Wifi +BT CF card
utopik Blog
Mirror for pdaXrom sl-c3000

Meanie

  • Hero Member
  • *****
  • Posts: 2803
    • View Profile
    • http://www.users.on.net/~hluc/myZaurus/
Pdaxrom For C3000 Beta2
« Reply #65 on: January 20, 2006, 07:55:53 pm »
I have finally gotten my C3000 back and installed pdaXrom on it. Now I will be able to help out here
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

pyknite

  • Full Member
  • ***
  • Posts: 118
    • View Profile
    • http://pyknite.monserveurperso.com
Pdaxrom For C3000 Beta2
« Reply #66 on: January 23, 2006, 02:20:57 pm »
euh just one question: how to have access to the hard drive with the usb cable??

I want to copy some video and mp3 in my Z...
zaurus sl-c3000 - under pdaXrom1.0.1 for sl-c3000
Wifi +BT CF card
utopik Blog
Mirror for pdaXrom sl-c3000

ThC

  • Sr. Member
  • ****
  • Posts: 259
    • View Profile
    • http://
Pdaxrom For C3000 Beta2
« Reply #67 on: January 24, 2006, 03:55:30 am »
@pyknite : using usb network and samba ... btw sorry but I don't have time to document it right now (but you should find some docs on how to do it searching on the forum )
SL-C3000 - pdaXrom 1.1.0Beta1
SL-C860 - pdaXrom 1.1.0 RC8 (charging circuitry dead :( )
CF RamStar 512 Mb / Hitachi 4Gb microdrive (thanks to creative's muvo² :p)
SD Sandisk 1Gb / Viking 256 Mb
Linksys WCF13 CF wifi card

Anyone willing to donate for my work, please consider donate to pdaXrom and/or OE/OZ projects instead, I wouldn't have been able to do anything without them ...

pyknite

  • Full Member
  • ***
  • Posts: 118
    • View Profile
    • http://pyknite.monserveurperso.com
Pdaxrom For C3000 Beta2
« Reply #68 on: January 24, 2006, 07:22:40 am »
oki thx... I will try...
zaurus sl-c3000 - under pdaXrom1.0.1 for sl-c3000
Wifi +BT CF card
utopik Blog
Mirror for pdaXrom sl-c3000

Meanie

  • Hero Member
  • *****
  • Posts: 2803
    • View Profile
    • http://www.users.on.net/~hluc/myZaurus/
Pdaxrom For C3000 Beta2
« Reply #69 on: January 24, 2006, 08:33:54 am »
Here's a few fixes I made on my C3000:

# fix cardservices cannot find modules error during boot (doesnt do much but the annoying error goes away
mkdir -p /media/realroot/lib/modules/2.4.20

# automatically launch X if runlevel 5
head -`wc -l /etc/rc.d/rc|awk '{print $1-1}'` /etc/rc.d/rc > /etc/rc.d/rc.new
echo "if [ \$runlevel -eq 5 ]; then" >> /etc/rc.d/rc.new
echo "   export HOME=/home/root" >> /etc/rc.d/rc.new
echo "   /usr/X11R6/bin/startx" >> /etc/rc.d/rc.new
echo "fi" >> /etc/rc.d/rc.new
echo "exit 0" >> /etc/rc.d/rc.new
mv /etc/rc.d/rc.new /etc/rc.d/rc

# usb storage --> scratch this one, see my next post for a better fix!!!
mv /usr/bin/usbfunction.py /usr/bin/usbfunction.py.bak
sed -e "s#[\"/dev/mmcda1\",\"/dev/hda1\"]#[\"/dev/mmcda1\",\"/dev/hda1\,\"/dev/hdc1\"]#g" /usr/bin/usbfunction.py.bak > /usr/bin/usbfunction.py

# cardctl fix for wifi
mv /usr/bin/network.py /usr/bin/network.py.bak
sed -e "s#/usr/sbin/cardctl eject #/usr/sbin/cardctl eject 0#g" -e "s#/usr/sbin/cardctl insert #/usr/sbin/cardctl insert 0#g" /usr/bin/network.py.bak > /usr/bin/network.py

# enable fsck during boot
cd /media/realroot/lib
cp /lib/libblkid.so.1.0 .
ln -s libblkid.so.1.0 libblkid.so.1
cp /lib/libuuid.so.1.2 .
ln -s libuuid.so.1.2 libuuid.so.1
cp /lib/libext2fs.so.2.4 .
ln -s libext2fs.so.2.4 libext2fs.so.2
cp /lib/libcom_err.so.2.1 .
ln -s libcom_err.so.2.1 libcom_err.so.2
cd /media/realroot/sbin
cp /sbin/fsck .
cp /sbin/e2fsck .
ln -s e2fsck fsck.ext2
ln -s e2fsck fsck.ext3

# update init (pivot)
cp init.txt /media/realroot/sbin/init
chmod 755 /media/realroot/sbin/init

# update halt (reboot) --> see my next post for a better solution!!!
mv /etc/rc.d/rc6.d/K94pcmcia /etc/rc.d/rc6.d/_K94pcmcia
cp halt.txt /etc/rc.d/init.d/halt
chmod 755 /etc/rc.d/init.d/halt

The updated halt script attempts to unmount everything cleanly, however, / refuses to remount as ro so the result is two orphaned inodes

The updated init script can now boot and pivot even if there is an inserted cf card. It also does a fsck on the internal disk before mounting it to fix the uncleanly unmounted filesystem. From my testing, this will allow the C3000 to be suspended without the light staying on.

note: see my next post, the reboot thing works now with a clean remount of /
« Last Edit: January 29, 2006, 10:39:51 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

danboid

  • Hero Member
  • *****
  • Posts: 881
    • View Profile
    • http://
Pdaxrom For C3000 Beta2
« Reply #70 on: January 24, 2006, 03:54:03 pm »
I know Thc said he'd try to put up a bugfixed beta2- did it happen? If Thc isn't free to work on the next release it would be great if Meanie or someone could put together such a file- just save me the effort of typing a few extra commands    I can't wait to try this next release of the pdaxrom psx emu y'see!
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

ThC

  • Sr. Member
  • ****
  • Posts: 259
    • View Profile
    • http://
Pdaxrom For C3000 Beta2
« Reply #71 on: January 25, 2006, 06:18:35 am »
Thx meanie for all these fixes ... I'm going to try and take some time to get all these fixed in my install image and make a new one without all these bugs ... I hope to have it done by the end of the week but, once again, don't want to make false hope to you all so I can't promise anything but I'll really try to get time to do that
SL-C3000 - pdaXrom 1.1.0Beta1
SL-C860 - pdaXrom 1.1.0 RC8 (charging circuitry dead :( )
CF RamStar 512 Mb / Hitachi 4Gb microdrive (thanks to creative's muvo² :p)
SD Sandisk 1Gb / Viking 256 Mb
Linksys WCF13 CF wifi card

Anyone willing to donate for my work, please consider donate to pdaXrom and/or OE/OZ projects instead, I wouldn't have been able to do anything without them ...

pyknite

  • Full Member
  • ***
  • Posts: 118
    • View Profile
    • http://pyknite.monserveurperso.com
Pdaxrom For C3000 Beta2
« Reply #72 on: January 25, 2006, 10:31:40 am »
Quote
Here's a few fixes I made on my C3000:


# usb storage
mv /usr/bin/usbfunction.py /usr/bin/usbfunction.py.bak
sed -e "s#[\"/dev/mmcda1\",\"/dev/hda1\"]#[\"/dev/mmcda1\",\"/dev/hda1\,\"/dev/hdc1\"]#g" /usr/bin/usbfunction.py.bak > /usr/bin/usbfunction.py


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


this  make the hd usb storage working??
zaurus sl-c3000 - under pdaXrom1.0.1 for sl-c3000
Wifi +BT CF card
utopik Blog
Mirror for pdaXrom sl-c3000

Meanie

  • Hero Member
  • *****
  • Posts: 2803
    • View Profile
    • http://www.users.on.net/~hluc/myZaurus/
Pdaxrom For C3000 Beta2
« Reply #73 on: January 26, 2006, 11:12:42 pm »
Quote
Quote
Here's a few fixes I made on my C3000:


# usb storage
mv /usr/bin/usbfunction.py /usr/bin/usbfunction.py.bak
sed -e "s#[\"/dev/mmcda1\",\"/dev/hda1\"]#[\"/dev/mmcda1\",\"/dev/hda1\,\"/dev/hdc1\"]#g" /usr/bin/usbfunction.py.bak > /usr/bin/usbfunction.py


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


this  make the hd usb storage working??
[div align=\"right\"][a href=\"index.php?act=findpost&pid=112331\"][{POST_SNAPBACK}][/a][/div]

I've made a better fix to the usbfunction.py which will enable it to detect the internal harddisk correctly even if the C3000 was booted with a CF card inserted.
I also found the culprit file that prevents the halt script from remounting / as ro and hangs the pcmcia during reboot. ide.opts causes this so I have fixed ide.opts to behave and it now will also mount an  external cf card automatically when it is inserted so the link to K94pcmcia  can be changed back so it gets executed during reboot.

Here are the fixed ide.opts, usbfunction.py and halt
« Last Edit: January 27, 2006, 07:17:30 am 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

Glorin

  • Newbie
  • *
  • Posts: 23
    • View Profile
    • http://
Pdaxrom For C3000 Beta2
« Reply #74 on: January 27, 2006, 06:32:07 pm »
Tnx Meanie.

But i have some problem, after halt (suspend) mode my zaurus wake up, but not respond to any command if CF ethernet card inserted.

Sorry my english poor i`m from russia
Sharp SL-C3000
PdaXroM
CF ethernet TRENDnet
SD Kingstone 1 Gb
One more from Russia :)