Shiny New E-Book Gizmo: The Amazon Kindle


View Full Version : Updating Busybox


Adam B.
07-26-2007, 11:39 AM
11/30 Edit: You can find an installer for busybox 1.7.2 in this post (http://www.mobileread.com/forums/showpost.php?p=113952&postcount=5)

I've been working to update busybox to include more features. I've compiled it with all the defaults, and it's only slightly bigger than the original. Maybe it'll open a few more doors.

Although, I haven't tested installing it without reflashing the iLiad. Also the ash shell seems to not be working correctly, I've compiled bash, and linked sh to that though.

Original iLiad Busybox Featuers
BusyBox v1.01 (2007.04.10-13:14+0000) multi-call binary

Usage: busybox [function] [arguments]...
or: [function] [arguments]...

BusyBox is a multi-call binary that combines many common Unix
utilities into a single executable. Most people will create a
link to busybox for each function they wish to use and BusyBox
will act like whatever it was invoked as!

Currently defined functions:
[, ash, awk, basename, bunzip2, busybox, bzcat, cat, chgrp, chmod, chown, chroot, clear, cp, cut, date, dc, dd, df, dirname, dmesg, du, echo, egrep, env, expr, false, fbset, fdisk, fgrep, find, free, grep, gunzip, gzip, head, hexdump, hostname, hwclock, id, ifconfig, ifdown, ifup, insmod, ip, kill, killall, klogd, ln, logger, logname, losetup, ls, lsmod, md5sum, mkdir, mkfifo, mknod, mktemp, modprobe, more, mount, mv, nc, netstat, od, ping, pivot_root, printf, ps, pwd, readlink, renice, reset, rm, rmdir, rmmod, route, run-parts, sed, seq, sh, sleep, sort, start-stop-daemon, strings, stty, sync, syslogd, tail, tar, tee, telnet, test, time, top, touch, tr, traceroute, true, tty, udhcpc, umount, uname, uniq, unzip, uptime, vi, watch, wc, wget, which, who, whoami, xargs, yes, zcat

Updated Busybox :D
BusyBox v1.6.1 (2007-07-26 11:14:38 EDT) multi-call binary
Copyright (C) 1998-2006 Erik Andersen, Rob Landley, and others.
Licensed under GPLv2. See source distribution for full notice.

Usage: busybox [function] [arguments]...
or: [function] [arguments]...

BusyBox is a multi-call binary that combines many common Unix
utilities into a single executable. Most people will create a
link to busybox for each function they wish to use and BusyBox
will act like whatever it was invoked as!

Currently defined functions:
[, [[, addgroup, adduser, adjtimex, ar, arp, arping, ash, awk, basename, bunzip2, bzcat, cal, cat, catv, chattr, chgrp, chmod, chown, chpst, chroot, chrt, chvt, cksum, clear, cmp, comm, cp, cpio, crond, crontab, cut, date, dc, dd, deallocvt, delgroup, deluser, df, dhcprelay, diff, dirname, dmesg, dnsd, dos2unix, du, dumpkmap, dumpleases, echo, ed, egrep, eject, env, envdir, envuidgid, ether-wake, expr, fakeidentd, false, fbset, fdflush, fdformat, fdisk, fgrep, find, fold, free, freeramdisk, fsck, fsck.minix, ftpget, ftpput, fuser, getopt, getty, grep, gunzip, gzip, halt, hdparm, head, hexdump, hostid, hostname, httpd, hwclock, id, ifconfig, ifdown, ifup, inetd, init, insmod, install, ip, ipaddr, ipcalc, ipcrm, ipcs, iplink, iproute, iprule, iptunnel, kill, killall, killall5, klogd, last, length, less, linux32, linux64, linuxrc, ln, loadfont, loadkmap, logger, login, logname, logread, losetup, ls, lsattr, lsmod, lzmacat, makedevs, md5sum, mdev, mesg, mkdir, mkfifo, mkfs.minix, mknod, mkswap, mktemp, modprobe, more, mount, mountpoint, mt, mv, nameif, nc, netstat, nice, nmeter, nohup, nslookup, od, openvt, passwd, patch, pidof, ping, ping6, pipe_progress, pivot_root, poweroff, printenv, printf, ps, pwd, raidautorun, rdate, readahead, readlink, readprofile, realpath, reboot, renice, reset, resize, rm, rmdir, rmmod, route, rpm, rpm2cpio, run-parts, runlevel, runsv, runsvdir, rx, sed, seq, setarch, setconsole, setkeycodes, setlogcons, setsid, setuidgid, sh, sha1sum, sleep, softlimit, sort, split, start-stop-daemon, stat, strings, stty, su, sulogin, sum, sv, svlogd, swapoff, swapon, switch_root, sync, sysctl, syslogd, tail, tar, tee, telnet, telnetd, test, tftp, time, top, touch, tr, traceroute, true, tty, udhcpc, udhcpd, umount, uname, uncompress, uniq, unix2dos, unlzma, unzip, uptime, usleep, uudecode, uuencode, vconfig, vi, vlock, watch, watchdog, wc, wget, which, who, whoami, xargs, yes, zcat, zcip

tribble
07-26-2007, 02:52 PM
nice. I cant wait to have some time on my hands. I want to have my own contentLister ;)

Adam B.
10-30-2007, 12:42 PM
I've updated busybox to 1.7.2 and fixed the ash issue I noted earlier in this thread.

root@ereader:/media/cf# ./busybox --help
BusyBox v1.7.2 (2007-10-30 12:45:14 EDT) multi-call binary
Copyright (C) 1998-2006 Erik Andersen, Rob Landley, and others.
Licensed under GPLv2. See source distribution for full notice.

Usage: busybox [function] [arguments]...
or: [function] [arguments]...

BusyBox is a multi-call binary that combines many common Unix
utilities into a single executable. Most people will create a
link to busybox for each function they wish to use and BusyBox
will act like whatever it was invoked as!

Currently defined functions:
[, [[, addgroup, adduser, adjtimex, ar, arp, arping, ash, awk, basename, bunzip2, bzcat, cal, cat, catv, chattr, chgrp, chmod, chown, chpasswd, chpst, chroot, chrt, chvt, cksum, clear, cmp, comm, cp, crond, crontab, cryptpw, cut, date, dc, dd, deallocvt, delgroup, deluser, df, dhcprelay, diff, dirname, dmesg, dnsd, dos2unix, dpkg, du, dumpkmap, dumpleases, echo, ed, egrep, eject, env, envdir, envuidgid, ether-wake, expand, expr, fakeidentd, false, fbset, fdflush, fdformat, fdisk, fgrep, find, fold, free, freeramdisk, fsck, fsck.minix, ftpget, ftpput, fuser, getopt, getty, grep, gunzip, gzip, halt, hdparm, head, hexdump, hostid, hostname, httpd, hwclock, id, ifconfig, ifdown, ifup, inetd, init, insmod, install, ip, ipaddr, ipcalc, ipcrm, ipcs, iplink, iproute, iprule, iptunnel, kill, killall, killall5, klogd, last, length, less, linux32, linux64, linuxrc, ln, loadfont, loadkmap, logger, login, logname, logread, losetup, ls, lsattr, lsmod, lzmacat, makedevs, md5sum, mdev, mesg, mkdir, mkfifo, mkfs.minix, mknod, mkswap, mktemp, modprobe, more, mount, mountpoint, mt, mv, nameif, nc, netstat, nice, nmeter, nohup, nslookup, od, openvt, passwd, patch, pidof, ping, ping6, pipe_progress, pivot_root, poweroff, printenv, printf, ps, pscan, pwd, raidautorun, rdate, readlink, readprofile, realpath, reboot, renice, reset, resize, rm, rmdir, rmmod, route, run-parts, runlevel, runsv, runsvdir, rx, sed, seq, setarch, setconsole, setkeycodes, setlogcons, setsid, setuidgid, sh, sha1sum, slattach, sleep, softlimit, sort, split, start-stop-daemon, stat, strings, stty, su, sulogin, sum, sv, svlogd, swapoff, swapon, switch_root, sync, sysctl, syslogd, tail, tar, tcpsvd, tee, telnet, telnetd, test, tftp, time, top, touch, tr, traceroute, true, tty, ttysize, udhcpc, udhcpd, udpsvd, umount, uname, uncompress, unexpand, uniq, unix2dos, unlzma, unzip, uptime, usleep, uudecode, uuencode, vconfig, vi, vlock, watch, watchdog, wc, wget, which, who, whoami, xargs, yes, zcat, zcip


You can download the binary here: http://adamrb.googlepages.com/busybox

I think the only way to install it and overwrite the existing is with an ipkg. I'll build one and do some testing later.

yokos
10-31-2007, 12:27 PM
nice. I cant wait to have some time on my hands. I want to have my own contentLister ;)
Mmh, busybox isn't a new contentlister: busybox bundles some standard shell commands. The latest version of busybox has got more more built in commands than installed version on iLiad. :D

Adam B.
11-09-2007, 10:52 AM
Here's the ipkg installer.

It will setup all the links and udhpc scripts necessary. An "ipkg install" is all you need.

nkelle
11-09-2007, 03:56 PM
Quick verify new busybox works nice, tested with building swapfile with your assist at appropriate thread.. THX

thetechnobear
11-29-2007, 03:33 AM
not sure what went wrong, but i installed these and then my networking was not working.
it appeared that it deleted /usr/share/udhcpc/default.script
(or is this only required in new version of udhcpc?)

anyways, i found a simple script which fixed it for me...

create /usr/share/udhcpc/default.script with:
http://busybox.net/cgi-bin/viewcvs.cgi/trunk/udhcp/samples/simple.script?rev=5558


did i do something wrong?


anyways, thxs for updated busybox :)

Adam B.
11-29-2007, 05:10 AM
This was a problem with my installer. You didn't do anything wrong. Sorry about that.

Adam B.
11-30-2007, 10:45 AM
I've fixed the package in this post (http://www.mobileread.com/forums/showpost.php?p=113952&postcount=5).

After installing, everything should work automagically.

cen
04-02-2008, 05:56 PM
Will this work on any version of the iLiad or does it require a specific (now older) firmware?

Adam B.
04-02-2008, 06:13 PM
This should work for any iLiad version.