nand partitioning and fdt/dts?

Ronald Klop ronald at klop.ws
Sun Dec 30 22:00:29 UTC 2012


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 at 200000 {
-                               reg = <0x200000 0x1fe00000>;
+                               reg = <0x200000 0x600000>;
+                               label = "fbsd-boot";
+                       };
+
+                       slice at 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.


More information about the freebsd-arm mailing list