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 11:27:10 -0700

> Thank You Michael for your answer.
>
> Ok, I think i understand what "fis list" does. I am still a little
> confused however about the ordering of the partitions in /dev/mtdblock.
> The 30Mb Linux partition is /dev/mdtblock/1 but it's the second in the
> list the kernel gives me. (just after the message "Creating 3 MTD
> partitions ..."). It would be natural to assume that the partition named
> "TS-BOOTROM" was /dev/mtdblock/1 and "Linux" mtdblock/2 while Reedboot
> is /dev/mtdblock/3 but that does not seem to be the case.
>

The partitions numbers are zero-indexed, so TS-BOOTROM is /dev/mtdblock/0.

> What are on the other 2 partitions and is it safe to modify them (with
> something appropriate of course, basically: how screwed  am I if i mess
> those up?)
>

TS-BOOTROM contains the code that loads and starts RedBoot.  If you mess up
this partition your board will not boot (without a special blast board).
The Linux partition contains the root filesystem which is normally based on
YAFFS.  If you mess up this partition you will need to specify another root
filesystem to the kernel, such as NFS.  If you mess up the RedBoot partition
you might accidentally corrupt the actual redboot "executable" or the actual
redboot code, or you might corrupt part of RedBoot's "filesystem" (fis
list), or you may get lucky and corrupt a region that isn't in use.

>
>
> 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