ts-7000
[Top] [All Lists]

[ts-7000] TS-7250 mount to flash partition giving error: No such device

To:
Subject: [ts-7000] TS-7250 mount to flash partition giving error: No such device
From: "xie_jian_hua" <>
Date: Mon, 30 Apr 2007 15:48:03 -0000
Hello all,
I boot my TS-7250 from NFS and now I want to see my flash file system,
but it gives me the error:
$ mount  -t jffs2 /dev/mtdblock/1 /mnt/lr
mount: Mounting /dev/mtdblock/1 on /mnt/lr failed: No such device

I know the device is there because boot message shows:
Using static partition definition
Creating 3 MTD partitions on "NAND 128MiB 3,3V 8-bit":
0x00000000-0x00020000 : "TS-BOOTROM"
0x00020000-0x07d20000 : "Linux"
0x07d20000-0x08000000 : "RedBoot"

Also the kernel created 3 devices under /dev/mtdblock:
$ ls -l /dev/mtdblock
brw-rw-rw-    1 root     root      31,   0 Jan  1 00:00 0
brw-rw-rw-    1 root     root      31,   1 Jan  1 00:00 1
brw-rw-rw-    1 root     root      31,   2 Jan  1 00:00 2

The content in /proc/mtd is as follows:
$ cat /proc/mtd
dev:    size   erasesize  name
mtd0: 00020000 00020000 "TS-BOOTROM"
mtd1: 07d00000 00020000 "Linux"
mtd2: 002e0000 00020000 "RedBoot"

My linux verision is Linux version 2.4.26-ts9. The reason i need to do
this is because I messed up the c library file and now the the TS-7250
doesn't boot from flash. So I need to boot from NFS and mount to the
flash file system to fix the file.

Everything looks perfect to me, but it just doesn't work. Anybody can
give me a pointer before I pull all my hair out? Thanks in advance.



 
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