View Single Post
Old 09-05-2015, 11:39 PM   #45
knc1
Going Viral
knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.
 
knc1's Avatar
 
Posts: 17,212
Karma: 18210809
Join Date: Feb 2012
Location: Central Texas
Device: No K1, PW2, KV, KOA
First days effort (built, haven't tried any of it to see if it runs) -
All built ARMv6, hard float, fpu=vfp2, optimized for speed on the ARM1136, and built against the musl libc.

Still need to build the Lua bindings for libffi and libcairo -
Also fix fbset problems (which looks like a missing header file):

Spoiler:
Code:
busybox-1.23.2
cairo-1.14.2
expat-2.1.0
fbgrab-1.2
## fbset-2.1 (not built, needs fixing)
fontconfig-2.11.1
freetype-2.6
harfbuzz-1.0.1
htop-1.0.3
libevent-2.0.22-stable
libffi-3.1
libglib2-2.44.1
libpng-1.6.17
lua-5.1.5
lua-cjson-2.1.0-1
musl-1.1.10
nano-2.4.2
ncurses-5.9
ntp-4.2.8p3
pango-1.36.8
pixman-0.32.6
readline-6.3
util-linux-2.26.2
zlib-1.2.8

The programs resulting from those packages -
Spoiler:
Code:
tmp $ ls -1 bin sbin usr/bin usr/sbin
bin:
ash
busybox
cat
catv
chattr
chgrp
chmod
chown
cp
cpio
date
dd
df
dmesg
dnsdomainname
dumpkmap
echo
egrep
false
fdflush
fgrep
findmnt
getopt
grep
gunzip
gzip
hostname
kill
linux32
linux64
ln
login
ls
lsattr
lsblk
mkdir
mknod
mktemp
more
mount
mountpoint
mt
mv
netstat
nice
pidof
ping
pipe_progress
printenv
ps
pwd
rm
rmdir
run-parts
sed
setarch
setserial
sh
sleep
stty
su
sync
tar
touch
true
umount
uname
usleep
vi
watch
zcat

sbin:
arp
blkdiscard
blkid
blockdev
cfdisk
chcpu
ctrlaltdel
devmem
fdisk
findfs
freeramdisk
fsck
fsfreeze
fstrim
getty
halt
hdparm
hwclock
ifconfig
ifdown
ifup
init
insmod
ip
ipaddr
iplink
iproute
iprule
iptunnel
klogd
loadkmap
losetup
lsmod
makedevs
mdev
mkfs
mkswap
modprobe
nameif
pivot_root
poweroff
reboot
rmmod
route
runlevel
setconsole
sfdisk
start-stop-daemon
sulogin
swaplabel
swapoff
swapon
switch_root
sysctl
syslogd
udhcpc
vconfig
watchdog
wipefs

usr/bin:
[
[[
ar
awk
basename
bunzip2
bzcat
cal
chrt
chvt
cksum
clear
cmp
col
colcrt
colrm
column
crontab
cut
dc
deallocvt
diff
dirname
dos2unix
du
eject
env
expr
fbgrab
fc-cache
fc-cat
fc-list
fc-match
fc-pattern
fc-query
fc-scan
fc-validate
find
flock
fold
free
fuser
gapplication
gdbus
gdbus-codegen
getopt
gio-querymodules
glib-compile-resources
glib-compile-schemas
gresource
gsettings
hb-ot-shape-closure
hb-shape
hb-view
head
hexdump
hostid
htop
id
install
ipcmk
ipcrm
ipcs
isosize
json2lua
killall
last
less
linux32
linux64
logger
logname
look
lscpu
lslocks
lslogins
lsof
lspci
lsusb
lua
lua2json
luac
lzcat
lzma
mcookie
md5sum
mesg
microcom
mkfifo
namei
nano
nohup
nslookup
ntpdate
od
openvt
pango-querymodules
pango-view
passwd
patch
pg
printf
prlimit
readlink
realpath
renice
reset
resize
rev
script
scriptreplay
seq
setarch
setkeycodes
setsid
sha1sum
sha256sum
sha3sum
sha512sum
sort
strings
tail
tailf
tee
telnet
test
tftp
tickadj
time
top
tr
traceroute
tty
uname26
uniq
unix2dos
unlink
unlzma
unxz
unzip
uptime
uudecode
uuencode
uuidgen
vlock
wc
wget
whereis
which
who
whoami
xargs
xz
xzcat
yes

usr/sbin:
addgroup
adduser
arping
chroot
crond
delgroup
deluser
dnsd
ether-wake
fbset
fdformat
inetd
killall5
ldattach
loadfont
ntpd
rdate
readprofile
rtcwake
setlogcons


The general plan there is to (other than suppliment a bunch of Amazon 10 year old code) -

Parameterize the clock layout and the font rectangles in json -
Generate the font rectangles for the clock (once) on the Kindle -
Have whatever might be needed to diddle the framebuffer, public time network, hardware clock, fonts, and a kitchen sink worth of other things.

Last edited by knc1; 09-06-2015 at 12:06 AM.
knc1 is offline   Reply With Quote