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

IPB

Welcome Guest ( Log In | Register )

 
Reply to this topicStart new topic
> Alpha Sd Driver For Collie
thesing
post Apr 1 2007, 08:02 AM
Post #1





Group: Members
Posts: 17
Joined: 15-October 04
Member No.: 5,027



Hello,

I wrote a SPI Driver for Collie. It's very slow, because it runs at the lowest clock ATM. You can play with different speed using:
/sys/bus/locomo-bus/drivers/locomo-spi/clockmult
/sys/bus/locomo-bus/drivers/locomo-spi/clockbase
I don't know yet what the numbers mean, but I will soon.

Patches can be found at http://www2.informatik.hu-berlin.de/~tkunze/zaurus/patches .
The important ones are:
locomo-r0.patch:
-fixes GPIO direction setting
-implements SPI irq setting
locomo_spi-r0.patch
-the spi driver
mmc_spi-r1.patch
-from LKML with very little changes by me

I will provide a bootstrap-image for testing soon:
http://www2.informatik.hu-berlin.de/~tkunze/zaurus/images

Cheers,

Thomas
Go to the top of the page
 
+Quote Post
paganoll
post Apr 14 2007, 08:17 AM
Post #2





Group: Members
Posts: 44
Joined: 31-January 06
Member No.: 9,041



My Collie send's you a kiss laugh.gif
Is kexec patch working? Better i test it. Thanks!!

-edit-
Module locomo-spi loads ok but device does not auto-mount (1Gb SD)
I can't find the /dev/xxx file to mount it. ┐Should it be easy?

#modprobe locomo-spi
- Modules loaded:
mmc_spi
mmc_core
locomo_spi

Messages:
no card power management
can't initialize the card: no card?

I wana test to load diferent kernels with filesystems with kexec (2.6 kernel)
using your image as "grub" smile.gif
Go to the top of the page
 
+Quote Post
thesing
post Apr 15 2007, 04:15 AM
Post #3





Group: Members
Posts: 17
Joined: 15-October 04
Member No.: 5,027



QUOTE(paganoll @ Apr 14 2007, 04:17 PM)
My Collie send's you a kiss  laugh.gif 
Is kexec patch working? Better i test it. Thanks!!

If you use the image I uploaded on friday, kexec should work.

QUOTE(paganoll @ Apr 14 2007, 04:17 PM)
#modprobe locomo-spi
- Modules loaded:
  mmc_spi
  mmc_core
  locomo_spi

mmc_block is missing.

QUOTE(paganoll @ Apr 14 2007, 04:17 PM)
Messages:
  no card power management
  can't initialize the card: no card?

It seems, that your card is not recognized. Try reinserting it. Some cards doesn't work yet. I will get some new test cards soon. The patch is in OE now, so you can recompile the modules with debugging support. If you do "echo "1" > /sys/bus/locomo-bus/drivers/locomo-spi/verbose" you get additional debug messages.

QUOTE(paganoll @ Apr 14 2007, 04:17 PM)
I wana test to load diferent kernels with filesystems with kexec (2.6 kernel)
using your image as "grub"  smile.gif
*


This should work without problems.
Go to the top of the page
 
+Quote Post
telemetric_au
post Apr 17 2007, 11:27 PM
Post #4





Group: Members
Posts: 327
Joined: 28-February 06
From: South East of South Australia
Member No.: 9,251



what does this do ??
Go to the top of the page
 
+Quote Post
thesing
post Apr 18 2007, 01:47 AM
Post #5





Group: Members
Posts: 17
Joined: 15-October 04
Member No.: 5,027



It enables MMC/SD-card support for collie on kernel 2.6
Go to the top of the page
 
+Quote Post
charlie
post Apr 18 2007, 03:53 AM
Post #6





Group: Members
Posts: 87
Joined: 5-June 03
From: UK - The frozen North
Member No.: 94



QUOTE(thesing @ Apr 18 2007, 09:47 AM)
It enables MMC/SD-card support for collie on kernel 2.6
*


That's what we've all been hoping for to rejuvenate the platform as Collie interest has waned considerably on the board recently.
Go to the top of the page
 
+Quote Post
telemetric_au
post Apr 18 2007, 06:03 AM
Post #7





Group: Members
Posts: 327
Joined: 28-February 06
From: South East of South Australia
Member No.: 9,251



[where] can i find out more about 2.6 on collie ?
Go to the top of the page
 
+Quote Post
thesing
post Apr 18 2007, 01:18 PM
Post #8





Group: Members
Posts: 17
Joined: 15-October 04
Member No.: 5,027



AFAIK there is no status page for 2.6 on collie. Maybe I should set up one. You can find some pieces of information with google, but much is out of date. There are angstrom-test images at: http://www.angstrom-distribution.org/unstable/images/collie/

The kernel is not ready for end-users yet:

Things that work more or less:
- LCD
- Keys
- Leds
- PCMCIA
- MMC/SD
- Serial Port
- Flash
- Battery/Charging

Things that should work (havent tested):
- Touchscreen
- Irda
- USB Client

Things that doen't work yet:
- Suspend/Resume
- Audio (buzzer + headphone jack)

The SD driver should support at least 4 GB SD-Cards. You have to load the modules locomo-spi and mmc-block to use SD-Cards.
Go to the top of the page
 
+Quote Post
rolf
post May 29 2007, 02:58 AM
Post #9





Group: Members
Posts: 108
Joined: 5-October 04
Member No.: 4,884



QUOTE(thesing @ Apr 18 2007, 11:18 PM)
AFAIK there is no status page for 2.6 on collie.

There is one now: http://linuxtogo.org/gowiki/ZaurusCollie
Go to the top of the page
 
+Quote Post

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: 21st August 2014 - 06:06 AM