OESF | ELSI | pdaXrom | OpenZaurus | Zaurus Themes | Community Links | Ibiblio

IPB

Welcome Guest ( Log In | Register )

4 Pages V  < 1 2 3 4 >  
Reply to this topicStart new topic
> Mmc Soldered. Driver Almost Working
guylhem
post Oct 26 2005, 05:17 AM
Post #31





Group: Members
Posts: 577
Joined: 17-March 04
Member No.: 2,365



Hello

I simply copy/paste a module compilation command line. You can try to put the latest mmc.c you can find on the page in the kernel directory where the old mmc.c is. Alternatively, I can send you a binary if you want to test.

PS: IIRC you're into hardware mods too. May I ask you to give me a hard in flash upgrading of the simpad?

Guylhem
Go to the top of the page
 
+Quote Post
sash
post Oct 27 2005, 11:16 PM
Post #32





Group: Members
Posts: 12
Joined: 29-September 05
Member No.: 8,218



QUOTE(guylhem @ Oct 26 2005, 03:17 PM)
PS: IIRC you're into hardware mods too. May I ask you to give me a hard in flash upgrading of the simpad?

Guylhem
*


That's right, I upgraded my T-sinuspad Flash.

In short:
I soldered a second 16mb Flash with soldering paste and an hot-air-pen on the free pads.

But no idea how to upgrade the flash more than 32 mb.
I was not able to find any flash chips i could pay dry.gif
And I also dont know how often you can desolder (is it correct?) and solder again,
until the pads loose their adhesive!?
Go to the top of the page
 
+Quote Post
guylhem
post Oct 28 2005, 05:15 AM
Post #33





Group: Members
Posts: 577
Joined: 17-March 04
Member No.: 2,365



Hello

I found some nor flash chips references that should be compatible, but I couldn't pruchase them.

If you are interested in attempting to sodler them, I will do my best to find them. I don't think soldering/resoldering should be a problem, as long as you don't damage anything

Guylhem
Go to the top of the page
 
+Quote Post
sash
post Oct 29 2005, 11:09 AM
Post #34





Group: Members
Posts: 12
Joined: 29-September 05
Member No.: 8,218



At the moment I try to get my 512mb sd card to work.
I think a half gigabyte additional storage should be enough biggrin.gif

The problem is that with your image the mmc driver ist working, but I can not load the needed hostap
version for my Sundisk Connect+.
Go to the top of the page
 
+Quote Post
fredyd
post Nov 2 2005, 06:26 AM
Post #35





Group: Members
Posts: 38
Joined: 4-April 05
Member No.: 6,787



Can the simpad MMC module be considered stable enough to be included in the mainstream kernel (2.4.27) ?
I'm wondering how solid it is, considering the comments at the top of the code...
Go to the top of the page
 
+Quote Post
guylhem
post Nov 3 2005, 10:44 AM
Post #36





Group: Members
Posts: 577
Joined: 17-March 04
Member No.: 2,365



fredyd, it's not stable enough - it needs power management support (if you suspend with a mounted partition, there's corruption...) will do that sometime

sash, did you succeed in having both the hard disk part and wifi part at the same time? I could under wince, I can't on linux. IIRC it's due to not applying some voltage, ie a driver problem.

Guylhem
Go to the top of the page
 
+Quote Post
sash
post Nov 4 2005, 01:51 PM
Post #37





Group: Members
Posts: 12
Joined: 29-September 05
Member No.: 8,218



@Guylhem: You were right - it's a driver problem.
I think first it was the actual pcmcia-cs package which does not support binding two
modules/driver to the same slot. And second nobody definitivly knows which initialising
command(s) are used to tell the connect+ to run in wifi+storage mode dry.gif

Thus I soldered the sc-card to extend the memory.


Can you help me a little bit further to compile the module for an actual kernel?

I tried the following with the kernel from oe-tree:
1. modified the kernel-patch to enable mmc support (CONFIG_MMC=y)
2. replaced the linux/drivers/mmc/mmc_core.c with your mmc driver

If I compile the kernel using bitbake, a mmcdrivers.o and mmc_core.o is generated.
But both of them produce no output when I load them. insmod reports something from tainted kernel module.
IIRC it is only a warning and the module should function anyhow!?
lsmod reports that the module is loaded, but there is no dev/mmc directory.

Any ideas?


btw: The power management support could be released by the apm scripts.
I did the same with wpa_supplicant on my laptop: Unloading for suspend and reloading on wakeup.
Go to the top of the page
 
+Quote Post
albertr
post Nov 4 2005, 02:12 PM
Post #38





Group: Members
Posts: 535
Joined: 7-March 04
Member No.: 2,195



Well, I'm not Guylhem, but here's how I've compiled it inside the kernel tree - just put Guylhem's mmc.c file into linux/drivers/block directory and added the following:

"tristate 'MMC SPI driver' CONFIG_BLK_DEV_MMC"
to linux/drivers/block/Config.in

and
"obj-$(CONFIG_BLK_DEV_MMC) += mmc.o"
to linux/drivers/block/Makefile

`make menuconfig` then choose "MMC SPI driver" to compile as a module.
That should do it.
Don't enable MMC support that exists in the latest kernels, it has nothing to do with this driver.

As far as power management goes, I think Guylhem is right. The driver needs hooks to apm to properly re-init the card after loss of power. I have my card powered up all the time, so I don't have this problem, but power drain even in idle mode seems to be significant, so I'm planning to re-wire it to some controlled 3.3V domain. Removing/Reloading the driver on apm events is not an option with storage devices IMHO, since it would invalidate its mount state. I'm not sure what would happen if the card is used as a swap device/file in this case...
-albertr
Go to the top of the page
 
+Quote Post
sash
post Nov 6 2005, 09:59 AM
Post #39





Group: Members
Posts: 12
Joined: 29-September 05
Member No.: 8,218



@albertr: It works - thanks smile.gif

I have made a kernel path for actual opensimpad kernel from openembedded repository.
If guylhem (or somebody else) would load it up to his webspace anybody could
compile the driver and make an ipk easily by replacing the original patch before
compiling the kernel.

I think you're right - it's not a good idea to power down/unmount the card with an
opened file.
Do you know how much current your card needs during standby?

Maybe I also let my card always powered on until the power management in implemented.
Go to the top of the page
 
+Quote Post
albertr
post Nov 6 2005, 10:45 AM
Post #40





Group: Members
Posts: 535
Joined: 7-March 04
Member No.: 2,195



I didn't measure it yet - still didn't get around to open my Simpad again. But I left it suspended for a week with a fully charged battery and it drained it completely before I tried to resume it.
-albertr
Go to the top of the page
 
+Quote Post
guylhem
post Nov 6 2005, 12:37 PM
Post #41





Group: Members
Posts: 577
Joined: 17-March 04
Member No.: 2,365



sash, I'd be happy to host the patch, but IMHO it should be send to Frederic Devernay who host images on his website.

BTW, what about restarting more officially the opensimpad project?

I'd like to see my kernel in the opensimpad project, until we or someone else finds some time to work on 2.6

Guylhem
Go to the top of the page
 
+Quote Post
sash
post Nov 10 2005, 12:55 AM
Post #42





Group: Members
Posts: 12
Joined: 29-September 05
Member No.: 8,218



QUOTE(guylhem @ Nov 6 2005, 10:37 PM)
BTW, what about restarting more officially the opensimpad project?
*


The opensimpad project was integrated into the openembedded tree.
Or what did you mean with "restarting the opensimpad project"?

So I thing we only have to contact one of the oe guys to integrate the patch to the oe-tree.
Maybe we could help them to maintain the simpad part of the project!

My problem is that I am not close with irc where most of the discussions take place.
But I'd help as good as possible.
Go to the top of the page
 
+Quote Post
sirtet
post Nov 10 2005, 04:03 AM
Post #43





Group: Members
Posts: 11
Joined: 8-November 05
Member No.: 8,492



about restarting opensimpad
see the new topic

restart opensimpad

thomas
Go to the top of the page
 
+Quote Post
fredyd
post Nov 11 2005, 06:59 AM
Post #44





Group: Members
Posts: 38
Joined: 4-April 05
Member No.: 6,787



Sash sent me the MMC driver, and after a few fixes (kernel compile warnings) I commited it to OpenEmbedded (it's a module after all, so it won't bother people who don't use it).
It's also easier to make images for the t-sinuspad or the 128Mb simpad from OE (see the instructions at the beginning of opensimpad-64+0_2.4.27-vrs1-pxa1-jpm1.bb)

The new images with MMC support will be ready quite soon (tomorrow?).

I wish someone could work on sound support now... Guylhem, won't you need it for your GSM module?

Fred

QUOTE(guylhem @ Nov 6 2005, 10:37 PM)
sash, I'd be happy to host the patch, but IMHO it should be send to Frederic Devernay who host images on his website.

BTW, what about restarting more officially the opensimpad project?

I'd like to see my kernel in the opensimpad project, until we or someone else finds some time to work on 2.6

Guylhem
*
Go to the top of the page
 
+Quote Post
fredyd
post Nov 11 2005, 07:06 AM
Post #45





Group: Members
Posts: 38
Joined: 4-April 05
Member No.: 6,787



From the OE commit log:

opensimpad: MMC support + better support for SinusPad and 128M SIMpad
- There's now a config option to build the kernel for 128Mb SIMpad
(as there was one for the SinusPad)
- The .bb files automatically turn on these options depending on the
total memory available.
- The MMC driver was made by Clement Ballabriga <clement@asso.ups-tlse.fr>
and Guylhem Aznar <simpad@externe.net>.
Adding an MMC card (internal or external) to the SIMpad is described
on these pages:
http://externe.net/zaurus/simpad-bluetooth/
http://www.iral.com/~albertr/linux/simpad/mmc/
Go to the top of the page
 
+Quote Post

4 Pages V  < 1 2 3 4 >
Reply to this topicStart new topic
2 User(s) are reading this topic (2 Guests and 0 Anonymous Users)
0 Members:

 



RSS Lo-Fi Version Time is now: 28th December 2014 - 07:54 AM