blob: d9bac59cff83cb34dfb150a51e2e227462fee5b0 [file] [log] [blame]
Eric Andersencb81e642003-07-14 21:21:08 +00001Please see the LICENSE file for details on copying and usage.
Bernhard Reutner-Fischer5c071bc2005-10-05 07:40:46 +00002Please refer to the INSTALL file for instructions on how to build.
Eric Andersenc7bda1c2004-03-15 08:29:22 +00003
Erik Andersen330fd2b2000-05-19 05:35:19 +00004BusyBox combines tiny versions of many common UNIX utilities into a single
5small executable. It provides minimalist replacements for most of the utilities
Eric Andersenfbcf06d2004-03-27 09:40:15 +00006you usually find in GNU coreutils, util-linux, etc. The utilities in BusyBox
7generally have fewer options than their full-featured GNU cousins; however, the
8options that are included provide the expected functionality and behave very
Eric Andersen69bd0d12004-04-06 15:39:20 +00009much like their GNU counterparts.
Eric Andersencb81e642003-07-14 21:21:08 +000010
Erik Andersen330fd2b2000-05-19 05:35:19 +000011BusyBox has been written with size-optimization and limited resources in mind.
12It is also extremely modular so you can easily include or exclude commands (or
13features) at compile time. This makes it easy to customize your embedded
Eric Andersenfbcf06d2004-03-27 09:40:15 +000014systems. To create a working system, just add /dev, /etc, and a Linux kernel.
Eric Andersen69bd0d12004-04-06 15:39:20 +000015BusyBox provides a fairly complete POSIX environment for any small or embedded
16system.
Eric Andersencc8ed391999-10-05 16:24:54 +000017
Eric Andersenfbcf06d2004-03-27 09:40:15 +000018BusyBox is extremely configurable. This allows you to include only the
Bernhard Reutner-Fischer5c071bc2005-10-05 07:40:46 +000019components you need, thereby reducing binary size. See the file INSTALL
20for details.
Eric Andersencb81e642003-07-14 21:21:08 +000021
Eric Andersena29dec22000-06-22 00:19:33 +000022----------------
Eric Andersenc7bda1c2004-03-15 08:29:22 +000023
Mark Whitley3654ca52001-01-26 20:58:23 +000024Supported architectures:
25
Eric Andersenfdfa09b2004-10-08 10:52:08 +000026 BusyBox in general will build on any architecture supported by gcc.
27 Kernel module loading for 2.2 and 2.4 Linux kernels is currently
28 limited to ARM, CRIS, H8/300, x86, ia64, x86_64, m68k, MIPS, PowerPC,
29 S390, SH3/4/5, Sparc, v850e, and x86_64 for 2.4.x kernels. For 2.6.x
30 kernels, kernel module loading support should work on all architectures.
31
Mark Whitley3654ca52001-01-26 20:58:23 +000032
Eric Andersenfbcf06d2004-03-27 09:40:15 +000033Supported C Libraries:
Mark Whitley3654ca52001-01-26 20:58:23 +000034
Eric Andersen45a05132004-09-02 23:03:25 +000035 uClibc and glibc are supported. People have been looking at newlib and
Eric Andersenfdfa09b2004-10-08 10:52:08 +000036 dietlibc, but they are currently considered unsupported, untested, or
Eric Andersen45a05132004-09-02 23:03:25 +000037 worse. Linux-libc5 is no longer supported -- you should probably use uClibc
38 instead if you want a small C library.
Mark Whitley3654ca52001-01-26 20:58:23 +000039
40Supported kernels:
41
Eric Andersen85c3c3f2003-07-16 07:31:14 +000042 Full functionality requires Linux 2.2.x or better. A large fraction of the
Eric Andersencb81e642003-07-14 21:21:08 +000043 code should run on just about anything. While the current code is fairly
44 Linux specific, it should be fairly easy to port the majority of the code
Eric Andersen45a05132004-09-02 23:03:25 +000045 to support, say, FreeBSD or Solaris, or Mac OS X, or even Windows (if you
46 are into that sort of thing).
Mark Whitley3654ca52001-01-26 20:58:23 +000047
48----------------
Eric Andersen235f66d2000-12-13 18:07:38 +000049
Eric Andersena29dec22000-06-22 00:19:33 +000050Getting help:
Eric Andersen235f66d2000-12-13 18:07:38 +000051
Eric Andersena29dec22000-06-22 00:19:33 +000052When you find you need help, you can check out the BusyBox mailing list
Eric Andersen2423b122001-12-08 01:56:15 +000053archives at http://busybox.net/lists/busybox/ or even join
Eric Andersena29dec22000-06-22 00:19:33 +000054the mailing list if you are interested.
55
56----------------
Eric Andersen235f66d2000-12-13 18:07:38 +000057
Eric Andersena29dec22000-06-22 00:19:33 +000058Bugs:
Eric Andersen235f66d2000-12-13 18:07:38 +000059
Eric Andersenfbcf06d2004-03-27 09:40:15 +000060If you find bugs, please submit a detailed bug report to the BusyBox mailing
Eric Andersenf1d3ac42003-10-22 10:19:01 +000061list at busybox@mail.busybox.net. A well-written bug report should include a
Eric Andersencb81e642003-07-14 21:21:08 +000062transcript of a shell session that demonstrates the bad behavior and enables
Eric Andersenc7bda1c2004-03-15 08:29:22 +000063anyone else to duplicate the bug on their own machine. The following is such
Eric Andersencb81e642003-07-14 21:21:08 +000064an example:
Eric Andersen235f66d2000-12-13 18:07:38 +000065
Eric Andersenf1d3ac42003-10-22 10:19:01 +000066 To: busybox@mail.busybox.net
Eric Andersen235f66d2000-12-13 18:07:38 +000067 From: diligent@testing.linux.org
Eric Andersencb81e642003-07-14 21:21:08 +000068 Subject: /bin/date doesn't work
Eric Andersen235f66d2000-12-13 18:07:38 +000069
Eric Andersenfbcf06d2004-03-27 09:40:15 +000070 Package: BusyBox
Eric Andersencb81e642003-07-14 21:21:08 +000071 Version: 1.00
Eric Andersen235f66d2000-12-13 18:07:38 +000072
Eric Andersenfbcf06d2004-03-27 09:40:15 +000073 When I execute BusyBox 'date' it produces unexpected results.
Eric Andersencb81e642003-07-14 21:21:08 +000074 With GNU date I get the following output:
75
76 $ date
Eric Andersenfdfa09b2004-10-08 10:52:08 +000077 Fri Oct 8 14:19:41 MDT 2004
Eric Andersencb81e642003-07-14 21:21:08 +000078
79 But when I use BusyBox date I get this instead:
80
81 $ date
Eric Andersenfbcf06d2004-03-27 09:40:15 +000082 illegal instruction
Eric Andersencb81e642003-07-14 21:21:08 +000083
Eric Andersenfbcf06d2004-03-27 09:40:15 +000084 I am using Debian unstable, kernel version 2.4.25-vrs2 on a Netwinder,
Eric Andersencb81e642003-07-14 21:21:08 +000085 and the latest uClibc from CVS. Thanks for the wonderful program!
86
Eric Andersen235f66d2000-12-13 18:07:38 +000087 -Diligent
88
89Note the careful description and use of examples showing not only what BusyBox
90does, but also a counter example showing what an equivalent GNU app does. Bug
Eric Andersencb81e642003-07-14 21:21:08 +000091reports lacking such detail may never be fixed... Thanks for understanding.
Eric Andersena29dec22000-06-22 00:19:33 +000092
93----------------
Eric Andersen235f66d2000-12-13 18:07:38 +000094
Eric Andersenfbcf06d2004-03-27 09:40:15 +000095Downloads:
Eric Andersen235f66d2000-12-13 18:07:38 +000096
Eric Andersenc7bda1c2004-03-15 08:29:22 +000097Source for the latest released version, as well as daily snapshots, can always
98be downloaded from
Eric Andersenb9c0b992001-12-22 00:37:54 +000099 http://busybox.net/downloads/
Eric Andersena29dec22000-06-22 00:19:33 +0000100
101----------------
Eric Andersen235f66d2000-12-13 18:07:38 +0000102
Eric Andersena29dec22000-06-22 00:19:33 +0000103CVS:
Eric Andersen235f66d2000-12-13 18:07:38 +0000104
Bernhard Reutner-Fischer5c071bc2005-10-05 07:40:46 +0000105BusyBox now has its own publicly browsable SVN tree at:
106 http://busybox.net/cgi-bin/viewcvs.cgi/trunk/busybox/
Eric Andersena29dec22000-06-22 00:19:33 +0000107
Bernhard Reutner-Fischer5c071bc2005-10-05 07:40:46 +0000108Anonymous SVN access is available. For instructions, check out:
109 http://busybox.net/subversion.html
Eric Andersena29dec22000-06-22 00:19:33 +0000110
Bernhard Reutner-Fischer5c071bc2005-10-05 07:40:46 +0000111For those that are actively contributing there is even SVN write access:
112 http://busybox.net/developer.html
Eric Andersena29dec22000-06-22 00:19:33 +0000113
Eric Andersena29dec22000-06-22 00:19:33 +0000114----------------
115
Eric Andersended62591999-11-18 00:19:26 +0000116Please feed suggestions, bug reports, insults, and bribes back to:
Eric Andersenc7bda1c2004-03-15 08:29:22 +0000117 Erik Andersen
Eric Andersenbdfd0d72001-10-24 05:00:29 +0000118 <andersen@codepoet.org>
Eric Andersen84b00921999-12-11 04:16:51 +0000119