LifeTechRecoveryStick

From VentureResearchWiki
Jump to navigation Jump to search

Life Tech Recovery Stick[edit | edit source]

boot into nfs image[edit | edit source]

bootp

# boot into vrreader NFS

tftp 0x80000000 uImage-vrreader-om37-20121001.bin
setenv bootargs console=ttyO2,115200n8 root=/dev/nfs rw ip=dhcp nfsroot=192.168.100.1:/srv/nfs/image ethaddr=$ethaddr consoleblank=0 omapfb.mode=lcd:1024x768@60
bootm 0x80000000

login ...

If you see errors from "ftdi_sio" do:

echo 1 1 1 1 > /proc/sys/kernel/printk

load the android system[edit | edit source]

  • copy the tarball
scp venture@192.168.19.35:/home/android/rowboat-android-gingerbread-ti/release/rootfs_om37_20121115.tar.bz2 /tmp/
  • mount the sd card part 2
mkdir /mnt/tmp
mount -t ext3 /dev/mmcblk0p2 /mnt/tmp
cd /mnt/tmp
rm -r *

tar xvf /tmp/rootfs (TAB)

cd /
umount /mnt/tmp

load the android kernel[edit | edit source]

mount -t vfat /dev/mmcblk0p1 /mnt/tmp 
cd /mnt/tmp 
scp venture@192.168.19.35:/home/android/rowboat-android-gingerbread-ti/release/uImage-android-om37_20121115.bin /mnt/tmp/uImage 
cd / 
umount /mnt/tmp sync sync

<HARD REBOOT>

(in android)

provisioning[edit | edit source]

scp venture@192.168.19.14:/home/venture/lifetech/test-scripts/lifetech/lt-firstrun.sh /var/run/vrgpio/ /var/run/vrgpio/lt-firstrun.sh

update RFIDEnclosure.apk[edit | edit source]

cd /mnt/sdcard 
busybox wget http://downloads.ventureresearch.com/LifeTech/RFIDEnclosure/Android/20121213.7/RFIDEnclosure.apk 
busybox pkill com.ventureresearch.lifetech.rfidenclosure 
pm uninstall com.ventureresearch.lifetech.rfidenclosure 
pm install /mnt/sdcard/RFIDEnclosure.apk 
am start -a android.intent.action.MAIN -n com.ventureresearch.lifetech.rfidenclosure/.InitActivity 
busybox pgrep com.ventureresearch.lifetech.rfidenclosure