blob: bf2ae6f3f2a11503e93909b59399a8f2fc726f5c [file] [log] [blame]
Eric Andersencb81e642003-07-14 21:21:08 +00001Please see the LICENSE file for details on copying and usage.
Eric Andersenc7bda1c2004-03-15 08:29:22 +00002
Erik Andersen330fd2b2000-05-19 05:35:19 +00003BusyBox combines tiny versions of many common UNIX utilities into a single
4small executable. It provides minimalist replacements for most of the utilities
Eric Andersenfbcf06d2004-03-27 09:40:15 +00005you usually find in GNU coreutils, util-linux, etc. The utilities in BusyBox
6generally have fewer options than their full-featured GNU cousins; however, the
7options that are included provide the expected functionality and behave very
Eric Andersen69bd0d12004-04-06 15:39:20 +00008much like their GNU counterparts.
Eric Andersencb81e642003-07-14 21:21:08 +00009
Erik Andersen330fd2b2000-05-19 05:35:19 +000010BusyBox has been written with size-optimization and limited resources in mind.
11It is also extremely modular so you can easily include or exclude commands (or
12features) at compile time. This makes it easy to customize your embedded
Eric Andersenfbcf06d2004-03-27 09:40:15 +000013systems. To create a working system, just add /dev, /etc, and a Linux kernel.
Eric Andersen69bd0d12004-04-06 15:39:20 +000014BusyBox provides a fairly complete POSIX environment for any small or embedded
15system.
Eric Andersencc8ed391999-10-05 16:24:54 +000016
Eric Andersenfbcf06d2004-03-27 09:40:15 +000017BusyBox is extremely configurable. This allows you to include only the
18components you need, thereby reducing binary size. Run 'make config' or
Eric Andersen69bd0d12004-04-06 15:39:20 +000019'make menuconfig' to select the functionality that you wish to enable.
Erik Andersen330fd2b2000-05-19 05:35:19 +000020
Eric Andersen07309432000-11-29 22:12:19 +000021After the build is complete, a busybox.links file is generated. This is
Eric Andersenfbcf06d2004-03-27 09:40:15 +000022used by 'make install' to create symlinks to the BusyBox binary for all
Erik Andersen330fd2b2000-05-19 05:35:19 +000023compiled in functions. By default, 'make install' will place the symlink
24forest into `pwd`/_install unless you have defined the PREFIX environment
Eric Andersen8ec10a92001-01-27 09:33:39 +000025variable (i.e., 'make PREFIX=/tmp/foo install')
Eric Andersencc8ed391999-10-05 16:24:54 +000026
Eric Andersenfbcf06d2004-03-27 09:40:15 +000027If you wish to install hard links, rather than symlinks, you can use
28'make PREFIX=/tmp/foo install-hardlinks' instead.
Eric Andersencb81e642003-07-14 21:21:08 +000029
Eric Andersena29dec22000-06-22 00:19:33 +000030----------------
Eric Andersenc7bda1c2004-03-15 08:29:22 +000031
Mark Whitley3654ca52001-01-26 20:58:23 +000032Supported architectures:
33
Eric Andersenfdfa09b2004-10-08 10:52:08 +000034 BusyBox in general will build on any architecture supported by gcc.
35 Kernel module loading for 2.2 and 2.4 Linux kernels is currently
36 limited to ARM, CRIS, H8/300, x86, ia64, x86_64, m68k, MIPS, PowerPC,
37 S390, SH3/4/5, Sparc, v850e, and x86_64 for 2.4.x kernels. For 2.6.x
38 kernels, kernel module loading support should work on all architectures.
39
Mark Whitley3654ca52001-01-26 20:58:23 +000040
Eric Andersenfbcf06d2004-03-27 09:40:15 +000041Supported C Libraries:
Mark Whitley3654ca52001-01-26 20:58:23 +000042
Eric Andersen45a05132004-09-02 23:03:25 +000043 uClibc and glibc are supported. People have been looking at newlib and
Eric Andersenfdfa09b2004-10-08 10:52:08 +000044 dietlibc, but they are currently considered unsupported, untested, or
Eric Andersen45a05132004-09-02 23:03:25 +000045 worse. Linux-libc5 is no longer supported -- you should probably use uClibc
46 instead if you want a small C library.
Mark Whitley3654ca52001-01-26 20:58:23 +000047
48Supported kernels:
49
Eric Andersen85c3c3f2003-07-16 07:31:14 +000050 Full functionality requires Linux 2.2.x or better. A large fraction of the
Eric Andersencb81e642003-07-14 21:21:08 +000051 code should run on just about anything. While the current code is fairly
52 Linux specific, it should be fairly easy to port the majority of the code
Eric Andersen45a05132004-09-02 23:03:25 +000053 to support, say, FreeBSD or Solaris, or Mac OS X, or even Windows (if you
54 are into that sort of thing).
Mark Whitley3654ca52001-01-26 20:58:23 +000055
56----------------
Eric Andersen235f66d2000-12-13 18:07:38 +000057
Eric Andersena29dec22000-06-22 00:19:33 +000058Getting help:
Eric Andersen235f66d2000-12-13 18:07:38 +000059
Eric Andersena29dec22000-06-22 00:19:33 +000060When you find you need help, you can check out the BusyBox mailing list
Eric Andersen2423b122001-12-08 01:56:15 +000061archives at http://busybox.net/lists/busybox/ or even join
Eric Andersena29dec22000-06-22 00:19:33 +000062the mailing list if you are interested.
63
64----------------
Eric Andersen235f66d2000-12-13 18:07:38 +000065
Eric Andersena29dec22000-06-22 00:19:33 +000066Bugs:
Eric Andersen235f66d2000-12-13 18:07:38 +000067
Eric Andersenfbcf06d2004-03-27 09:40:15 +000068If you find bugs, please submit a detailed bug report to the BusyBox mailing
Eric Andersenf1d3ac42003-10-22 10:19:01 +000069list at busybox@mail.busybox.net. A well-written bug report should include a
Eric Andersencb81e642003-07-14 21:21:08 +000070transcript of a shell session that demonstrates the bad behavior and enables
Eric Andersenc7bda1c2004-03-15 08:29:22 +000071anyone else to duplicate the bug on their own machine. The following is such
Eric Andersencb81e642003-07-14 21:21:08 +000072an example:
Eric Andersen235f66d2000-12-13 18:07:38 +000073
Eric Andersenf1d3ac42003-10-22 10:19:01 +000074 To: busybox@mail.busybox.net
Eric Andersen235f66d2000-12-13 18:07:38 +000075 From: diligent@testing.linux.org
Eric Andersencb81e642003-07-14 21:21:08 +000076 Subject: /bin/date doesn't work
Eric Andersen235f66d2000-12-13 18:07:38 +000077
Eric Andersenfbcf06d2004-03-27 09:40:15 +000078 Package: BusyBox
Eric Andersencb81e642003-07-14 21:21:08 +000079 Version: 1.00
Eric Andersen235f66d2000-12-13 18:07:38 +000080
Eric Andersenfbcf06d2004-03-27 09:40:15 +000081 When I execute BusyBox 'date' it produces unexpected results.
Eric Andersencb81e642003-07-14 21:21:08 +000082 With GNU date I get the following output:
83
84 $ date
Eric Andersenfdfa09b2004-10-08 10:52:08 +000085 Fri Oct 8 14:19:41 MDT 2004
Eric Andersencb81e642003-07-14 21:21:08 +000086
87 But when I use BusyBox date I get this instead:
88
89 $ date
Eric Andersenfbcf06d2004-03-27 09:40:15 +000090 illegal instruction
Eric Andersencb81e642003-07-14 21:21:08 +000091
Eric Andersenfbcf06d2004-03-27 09:40:15 +000092 I am using Debian unstable, kernel version 2.4.25-vrs2 on a Netwinder,
Eric Andersencb81e642003-07-14 21:21:08 +000093 and the latest uClibc from CVS. Thanks for the wonderful program!
94
Eric Andersen235f66d2000-12-13 18:07:38 +000095 -Diligent
96
97Note the careful description and use of examples showing not only what BusyBox
98does, but also a counter example showing what an equivalent GNU app does. Bug
Eric Andersencb81e642003-07-14 21:21:08 +000099reports lacking such detail may never be fixed... Thanks for understanding.
Eric Andersena29dec22000-06-22 00:19:33 +0000100
101----------------
Eric Andersen235f66d2000-12-13 18:07:38 +0000102
Eric Andersenfbcf06d2004-03-27 09:40:15 +0000103Downloads:
Eric Andersen235f66d2000-12-13 18:07:38 +0000104
Eric Andersenc7bda1c2004-03-15 08:29:22 +0000105Source for the latest released version, as well as daily snapshots, can always
106be downloaded from
Eric Andersenb9c0b992001-12-22 00:37:54 +0000107 http://busybox.net/downloads/
Eric Andersena29dec22000-06-22 00:19:33 +0000108
109----------------
Eric Andersen235f66d2000-12-13 18:07:38 +0000110
Eric Andersena29dec22000-06-22 00:19:33 +0000111CVS:
Eric Andersen235f66d2000-12-13 18:07:38 +0000112
Eric Andersen07309432000-11-29 22:12:19 +0000113BusyBox now has its own publicly browsable CVS tree at:
Eric Andersen2423b122001-12-08 01:56:15 +0000114 http://busybox.net/cgi-bin/cvsweb/busybox/
Eric Andersena29dec22000-06-22 00:19:33 +0000115
116Anonymous CVS access is available. For instructions, check out:
Eric Andersen2423b122001-12-08 01:56:15 +0000117 http://busybox.net/cvs_anon.html
Eric Andersena29dec22000-06-22 00:19:33 +0000118
119For those that are actively contributing there is even CVS write access:
Eric Andersen2423b122001-12-08 01:56:15 +0000120 http://busybox.net/cvs_write.html
Eric Andersena29dec22000-06-22 00:19:33 +0000121
Eric Andersena29dec22000-06-22 00:19:33 +0000122----------------
123
Eric Andersended62591999-11-18 00:19:26 +0000124Please feed suggestions, bug reports, insults, and bribes back to:
Eric Andersenc7bda1c2004-03-15 08:29:22 +0000125 Erik Andersen
Eric Andersenbdfd0d72001-10-24 05:00:29 +0000126 <andersen@codepoet.org>
Eric Andersen84b00921999-12-11 04:16:51 +0000127