Simple BusyBox HOWTO (for or32)
Download a version of Busybox from
here
Unbundle it with something like: bunzip2 busybox-1.5.2.tar.bz2 then: tar -xvf busybox-1.5.2.tar
Ok now cd into the BusyBox dir e.g. busybox-1.5.2
Now you can do a make menuconfig or make config use this sample to start.
Note in the sample that CONFIG_PREFIX="/opt/or1k_4.2.2/busy_output" this is where make install will put the binaries.
You should change this you could even use your mounted ramdisk if you want, any scratch area will be good.
Once you are happy with the applications or the defaults go ahead and build it with something like:
make ARCH=or32 CROSS_COMPILE=/opt/or1k_4.2.2/tools/or32-uclinux/bin/or32-uclinux-
Then:
make install ARCH=or32 CROSS_COMPILE=/opt/or1k_4.2.2/tools/or32-uclinux/bin/or32-uclinux-
When done you should have directories in your scratch area here is what the sampleconfig generates:
bin linuxrc sbin usr
You should look in the directories and make sure you have what you want.
So now you can copy the bin, linuxrc, sbin, and usr directories in their entirety to you mounted ramdisk.
If you need help with the ramdisk go to: Ramdisk Howto.
More feature and optimization help here and Busybox Home.
Ramdisks with various BusyBoxes tested in the or1ksim:
ramdisk_bb-1.4.1
ramdisk_bb-1.5.0
ramdisk_bb-1.5.2
ramdisk_bb-1.7.5
Top