Hi,
I'm struggle with mounting CF-card on M5280 board for some times now, here
is what I've done:
I enabling
ATA/IDE/MFM/RLL Support
and under
IDE, ATA and ATAPI Block devices
I enabling Enhanced IDE/MFM/RLL disk/cdrom/tape/floppy support
and enable
Include IDE/ATA-2 DISK support
When downloaded to the target and run
/> mount -t msdos /dev/hda1 /var/tmp
mount failed: No such file or directory
Under directory ...romfs/etc i have these files:
drwxr-xr-x 2 test test 4096 2007-12-21 15:50 config
drwxr-xr-x 2 test test 4096 2007-12-21 13:40 default
-rw-r--r-- 1 test test 176 2007-12-21 15:50 inetd.conf
-rw-r--r-- 1 test test 45 2007-12-21 15:50 inittab
-rw-r--r-- 1 test test 296 2001-07-26 08:14 motd
-rw-r--r-- 1 test test 42 2007-12-21 14:35 passwd
-rw-r--r-- 1 test test 2874 2007-12-21 15:50 ramfs.img
-rw-r--r-- 1 test test 288 2007-12-21 15:50 rc
-rw-r--r-- 1 test test 8205 2001-09-23 23:23 services
-rw-r--r-- 1 test test 64 2007-12-21 15:50 version
Attached is the output before mounting
Any further suggestions?
Thanks in advance
Chatsuda
Linux version 2.4.32-uc0 ([EMAIL PROTECTED]) (gcc version 4.1.1) #82 Fri Dec 21
15:07
uClinux/COLDFIRE(m5280)
COLDFIRE port done by Greg Ungerer, [EMAIL PROTECTED]
Flat model support (C) 1998,1999 Kenneth Albanowski, D. Jeff Dionne
On node 0 totalpages: 8192
zone(0): 0 pages.
zone(1): 8192 pages.
zone(2): 0 pages.
Kernel command line:
Calibrating delay loop... 6.86 BogoMIPS
Memory available: 31048k/32768k RAM, 0k/0k ROM (652k kernel code, 207k data)
kmem_create: Forcing size word alignment - mm_struct
kmem_create: Forcing size word alignment - filp
Dentry cache hash table entries: 4096 (order: 3, 32768 bytes)
Inode cache hash table entries: 2048 (order: 2, 16384 bytes)
kmem_create: Forcing size word alignment - inode_cache
Mount cache hash table entries: 512 (order: 0, 4096 bytes)
kmem_create: Forcing size word alignment - bdev_cache
kmem_create: Forcing size word alignment - cdev_cache
kmem_create: Forcing size word alignment - kiobuf
Buffer cache hash table entries: 1024 (order: 0, 4096 bytes)
Page-cache hash table entries: 8192 (order: 3, 32768 bytes)
POSIX conformance testing by UNIFIX
Linux NET4.0 for Linux 2.4
Based upon Swansea University Computer Society NET3.039
Initializing RT netlink socket
Starting kswapd
kmem_create: Forcing size word alignment - file_lock_cache
ColdFire internal UART serial driver version 1.00
ttyS0 at 0x40000200 (irq = 77) is a builtin ColdFire UART
ttyS1 at 0x40000240 (irq = 78) is a builtin ColdFire UART
SERIAL: don't know how to enable outputs for UART 2?
ttyS2 at 0x40000280 (irq = 79) is a builtin ColdFire UART
kmem_create: Forcing size word alignment - blkdev_requests
fec.c: Probe number 1 with 0x0000
eth0: FEC ENET Version 0.2, 02:42:cd:fa:0a:f9
fec: PHY @ 0x0, ID 0x00000000fec: PHY @ 0x1, ID 0x00000000fec: PHY @ 0x2, ID
0x0000.
SLIP: version 0.8.4-NET3.019-NEWTTY (dynamic channels, max=256).
CSLIP: code copyright 1989 Regents of the University of California.
Blkmem copyright 1998,1999 D. Jeff Dionne
Blkmem copyright 1998 Kenneth Albanowski
Blkmem 1 disk images:
0: 35E34-151E33 [VIRTUAL 35E34-151E33] (RO) <ROMFS>
RAMDISK driver initialized: 16 RAM disks of 4096K size 1024 blocksize
PPP generic driver version 2.4.2
PPP MPPE compression module registered
NET4: Linux TCP/IP 1.0 for NET4.0
IP Protocols: ICMP, UDP, TCP
kmem_create: Forcing size word alignment - ip_dst_cache
IP: routing cache hash table of 512 buckets, 4Kbytes
TCP: Hash tables configured (established 2048 bind 4096)
NET4: Unix domain sockets 1.0/SMP for Linux NET4.0.
FAT: bogus logical sector size 37008
FAT: bogus logical sector size 37008
VFS: Mounted root (romfs filesystem) readonly.
Shell invoked to run file: /etc/rc
Command: hostname uClinux
Command: /bin/expand /etc/ramfs.img /dev/ram1
Command: mount -t proc proc /proc
Command: mount -t ext2 /dev/ram1 /var
Command: mkdir /var/tmp
Command: mkdir /var/log
Command: mkdir /var/run
Command: mkdir /var/lock
Command: mkdir /var/empty
Command: ifconfig lo 127.0.0.1
Command: route add -net 127.0.0.0 netmask 255.0.0.0 lo
Command: dhcpcd -p -a eth0 &
[11]
Command: cat /etc/motd
Welcome to
____ _ _
/ __| ||_|
_ _| | | | _ ____ _ _ _ _
| | | | | | || | _ \| | | |\ \/ /
| |_| | |__| || | | | | |_| |/ \
| ___\____|_||_|_| |_|\____|\_/\_/
| |
|_|
For further information check:
http://www.uclinux.org/
Execution Finished, Exiting
Sash command shell (version 1.1.1)
/> mount -t msdos /dev/hda1 /var/tmp
mount failed: No such file or directory
/> cat proc/filesystems
nodev rootfs
nodev bdev
nodev proc
nodev sockfs
nodev pipefs
ext2
nodev ramfs
msdos
vfat
romfs
Below is part of the output when running dmesg on regular linux for the same
CF-card
[ 227.985782] pccard: PCMCIA card inserted into slot 0
[ 227.985791] cs: memory probe 0xf4200000-0xf45fffff: excluding
0xf4200000-0xf423ffff
[ 228.000684] pcmcia: registering new device pcmcia0.0
[ 228.113236] scsi6 : pata_pcmcia
[ 228.113414] ata7: PATA max PIO0 cmd 0x00015100 ctl 0x0001510e bmdma
0x00000000 irq 3
[ 228.393700] ata7.00: CFA: SAMSUNG CF/ATA, 04/05/06, max PIO2
[ 228.393705] ata7.00: 254208 sectors, multi 0: LBA
[ 228.401682] ata7.00: configured for PIO0
[ 228.401782] scsi 6:0:0:0: Direct-Access ATA SAMSUNG CF/ATA 04/0
PQ: 0 ANSI: 5
[ 228.402131] sd 6:0:0:0: [sdb] 254208 512-byte hardware sectors (130 MB)
[ 228.402143] sd 6:0:0:0: [sdb] Write Protect is off
[ 228.402146] sd 6:0:0:0: [sdb] Mode Sense: 00 3a 00 00
[ 228.402161] sd 6:0:0:0: [sdb] Write cache: disabled, read cache: enabled,
doesn't support DPO or FUA
[ 228.402216] sd 6:0:0:0: [sdb] 254208 512-byte hardware sectors (130 MB)
[ 228.402226] sd 6:0:0:0: [sdb] Write Protect is off
[ 228.402229] sd 6:0:0:0: [sdb] Mode Sense: 00 3a 00 00
[ 228.402243] sd 6:0:0:0: [sdb] Write cache: disabled, read cache: enabled,
doesn't support DPO or FUA
[ 228.402247] sdb: sdb1
[ 228.407250] sd 6:0:0:0: [sdb] Attached SCSI removable disk
[ 228.407509] sd 6:0:0:0: Attached scsi generic sg1 type 0
_______________________________________________
uClinux-dev mailing list
[email protected]
http://mailman.uclinux.org/mailman/listinfo/uclinux-dev
This message was resent by [email protected]
To unsubscribe see:
http://mailman.uclinux.org/mailman/options/uclinux-dev