Info harvested from my K1 with RUNME.sh (launched by Update_RUNME.bin, which redirects all output to /mnt/us/documents/RUNME.txt so you can view it on the kindle):
PHP Code:
#> cat /proc/cpuinfo
Processor : XScale-PXA255 rev 6 (v5l)
BogoMIPS : 99.32
Features : swp half thumb fastmult edsp
CPU implementer : 0x69
CPU architecture: 5TE
CPU variant : 0x0
CPU part : 0x2d0
CPU revision : 6
Cache type : undefined 5
Cache clean : undefined 5
Cache lockdown : undefined 5
Cache format : Harvard
I size : 32768
I assoc : 32
I line length : 32
I sets : 32
D size : 32768
D assoc : 32
D line length : 32
D sets : 32
Hardware : Fiona Platform
Revision : 0009
Serial : "B101xxxxxxxxxxxx"
#> uname -m
armv5tel
#> uname -r
2.6.10-lab126
#> cat /proc/cmdline
console=ttyS2,115200n8 root=/dev/rd/0 initrd=/linuxrc rw reboot=hard
Here is my Update_RUNME.bin (for K1), which also displays a "done" message and waits for you to press the 'R' key before restarting (so you can read any content written to the eink display by your RUNME.sh script):
PHP Code:
#!/bin/sh
export PATH=/bin:/sbin:/usr/bin:/usr/sbin:$PATH
LOG=/mnt/us/documents/RUNME.txt
RUNME=/mnt/us/RUNME.sh
DN=/dev/null
echo "" >$LOG 2>&1
eips 23 12 "Hello USBterm." >$DN 2>&1
sleep 1
rm -f /mnt/us/update*.bin >$DN 2>&1
rm -f /mnt/us/Update*.bin >$DN 2>&1
rm -f /mnt/mmc/update*.bin >$DN 2>&1
rm -f /mnt/mmc/Update*.bin >$DN 2>&1
if [ -f $RUNME ]; then
sh $RUNME >>$LOG 2>&1
else
echo "=== $RUNME not found..." >>$LOG 2>&1
fi
eips 1 1 "Done. Goodbye. Press 'R' key to restart."
waitforkey 19 # wait for K1 'R' keycode
sleep 1 # needed to prevent weirdness
eips 3 3 "Restarting..."
return 0