--- In
"adam_kaczynski" <> wrote:
>
> Hi All,
>
> There is a potential issue on 7260 which may result in wiping out
> RedBoot if 2.6 is used on the board with default settings.
>
> The 2.6 Linux root partition overlaps with the RedBoot partition
> defined for 2.4
>
> This is what is printed out when 2.4 is starting:
>
> Using static partition
definition
>
> Creating 3 MTD partitions on "NAND 32MiB 3,3V 8-
bit":
>
> 0x00000000-0x00004000 : "TS-
BOOTROM"
>
> 0x00004000-0x01d04000 :
"Linux"
>
> 0x01d04000-0x02000000 : "RedBoot"
>
> And this is printed out when 2.6 is starting:
>
> Using static partition
definition
>
> Creating 3 MTD partitions on "ts7250-
nand":
>
> 0x00000000-0x00020000 : "TS-
BOOTROM"
>
> 0x00020000-0x01d20000 :
"Linux"
>
> 0x01d20000-0x0201c000 :
"RedBoot"
>
> mtd: partition "RedBoot" extends beyond the end of device
> "ts7250-nand" -- size truncated to 0x2e0000
>
> The memory definition found in
> linux-2.6.whatever/drivers/mtd/nand/ts7250.c is inconsistent with
2.4
>
> This is the offending structure:
>
> /*
> * Define static partitions for flash device
> */
> static struct mtd_partition partition_info32[] = {
> {
> .name = "TS-BOOTROM",
> .offset = 0x00000000,
> .size = 0x00020000,
> }, {
> .name = "Linux",
> .offset = 0x00020000,
> .size = 0x01d00000,
> }, {
> .name = "RedBoot",
> .offset = 0x01d20000,
> .size = 0x002fc000,
> },
> };
>
> After adjusting the settings to reflect the reality (on the flash)
the
> error message about truncation has disappeared.
>
> However:
> There is still something wrong possibly with the yaffs settings
and I
> cannot use both versions of the kernel to access the same data on
> Flash. I may not need to do so since I have other options in my
> project but if I make it working I will obviously post an update.
>
> Regards,
> Adam
>
> --- In "j.chitte" <j.chitte@> wrote:
> >
> > --- In "j.chitte" <j.chitte@> wrote:
> > >
> > > new topic ??
> > >
> >
> > A finally conviced this dumb-assed group software to create a
new
> > topic when I click "Start topic".
> >
> > now where were we ??
> >
> >
> >
> > --- In "bsmuck2000" <bsmucker@> wrote:
> > >
> > > (Hopefully this is a new thread this time)
> >
> > Well, it isn't yet ...
> >
> > >
> > > Hello,
> > >
> > > We are working at transitioning our ts7260-based system to
using
> > the 2.6
> > > kernel (right now the one supplied by Technologics. One
problem that
> > > I'm running into is that when I boot to 2.6, the yaffs2 file
system
> > on
> >
> > Was the ts-7260 delivered with YAFFS or YAFFS2? IIRC, YAFFS2 was
used
> > only for the larger flash sizes (2k page sizes).
> >
> > > the flash is not visible. I can mount it fine, but nothing is
there.
> >
> > Anything in the kernel log after the mount or attempted read?
> >
> > > If I rewrite the filesystem while in 2.6, it works fine, but
when I
> > boot
> > > back into 2.4, it again shows a blank filesystem.
> > >
> > > Is anyone aware of this incompatibility and how to fix it?
> >
> > Check the YAFFS2 build options on the 2.4 config, and make sure
your
> > 2.6 version is configured the same or at least backwards
compatible.
> >
> > Especially look at YAFFS_AUTO_YAFFS2, YAFFS_YAFFS2,
> > YAFFS_DISABLE_WIDE_TNODES, and their help text in Kconfig. If
you are
> > mixing yaffs and yaffs2, these config options can help make this
> > transparent.
> >
> > You can also turn on some debugging options in yaffs_fs.c (need
to
> > recompile).
> >
> > >
> > > For the transition time, it is essential that we be able to
access
> > the
> > > yaffs filesystem from both 2.4 and 2.6.
> > >
> > > Thanks,
> > >
> > > Brian
> > >
> >
> > Regards, .......... Charlie
> >
> >
> >
> >
> > Thu May 29, 2008 8:52 pm
> >
> > Show Message Info
> > "charliem_1216" <charliem_1216@>
> > charliem_1216
> > Offline
> > Send Email
> >
> > Forward < Prev Message | Next Message >
> >
>
Hi ,
Triffid hunter posted a patch for 2.6 that contained , amongst other
things, an offset patch. I guess this is what it was about.
Thanks for the warning.
------------------------------------
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/
|