Author Topic: Tweaking The Rom -create Your Own With Cacko Stuff  (Read 4722 times)

guylhem

  • Hero Member
  • *****
  • Posts: 577
    • View Profile
Tweaking The Rom -create Your Own With Cacko Stuff
« on: April 14, 2005, 07:04:56 pm »
If you mount cacko initrd.bin (found in cacko.zip for C7xx clamsheels) with the following script on your PC:

modprobe mtdram total_size=65536
modprobe mtdblock
dd if=initrd.bin of=/dev/mtdblock0
mount -t jffs2 /dev/mtdblock0 /mnt/floppy

You will find in /mnt/floppy the mounted cacko filesystem.

Even more interesting : /mnt/floppy/boot/usr.bin is a squashfs - compile the squashfs module or use the guylhem rom to mount it on your Zaurus:

mount -o loop usr.bin /mnt/net -t squashfs

In /mnt/net you will have Cacko GUI binaries. Plunder its binaries, modules etc and do your own rom :-) Suggestion : have the wifi connection active with the following script, ssh to your zaurus, and restart often with tail /var/log/qtopia.log active on your ssh to monitor startup sequence and to avoid putting an incompatible binary. If you install everything at once, you may end up stuck and not knowing which one is responsible for the situation:

#!/bin/sh

/sbin/modprobe p80211
/sbin/modprobe prism2_usb

/sbin/usbctl on 1

/bin/sleep 1

/sbin/wlanctl-ng wlan0 lnxreq_ifstate ifstate=enable
/sbin/wlanctl-ng wlan0 lnxreq_autojoin ssid=externe.net authtype=opensystem
/sbin/ifconfig wlan0 10.3.0.76 netmask 255.255.255.0
/sbin/route add default gw 10.3.0.1

# this is my config -
# replace externe.net by your wifi SSID, 10.3.0.76 by your IP, 10.3.0.1 by your server

merli

  • Full Member
  • ***
  • Posts: 227
    • View Profile
    • http://
Tweaking The Rom -create Your Own With Cacko Stuff
« Reply #1 on: May 02, 2005, 06:05:03 pm »
Thanks for great post... But still I dont know where the directory /home/zaurus/Applications come from? I searched all /mnt/floppy and /mnt/net but i didnt find where the files which belong to directory /home/zaurus are hiden in initrd.bin.
merli
------
SL-C1000 - pdaxii13 5.3.3 but considering go back to beta1
Wifi D-link DCF-650W CF card - not using
bluetooth Billionton BT CF card and Samsung SGH-i310 GPRS
Pretec Cheetah 133x 4GB SD, Pretec Cheetah 80x 1GB CF