linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
From: ecc@cmu.edu (Eric Cooper)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH v2] support for Seagate DockStar
Date: Thu, 16 Sep 2010 20:03:21 -0400	[thread overview]
Message-ID: <20100917000321.GB26621@localhost> (raw)
In-Reply-To: <4C926B65.2010606@googlemail.com>

On Thu, Sep 16, 2010 at 09:09:25PM +0200, Marcus Osdoba wrote:
> Regarding the mtd-partitions,
> your patch does not reflect the original layout of the 256MiB flash.
> 
> The original layout is:
> 0x00100000 "U-Boot"     1MiB
> 0x00400000 "uImage"     4MiB
> 0x02000000 "root"       32MiB
> 0x0db00000 "data"       219MiB
> 
> The patchv2 subsumes the last two "partitions".
> Was this done with intention?

It was intentional, but I wouldn't mind getting some feedback on the
decision.  And this may all be moot since the partition scheme can be
set on the kernel command line with mtdparts=... anyway.

The original system from Cloud Engines uses the layout you describe
above.  I found that also to be useful for running OpenWrt on the
device -- the "root" partition can be used for a read-only rootfs, and
the "data" partition as a writable overlay on top of the rootfs.

I now actually prefer to use just 2 partitions -- 1MB for u-boot, and
255MB for a ubifs root, with the uImage as just a regular file in
/boot.  But this only works when the factory u-boot is replaced with a
newer one that can read files from ubifs.

So I felt the three-partition scheme struck a balance -- it would
allow one to set up a standard kernel in the uImage partition and a ubifs
root filesystem in the remaining space, without having to re-flash the
u-boot partition.

-- 
Eric Cooper             e c c @ c m u . e d u

       reply	other threads:[~2010-09-17  0:03 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <4C926B65.2010606@googlemail.com>
2010-09-17  0:03 ` Eric Cooper [this message]
2010-08-05 21:38 [PATCH] support for Seagate DockStar Eric Cooper
2010-09-15  7:07 ` Thomas Weber
2010-09-15 14:49   ` [PATCH v2] " Eric Cooper
2010-09-17  2:40     ` Nicolas Pitre

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20100917000321.GB26621@localhost \
    --to=ecc@cmu.edu \
    --cc=linux-arm-kernel@lists.infradead.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).