ts-7000
[Top] [All Lists]

Re: [ts-7000] /dev/mtdblock partion order

To:
Subject: Re: [ts-7000] /dev/mtdblock partion order
From: "Michael Schmidt" <>
Date: Thu, 19 Oct 2006 08:51:03 -0700

> Hi, everyone!
>
> I'm a bit confused about the flash chip and the partitions on it so i'm
> hoping than someone out there knows what is what.
>
> During normal boot '/dev/mtdblock1' is used as boot device. After a
> NFS-boot I can mount /dev/mtdblock/1 which is then equal to the content
> of the '/dev/mtdblock1' partiton.  This indicates that the ~30Mb linux
> device is actuallt partition1 of the flash device.
>
> In the documentation and from the boot messages from the kernel the
> following information is given.
>>> Creating 3 MTD partitions on "NAND 32MiB 3,3V 8-bit":
>>> 0x00000000-0x00004000 : "TS-BOOTROM"
>>> 0x00004000-0x01d04000 : "Linux"
>>> 0x01d04000-0x02000000 : "RedBoot"
> This indicates that 256Kb is "TS-BOOTROM", ~30Mb is for "Linux" and ~2Mb
> is RedBoot.
>
> From "fis list" i get the following:
>>> (reserved)        0x60000000  0x60000000  0x01D04000  0x00000000
>>> RedBoot           0x61D04000  0x61D04000  0x00040000  0x00000000
>>> vmlinux           0x61D44000  0x00218000  0x000A8000  0x00218000
>>> RedBoot config    0x61FF8000  0x61FF8000  0x00001000  0x00000000
>>> FIS directory     0x61FFC000  0x61FFC000  0x00004000  0x00000000
> Which indicates that, flash adress space starts at  1.5Gb,  first we
> have ~30Mb reserved space, then 256Kb RedBoot followed by 670Kb vmlinux
> and the 4Kb of RedBoot config and 16Kb of FIS directory.
>
> I'm confused, how are all these figures connected?

The fis list basically is a breakdown of files stored the "RedBoot"
partition relative to the MTD partition list.  However the fis list has some
knowledge of the entire flash, hence the "(reserved)" space in "fis list",
which specifies the area of flash outside of RedBoot.  Because of the way
RedBoot addresses flash memory, 0x60000000 is the start of the flash, so you
will notice that "RedBoot" in the "fis list" starts at the same offset as it
does in the MTD partition list when you take this into account.


> Regards Per Öberg

Regards,
Michael




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