ts-7000
[Top] [All Lists]

Re: [ts-7000] VFS: Cannot open root device "mtdblock1" or 1f:01

To:
Subject: Re: [ts-7000] VFS: Cannot open root device "mtdblock1" or 1f:01
From: Craig Gates <>
Date: Wed, 18 Jun 2008 12:17:51 -0700
been there, done that, bricked my TS-7250

serialblaster became my best freind to restore my board.

Craig

srthaker wrote:

Would someone help me solve this problem?

The TS-7250 board worked correctly before uploading the new TS-Linux
into it.

Here are the steps that were taken.

1) Downloaded the "vmlinux-ts7250-ts9.bin" from ftp server:
ftp://ftp.embeddedarm.com/pc104-peripherals/ts-7kv/ts-72xx-linux24/

2) "fis init -f" to format the flash on the TS7250 from the redboot.

3) "load -v -r -b 0x00218000 vmlinux-ts7250-ts9.bin"
This command loads the kernel from the defaut tftp server

4) fis delete vmlinux
5) fis create vmlinux

Here is output of the "fist list" command:
----------------------------------------------------------
RedBoot> fis list
Name FLASH addr Mem addr Length Entry point
(reserved) 0x60000000 0x60000000 0x07D20000 0x00000000
RedBoot 0x67D20000 0x67D20000 0x00060000 0x00000000
vmlinux 0x67D80000 0x00218000 0x000C0000 0x00218000
FIS directory 0x67FE0000 0x67FE0000 0x0001F000 0x00000000
RedBoot config 0x67FFF000 0x67FFF000 0x00001000 0x00000000
----------------------------------------------------------

6) Modified the fconfig script as follow:
fis load vmlinux
exec -c "console=ttyAM0,115200 root=/dev/mtdblock1"

7) Restart TS-7250 Board

Here is the output:
----------------------------------------------------------
>> TS-NANDBOOT, Rev 1.01 - built 10:30:52, Dec 20 2005
>> Copyright (C) 2005, Technologic Systems

>> TS-BOOTROM, Rev 1.06 - built 16:42:59, Jan 5 2006
>> Copyright (C) 2005, Technologic Systems
>> TS-7250: Rev E0 CPU, Rev B PLD, 64MB SDRAM
>> TS-5620: detected, battery OK, time ( 19:25:05, Jun 17 2008 )
+Ethernet eth0: MAC address 03:03:03:03:03:03
IP: 192.168.10.70/255.255.255.0, Gateway: 192.168.10.253
Default server: 192.168.10.100
RedBoot(tm) bootstrap and debug environment [ROMRAM]
Non-certified release, version current-TS_5 - built 14:53:43, Jan 13
2006
Platform: TS-7250 Board (ARM920T) Rev A
Copyright (C) 2000, 2001, 2002, 2003, 2004 Red Hat, Inc.
RAM: 0x00000000-0x02000000, [0x000529a0-0x01fdd000] available
FLASH: 0x60000000 - 0x68000000, 1024 blocks of 0x00020000 bytes each.
== Executing boot script in 0.300 seconds - enter ^C to abort
RedBoot> fis load vmlinux
RedBoot> exec -c "console=ttyAM0,115200 root=/dev/mtdblock1"
Using base address 0x00218000 and length 0x000a5f80
Linux version 2.4.26-ts9 (gcc version 3.3.4) #2 Tue
Oct 25 15:37:44 MST 2005
CPU: Arm920Tid(wb) revision 0
Machine: ep9301
On node 0 totalpages: 2048
zone(0): 2048 pages.
zone(1): 0 pages.
zone(2): 0 pages.
On node 1 totalpages: 2048
zone(0): 2048 pages.
zone(1): 0 pages.
zone(2): 0 pages.
On node 2 totalpages: 2048
zone(0): 2048 pages.
zone(1): 0 pages.
zone(2): 0 pages.
On node 3 totalpages: 2048
zone(0): 2048 pages.
zone(1): 0 pages.
zone(2): 0 pages.
On node 12 totalpages: 2048
zone(0): 2048 pages.
zone(1): 0 pages.
zone(2): 0 pages.
On node 13 totalpages: 2048
zone(0): 2048 pages.
zone(1): 0 pages.
zone(2): 0 pages.
On node 14 totalpages: 2048
zone(0): 2048 pages.
zone(1): 0 pages.
zone(2): 0 pages.
On node 15 totalpages: 2048
zone(0): 2048 pages.
zone(1): 0 pages.
zone(2): 0 pages.
Kernel command line: console=ttyAM0,115200 root=/dev/mtdblock1
Console: colour dummy device 80x30
Calibrating delay loop... 99.94 BogoMIPS
Memory: 8MB 8MB 8MB 8MB 8MB 8MB 8MB 8MB = 64MB total
Memory: 61044KB available (1191K code, 330K data, 72K init)
Dentry cache hash table entries: 8192 (order: 4, 65536 bytes)
Inode cache hash table entries: 4096 (order: 3, 32768 bytes)
Mount cache hash table entries: 512 (order: 0, 4096 bytes)
Buffer cache hash table entries: 4096 (order: 2, 16384 bytes)
Page-cache hash table entries: 16384 (order: 4, 65536 bytes)
CPU: Testing write buffer: pass
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
devfs: v1.12c (20020818) Richard Gooch (csiro.au)
devfs: boot_options: 0x1
ttyAM0 at MMIO 0x808c0000 (irq = 52) is a AMBA
ttyAM1 at MMIO 0x808d0000 (irq = 54) is a AMBA
ttyAM2 at MMIO 0x808e0000 (irq = 55) is a AMBA
pty: 1024 Unix98 ptys configured
Serial driver version 5.05c (2001-07-08) with MANY_PORTS SHARE_IRQ
enabled
Real Time Clock Driver v1.10f
ep93xx_eth() version: ep93xx_eth.c: V1.0 09/04/2003 Cirrus Logic
RAMDISK driver initialized: 16 RAM disks of 12288K size 1024
blocksize
about to do sbc_setinfo
Searching for NAND flash...
NAND device: Manufacturer ID: 0xec, Chip ID: 0xf1 (Samsung NAND
128MiB 3,3V 8-bit)
Scanning device for bad blocks
Bad eraseblock 0 at 0x00000000
Bad eraseblock 1 at 0x00020000
Bad eraseblock 108 at 0x00d80000
Using static partition definition
Creating 3 MTD partitions on "NAND 128MiB 3,3V 8-bit":
0x00000000-0x00004000 : "TS-BOOTROM"
mtd: partition "TS-BOOTROM" doesn't end on an erase block -- force
read-only
0x00004000-0x07d04000 : "Linux"
mtd: partition "Linux" doesn't start on an erase block boundary --
force read-only
0x07d04000-0x08000000 : "RedBoot"
mtd: partition "RedBoot" doesn't start on an erase block boundary --
force read-only
NET4: Linux TCP/IP 1.0 for NET4.0
IP Protocols: ICMP, UDP, TCP, IGMP
IP: routing cache hash table of 512 buckets, 4Kbytes
TCP: Hash tables configured (established 4096 bind 8192)
NET4: Unix domain sockets 1.0/SMP for Linux NET4.0.
NetWinder Floating Point Emulator V0.97 (double precision)
VFS: Cannot open root device "mtdblock1" or 1f:01
Please append a correct "root=" boot option
Kernel panic: VFS: Unable to mount root fs on 1f:01

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



What is causing this error?
Why can't the bootloader recognize the "mtdblock1"?

What do I need to do to get the new kernel installed on the TS-7250
board?

If you need more info, please let me know.


Thanks.

Sumit Thaker

__._,_.___

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