BRN:Software:Build and Distribution:RootFS: Difference between revisions

From
Jump to navigation Jump to search
No edit summary
 
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
Beside the kernel your target platform needs a root filesystem, which contains all necessary binaries to bootstrap the system until you get a login program and a shell.<br>
For embedded systems the [http://www.busybox.net/ busybox] collection provides a huge set of common UNIX tools in one binary. This method saves some space on flash and the different commands are symlinked to the "busybox" binsray.

= Busybox =
* Get the source tarball from busybox.net:
$ wget http://busybox.net/downloads/busybox-1.2.1.tar.bz2
'''TODO'''
* Unpack
* Patch
* Build
* Copy to root directory and make symlinks

= Initscripts =
$ svn co svn://sarsvn.informatik.hu-berlin.de/BerlinRoofNet/trunk/platform/wgt634u/rootfs root

----
----
<span style="padding-left:0.5em">'''[[BRN:Software:Build and Distribution:BRN-SDP|Prev]]''' | '''[[BRN:Software:Build and Distribution|Contents]]''' | '''[[BRN:Software:Build and Distribution:Build and install an image|Next]]'''</span>
<span style="padding-left:0.5em">'''[[BRN:Software:Build and Distribution:BRN-SDP|Prev]]''' | '''[[BRN:Software:Build and Distribution|Contents]]''' | '''[[BRN:Software:Build and Distribution:Build and install an image|Next]]'''</span>

Latest revision as of 21:01, 19 September 2006

Beside the kernel your target platform needs a root filesystem, which contains all necessary binaries to bootstrap the system until you get a login program and a shell.
For embedded systems the busybox collection provides a huge set of common UNIX tools in one binary. This method saves some space on flash and the different commands are symlinked to the "busybox" binsray.

Busybox

  • Get the source tarball from busybox.net:
$ wget http://busybox.net/downloads/busybox-1.2.1.tar.bz2

TODO

  • Unpack
  • Patch
  • Build
  • Copy to root directory and make symlinks

Initscripts

$ svn co svn://sarsvn.informatik.hu-berlin.de/BerlinRoofNet/trunk/platform/wgt634u/rootfs root

Prev | Contents | Next