Carpe diem, c'est la vie.
Posts: 6,433
Karma: 10773670
Join Date: Nov 2011
Location: Multiverse 6627A
Device: K1 to PW3
|
Though just an item of curiousity at this point, I *DID* find a non-lab126 binary executable THAT WORKS on my K1. It is the busybox-arm4l mentioned previously, found with my "file" search. What is curious is that the "file" info does not display any EABI or Linux version info (which is what caught my attention and made decide to test it):
PHP Code:
mint17-32 k1_build # file /media/user/Kindle/busybox-armv4l
/media/user/Kindle/busybox-armv4l: ELF 32-bit LSB executable, ARM, version 1, statically linked, stripped
And here is its output when run on my K1:
PHP Code:
#> /mnt/us/busybox-armv4l
BusyBox v1.21.1 (2013-07-08 10:00:38 CDT) multi-call binary.
BusyBox is copyrighted by many authors between 1998-2012.
Licensed under GPLv2. See source distribution for detailed
copyright notices.
Usage: busybox [function [arguments]...]
or: busybox --list[-full]
or: busybox --install [-s] [DIR]
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:
[, [[, acpid, add-shell, addgroup, adduser, adjtimex, arp, arping, ash,
awk, base64, basename, beep, blkid, blockdev, bootchartd, brctl,
bunzip2, bzcat, bzip2, cal, cat, catv, chat, chattr, chgrp, chmod,
chown, chpasswd, chpst, chroot, chrt, chvt, cksum, clear, cmp, comm,
conspy, cp, cpio, crond, crontab, cryptpw, cttyhack, cut, date, dc, dd,
deallocvt, delgroup, deluser, depmod, devmem, df, dhcprelay, diff,
dirname, dmesg, dnsd, dnsdomainname, dos2unix, du, dumpkmap,
dumpleases, echo, ed, egrep, eject, env, envdir, envuidgid, ether-wake,
expand, expr, fakeidentd, false, fbset, fbsplash, fdflush, fdformat,
fdisk, fgconsole, fgrep, find, findfs, flock, fold, free, freeramdisk,
fsck, fsck.minix, fsync, ftpd, ftpget, ftpput, fuser, getopt, getty,
grep, groups, gunzip, gzip, halt, hd, hdparm, head, hexdump, hostid,
hostname, httpd, hush, hwclock, id, ifconfig, ifdown, ifenslave,
ifplugd, ifup, inetd, init, insmod, install, ionice, iostat, ip,
ipaddr, ipcalc, ipcrm, ipcs, iplink, iproute, iprule, iptunnel,
kbd_mode, kill, killall, killall5, klogd, last, less, linux32, linux64,
linuxrc, ln, loadfont, loadkmap, logger, login, logname, logread,
losetup, lpd, lpq, lpr, ls, lsattr, lsmod, lsof, lspci, lsusb, lzcat,
lzma, lzop, lzopcat, makedevs, makemime, man, md5sum, mdev, mesg,
microcom, mkdir, mkdosfs, mke2fs, mkfifo, mkfs.ext2, mkfs.minix,
mkfs.vfat, mknod, mkpasswd, mkswap, mktemp, modinfo, modprobe, more,
mount, mountpoint, mpstat, mt, mv, nameif, nanddump, nandwrite,
nbd-client, nc, netstat, nice, nmeter, nohup, nslookup, ntpd, od,
openvt, passwd, patch, pgrep, pidof, ping, ping6, pipe_progress,
pivot_root, pkill, pmap, popmaildir, poweroff, powertop, printenv,
printf, ps, pscan, pstree, pwd, pwdx, raidautorun, rdate, rdev,
readahead, readlink, readprofile, realpath, reboot, reformime,
remove-shell, renice, reset, resize, rev, rm, rmdir, rmmod, route, rpm,
rpm2cpio, rtcwake, run-parts, runlevel, runsv, runsvdir, rx, script,
scriptreplay, sed, sendmail, seq, setarch, setconsole, setfont,
setkeycodes, setlogcons, setserial, setsid, setuidgid, sh, sha1sum,
sha256sum, sha3sum, sha512sum, showkey, slattach, sleep, smemcap,
softlimit, sort, split, start-stop-daemon, stat, strings, stty, su,
sulogin, sum, sv, svlogd, swapoff, swapon, switch_root, sync, sysctl,
syslogd, tac, tail, tar, tcpsvd, tee, telnet, telnetd, test, tftp,
tftpd, time, timeout, top, touch, tr, traceroute, traceroute6, true,
tty, ttysize, tunctl, udhcpc, udhcpd, udpsvd, umount, uname, unexpand,
uniq, unix2dos, unlzma, unlzop, unxz, unzip, uptime, users, usleep,
uudecode, uuencode, vconfig, vi, vlock, volname, wall, watch, watchdog,
wc, wget, which, who, whoami, whois, xargs, xz, xzcat, yes, zcat, zcip
Strangely, it claims to be a relatively recent version, so how and why its "file" info is stripped is a mystery (to me).
And for comparison, here is the output /bin/busybox on my K1:
PHP Code:
BusyBox v1.01 (2008.03.31-00:04+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:
[, addgroup, adduser, adjtimex, ash, awk, basename, bunzip2, busybox,
bzcat, cat, chgrp, chmod, chown, chroot, clear, cmp, cp, crond,
crontab, cut, date, dd, delgroup, deluser, df, dirname, dmesg,
du, echo, env, expr, false, fdisk, fgrep, find, freeramdisk, getty,
grep, gunzip, gzip, halt, head, hexdump, hostname, hwclock, id,
ifconfig, ifdown, ifup, init, install, ip, ipaddr, iplink, iproute,
kill, killall, klogd, linuxrc, ln, logger, login, logname, logread,
losetup, ls, makedevs, md5sum, mkdir, mknod, mktemp, more, mount,
mv, nc, netstat, passwd, pidof, ping, pipe_progress, pivot_root,
printf, pwd, rdate, readlink, realpath, reboot, renice, reset,
rm, rmdir, route, run-parts, sed, seq, sh, sleep, sort, start-stop-daemon,
strings, stty, su, sulogin, sync, sysctl, syslogd, tail, tar,
tee, telnet, test, time, touch, tr, traceroute, true, tty, udhcpc,
umount, uname, uniq, uptime, usleep, vi, wc, wget, which, who,
whoami, xargs, yes, zcat
It seems that arm-static binaries need to be built built for GNU/Linux 2.0.0 (or need some mysteries file info stripping?). Or perhaps that is just a coincidence and all the other possible problems with instruction sets and libraries and nothing being "pure static" are the real culprits...
And regarding being on the outs, I have that problem with certain folks (mostly multimillionaires and billionaires who *used* to be my friends) not because I picked fights, but because a mutual "friend" picked fights in forums, while claiming to be me. And as for *our* "fights", we seem to have gotten past all that (for now). I have vast experience at some things, but I feel like a complete noob in this K1 stuff, so it is easy to admit my errors (poking around in the dark)...
EDIT: If nothing else, at least this new bigger busybox version adds a whole lot of new commands I can execute from my shell scripts on the K1. But especially, it supports '[[' and ']]' so I do not need to "fix" so many of my old scripts that rely on those commands. Ooohh... It has 'xz' too -- so now I can compress my .gmv vids to one-quarter the size of the .gmv.gz versions (even on the K1), but gmplay still will not run on the K1 (one of my first goals at this point).
Last edited by geekmaster; 05-13-2016 at 01:39 PM.
|