Figured it out. The problem was that I specified wrong file system
type. Thanks.
--- In "xie_jian_hua" <> wrote:
>
> 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/
|