VRReaderImage-OM37Fridge
Jump to navigation
Jump to search
VR OM37 Fridge - generic VR fridge (crown)[edit | edit source]
Board Setup[edit | edit source]
image date is 20140318
1. OS install[edit | edit source]
- u-boot
bootp mw.b 0x80000000 0xff 0x1c0000 tftp 0x80000000 u-boot-vrreader-om37-20131028.bin nand erase 0x80000 1c0000 nand write 0x80000000 0x80000 1c0000 reset
- kernel
---- ONLY DO THIS IF NEEDED -- setenv ethaddr [MAC in format 00:50:c2:7c:57:01, F8:DC:7A:00:A7:C8] setenv get_kernel nand read.i 0x80000000 0x280000 0x400000 setenv bootargs_fs console=ttyO2,115200n8 mem=256M noinitrd rw rootfstype=ubifs ubi.mtd=4 root=ubi0:vr-om37-fridge-rootfs eth=$ethaddr setenv boot_fs run get_kernel\; setenv bootargs \$bootargs_fs\; bootm 0x80000000 setenv bootcmd run boot_fs setenv bootdelay 1 save //verify MAC address here printenv ethaddr bootp mw.b 0x80000000 0xFF 0x500000 tftp 0x80000000 uImage-vr-om37-fridge-20140318.bin setenv bootargs console=ttyO2,115200n8 root=/dev/nfs rw ip=dhcp nfsroot=192.168.19.128:/srv/nfs/image eth=$ethaddr bootm 0x80000000
- filesystem
wait for login prompt "vr-preboot login:"
type username root
wget http://readonly:secret@svn.crm.ventureresearch.com/svn/linux/testing/vr-om37-fridge/prefirstrun.sh -O - | sh // unplug device now and plug in to reset power - let it boot into image
2. initial provisioning[edit | edit source]
login as root, no password
wget http://readonly:secret@svn.crm.ventureresearch.com/svn/linux/testing/vr-om37-fridge/firstrun.sh -O - | sh // let it reboot, or ctrl+c and type reboot
Test procedure[edit | edit source]
sh /home/user/BIST_ASD.sh VRLAB
screen calibration[edit | edit source]
sh /home/user/calibrateLCD_ASD.sh
- watch out, needs to run calibration twice!
package updates[edit | edit source]
opkg update
//to upgrade all opkg upgrade
// verify rfid service build date and revision
echo "get build" | nc localhost 2020 | grep build | awk '{print $7}'
- reboot the fridge
upgrade m6e firmware if needed[edit | edit source]
scp venture@10.19.6.1:~/lifetech/M6eApp-1.13.1.6D.sim /home/user/m6efirmware.sim nc localhost 2020 rfidtest fwupgrade m6e // wait and verify the fw version (RFID INFO) once the upgrade is complete exit echo rfid info | busybox nc localhost 2020 | busybox egrep rfid