ts-7000
[Top] [All Lists]

Re: [ts-7000] Problem kernel2.6 installation

To:
Subject: Re: [ts-7000] Problem kernel2.6 installation
From: Oliver Martin <>
Date: Thu, 21 Feb 2008 17:59:42 +0100
Sudarshan Srinivasan schrieb:
> 
> end_request: I/O error, dev mtdblock1, sector 2
> EXT3-fs: unable to read superblock
> end_request: I/O error, dev mtdblock1, sector 2
> EXT2-fs: unable to read superblock
> end_request: I/O error, dev mtdblock1, sector 0
> FAT: unable to read boot sector
> VFS: Cannot open root device "mtdblock1" or unknown-block(31,1)
> Please append a correct "root=" boot option
> Kernel panic - not syncing: VFS: Unable to mount root fs on 
> unknown-block(31,1)
> 

Does your kernel have YAFFS2 support (you need to patch it unless TS has 
already done that), and is it enabled? NAND support works fine here in 
2.6 with both the 32MB and the 128MB 7260.

Also, if you have the 128MB version, you might need a patch for the 
partition table. It's needed for vanilla kernels, I don't know if the TS 
2.6 tree has the same autodetection as 2.4.
IIRC I got it from this list, but I can't find it right now, so here it is:

--- a/drivers/mtd/nand/ts7250.c    2007-01-30 22:42:57.000000000 -0500
+++ b/drivers/mtd/nand/ts7250.c 2007-02-03 00:10:02.000000000 -0500
@@ -48,14 +48,14 @@
        {
                .name           = "TS-BOOTROM",
                .offset         = 0x00000000,
-               .size           = 0x00004000,
+               .size           = 0x00020000,
        }, {
                .name           = "Linux",
-               .offset         = 0x00004000,
+               .offset         = 0x00020000,
                .size           = 0x01d00000,
        }, {
                .name           = "RedBoot",
-               .offset         = 0x01d04000,
+               .offset         = 0x01d20000,
                .size           = 0x002fc000,
        },
   };
@@ -67,15 +67,15 @@
        {
                .name           = "TS-BOOTROM",
                .offset         = 0x00000000,
-               .size           = 0x00004000,
+               .size           = 0x00020000,
        }, {
                .name           = "Linux",
-               .offset         = 0x00004000,
+               .offset         = 0x00020000,
                .size           = 0x07d00000,
        }, {
                .name           = "RedBoot",
-               .offset         = 0x07d04000,
-               .size           = 0x002fc000,
+               .offset         = 0x07d20000,
+               .size           = 0x002e0000,
        },
   };
   #endif


 
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