Changeset 4909
- Timestamp:
- 02/01/09 21:16:00 (4 years ago)
- File:
-
- 1 edited
-
developers/werner/smallsys/README (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
developers/werner/smallsys/README
r4890 r4909 1 ../myroot/myroot small.myroot 1 - Either check out svn.openmoko.org/developers/werner/ and go to 2 developers/werner/smallsys/ 2 3 3 Copy kernel-config to you kernel's .config 4 - or 4 5 5 Edit CONFIG_INITRAMFS_SOURCE to point to the root directory of the small 6 file system. 6 Create a suitable build directory and cd to it, e.g., 7 7 8 Build the kernel. It should be slightly smaller than 3MB. 8 mkdir $HOME/fun 9 cd $HOME/fun 9 10 10 Install and boot the kernel. It will automatically mount the initramfs 11 and enter a busybox shell. 11 Then exctract just the files you need for the task: 12 13 svn co \ 14 http://svn.openmoko.org/developers/werner/{myroot,poke,pmu,wkalrm,smallsys} 15 16 cd smallsys 17 18 - build the rootfs 19 20 ../myroot/myroot small.myroot 21 22 There are complains about failure to download some files, lack of "rm", 23 and busybox.postinst. They're harmless and can be ignored. The resulting 24 rootfs should be about 4.5 MB (du -sh root). 25 26 - Copy kernel-config to your kernel's .config 27 28 - Edit CONFIG_INITRAMFS_SOURCE to point to the root directory of the small 29 file system, e.g., 30 CONFIG_INITRAMFS_SOURCE="/home/whoever/fun/smallsys/root/" 31 32 - Build the kernel. It should be slightly smaller than 3MB. 33 34 - Install and boot the kernel. It will automatically mount the initramfs 35 and enter a busybox shell.
Note: See TracChangeset
for help on using the changeset viewer.
