From: s.hauer@pengutronix.de (Sascha Hauer)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH] ARM i.MX51: Add Digi ConnectCore devicetree
Date: Thu, 3 Apr 2014 08:49:59 +0200 [thread overview]
Message-ID: <20140403064959.GD17250@pengutronix.de> (raw)
In-Reply-To: <533C4FF5.1010402@gmail.com>
On Wed, Apr 02, 2014 at 07:59:17PM +0200, Dirk Behme wrote:
> Am 02.04.2014 19:44, schrieb Robert Schwebel:
> >[adding Nicolas to Cc]
> >
> >On Wed, Apr 02, 2014 at 02:53:18PM +0200, Sascha Hauer wrote:
> >>On Wed, Apr 02, 2014 at 07:39:35PM +0800, Shawn Guo wrote:
> >>>On Sat, Mar 29, 2014 at 10:48:26AM +0400, Alexander Shiyan wrote:
> >>>>+&nfc {
> >>>>+ pinctrl-names = "default";
> >>>>+ pinctrl-0 = <&pinctrl_nfc>;
> >>>>+ nand-bus-width = <8>;
> >>>>+ nand-ecc-mode = "hw";
> >>>>+ nand-on-flash-bbt;
> >>>>+ #address-cells = <1>;
> >>>>+ #size-cells = <1>;
> >>>>+ status = "okay";
> >>>>+
> >>>>+ partition at 0 {
> >>>>+ label = "boot";
> >>>>+ reg = <0x00000 0x80000>;
> >>>>+ };
> >>>>+
> >>>>+ partition at 1 {
> >>>>+ label = "env";
> >>>>+ reg = <0x80000 0x40000>;
> >>>>+ };
> >>>
> >>>@Sascha, does the argument that we shouldn't have partition table in the
> >>>mainline dtb still stands?
> >>
> >>Yes, I still think the partitions shouldn't be in the Linux dts files.
> >
> >The dtb files for the Atmel Xplained board also has a partition
> >definition, so the same comment applies there, too.
> >
> >Besides being no hardware description, this implies a certain way of
> >using the system; for example, with the "kernel" plus "rootfs"
> >partitions, it suggests that you can't have the kernel in the standard
> >root filesystem (which is possible with barebox and the freedesktop.org
> >bootloader specification).
>
> Just out of curiosity, because I never got a good answer to this
> question (but maybe I asked the wrong way):
>
> If not in the dts, where should the partition table be put instead, then?
I think the bootloader should provide it. The bootloader has the chance
to fill in the correct data from its own configuration (which can be a
devicetree aswell). We should at least make sure that the bootloader and
the kernel use a consistent partition table.
(Which reminds me that barebox also doesn't do this correctly atm)
Sascha
--
Pengutronix e.K. | |
Industrial Linux Solutions | http://www.pengutronix.de/ |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0 |
Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 |
next prev parent reply other threads:[~2014-04-03 6:49 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-03-29 6:48 [PATCH] ARM: dts: imx27-phytec-phycore-rdk: Add display control signal definitions Alexander Shiyan
2014-03-29 6:48 ` [PATCH] ARM i.MX51: Add Digi ConnectCore devicetree Alexander Shiyan
2014-04-02 11:39 ` Shawn Guo
2014-04-02 11:45 ` Alexander Shiyan
2014-04-02 11:56 ` Shawn Guo
2014-04-02 12:06 ` Alexander Shiyan
2014-04-02 12:47 ` Shawn Guo
2014-04-02 12:56 ` Alexander Shiyan
2014-04-02 13:20 ` Shawn Guo
2014-04-02 12:53 ` Sascha Hauer
2014-04-02 17:44 ` Robert Schwebel
2014-04-02 17:59 ` Dirk Behme
2014-04-02 18:08 ` Alexander Shiyan
2014-04-03 6:49 ` Sascha Hauer [this message]
2014-04-02 11:25 ` [PATCH] ARM: dts: imx27-phytec-phycore-rdk: Add display control signal definitions Shawn Guo
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=20140403064959.GD17250@pengutronix.de \
--to=s.hauer@pengutronix.de \
--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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.