OESF Portables Forum
Everything Else => Zaurus Distro Support and Discussion => Distros, Development, and Model Specific Forums => Archived Forums => Sharp ROMs => Topic started by: xamindar on July 17, 2007, 04:51:24 am
-
Can someone tell me how to unpack a rom such as the cacko rom? I need to get into the filesystem and find the kernel module "serial_cs" if it is there. Hopefully getting that module will finally allow me to use my compact flash bluetooth card.
Or, if anyone knows where I can find that module that would greatly help. Thanks for any help.
-
Make sure you have a /dev/mtdblock0 or /dev/mtdblock/0 device; if not use "mknod /dev/mtdblock0 b 31 0" to create one. Then:
modprobe mtdram total_size=32768
modprobe mtdblock
modprobe jffs2
dd if=initrd.bin of=/dev/mtdblock0
mount -t jffs2 /dev/mtdblock0 /mnt/whatever
The total_size above has to be big enough to hold the initrd.bin. It's in KB, so the 32768 above is 32MB. Try 65536 instead if your initrd.bin is larger.
Obviously you need to do this on a linux box; the Z just doesn't have the RAM to do the job itself. I'm not aware of any way to do it from windows.
-
Thank you so much for this info. After enabling memory technology devices and jffs2 support in my kernel and recompiling I was able to mount the cacko rom using your instructions. Thanks you so much.
YES! And the cacko rom has the serial_cs module. Now hopefully I can get this ambicom bluetooth BT2000C card to work.
EDIT: Dang, the module doesn't work. Anyone know where I can get one that is made for the C3100 kernel. I guess the cacko kernel is different for some reason.
bash-2.05# modprobe serial_cs
/lib/modules/2.4.20/pcmcia/serial_cs.o: unresolved symbol sharpsl_serial_out_wait
/lib/modules/2.4.20/pcmcia/serial_cs.o: insmod /lib/modules/2.4.20/pcmcia/serial_cs.o failed
/lib/modules/2.4.20/pcmcia/serial_cs.o: insmod serial_cs failed
bash-2.05#