ts-7000
[Top] [All Lists]

[ts-7000] Re: 2.6.32 + matt4 can't use flash on TS7250

To:
Subject: [ts-7000] Re: 2.6.32 + matt4 can't use flash on TS7250
From: "j.chitte" <>
Date: Thu, 03 Jun 2010 10:16:51 -0000

--- In  "j.chitte" <> wrote:
>
> I'm a bit surprised if Matthieu's retired this patch prematurely , maybe I'm 
> missing something. 
> 
> Thanks for your help.
>

Yes, to tie this up, all it needed was Matt's earlier patch that he reckoned 
obsolete. I don't understand why he pulled it, it hardly seems optional.

Anyway, all is back in order and I have the new fs image on the board.

Thanks for pointing me in the right direction.

/js/


diff --git a/drivers/mtd/nand/ts7250.c b/drivers/mtd/nand/ts7250.c
index 2c410a0..5a59679 100644
--- a/drivers/mtd/nand/ts7250.c
+++ b/drivers/mtd/nand/ts7250.c
@@ -46,14 +46,14 @@ static struct mtd_partition partition_info32[] = {
        {
                .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,
        },
 };
@@ -65,14 +65,14 @@ static struct mtd_partition partition_info128[] = {
        {
                .name           = "TS-BOOTROM",
                .offset         = 0x00000000,
-               .size           = 0x00004000,
+               .size           = 0x00020000,
        }, {
                .name           = "Linux",
-               .offset         = 0x00004000,
+               .offset         = 0x00020000,
                .size           = 0x07d00000,
        }, {
                .name           = "RedBoot",
-               .offset         = 0x07d04000,
+               .offset         = 0x07d20000,
                .size           = 0x002fc000,
        },
 };
-- 
1.6.3.3





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

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