* [PATCH v2] ARM: phyCORE-AM335x: Update partition table
@ 2014-09-05 6:35 Teresa Gámez
2014-09-05 6:56 ` Sascha Hauer
0 siblings, 1 reply; 2+ messages in thread
From: Teresa Gámez @ 2014-09-05 6:35 UTC (permalink / raw)
To: barebox
Added device tree partition and made rootfs partition
variable size depending on nand flash size.
Signed-off-by: Teresa Gámez <t.gamez@phytec.de>
---
v2:
- fixed root partition start
arch/arm/dts/am335x-phytec-phycore.dts | 22 ++++++++++++++++++----
1 files changed, 18 insertions(+), 4 deletions(-)
diff --git a/arch/arm/dts/am335x-phytec-phycore.dts b/arch/arm/dts/am335x-phytec-phycore.dts
index 16febd3..e7e7780 100644
--- a/arch/arm/dts/am335x-phytec-phycore.dts
+++ b/arch/arm/dts/am335x-phytec-phycore.dts
@@ -194,8 +194,13 @@
};
partition@3 {
+ label = "oftree";
+ reg = <0xc0000 0x20000>;
+ };
+
+ partition@4 {
label = "kernel";
- reg = <0xc0000 0x400000>;
+ reg = <0xe0000 0x400000>;
};
};
};
@@ -305,13 +310,22 @@
};
partition@6 {
- label = "kernel";
- reg = <0x120000 0x800000>;
+ label = "oftree";
+ reg = <0x120000 0x20000>;
};
partition@7 {
+ label = "kernel";
+ reg = <0x140000 0x800000>;
+ };
+
+ partition@8 {
label = "root";
- reg = <0x920000 0x1f6e0000>;
+ /*
+ * Size 0x0 extends partition to
+ * end of nand flash.
+ */
+ reg = <0x940000 0x0>;
};
};
};
--
1.7.0.4
_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [PATCH v2] ARM: phyCORE-AM335x: Update partition table
2014-09-05 6:35 [PATCH v2] ARM: phyCORE-AM335x: Update partition table Teresa Gámez
@ 2014-09-05 6:56 ` Sascha Hauer
0 siblings, 0 replies; 2+ messages in thread
From: Sascha Hauer @ 2014-09-05 6:56 UTC (permalink / raw)
To: Teresa Gámez; +Cc: barebox
On Fri, Sep 05, 2014 at 08:35:56AM +0200, Teresa Gámez wrote:
> Added device tree partition and made rootfs partition
> variable size depending on nand flash size.
>
> Signed-off-by: Teresa Gámez <t.gamez@phytec.de>
Applied, thanks
Sascha
> ---
> v2:
> - fixed root partition start
>
> arch/arm/dts/am335x-phytec-phycore.dts | 22 ++++++++++++++++++----
> 1 files changed, 18 insertions(+), 4 deletions(-)
>
> diff --git a/arch/arm/dts/am335x-phytec-phycore.dts b/arch/arm/dts/am335x-phytec-phycore.dts
> index 16febd3..e7e7780 100644
> --- a/arch/arm/dts/am335x-phytec-phycore.dts
> +++ b/arch/arm/dts/am335x-phytec-phycore.dts
> @@ -194,8 +194,13 @@
> };
>
> partition@3 {
> + label = "oftree";
> + reg = <0xc0000 0x20000>;
> + };
> +
> + partition@4 {
> label = "kernel";
> - reg = <0xc0000 0x400000>;
> + reg = <0xe0000 0x400000>;
> };
> };
> };
> @@ -305,13 +310,22 @@
> };
>
> partition@6 {
> - label = "kernel";
> - reg = <0x120000 0x800000>;
> + label = "oftree";
> + reg = <0x120000 0x20000>;
> };
>
> partition@7 {
> + label = "kernel";
> + reg = <0x140000 0x800000>;
> + };
> +
> + partition@8 {
> label = "root";
> - reg = <0x920000 0x1f6e0000>;
> + /*
> + * Size 0x0 extends partition to
> + * end of nand flash.
> + */
> + reg = <0x940000 0x0>;
> };
> };
> };
> --
> 1.7.0.4
>
>
> _______________________________________________
> barebox mailing list
> barebox@lists.infradead.org
> http://lists.infradead.org/mailman/listinfo/barebox
--
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 |
_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2014-09-05 6:57 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-09-05 6:35 [PATCH v2] ARM: phyCORE-AM335x: Update partition table Teresa Gámez
2014-09-05 6:56 ` Sascha Hauer
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox