Help - Search - Members - Calendar
Full Version: Larger Sdhc Cards On Sharp Rom
OESF Forums > General Forums > General Support and Discussion > General Discussion
Pages: 1, 2
koan
I found this SDHC driver for the Sharp ROM on a blog called "Puchi no izu":
http://petit-noise.net/download/sdhc-driver

The author (bucchi) says that he has experienced good stability but, as always, try at your own risk. The driver supports up to 32 GB. I installed it on my SL-C750 with Sharp ROM.

Mounted and accessed files, no problems:
2 GB SanDisk (Class 2)
8 GB SanDisk Ultra 2 (Class 4)

I didn't do any speed tests or any writing.

I also tried an 8 GB SanDisk Ultra (Class 4) - would not mount, but dmesg showed the partitions were found. The automounter only looks for VFAT I guess and the VFAT partition is one of the extended partitions. All the others are ext2. I will look into mounting this one manually.

This driver is much better packaged than the C-guys one.

If you try it, please reply to this thread with your results. Thanks.
mjiba
I just backed up my Cacko/Zubuntu setup and installed the new driver.
Rebooted Cacko and inserted Kingston 4gb sdhc. It automounted! Was able to access and play mp3 files I stuck on there just to see if it would work.

This is an amazing update for Z!!! Think of all the files I can carry around and still keep my CF slot open for wifi.

Thanks for letting us know about this driver...
uriahgreer
Backed up both Z and SD (better safe than sorry).

(Imagine Smash Bros Announcer here:)
"SUCCESS!"

3200 Cacko 1.23 Full (thinking of flashing to lite later)
8 GB SanDisk SDHC

*sniffle* My terrier's all grown up...

Oh, I Babelfished the blog (works better than Live translate, seems) and I was wondering, did the dude-guy say on there to uninstall any previous SD drivers before installing these ones? Did just be sure.

Still can't wrap my head around the possibilities now...
ntw1103
I tried installing it on my sl-c860, but the ipk wouldn't install, said something went wrong.
I tried uninstalling the sdmmc-module I had installed that let me use the 4gb sd card, and tried installing again but it still failed. any suggestions?
cybersphinx
You need the original Sharp SD module, since the package patches that.
xamindar
Amazing, so far this driver is working great on 2gig cards that I was never able to use before with the regular sharp driver (had a limit of 1gig). Copied files to it until it was practically full then read them again. Going to test a 4gig one when I get chance.

Thanks! Great find!
duo
Tested on my Akita with Cacko 1.23

4GB Non-HC SD works
4GB SDHC works
16GB Class 10 SDHC works

Awesome find, some other good stuff on that blog also Google Maps downloader and a couple of gps apps.

@nwt1103 I uninstalled the sdmmc module from cacko, rebooted, then installed the sdhc driver and it rebooted. after that everything was golden.

Now i use a SDHC card for both 2.4 and 2.6 distros. biggrin.gif
stefb
Today is Xmas smile.gif

I have a Fujifilm 4GB SD card and it was not possible to use this card with C1000 (ROM 1.01JP) and tetsu-SD-Driver 1.0. When i tried the zaurus fell in a endless loop and a soft reset was required.

Now with bucchi 2.1 SDHC-Driver the card is recognized!

Thank you very much!
gojira
QUOTE(duo @ Apr 28 2010, 05:37 AM) *
Awesome find, some other good stuff on that blog also Google Maps downloader and a couple of gps apps.


thanks!
Jon_J
Thank you! smile.gif
I was under the impression that Cacko would never utilize 4GB and up SDHC cards.
After installing this, my Sandisk Ultra2 4GB card loaded just fine under Cacko.
BTW, smaller SD cards are becoming rare these days.
Local brick and mortar stores only carry 2GB and larger cards now.
xamindar
I have had three hard locks on resume since installing this driver but I'm not convinced this driver is the fault. On every occasion I had my 4gig SD card inserted and Grisbi from pdaxqtrom running when I had suspended the Zaurus. I'll do more testing and update this post if I discover anything else. At the very least I can hopefully just remove the SD card before suspending the Zaurus. This driver enables too great a feature to remove now.
keef
hi all,

anyone tell me how to uninsatall the old sd card driver so i can
install the new one. I do have tree explorer file manger.



Thanks in advance,



ps i am running cacko on c860.
tux
QUOTE(keef @ May 9 2010, 07:28 PM) *
hi all,

anyone tell me how to uninsatall the old sd card driver so i can
install the new one. I do have tree explorer file manger.



Thanks in advance,



ps i am running cacko on c860.


If you have the standard Cacko modules then you simply apply the ipk. If like me you had used the ipk, from pelrun?, that broke the 1GB barrier just remove it with the uninstall option and install the new ipk. You do need a reboot or two along the way. The installer prompts you.

Since you have the 860 you need to download the specific ipk from the link in the earlier post for the 860. The ipks have English titles.

Cheers
keef
QUOTE(tux @ May 9 2010, 02:49 PM) *
QUOTE(keef @ May 9 2010, 07:28 PM) *
hi all,

anyone tell me how to uninsatall the old sd card driver so i can
install the new one. I do have tree explorer file manger.



Thanks in advance,



ps i am running cacko on c860.


If you have the standard Cacko modules then you simply apply the ipk. If like me you had used the ipk, from pelrun?, that broke the 1GB barrier just remove it with the uninstall option and install the new ipk. You do need a reboot or two along the way. The installer prompts you.

Since you have the 860 you need to download the specific ipk from the link in the earlier post for the 860. The ipks have English titles.

Cheers




Hi,

I am running the regular sd driver that is installed with Cacko.
Whe I try and install the new ipk I get the message ' sorry something went wrong"
then it prompts me to reboot.
I am sure i have got the right ipk.
not sure what to try now.

keef
xamindar
Have you tried any large SD cards(>2GB)? That is the best way to see if it worked.

You can also try installing it from the console to see what errors it is giving you.
koan
QUOTE(keef @ May 10 2010, 09:51 AM) *
' sorry something went wrong"


IMO the chances are that the install did not succeed in the early stages: the archive could not be extracted or there was not enough space on disk.

Check you have enough storage space, re-download the ipk and install from the command line.
keef
Hi,

Excuse my ignorance but how do i install from the Konsole?

I have tried several times to install the package using the
install application and get an error every time. I am sure
I have got the right package and i have lots of free space.


thanks again



keef
xamindar
QUOTE(keef @ May 10 2010, 01:06 PM) *
Hi,

Excuse my ignorance but how do i install from the Konsole?

CODE
su
ipkg install [PACKAGE NAME]

Whatever errors you are getting should show more clearly here.
koan
Further to xamindar's reply

Try
CODE
ipkg --help
for comprehensive help.

Then, after installation of the SD driver you should be able to run

CODE
ipkg status zaurus-sd-driver-update
keef


`i have tried: ipkg install zaurus-sd-driver-update_2.1-for-Cxx0_arm.ipk

but I get:File not found


I have copied the downloaded file to:Main Memory/ install_Files


Thanks
xamindar
it doesnt know where the file is located. you need to specify the whole path if the file is not in the same directory. For example:
CODE
ipkg install /home/zaurus/Documents/Install\ Files/zaurus-sd-driver-update_2.1-for-Cxx0_arm.ipk

You might want to read up on Linux cli usage. As you type the folder names you can try hitting the TAB key and it will autocomplete the names.
keef
QUOTE(xamindar @ May 10 2010, 01:25 PM) *
it doesnt know where the file is located. you need to specify the whole path if the file is not in the same directory. For example:
CODE
ipkg install /home/zaurus/Documents/Install\ Files/zaurus-sd-driver-update_2.1-for-Cxx0_arm.ipk

You might want to read up on Linux cli usage. As you type the folder names you can try hitting the TAB key and it will autocomplete the names.



Hi I should read up on Linux - thanks.

this is the result from the Konsole:

# ipkg install /home/samba/Main_Memory/Install_Files/ipkg/zaurus-sd-driver-update_2.1-for-Cxx0_arm.ipk
Unpacking zaurus-sd-driver-update...Done.
Configuring zaurus-sd-driver-update...MD5 check error.
//usr/lib/ipkg/info/zaurus-sd-driver-update.preinst failed. Aborting installation of zaurus-sd-driver-update
#

keef
xamindar
Looks like the file you downloaded was corrupted. Try redownloading it.
cybersphinx
No, that's the message when the installed SD module isn't the one the package needs.
xamindar
Keef, what Zaurus do you have? The package you are trying to install is for C860 or C760.
keef
QUOTE(xamindar @ May 10 2010, 09:47 PM) *
Keef, what Zaurus do you have? The package you are trying to install is for C860 or C760.



Hi, My Zaurus is a C860 running Cacko.

I have tried downloading and reinstalling several times. `
I have also tried downloading to a separate machine and copying across
always with the same result.

I have even tried installing the different model specific versions
and the <4gb version without any luck.

Thanks
cybersphinx
It looks like the SD module Cacko uses for the cxx0s is not the same as the original Sharp ROM. The needed module is /lib/modules/2.4.18-rmk7-pxa3-embedix/kernel/drivers/block/sharp_mmcsd_m.o with an md5sum of b6a026d0e0eaba101a3746bc0555cdf5.
Snappy
Just as I was going to bed! Now I must install this driver and replace my 4gb sd with the 16gb sdhc. tongue.gif

So I need to uninstall the tetsu driver?

EDIT:

It turned out easier than I thought. Ran the ipk file from konsole. No errors. Rebooted, 16gb sdhc detected and running. It has a super long stream of crazy debug msg at boottime. Otherwise, running 5 by 5. smile.gif

Edit:
Oh and, that will be one more reason for me to let my akita stay on Cacko and not zubuntu. I'm just lazy ... tongue.gif
keef
QUOTE(cybersphinx @ May 11 2010, 05:12 AM) *
It looks like the SD module Cacko uses for the cxx0s is not the same as the original Sharp ROM. The needed module is /lib/modules/2.4.18-rmk7-pxa3-embedix/kernel/drivers/block/sharp_mmcsd_m.o with an md5sum of b6a026d0e0eaba101a3746bc0555cdf5.



any hint where i might find this?


thanks


k
cybersphinx
The original Sharp ROM obviously. As far as I know, there is no archive that contains all files, but maybe someone can upload the original module here (if the new driver is installed, there's a backup copy in /opt/QtPalmtop/share/sdhc-driver/). Otherwise you need to do the backup - reflash - grab module - restore cycle.
keef
QUOTE(cybersphinx @ May 11 2010, 05:12 AM) *
It looks like the SD module Cacko uses for the cxx0s is not the same as the original Sharp ROM. The needed module is /lib/modules/2.4.18-rmk7-pxa3-embedix/kernel/drivers/block/sharp_mmcsd_m.o with an md5sum of b6a026d0e0eaba101a3746bc0555cdf5.



Hi, just checked system info and this is the same module I have installed and yet the new update will still not install.



keef
xamindar
QUOTE(keef @ May 14 2010, 03:59 PM) *
Hi, just checked system info and this is the same module I have installed and yet the new update will still not install.

I have never known system info to give an md5 of the modules. Same name does not mean it is the same module. Did you verify that your module has the same md5?

It looks like the ipk for this module on the cxx0 Zaurus needs to actually compile and link the driver when it is installed whereas on the cxx00 it just has a precompiled module and installs just that. Kind of strange.
keef
QUOTE(xamindar @ May 14 2010, 03:40 PM) *
QUOTE(keef @ May 14 2010, 03:59 PM) *
Hi, just checked system info and this is the same module I have installed and yet the new update will still not install.

I have never known system info to give an md5 of the modules. Same name does not mean it is the same module. Did you verify that your module has the same md5?

It looks like the ipk for this module on the cxx0 Zaurus needs to actually compile and link the driver when it is installed whereas on the cxx00 it just has a precompiled module and installs just that. Kind of strange.


Hi, not sure what an Md5 is!

Here is the info:

filename: /lib/modules.rom/2.4.18-rmk7-pxa3-embedix/kernel/drivers/block/sharp_mmcsd_m.o
description: "Sharp PDA MMC/SD driver"
author: "Sharp and Lineo and HTC"

keef
xamindar
"md5sum /lib/modules.rom/2.4.18-rmk7-pxa3-embedix/kernel/drivers/block/sharp_mmcsd_m.o" will give you the md5 of your module.
Snappy
Md5 is an unique hash string output of an input. The binary file (sharp_mmcsd_m.o) in this case serves as the input to the md5 app. Each binary file is supposed to have a unique hash output. md5 hash is used to ensure the validity of the binary file.

http://en.wikipedia.org/wiki/MD5
keef
QUOTE(xamindar @ May 14 2010, 05:00 PM) *
"md5sum /lib/modules.rom/2.4.18-rmk7-pxa3-embedix/kernel/drivers/block/sharp_mmcsd_m.o" will give you the md5 of your module.



Hi,

Ok it is different: aa56b369c30228a49ddc3dd29eed6b6f

looks like I will have to follow advise from cybersphinx and reflash and try and grab the module.

I got the impression from various threads that this driver would install ok under cacko but maybe not.
klaxon
Here the module wanted by the patch.
keef
QUOTE(klaxon @ May 15 2010, 09:29 AM) *
Here the module wanted by the patch.



hey that's great.

many, many thanks


keef
tux
QUOTE(keef @ May 15 2010, 08:16 PM) *
QUOTE(klaxon @ May 15 2010, 09:29 AM) *
Here the module wanted by the patch.



hey that's great.

many, many thanks


keef

cool.gif I just replaced the (modified by pelrun) greater than 1 GB driver module on my 860 with the module attached above and rebooted. Worked ok. Tried the ipk for the cxx0 from the site in the first link through the gui installer. As with the successful attempt on the 3200 it said that the system would reboot after closing the installer. It rebooted with no problems. I checked that it still read my ordinary SD card and it did. I checked by swapping dictionaries in zbedic. I then checked how it worked with a 4GB puremedia SDHC card I was trying on the 3200. It worked fine. I tested it with fbreader and it recognised the umpteen books I had on the SDHC card and I was able to read them in the usual way.

To sum up: if you have the original un-modified Sharp modules on any of the clamshells you can just install the appropriate ipk from the Japanese site. If you have put the modified modules for the 3xxx series on then you need to uninstall the ipk first before installing the new one.

For the Cxx0 series if you installed the module that pelrun did for us you need to replace them with the one attached in this thread and then install the new version ipk.

Being a wimp on the command line I used treeexplorer to rename the pelrun module and to transfer the original one into place. laugh.gif

Thanks to the finders and experimenters! I actually played with my 860 for the first time in a year or so! I appreciate the screen and the keyboard all the more after using my G1 for the last year! It might even be worth my while to play with dual boot from the SD slot now!!
rlubikey
I see ... it's not IPKG throwing up the MD5 error to complain it's got a duff IPK, it's the SDHC package itself (wisely) checking the file it's about to patch.

Right, grabbed the original Sharp file (thanks klaxon & xamindar). Made backup of Cacko package to *internal* memory and copied Sharp file and SDHC IPK, again, to internal memory.

su root
cd /destination_directory
cp /path_to/new_Sharp_file sharp_mmcsd_m.o
... gives me an error ...
cp: unable to open "sharp_mmcsd_m.o" : Read-only file system

Any ideas what blindingly obvious thing it is I've missed - apart from "average-or-better brains" when they were being handed out, that is.

Thanks,

Richard
the_oak
You need to mount the file system read/write:

QUOTE
(Log in as root)
mount -n -o remount,rw / (make the file system writable)

xamindar
Well, on the zaurus there are two roots mounted. One is read only and is not changeable and the other is read/write. That is so if you mess things up on your zaurus and want to "format" and start over it will just erase the read/write and you will be back to a default configuration. So there are two possible locations for your module. I believe if you go under the modules directory in your path without the .rom you should be able to replace it. Don't quote me on that. I am just looking at my c3100 and under /lib/modules.rom/blablabla/ and the sd module is a different one than I have under /lib/modules/blablabla/ . If I wanted the original module back I think I would just be able to delete the one under /lib/modules and then create a link from the one under /lib/modules.rom to the one under /lib/modules again.

In short, try going to the same location under /lib/modules (without the .rom) and replace that one.
rlubikey
Folks, thanks for your suggestions. I found that:-
/lib/modules/2.4.18-rmk7-pxa3-embedix/kernel/drivers/block/sharp_mmcsd_m.o
(without .rom in the path) also gave a Read-only file system error.

So I tried the remount,rw and then copied the file to:-
/lib/modules.rom/2.4.18-rmk7-pxa3-embedix/kernel/drivers/block/sharp_mmcsd_m.o
which gave no errors. Then ran the SDHC IPK which also ran without errors (I was lazy and used the GUI package manager) so presumably I had chosen the correct file location.

The old 256MB SD is still recognised seemingly without any problems, but the 32GB card is giving me a headache. After fun & games trying to backup the old card onto the new and the new 32GB card not being recognised, I suddenly realised it was formatted to FAT32. Nil desperandum, I thought! I just went to the OESF SD And CF FAQ and formatted it. No, this doesn't seem to work - gives an error about the size of the card! OK, I'll do it on my PC - eventually (finger &/or brain trouble!) However, now it's FAT16 but still not working correctly. Sometimes it sits there saying "Updating Information", sometimes it doesn't. But it always seems to lock up the Zaurus.

Of course, I may have a duff SD card - it is an Ebay special after all! Also, I note the comment in the FAQ that SD cards work fine so long as the filesystem is left alone. I'm not beaten yet but I've got other stuff to do. I'll let you know how I get on.

Thanks again. All for now,

Richard
xamindar
The Zaurus should read FAT16, FAT32, ext2, ext3,jffs just fine. Doesn't matter which one you use on your SD card. But if you want windows to be able to read it as well without a special driver then format it as fat32. I don't know how you were able to format that 32GB card as fat16 because the maximum partition size of fat16 as far as I know is 4GB, unless you used a very large non-standard cluster size or something. Format it back as fat32 in windows and that should be enough for the zaurus. If your zaurus freezes when you insert the card then it is acting as if the SD driver you are using is still the original. Did you remember to reboot after installing the package?

Also, try some smaller ones as well like 4GB or 8GB. No one has tested a 32GB card on these forums yet and for all we know that really doesn't work.
rlubikey
I've been quiet for a while - I haven't lost interest but things are complicated.

Xamindar - I had FAT16 fixed in my mind for compatibility with flashing, but I've now tried FAT32 and Ext2. I don't know how I managed 32G with FAT16 either!!! Yes, I rebooted after applying the changes - good suggestion though.

There's definitely a problem but it might be:-
  1. Finger trouble on my part (most likely!),
  2. I broke the SDHC card by formatting it,
  3. The disc utilities on our Linux laptop (the only thing I have which is SDHC compatible) are ... errr? ... unpredictable, buggy, or amplify my finger trouble,
  4. I don't entirely understand how to manage discs,
  5. Or ... I bought a dodgy ebay-special SDHC :¬(

I don't currently have any other SDHC cards to try. The SD slot is still working because my old card is fine. I'm not giving this 100% attention at the moment but I spent last night trying to verify whether my SDHC was genuine using H2testw and I didn't entirely understand the errors I was getting. They didn't seem to be saying "you've got a fake". Re-formating the device changed things somewhat, but it takes an age to run the test.

This isn't a cry for help; just to let you all know I haven't vanished.

Richard
xamindar
You should probably verify that the card works on a computer with an SDHC slot that you know supports that capacity. There are a lot of flash memory fakes out there recently. They will report a certain size, say 16GB, but will really be something like a 4GB card. If you try to fill it all the way up it will corrupt everything once you pass its actual capacity, in this case 4GB. You don't yet know if the zaurus supports it so first find out if the card works correctly in the first place.

And regarding flashing: Buy a 2GB or less card and format it fat16 OR you can take a larger card and use fdisk or any other partition tool that will work on flash (probably not something in Windows) and wipe the partition table on the flash. Then create a new partition with a size of 2GB or less and format that one fat16.
MaBo
whoohow! It worked for me too.

I'm very happy. It is great to watch the photos on my zaurus now!

MaBo
brontoZaurus
any chance to use this with pdaxrom¿?
thanks.
brontoZaurus
i cant use it with cacko 1.23b on my c3000, it handles normal sd cards but not sdhc, only ONE TIME i forgot a sdhc inserted qhen charging suspended, at resume the card worked!!!
anyone know what is happening¿?
koan
Doesn't Cacko have a special driver for SD cards (up to 2GB IIRC) ? Have you remembered to remove it ?
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2014 Invision Power Services, Inc.