Matthieu Crapet napsal(a):
> Greetings all,
>
> Daniel,
> I had a glance on your CF IDE driver.
> I didn't take the same approch, I followed Alessandro Zummo and made a
> "pata_7200" (parallel ATA) driver.
> Don't know really which is the best.
> Do you think it would be possible to use DMA with compact flash ?
Sorry I don't know. I spend much time to write this because I am beginner in
kernel programming.
I only port driver from 2.4 -> 2.6. If you want look to my dmesg output
http://arm.mydatex.cz/TS72XX/dmesg.
Dan
>
> Charlie,
> You're right the patch "ep93xx_eth: conversion to phylib framework" is
> newer that the original Lennert driver I inlcuded in my take2 patch.
> I think I will alse add the ep93xx-uniq-S/N printf.
> I already included the nfbit patch.
>
> Olivier,
> Thanks for phy patch !
>
> Tom, here is the dmesg (my TS7200 is an old EP01 @ 166Mhz):
>
> Linux version 2.6.24.4-matt (gcc version 3.4.4 (release)
> (CodeSourcery ARM 2005q3-2)) #2 PREEMPT Sun Apr 6 16:48:56 CEST 2008
> CPU: ARM920T [41129200] revision 0 (ARMv4T), cr=40007177
> Machine: Technologic Systems TS-72xx SBC
> Memory policy: ECC disabled, Data cache writeback
> CPU0: D VIVT write-back cache
> CPU0: I cache: 16384 bytes, associativity 64, 32 byte lines, 8 sets
> CPU0: D cache: 16384 bytes, associativity 64, 32 byte lines, 8 sets
> Built 2 zonelists in Zone order, mobility grouping off. Total pages: 4064
> Kernel command line: console=ttyAM0,115200 root=/dev/nfs ip=192.168.1.50
> nfsroot=192.168.1.48:/home/matt/TS-7200/nfsroot
> PID hash table entries: 64 (order: 6, 256 bytes)
> Console: colour dummy device 80x30
> Dentry cache hash table entries: 2048 (order: 1, 8192 bytes)
> Inode-cache hash table entries: 1024 (order: 0, 4096 bytes)
> Memory: 8MB 8MB 8MB 8MB = 32MB total
> Memory: 12348KB available (3452K code, 294K data, 96K init)
> Mount-cache hash table entries: 512
> CPU: Testing write buffer coherency: ok
> net_namespace: 64 bytes
> NET: Registered protocol family 16
> ep93xx: PLL1 running at 331 MHz, PLL2 at 192 MHz
> ep93xx: FCLK 165 MHz, HCLK 66 MHz, PCLK 33 MHz
> SCSI subsystem initialized
> usbcore: registered new interface driver usbfs
> usbcore: registered new interface driver hub
> usbcore: registered new device driver usb
> NET: Registered protocol family 2
> IP route cache hash table entries: 1024 (order: 0, 4096 bytes)
> TCP established hash table entries: 512 (order: 0, 4096 bytes)
> TCP bind hash table entries: 512 (order: -1, 2048 bytes)
> TCP: Hash tables configured (established 512 bind 512)
> TCP reno registered
> NetWinder Floating Point Emulator V0.97 (extended precision)
> NTFS driver 2.1.29 [Flags: R/W DEBUG].
> JFFS2 version 2.2. (NAND) © 2001-2006 Red Hat, Inc.
> io scheduler noop registered
> io scheduler anticipatory registered
> io scheduler deadline registered
> io scheduler cfq registered (default)
> Serial: 8250/16550 driver $Revision: 1.90 $ 1 ports, IRQ sharing disabled
> serial8250.123: ttyS0 at I/O 0xfebf53e8 (irq = 40) is a 16550A
> Serial: AMBA driver $Revision: 1.41 $
> apb:uart1: ttyAM0 at MMIO 0x808c0000 (irq = 52) is a AMBA
> console [ttyAM0] enabled
> apb:uart2: ttyAM1 at MMIO 0x808d0000 (irq = 54) is a AMBA
> apb:uart3: ttyAM2 at MMIO 0x808e0000 (irq = 55) is a AMBA
> ep93xx-eth version 0.1 loading
> eth0: ep93xx on-chip ethernet, IRQ 39, 00:d0:69:40:03:34.
> Driver 'sd' needs updating - please use bus_type methods
> scsi0 : pata_ts7200
> ata1: PATA max PIO4 mmio cmd 0x11000000 ctl 0x10400006 irq 32
> ata1.00: CFA: Hitachi XX.V.3.4.0.0, Rev 0.00, max PIO4
> ata1.00: 500400 sectors, multi 0: LBA
> ata1.00: configured for PIO
> ata1.00: configured for PIO
> ata1: EH complete
> scsi 0:0:0:0: Direct-Access ATA Hitachi XX.V.3.4 Rev PQ: 0 ANSI: 5
> sd 0:0:0:0: [sda] 500400 512-byte hardware sectors (256 MB)
> sd 0:0:0:0: [sda] Write Protect is off
> sd 0:0:0:0: [sda] Write cache: disabled, read cache: enabled, doesn't
> support DPO or FUA
> sd 0:0:0:0: [sda] 500400 512-byte hardware sectors (256 MB)
> sd 0:0:0:0: [sda] Write Protect is off
> sd 0:0:0:0: [sda] Write cache: disabled, read cache: enabled, doesn't
> support DPO or FUA
> sda: sda1
> sd 0:0:0:0: [sda] Attached SCSI removable disk
> TS-7200 flash mapping: 0x800000 at 0x60000000
> Full TS-7200 NOR flash: Found 1 x16 devices at 0x0 in 16-bit bank
> Intel/Sharp Extended Query Table at 0x0031
> Using buffer write method
> cfi_cmdset_0001: Erase suspend on write enabled
> Creating 3 MTD partitions on "Full TS-7200 NOR flash":
> 0x00000000-0x00020000 : "TS-BOOTROM"
> 0x00020000-0x00620000 : "RootFS"
> 0x00620000-0x00800000 : "Redboot"
> ep93xx-ohci ep93xx-ohci: EP93xx OHCI
> ep93xx-ohci ep93xx-ohci: new USB bus registered, assigned bus number 1
> ep93xx-ohci ep93xx-ohci: irq 56, io mem 0x80020000
> usb usb1: configuration #1 chosen from 1 choice
> hub 1-0:1.0: USB hub found
> hub 1-0:1.0: 3 ports detected
> usb usb1: Product: EP93xx OHCI
> usb usb1: Manufacturer: Linux 2.6.24.4-matt ohci_hcd
> usb usb1: SerialNumber: ep93xx
> Initializing USB Mass Storage driver...
> usbcore: registered new interface driver usb-storage
> USB Mass Storage support registered.
> mice: PS/2 mouse device common for all mice
> ep93xx-rtc ep93xx-rtc: rtc core: registered ep93xx as rtc0
> rtc-m48t86 rtc-m48t86: rtc core: registered m48t86 as rtc1
> rtc-m48t86 rtc-m48t86: battery ok
> i2c /dev entries driver
> Registered led device: ep93xx:green
> Registered led device: ep93xx:red
> TCP cubic registered
> NET: Registered protocol family 1
> NET: Registered protocol family 17
> RPC: Registered udp transport module.
> RPC: Registered tcp transport module.
> rtc-m48t86 rtc-m48t86: setting system clock to 2008-04-09 18:36:37 UTC
> (1207766197)
> IP-Config: Guessing netmask 255.255.255.0
> IP-Config: Complete:
> device=eth0, addr=192.168.1.50, mask=255.255.255.0,
> gw=255.255.255.255,
> host=192.168.1.50, domain=, nis-domain=(none),
> bootserver=255.255.255.255, rootserver=192.168.1.48, rootpath=
> Looking up port of RPC 100003/2 on 192.168.1.48
> Looking up port of RPC 100005/1 on 192.168.1.48
> VFS: Mounted root (nfs filesystem).
> Freeing init memory: 96K
> INIT: version 2.86 booting
>
> ----
>
> Regards,
> Matthieu
>
>
> ------------------------------------
>
> Yahoo! Groups Links
>
>
>
--
Mydatex s r.o.
http://www.mydatex.cz
email:
mob: 604200362
tel: 226210085
------------------------------------
Yahoo! Groups Links
<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/ts-7000/
<*> Your email settings:
Individual Email | Traditional
<*> To change settings online go to:
http://groups.yahoo.com/group/ts-7000/join
(Yahoo! ID required)
<*> To change settings via email:
<*> To unsubscribe from this group, send an email to:
<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
|