Сразу скажу, что плату купил недавна, так что сильно не бить :)
Плата - SK-AT91SAM9XE512, стоит пока всё родное.
Не могу смонтировать SD карточку. Во-первых не пойму, как должен девайс называться в dev, либо mmc/mmc1, либо mmcblk0(такого в /dev нет). На всякий случай привожу процесс загрузки с картой:
Linux version 2.6.24 (root@armmaker) (gcc version 4.2.0 20070413 (prerelease) (CodeSourcery Sourcery G++ Lite 2007q1-10)) #199 Wed Dec 31 16:02:52 MSK 2008
CPU: ARM926EJ-S [41069265] revision 5 (ARMv5TEJ), cr=00053177
Machine: Starterkit.ru SK-MAT91SAM9XE
Memory policy: ECC disabled, Data cache writeback
Clocks: CPU 200 MHz, master 100 MHz, main 12.000 MHz
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
Built 1 zonelists in Zone order, mobility grouping on. Total pages: 8128
Kernel command line: root=/dev/ram0 rw initrd=0x21100000,0x500000 console=ttyS0,115200 mem=32M
AT91: 96 gpio irqs in 3 banks
PID hash table entries: 128 (order: 7, 512 bytes)
Console: colour dummy device 80x30
console [ttyS0] enabled
Dentry cache hash table entries: 4096 (order: 2, 16384 bytes)
Inode-cache hash table entries: 2048 (order: 1, 8192 bytes)
Memory: 32MB = 32MB total
Memory: 24572KB available (2408K code, 226K data, 108K init)
Mount-cache hash table entries: 512
CPU: Testing write buffer coherency: ok
net_namespace: 64 bytes
NET: Registered protocol family 16
SCSI subsystem initialized
usbcore: registered new interface driver usbfs
usbcore: registered new interface driver hub
usbcore: registered new device driver usb
Time: pit clocksource has been installed.
NET: Registered protocol family 2
IP route cache hash table entries: 1024 (order: 0, 4096 bytes)
TCP established hash table entries: 1024 (order: 1, 8192 bytes)
TCP bind hash table entries: 1024 (order: 0, 4096 bytes)
TCP: Hash tables configured (established 1024 bind 1024)
TCP reno registered
checking if image is initramfs...it isn't (no cpio magic); looks like an initrd
Freeing initrd memory: 5120K
NetWinder Floating Point Emulator V0.97 (double precision)
JFFS2 version 2.2. (NAND) (SUMMARY) б╘ 2001-2006 Red Hat, Inc.
io scheduler noop registered
io scheduler anticipatory registered (default)
atmel_usart.0: ttyS0 at MMIO 0xfefff200 (irq = 1) is a ATMEL_SERIAL
atmel_usart.1: ttyS1 at MMIO 0xfffb0000 (irq = 6) is a ATMEL_SERIAL
atmel_usart.2: ttyS2 at MMIO 0xfffb4000 (irq = 7) is a ATMEL_SERIAL
RAMDISK driver initialized: 16 RAM disks of 8192K size 1024 blocksize
loop: module loaded
ssc ssc.0: Atmel SSC device at 0xc2870000 (irq 14)
MACB_mii_bus: probed
eth0: Atmel MACB at 0xfffc4000 irq 21 (00:00:00:00:00:00)
eth0: attached PHY driver [Generic PHY] (mii_bus:phy_addr=ffffffff:01, irq=-1)
Driver 'sd' needs updating - please use bus_type methods
atmel_spi atmel_spi.0: Atmel SPI Controller at 0xfffc8000 (irq 12)
mtd_dataflash spi0.0: AT45DB321x (4224 KBytes)
usbmon: debugfs is not available
at91_ohci at91_ohci: AT91 OHCI
at91_ohci at91_ohci: new USB bus registered, assigned bus number 1
at91_ohci at91_ohci: irq 20, io mem 0x00500000
usb usb1: configuration #1 chosen from 1 choice
hub 1-0:1.0: USB hub found
hub 1-0:1.0: 2 ports detected
Initializing USB Mass Storage driver...
usbcore: registered new interface driver usb-storage
USB Mass Storage support registered.
udc: at91_udc version 3 May 2006
mice: PS/2 mouse device common for all mice
i2c /dev entries driver
usbcore: registered new interface driver usbhid
drivers/hid/usbhid/hid-core.c: v2.6:USB HID core driver
TCP cubic registered
NET: Registered protocol family 1
NET: Registered protocol family 17
RPC: Registered udp transport module.
RPC: Registered tcp transport module.
RAMDISK: Compressed image found at block 0
VFS: Mounted root (ext2 filesystem).
Freeing init memory: 108K
umount: Couldn't umount /mnt/mmc: Invalid argument
rmmod: at91_mci: No such file or directory
mount: Mounting /dev/mmc1 on /mnt/mmc failed: No such file or directory
Starting system...
mount: Mounting none on /dev/pts failed: No such file or directory
SIOCSIFFLAGS: Invalid argument
SIOCSIFFLAGS: Invalid argument
chgrp: unknown group name: utmp
mount: Mounting /dev/sda1 on /mnt/usb failed: No such device or address
А так же выхлоп dmesg при перетыкании оной:
Completed comman= 0000C0E500000000 00000000 000: req done (CMD0): 0: 00000000000 00000 00000000
mmc75000Hz busmode 1 pows 0 Vdd 21 width 0 timdiv = 133. mcck = 37 Setting cbus width : starting000001aa flags 000002f5
status = 007F0001, 0MC: Response timeoutd command9B85)
Status = 0010C0E5 [0000000 00000000 00000r detected and set to = 8, retrmc0: req done (CMD8): -110: 0000000 00000000 00000000arting CMD5 arg 00000000002e1
Sending comm0001845, arg = 000000 = 0, leng= 00009B85)
MCI irq010C0E4, C07F0001, 0C: Response timeout
Completed catus = 0010000 00000000 00000000 00000000etected an0 (cmd = 5, retrie s = 3)
mmc0:d (CMD5): ng...
Sending comma01845, arg = 00000000, blocks = = 0 (MR = MCI irq: status = 0010C0E 4, C0700000
MMCimeout
Completed command
StatuE5 [00000000 0000000000000000]
Error detect to -110 (cmd = 5, r)
mmc0: rCMD5): -110, retrying...
Sendin5 as 0000100000000, blocks = 0 (MR = 00009B85)
MCI irq: stat0E4, C07F0001, 001000esponse tileted command
Status = 0010C00 00000000
Error detected and set to -15, retries0: req failed (CMD5): -110, retrending com mand 5 as 0rg = 00000000, blocksth = 0 (MR = 00009B85) status = 07F0001, 0010000 0
MMC: ResponseCompleted command
St0C0E5 [00000000 0000000 00000000]
Error de set to -110 (cmd = 5= 0)
mmc0CMD5): -110: 00000000 00000000 0000000
mg CMD55 arg 0000000000f5
Sending comman1877, arg = 00000000, blocks = = 0 (MR = 00009B85)
Matus = 0010001, 00100000
MMC:meout
Completed command
StatuE5 [00000000 00000000 0000000]
Error detect to -110 (cmd = 55, r)
mmc0: req done (CM: 00000000 00000000 0000000
mmc0: starting 00000000 0f5
Sending command877, arg = 00000000, blocks = 0 0 (MR = 00009B85)
MCtus = 0010C0E4, C07F0000
MMC: Response tipleted com = 0010C0E5 [00000000 00000000 0000000]
Error detect to -110 (cmd = 55, r)
mmc0: rMD55): -110 00000000 00000000 mmc0: starting CMD55000 flags 000000f5
Smand 55 as 00001877, a000, blocks = 0, leng = 00009B85)
MCI irq:0010C0E4, 0100000
MMC: ResponCompleted command
S0C0E5 [00000000 000000 00000000]
Error detected and10 (cmd = = 0)
mmc0: req done (CMD55): -000 000000 00000000
mmc0: starting CMD55 00 flags 000000f5
Sennd 55 as 00001877, ar00, blocksh = 0 (MR = 00009B85status = 0010C0E4, C07F000 1, 001: Responseompleted command
Status = 0010C000 00000000 00000000
Error detected and s (cmd = 55 0)
mmc0: req done 0: 00000000 00000000 00000000 00c0: starting CMD1 argflags 0000in g timeout
Clearing: SR = 0000ring: SR = 0000C0E4
SR = 0000Cng: SR = 0000C0E4
CR = 0000C0ng: SR = 0learing: SR = 0000C0E4
Cleari000C0E4
Sending com00001841, arg = 00000s = 0, length = 0 (MR )
MCI irq: status = C07F0001, 00100000
nse timeou
Status = 0010C0E5 [00000000 0000000 00000000]
Ered and set to -110 (etries = 0eq done (CMD1): -110: 00000000 0000000 000: cloc k 0Hz busmodede 0 cs 0 h 0 timingetting controller bus width to to T91SAM9 |