Is there any information on how to set up and use the mmc/sd?
When I enable TI DAVINCI Multimedia Card Interface support.
I get:
Linux version 2.6.10_mvl401-davinci_evm ([EMAIL PROTECTED]) (gcc version 3.4.3
(MontaVista 3.4.3-25.0.30.0501131 2005-07-23)) #15 Tue Oct 2 16:10:55 MDT 2007
CPU: ARM926EJ-Sid(wb) [41069265] revision 5 (ARMv5TEJ)
CPU0: D VIVT write-back cache
CPU0: I cache: 16384 bytes, associativity 4, 32 byte lines, 128 sets
CPU0: D cache: 8192 bytes, associativity 4, 32 byte lines, 64 sets
Machine: DaVinci EVM
Memory policy: ECC disabled, Data cache writeback
Built 1 zonelists
Kernel command line: console=ttyS0,115200n8 noinitrd ip=dhcp root=/dev/nfs nfsro
ot=192.168.0.114:/home/guest/workdir/filesys,nolock mem=120M
PID hash table entries: 512 (order: 9, 8192 bytes)
Console: colour dummy device 80x30
Dentry cache hash table entries: 16384 (order: 4, 65536 bytes)
Inode-cache hash table entries: 8192 (order: 3, 32768 bytes)
Memory: 120MB = 120MB total
Memory: 118656KB available (2367K code, 492K data, 140K init)
Mount-cache hash table entries: 512 (order: 0, 4096 bytes)
CPU: Testing write buffer coherency: ok
spawn_desched_task(00000000)
desched cpu_callback 3/00000000
ksoftirqd started up.
desched cpu_callback 2/00000000
desched thread 0 started up.
NET: Registered protocol family 16
Registering platform device 'musb_hdrc'. Parent at platform
DaVinci I2C DEBUG: 14:57:03 Dec 26 2006
Registering platform device 'i2c'. Parent at platform
usbcore: registered new driver usbfs
usbcore: registered new driver hub
Bluetooth: Core ver 2.7
NET: Registered protocol family 31
Bluetooth: HCI device and connection manager initialized
Bluetooth: HCI socket layer initialized
JFFS2 version 2.2. (NAND) (C) 2001-2003 Red Hat, Inc.
yaffs Dec 26 2006 14:56:02 Installing.
Registering platform device 'davincifb.0'. Parent at platform
Setting Up Clocks for DM420 OSD
Console: switching to colour frame buffer device 90x30
fb0: dm_osd0_fb frame buffer device
fb1: dm_vid0_fb frame buffer device
fb2: dm_osd1_fb frame buffer device
fb3: dm_vid1_fb frame buffer device
Serial: 8250/16550 driver $Revision: 1.90 $ 2 ports, IRQ sharing disabled
Registering platform device 'serial8250'. Parent at platform
ttyS0 at MMIO 0x1c20000 (irq = 40) is a 16550A
io scheduler noop registered
io scheduler anticipatory registered
RAMDISK driver initialized: 1 RAM disks of 32768K size 1024 blocksize
Registering platform device 'ti_davinci_emac'. Parent at platform
TI DaVinci EMAC: MAC address is 00:0e:99:02:55:0b
TI DaVinci EMAC Linux version updated 4.0
TI DaVinci EMAC: Installed 1 instances.
netconsole: not configured, aborting
i2c /dev entries driver
Linux video capture interface: v1.00
Registering platform device 'vpfe.1'. Parent at platform
DaVinci v4l2 capture driver V1.0 loaded
Uniform Multi-Platform E-IDE driver Revision: 7.00alpha2
ide: Assuming 50MHz system bus speed for PIO modes; override with idebus=xx
hda: TOSHIBA MK4032GAX, ATA DISK drive
elevator: using anticipatory as default io scheduler
ide0 at 0xe10661f0-0xe10661f7,0xe10663f6 on irq 22
hda: max request size: 1024KiB
hda: 78140160 sectors (40007 MB), CHS=16383/255/63
hda: hda1 hda2
ide0: BM-DMA at 0xe1066000-0xe1066007, BIOS settings: hda:pio, hdb:pio
mice: PS/2 mouse device common for all mice
musb_hdrc: version 2.2a/db-0.4.8 [pio] [host] [debug=0]
musb_hdrc: USB Host mode controller at c8060000 using PIO, IRQ 12
musb_hdrc musb_hdrc: new USB bus registered, assigned bus number 1
hub 1-0:1.0: USB hub found
hub 1-0:1.0: 1 port detected
Bluetooth: HCI USB driver ver 2.7
usbcore: registered new driver hci_usb
Bluetooth: HCI UART driver ver 2.1
Bluetooth: HCI H4 protocol initialized
Bluetooth: HCI BCSP protocol initialized
Bluetooth: Broadcom Blutonium firmware driver ver 1.0
usbcore: registered new driver bcm203x
Registering platform device 'mmc0.1'. Parent at platform
Registering platform device 'davinci-audio.0'. Parent at platform
NET: Registered protocol family 2
IP: routing cache hash table of 512 buckets, 4Kbytes
TCP: Hash tables configured (established 8192 bind 16384)
NET: Registered protocol family 1
NET: Registered protocol family 17
Bluetooth: L2CAP ver 2.6
Bluetooth: L2CAP socket layer initialized
Bluetooth: RFCOMM ver 1.3
Bluetooth: RFCOMM socket layer initialized
Bluetooth: BNEP (Ethernet Emulation) ver 1.2
usb 1-1: new full speed USB device using musb_hdrc and address 2
mmc0: host does not support reading read-only switch. assuming write-enable.
Unable to handle kernel NULL pointer dereference at virtual address 00000048
pgd = c0004000
[00000048] *pgd=00000000
Internal error: Oops: 5 [#1]
Modules linked in:
CPU: 0
PC is at mmc_davinci_request+0x294/0x5cc
LR is at 0x0
pc : [<c01b3774>] lr : [<00000000>] Not tainted
sp : c043bd50 ip : 00000008 fp : c043bdcc
r10: 00000010 r9 : c043beb0 r8 : c043be80
r7 : 00000000 r6 : c7276aec r5 : 0000fff0 r4 : c029465c
r3 : 00000000 r2 : c043be50 r1 : 00004014 r0 : 00000000
Flags: Nzcv IRQs on FIQs on Mode SVC_32 Segment kernel
Control: 5317F Table: 80004000 DAC: 00000017
Process events/0 (pid: 4, stack limit = 0xc043a1a0)
Stack: (0xc043bd50 to 0xc043c000)
bd40: c043bd7c c043bd78 00000000 c02388a4
bd60: 00000000 c040f540 c003c2b0 00000000 0000001a c7276a00 0000001a 0000001a
bd80: c003c2b0 00100100 00200200 c043bd98 c01b085c 00000000 c043bdb8 c7276a00
bda0: c043bde0 c043beb0 c7276a00 00000014 c043be50 c043be80 c7276a00 c07b9e00
bdc0: c043bdec c043bdd0 c01b085c c01b34f0 c043be14 c043bde0 00000000 c043bdf0
bde0: c043be14 c043bdf0 c01b08c0 c01b07a0 00000000 c043bdf4 c043bdf4 00000000
be00: 00000ed8 c043be38 c043bf54 c043be18 c01b18e8 c01b0898 c7276a9c c7276a9c
be20: 00000001 00ff8000 c07a20d0 00000010 c043bea8 c0499400 c0308720 00000ed8
be40: 00000000 00000008 00000000 00000001 17d78400 00000000 00000003 00000001
be60: 00000000 00000000 00000200 00000000 00000000 c043beb0 00000001 c043be38
be80: 00000033 00000000 00000000 00000000 00000000 00000000 00000009 00000000
bea0: 00000000 c043be50 c043beb0 60000001 c043be80 c043be50 00000000 c043bdf0
bec0: c01b0870 c043bed0 00000009 12340000 004f0032 5f5983cb f6dbff8f 8a400033
bee0: 0000000a 00000003 00000000 00000000 c043bde0 00000000 218ac880 0098963b
bf00: c0449800 c040f69c 00000002 c043a000 c043bf80 c043a000 60000013 c0411f20
bf20: c0499400 c0411f28 c043bf54 c7276ab8 c7276ab4 c043a000 00000000 c0411f20
bf40: c7276a00 c0411f28 c043bfc4 c043bf58 c0051e48 c01b0f74 c0429f2c c01b0f64
bf60: ffffffff ffffffff 00000001 00000000 c003c2b0 00010000 00000000 c043a000
bf80: 00000000 c040f540 c003c2b0 00100100 00200200 00000000 c043bfc4 c0411f20
bfa0: c043a000 c0429f20 c0051c44 fffffffc 00000000 00000000 c043bff4 c043bfc8
bfc0: c00573e4 c0051c54 ffffffff ffffffff 00000000 00000000 00000000 00000000
bfe0: 00000000 00000000 00000000 c043bff8 c0042808 c0057314 78655fd2 65ff0beb
Backtrace:
[<c01b34e0>] (mmc_davinci_request+0x0/0x5cc) from [<c01b085c>] (mmc_start_reques
t+0xcc/0xe0)
[<c01b0790>] (mmc_start_request+0x0/0xe0) from [<c01b08c0>] (mmc_wait_for_req+0x
38/0x50)
r5 = C043BDF0 r4 = 00000000
[<c01b0888>] (mmc_wait_for_req+0x0/0x50) from [<c01b18e8>] (mmc_rescan+0x984/0xb
98)
r5 = C043BE38 r4 = 00000ED8
[<c01b0f64>] (mmc_rescan+0x0/0xb98) from [<c0051e48>] (worker_thread+0x204/0x2c0
)
[<c0051c44>] (worker_thread+0x0/0x2c0) from [<c00573e4>] (kthread+0xe0/0x114)
[<c0057304>] (kthread+0x0/0x114) from [<c0042808>] (do_exit+0x0/0xda0)
r8 = 00000000 r7 = 00000000 r6 = 00000000 r5 = 00000000
r4 = 00000000
Code: e3a07000 e35a0cfa 959f5314 e5923010 (e5933048)
<5>Sending DHCP requests ., OK
IP-Config: Got DHCP answer from 0.0.0.0, my address is 192.168.0.102
IP-Config: Complete:
device=eth0, addr=192.168.0.102, mask=255.255.255.0, gw=192.168.0.1,
host=192.168.0.102, domain=, nis-domain=(none),
bootserver=0.0.0.0, rootserver=192.168.0.114, rootpath=
---------------------------------
Building a website is a piece of cake.
Yahoo! Small Business gives you all the tools to get online._______________________________________________
Davinci-linux-open-source mailing list
[email protected]
http://linux.davincidsp.com/mailman/listinfo/davinci-linux-open-source