Author Topic: Alpha Sd Driver For Collie  (Read 9409 times)

thesing

  • Newbie
  • *
  • Posts: 17
    • View Profile
Alpha Sd Driver For Collie
« on: April 01, 2007, 12:02:45 pm »
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
Cheers,
Thomas

SL5500G Angstrom-unstable with Kernel 2.6 in devellopment
C3100 mostly occupied by my girlfriend ;)

paganoll

  • Newbie
  • *
  • Posts: 44
    • View Profile
Alpha Sd Driver For Collie
« Reply #1 on: April 14, 2007, 12:17:56 pm »
My Collie send's you a kiss    
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"  
« Last Edit: April 14, 2007, 05:10:20 pm by paganoll »

thesing

  • Newbie
  • *
  • Posts: 17
    • View Profile
Alpha Sd Driver For Collie
« Reply #2 on: April 15, 2007, 08:15:44 am »
Quote
My Collie send's you a kiss   
Is kexec patch working? Better i test it. Thanks!!
If you use the image I uploaded on friday, kexec should work.

Quote
#modprobe locomo-spi
- Modules loaded:
  mmc_spi
  mmc_core
  locomo_spi
mmc_block is missing.

Quote
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
I wana test to load diferent kernels with filesystems with kexec (2.6 kernel)
using your image as "grub" 
[div align=\"right\"][a href=\"index.php?act=findpost&pid=158831\"][{POST_SNAPBACK}][/a][/div]

This should work without problems.
Cheers,
Thomas

SL5500G Angstrom-unstable with Kernel 2.6 in devellopment
C3100 mostly occupied by my girlfriend ;)

telemetric_au

  • Sr. Member
  • ****
  • Posts: 327
    • View Profile
    • http://www.tyrannozaurus.com/feed/contribs/telemetric/index.htm
Alpha Sd Driver For Collie
« Reply #3 on: April 18, 2007, 03:27:51 am »
what does this do ??
Collie w/ pdaxrom & Puppy OS w/ cross-sdk
Hawking HCF686TX 10/100, Ambicom 802.11b (WL1100C-CF), Xircom 56K Global CF
Kingston CF Elite Pro & SD 1Gb & 128mb for flashing
$2 screen protector, collie.pdaxrom.feed : my collie pdaxrom site

thesing

  • Newbie
  • *
  • Posts: 17
    • View Profile
Alpha Sd Driver For Collie
« Reply #4 on: April 18, 2007, 05:47:40 am »
It enables MMC/SD-card support for collie on kernel 2.6
Cheers,
Thomas

SL5500G Angstrom-unstable with Kernel 2.6 in devellopment
C3100 mostly occupied by my girlfriend ;)

charlie

  • Jr. Member
  • **
  • Posts: 84
    • View Profile
    • http://
Alpha Sd Driver For Collie
« Reply #5 on: April 18, 2007, 07:53:44 am »
Quote
It enables MMC/SD-card support for collie on kernel 2.6
[div align=\"right\"][a href=\"index.php?act=findpost&pid=159153\"][{POST_SNAPBACK}][/a][/div]

That's what we've all been hoping for to rejuvenate the platform as Collie interest has waned considerably on the board recently.
The one true Charlie on the board.

UK sl5500 with oz3.5.4 (opie)(Hentges-RC candidate,  64/0 kernel  with apps from HRW's experimental feed).  PQI 256m cf card.  Dane 512mb sd card.

telemetric_au

  • Sr. Member
  • ****
  • Posts: 327
    • View Profile
    • http://www.tyrannozaurus.com/feed/contribs/telemetric/index.htm
Alpha Sd Driver For Collie
« Reply #6 on: April 18, 2007, 10:03:44 am »
[where] can i find out more about 2.6 on collie ?
Collie w/ pdaxrom & Puppy OS w/ cross-sdk
Hawking HCF686TX 10/100, Ambicom 802.11b (WL1100C-CF), Xircom 56K Global CF
Kingston CF Elite Pro & SD 1Gb & 128mb for flashing
$2 screen protector, collie.pdaxrom.feed : my collie pdaxrom site

thesing

  • Newbie
  • *
  • Posts: 17
    • View Profile
Alpha Sd Driver For Collie
« Reply #7 on: April 18, 2007, 05:18:36 pm »
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.
Cheers,
Thomas

SL5500G Angstrom-unstable with Kernel 2.6 in devellopment
C3100 mostly occupied by my girlfriend ;)

rolf

  • Full Member
  • ***
  • Posts: 105
    • View Profile
    • http://home.arcor.de/leggewie/
Alpha Sd Driver For Collie
« Reply #8 on: May 29, 2007, 06:58:11 am »
Quote
AFAIK there is no status page for 2.6 on collie.
There is one now: http://linuxtogo.org/gowiki/ZaurusCollie