ts-7000
[Top] [All Lists]

Re: [ts-7000] Problem with sd card on ts-7260

To:
Subject: Re: [ts-7000] Problem with sd card on ts-7260
From: Mark Featherston <>
Date: Wed, 7 Mar 2012 10:37:55 -0700


Ricardo,

I don't see the tssdcard output in that startup message.  It should include something like
"Technologic Systems SD card controller, address 0x…"

Make sure you're compiling with CONFIG_TS_SDCARD=y.  This will show up as /dev/tssdcarda.

Best Regards, 
________________________________________________________________
 Mark Featherston, Technologic Systems | voice: (480) 837-5200
 16525 East Laser Drive                | fax: (480) 837-5300
 Fountain Hills, AZ 85268              | web: www.embeddedARM.com 



On Mar 7, 2012, at 10:23 AM, ricardogabriel5 wrote:

 

Hi!

I have read the article "Compiling and running kernel 2.6" for TS-7260.

http://www.simiolabs.com/developer/wiki/index.php?title=Compiling_and_running_kernel_2.6

I have followed all the steps and the procedure has worked well for me for a usb device.

But for sd card I have not had success.

I get the following lines to the screen and finally the error:

VFS: Cannot open root device "hda1" or unknown-block(2,0)
Please append a correct "root=" boot option
Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(2,0)

Here, the full lines on the screen:

Uncompressing Linux.................................................................................................. done, booting the kernel.
Linux version 2.6.21-ts (gcc version 3.4.4 (release) (CodeSourcery ARM 2005q3-2)) #2 PREEMPT Wed Mar 7 14:07:49 ART 2012
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 8 zonelists. Total pages: 16256
Kernel command line: console=ttyAM0,115200 root=/dev/hda1 rootdelay=10
PID hash table entries: 256 (order: 8, 1024 bytes)
Console: colour dummy device 80x30
Dentry cache hash table entries: 8192 (order: 3, 32768 bytes)
Inode-cache hash table entries: 4096 (order: 2, 16384 bytes)
Memory: 8MB 8MB 8MB 8MB 8MB 8MB 8MB 8MB = 64MB total
Memory: 61784KB available (2748K code, 254K data, 112K init)
Mount-cache hash table entries: 512
CPU: Testing write buffer coherency: ok
NET: Registered protocol family 16
ep93xx: PLL1 running at 400 MHz, PLL2 at 192 MHz
ep93xx: FCLK 200 MHz, HCLK 100 MHz, PCLK 50 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: 2048 (order: 2, 16384 bytes)
TCP bind hash table entries: 2048 (order: 1, 8192 bytes)
TCP: Hash tables configured (established 2048 bind 2048)
TCP reno registered
NetWinder Floating Point Emulator V0.97 (double precision)
JFFS2 version 2.2. (NAND) (C) 2001-2006 Red Hat, Inc.
yaffs Mar 7 2012 13:37:43 Installing.
io scheduler noop registered
io scheduler deadline registered (default)
ep93xx_wdt: EP93XX watchdog, driver version 0.3
Serial: AMBA driver $Revision: 1.1.1.1 $
apb:uart1: ttyAM0 at MMIO 0x808c0000 (irq = 52) is a AMBA
apb:uart2: ttyAM1 at MMIO 0x808d0000 (irq = 54) is a AMBA
apb:uart3: ttyAM2 at MMIO 0x808e0000 (irq = 55) is a AMBA
RAMDISK driver initialized: 16 RAM disks of 4096K size 1024 blocksize
loop: loaded (max 8 devices)
tun: Universal TUN/TAP device driver, 1.6
tun: (C) 1999-2004 Max Krasnyansky <maxk%40qualcomm.com>
ep93xx-eth version 0.1 loading
eth0: ep93xx on-chip ethernet, IRQ 39, 00:d0:69:44:bd:1a.
Linux video capture interface: v2.00
Searching for NAND flash...
NAND device: Manufacturer ID: 0xec, Chip ID: 0x75 (Samsung NAND 32MiB 3,3V 8-bit)
Scanning device for bad blocks
cmdlinepart partition parsing not available
Using static partition definition
Creating 3 MTD partitions on "ts7250-nand":
0x00000000-0x00020000 : "TS-BOOTROM"
0x00020000-0x01d20000 : "Linux"
0x01d20000-0x0201c000 : "RedBoot"
mtd: partition "RedBoot" extends beyond the end of device "ts7250-nand" -- size truncated to 0x2e0000
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: Product: EP93xx OHCI
usb usb1: Manufacturer: Linux 2.6.21-ts ohci_hcd
usb usb1: SerialNumber: ep93xx
usb usb1: configuration #1 chosen from 1 choice
hub 1-0:1.0: USB hub found
hub 1-0:1.0: 3 ports detected
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
mice: PS/2 mouse device common for all mice
rtc-m48t86 rtc-m48t86: rtc core: registered m48t86 as rtc0
rtc-m48t86 rtc-m48t86: battery exhausted
ep93xx-rtc ep93xx-rtc: rtc core: registered ep93xx as rtc1
TCP cubic registered
NET: Registered protocol family 1
NET: Registered protocol family 17
NET: Registered protocol family 15
ieee80211: 802.11 data/management/control stack, git-1.1.13
ieee80211: Copyright (C) 2004-2005 Intel Corporation <jketreno%40linux.intel.com>
rtc-m48t86 rtc-m48t86: hctosys: invalid date/time
Waiting 10sec before mounting root device...
Root-NFS: No NFS server available, giving up.
VFS: Unable to mount root fs via NFS, trying floppy.
VFS: Cannot open root device "hda1" or unknown-block(2,0)
Please append a correct "root=" boot option
Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(2,0)

I suppose, that the error is because the board does not recognize the sd card.

In the next line I tried to put:

console=ttyAM0,115200 root=/dev/sda1 rootdelay=5

or

console=ttyAM0,115200 root=/dev/hda1 rootdelay=5

But without success.

How to recognize the ts7260 to the sd card? With /dev/?

Best Regards,

Ricardo




__._,_.___


Your email settings: Individual Email|Traditional
Change settings via the Web (Yahoo! ID required)
Change settings via email: =Email Delivery: Digest | m("yahoogroups.com?subject","ts-7000-fullfeatured");=Change Delivery Format: Fully Featured">Switch to Fully Featured
Visit Your Group | Yahoo! Groups Terms of Use | =Unsubscribe

__,_._,___
<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