Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 30 Dec 2012 23:00:25 +0100
From:      "Ronald Klop" <ronald@klop.ws>
To:        freebsd-arm@freebsd.org
Subject:   nand  partitioning and fdt/dts?
Message-ID:  <op.wp5gqzmxeclrs1@pinky>

index | next in thread | raw e-mail

Hi,

I configured my SheevaPlug like this:
http://wiki.freebsd.org/NAND#Static_NAND_partitioning

Now I'm running with this little local patch.
Index: sys/boot/fdt/dts/sheevaplug.dts
===================================================================
--- sys/boot/fdt/dts/sheevaplug.dts     (revision 244271)
+++ sys/boot/fdt/dts/sheevaplug.dts     (working copy)
@@ -95,7 +95,12 @@
                         };

                         slice@200000 {
-                               reg = <0x200000 0x1fe00000>;
+                               reg = <0x200000 0x600000>;
+                               label = "fbsd-boot";
+                       };
+
+                       slice@800000 {
+                               reg = <0x800000 0x1f800000>;
                                 label = "root";
                         };
                 };

Not a problem, but I wonder why the config in wiki is different to the  
config in svn.
Can somebody explain this?
Is there a better way to load the kernel than the fbsd-boot slice in nand?  
I could imagine a bootloader loading the kernel from the 'root' slice, but  
can't find any information how to configure that (if it already exists).

Regards,
Ronald.


home | help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?op.wp5gqzmxeclrs1>