Compiling Busybox to play around with Android & ARM

Download source code from git:

$ git clone git://busybox.net/busybox.git
$ cd busybox/

Export ARCH and CROSS_COMPILE

$ export ARCH=arm
$ export CROSS_COMPILE=/opt/gcc-4.1.2-glibc-2.5-nptl-3/arm-none-linux-gnueabi/bin/arm-none-linux-gnueabi-
$ make menuconfig

In menuconfig set the following options

$ Busybox Settings --> Build Options --> Build Busybox as a static binary (no shared libs)  -  Enable this option by pressing "Y"
$ Busybox Settings --> Build Options --> Cross compiler prefix  -  Set this option equal to "arm-none-linux-gnueabi-"
$ Busybox Settings --> Installation Options --> Don't use /usr  -  Enable this option by pressing "Y"
$ Linux Module Utilities --> () Default directory containing modules - Set this option to nothing
$ Linux Module Utilities --> () Default name of modules.dep - Set this option to nothing
Compile it using make
$ make
$ file busybox
busybox: ELF 32-bit LSB executable, ARM, version 1 (SYSV), statically linked, for GNU/Linux 2.6.14, stripped

Upload the file busybox to your device and instal it from the device console:

$./busybox --install -s

More info available at:
http://omapzoom.org/wiki/Android_Installing_Busybox_Command_Line_Tools
About these ads
  1. #1 by gowhitehat on March 8, 2013 - 8:53 pm

    thx

  2. #2 by how to trade binary options on March 26, 2013 - 3:09 am

    At this time I am going away to do my breakfast, afterward having my breakfast coming
    yet again to read further news.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

Follow

Get every new post delivered to your Inbox.

%d bloggers like this: