r4909 - developers/werner/smallsys

werner at docs.openmoko.org werner at docs.openmoko.org
Sun Feb 1 21:16:01 CET 2009


Author: werner
Date: 2009-02-01 21:16:00 +0100 (Sun, 01 Feb 2009)
New Revision: 4909

Modified:
   developers/werner/smallsys/README
Log:
Added more detailed build instructions.



Modified: developers/werner/smallsys/README
===================================================================
--- developers/werner/smallsys/README	2009-01-30 15:19:35 UTC (rev 4908)
+++ developers/werner/smallsys/README	2009-02-01 20:16:00 UTC (rev 4909)
@@ -1,11 +1,35 @@
-../myroot/myroot small.myroot
+- Either check out svn.openmoko.org/developers/werner/ and go to
+  developers/werner/smallsys/
 
-Copy kernel-config to you kernel's .config
+- or
 
-Edit CONFIG_INITRAMFS_SOURCE to point to the root directory of the small
-file system.
+  Create a suitable build directory and cd to it, e.g.,
 
-Build the kernel. It should be slightly smaller than 3MB.
+  mkdir $HOME/fun
+  cd $HOME/fun
 
-Install and boot the kernel. It will automatically mount the initramfs
-and enter a busybox shell.
+  Then exctract just the files you need for the task:
+
+  svn co \
+  http://svn.openmoko.org/developers/werner/{myroot,poke,pmu,wkalrm,smallsys}
+
+  cd smallsys
+
+- build the rootfs
+
+  ../myroot/myroot small.myroot
+
+  There are complains about failure to download some files, lack of "rm",
+  and busybox.postinst. They're harmless and can be ignored. The resulting
+  rootfs should be about 4.5 MB (du -sh root).
+
+- Copy kernel-config to your kernel's .config
+
+- Edit CONFIG_INITRAMFS_SOURCE to point to the root directory of the small
+  file system, e.g.,
+  CONFIG_INITRAMFS_SOURCE="/home/whoever/fun/smallsys/root/"
+
+- Build the kernel. It should be slightly smaller than 3MB.
+
+- Install and boot the kernel. It will automatically mount the initramfs
+  and enter a busybox shell.




More information about the commitlog mailing list