ts-7000
[Top] [All Lists]

[ts-7000] Re: Why my micro-SD card does not get detected?

To:
Subject: [ts-7000] Re: Why my micro-SD card does not get detected?
From: "tiberiu_szm" <>
Date: Tue, 18 Jan 2011 20:36:58 -0000

Yes, I just tried another FAT formatted micro-SD card but with same results 
(both cards function properly in other OSes/card readers -tried for the sake of 
the argument on a Windows platform too).
As far as the dmesg output is concerned here it is (sorry about the length of 
it :P):

# dmesg
Linux version 2.6.21-ts  (gcc version 3.4.4 
(release) (CodeSourcery ARM 2005q3-2)) #1 PREEMPT Fri Oct 10 10:20:42 MST 2008
CPU: ARM926EJ-S [41069260] revision 0 (ARMv5TEJ), cr=b0053177
Machine: MV-88fxx81
Memory policy: ECC disabled, Data cache writeback
On node 0 totalpages: 32768
  DMA zone: 256 pages used for memmap
  DMA zone: 0 pages reserved
  DMA zone: 32512 pages, LIFO batch:7
  Normal zone: 0 pages used for memmap
CPU0: D VIVT write-back cache
CPU0: I cache: 32768 bytes, associativity 1, 32 byte lines, 1024 sets
CPU0: D cache: 32768 bytes, associativity 1, 32 byte lines, 1024 sets
Built 1 zonelists.  Total pages: 32512
Kernel command line: root=/dev/ram0 rw lpj=1662976 init=/linuxrc console=null
PID hash table entries: 512 (order: 9, 2048 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: 128MB = 128MB total
Memory: 122808KB available (2560K code, 181K data, 104K init)
Calibrating delay loop (skipped)... 332.59 BogoMIPS preset
Mount-cache hash table entries: 512
CPU: Testing write buffer coherency: ok
NET: Registered protocol family 16

Marvell LSP Version 1.7.8_NAS -- TS-7800


Detected Tclk 166666666 and SysClk 166000000 
low, high, size e01 0 7fff200
PCI: bus0: Fast back to back transfers enabled
PCI: bus1: Fast back to back transfers enabled
TS-7800 DMA controller init. 
NET: Registered protocol family 2
IP route cache hash table entries: 1024 (order: 0, 4096 bytes)
TCP established hash table entries: 4096 (order: 3, 32768 bytes)
TCP bind hash table entries: 4096 (order: 2, 16384 bytes)
TCP: Hash tables configured (established 4096 bind 4096)
TCP reno registered
Freeing initrd memory: 4096K
Initialised mv i2c driver
NetWinder Floating Point Emulator V0.97 (extended precision)
JFS: nTxBlock = 992, nTxLock = 7941
yaffs Oct 10 2008 10:14:24 Installing. 
io scheduler noop registered
io scheduler anticipatory registered (default)
Serial: 8250/16550 driver $Revision: 1.1.1.1 $ 8 ports, IRQ sharing disabled
serial8250: ttyS0 at MMIO 0xf1012000 (irq = 3) is a 16550A
serial8250: ttyS1 at MMIO 0xf1012100 (irq = 4) is a 16550A
RAMDISK driver initialized: 4 RAM disks of 4096K size 1024 blocksize
loop: loaded (max 8 devices)
Marvell Ethernet Driver 'mv_ethernet':
  o Ethernet descriptors in DRAM
  o DRAM SW cache-coherency
  o TCP segmentation offload enabled
  o Checksum offload enabled
  o Rx desc: 128
  o Tx desc: 256
  o Loading network interface 'eth0' 
mice: PS/2 mouse device common for all mice
rtc-m48t86 rtc-m48t86: rtc core: registered m48t86 as rtc0
rtc-m48t86 rtc-m48t86: battery ok
TCP cubic registered
NET: Registered protocol family 1
NET: Registered protocol family 17
rtc-m48t86 rtc-m48t86: setting the system clock to 2011-01-18 22:23:36 
(1295389416)
RAMDISK: ext2 filesystem found at block 0
RAMDISK: Loading 1536KiB [1 disk] into ram disk... 
|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\done.
EXT2-fs warning: mounting unchecked fs, running e2fsck is recommended
VFS: Mounted root (ext2 filesystem).
Freeing init memory: 104K
Warning: unable to open an initial console.
usbcore: registered new interface driver usbfs
usbcore: registered new interface driver hub
usbcore: registered new device driver usb
tssdcard: Technologic Systems SD card controller, address 0xe8000100
Starting 88F5182 SOC EHCI USB Controller
mv5182_ehci mv5182_ehci.0: Marvell 5182 SOC EHCI Host Controller
mv5182_ehci mv5182_ehci.0: new USB bus registered, assigned bus number 1
mv5182_ehci mv5182_ehci.0: irq 17, io mem 0xf1050100
mv5182_ehci mv5182_ehci.0: USB 0.0 started, EHCI 1.00, driver 10 Dec 2004
usb usb1: configuration #1 chosen from 1 choice
hub 1-0:1.0: USB hub found
hub 1-0:1.0: 1 port detected
Starting 88F5182 SOC EHCI USB Controller
mv5182_ehci mv5182_ehci.1: Marvell 5182 SOC EHCI Host Controller
mv5182_ehci mv5182_ehci.1: new USB bus registered, assigned bus number 2
mv5182_ehci mv5182_ehci.1: irq 12, io mem 0xf10a0100
mv5182_ehci mv5182_ehci.1: USB 0.0 started, EHCI 1.00, driver 10 Dec 2004
usb usb2: configuration #1 chosen from 1 choice
hub 2-0:1.0: USB hub found
hub 2-0:1.0: 1 port detected
tssdcard: no card found.
tssdcard: Technologic Systems SD card controller, address 0xe8000100
tssdcard: card /dev/tssdcardb has 3862528 sectors (LUN 1)
 tssdcardb: tssdcardb1 tssdcardb2 tssdcardb3 tssdcardb4
Searching for NAND flash...
NAND device: Manufacturer ID: 0x20, Chip ID: 0xdc (ST Micro NAND 512MiB 3,3V 
8-bit)
Bad block table found at page 262080, version 0x01
Bad block table found at page 262016, version 0x01
Using MBR partition definition
Creating 4 MTD partitions on "NAND 512MiB 3,3V 8-bit":
0x00000000-0x20000000 : "whole chip"
0x00020000-0x00420000 : "kernel"
0x00420000-0x00820000 : "initrd"
0x00820000-0x1ffa0000 : "rootfs"
ttts0 at MMIO 0xe80000c0 (irq = 80) is a TSUART
tt8s0 at MMIO 0xe80000c0 (irq = 80) is a TSUART
ttts1 at MMIO 0xe80000c4 (irq = 81) is a TSUART
tt8s1 at MMIO 0xe80000c4 (irq = 81) is a TSUART
ttts2 at MMIO 0xe80000c8 (irq = 82) is a TSUART
tt8s2 at MMIO 0xe80000c8 (irq = 82) is a TSUART
ttts3 at MMIO 0xe80000cc (irq = 83) is a TSUART
tt8s3 at MMIO 0xe80000cc (irq = 83) is a TSUART
ttts4 at MMIO 0xe80000d0 (irq = 84) is a TSUART
tt8s4 at MMIO 0xe80000d0 (irq = 84) is a TSUART
ttts5 at MMIO 0xe80000d4 (irq = 85) is a TSUART
tt8s5 at MMIO 0xe80000d4 (irq = 85) is a TSUART
ttts6 at MMIO 0xe80000d8 (irq = 86) is a TSUART
tt8s6 at MMIO 0xe80000d8 (irq = 86) is a TSUART
ttts7 at MMIO 0xe80000dc (irq = 87) is a TSUART
tt8s7 at MMIO 0xe80000dc (irq = 87) is a TSUART
ttts8 at MMIO 0xe80000e0 (irq = 88) is a TSUART
tt8s8 at MMIO 0xe80000e0 (irq = 88) is a TSUART
ttts9 at MMIO 0xe80000e4 (irq = 89) is a TSUART
tt8s9 at MMIO 0xe80000e4 (irq = 89) is a TSUART
usbcore: registered new interface driver libusual
SCSI subsystem initialized
Initializing USB Mass Storage driver...
usbcore: registered new interface driver usb-storage
USB Mass Storage support registered.
usbcore: registered new interface driver usbhid
drivers/usb/input/hid-core.c: v2.6:USB HID core driver
Intergrated Sata device found
scsi0 : Marvell SCSI to SATA adapter
scsi1 : Marvell SCSI to SATA adapter
ieee80211_crypt: registered algorithm 'NULL'
ieee80211: 802.11 data/management/control stack, git-1.1.13
ieee80211: Copyright (C) 2004-2005 Intel Corporation <>
usbcore: registered new interface driver zd1211rw
eth0: link down
eth0: link up, full duplex, speed 100 Mbps

The only thing that caught my eye (besides the lack of tssdcarda) was:

Bad block table found at page 262080, version 0x01
Bad block table found at page 262016, version 0x01

Do these lines mean that there's something wrong with the on-board NAND flash?

--- In  "Kris" <> wrote:
>
> Do you have another micro SD card you can try?  What is the output of `dmesg`?
> 
> -Kris Bahnsen
> Technologic Systems
> 
> 
> --- In  "tiberiu_szm" <tiberiu_szm@> wrote:
> >
> > 
> > 
> > I'm not using a custom kernel/distribution, just what I received from 
> > Technologic Systems:
> > 
> > # uname -a
> > 
> > Linux ts7800 2.6.21-ts #1 PREEMPT Fri Oct 10 10:20:42 MST 2008 armv5tejl 
> > GNU/Linux
> > 
> > # cat /etc/issue
> > 
> > Debian GNU/Linux 3.1 \n \l
> > 
> > # cat /etc/debian_version
> > 3.1 Sarge
> > 
> > The micro-SD card is in before powering on the board. I tried removing and 
> > reinserting it but it's not detected. When trying to remove the tssdcard 
> > module I get an error about it being in use (by the SD that I boot from, of 
> > course).
> > 
> > --- In  "Kris" <kristechnologic@> wrote:
> > >
> > > If you are using the stock kernel and distribution you need to make sure 
> > > the card is in before you apply power to the system. Or remove and 
> > > reinsert the tssdcard.ko driver. 
> > > 
> > > -Kris Bahnsen
> > > Technologic Systems
> > > 
> > > 
> > > --- In  "tiberiu_szm" <tiberiu_szm@> wrote:
> > > >
> > > > 
> > > > 
> > > > I'm using the 2GB SD card I received included in my order (alongside 
> > > > the Eclipse IDE and other tools/samples/docs on the FAT partition). As 
> > > > far as the distribution is concerned I think it's Debian Sarge and the 
> > > > kernel is 2.6.21-ts7800.
> > > > 
> > > > Should these allow me to detect the micro-SD correctly or do I need an 
> > > > update of some sort?
> > > > 
> > > > --- In  "Kris" <kristechnologic@> wrote:
> > > > >
> > > > > If you are using the stock kernel and distribution you need to make 
> > > > > sure the card is in before you apply power to the system.  Or remove 
> > > > > and reinsert the tssdcard.ko driver.  You may not have support for 
> > > > > the microSD card if you are using a non-stock SD card image.
> > > > > 
> > > > > -Kris Bahnsen
> > > > > Technologic Systems
> > > >
> > >
> >
>




------------------------------------

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/

<Prev in Thread] Current Thread [Next in Thread>
Admin

Disclaimer: Neither Andrew Taylor nor the University of NSW School of Computer and Engineering take any responsibility for the contents of this archive. It is purely a compilation of material sent by many people to the birding-aus mailing list. It has not been checked for accuracy nor its content verified in any way. If you wish to get material removed from the archive or have other queries about the archive e-mail Andrew Taylor at this address: andrewt@cse.unsw.EDU.AU