Savi-Dugway

From VentureResearchWiki
Jump to navigation Jump to search

Dealing with RMAs[edit | edit source]

  • If the unit is able to boot, skip this step. Fix u-boot in order to boot.
(replace with correct mac address) setenv ethaddr f8:dc:7a:xx:xx:xx
setenv get_kernel nand read.i 0x80000000 0x280000 0x300000
setenv bootargs_fs mem=256M console=ttyO2,115200n8 noinitrd root=/dev/mtdblock4 rw rootfstype=jffs2 eth=$ethaddr
setenv boot_fs run get_kernel\; setenv bootargs \$bootargs_fs\; bootm 0x80000000
setenv bootcmd run boot_fs
setenv bootdelay 1
save
reset
  • Record existing IP Address and modify it to get on the Venture network
cat /etc/NetworkManager/system-connections/Ethernet nano /etc/NetworkManager/system-connections/Ethernet
# set method under ipv4 to auto instead of manual
# example:
[ipv4]
method=auto
  • Record production SiteManager?'s IP address
scp /home/user/vr-xr450-emulator/run-app.sh venture@192.168.19.14:~/savi/dugway/run-app_$HOSTNAME
cat /home/user/vr-xr450-emulator/run-app.sh
  • Run rma-script to and watch for fewer than ~100 "BCH Decoding" errors. If errors exceed then look to replace the variscite module.
wget http://readonly:secret@svn.crm.ventureresearch.com/svn/linux/testing/asd-gen3/rma-script.sh -O - | sh
  • Replace the Ethernet adapter with the new gold plated ones
  • If the unit is open, then verify that the heat sink is installed correctly with the modified washer and isn't damaging the flash chip

Now continue with the programming instructions below...

Programming, Provisioning and Testing[edit | edit source]

  • Follow these instructions to program the board

AM35 VRReaderImage "danny"

Savi-Dugway specific paramters[edit | edit source]

  • upgrade reader if needed
nc localhost 2020

RFID INFO
EXIT

Old Version: 01.11.01.45-20.12.01.23-BL10.11.16.00 or lower

Correct Version 01.13.01.6D-20.12.07.30-BL10.11.16.00 or newer

scp venture@10.19.6.1:~/lifetech/M6eApp-1.13.1.6D.sim /home/user/m6efirmware.sim
nc localhost 2020
rfidtest fwupgrade m6e
# wait for the upgrade to be applied ... ~ 2-3 minutes
RFID INFO
EXIT
  • setup the rest of the settings
nc localhost 2020
SET ANTENNA TMMUXABCD-MANUAL
SET MUX 1 2 3 4 SET POWERBASE 30
SET READTIMEOUT 250
SET TRIGGERMODE FORKLIFT
SET TIMEOUT 5000
SET APPSTATEENABLED ENABLED
SET TRIGGERINPUT 1 2
COMMIT

Upgrade image and service if needed[edit | edit source]

opkg update
opkg upgrade

reboot the unit

Install xr-450 emulator[edit | edit source]

Install emulator service

opkg update
opkg install vr-xr450-emulator

Edit settings to point the emulator to correct SiteManager

  • For Testing
nano /home/user/vr-xr450-emulator/run-app.sh
SM_HTTP_HOST="192.168.19.188"
SM_HTTP_PORT=81    #DEFAULT
SM_HTTP_LISTEN_PORT=80
SM_SNMP_HOST="192.168.19.188"
SM_SNMP_PORT=162   #DEFAULT
  • For Production
nano /home/user/vr-xr450-emulator/run-app.sh
SM_HTTP_HOST="140.196.92.101"
SM_HTTP_PORT=81    #DEFAULT
SM_HTTP_LISTEN_PORT=80
SM_SNMP_HOST="140.196.92.101" 
SM_SNMP_PORT=162   #DEFAULT

restart emulator

/etc/init.d/vr-xr450-emulator stop
/etc/init.d/vr-xr450-emulator start

disable lighttpd

update-rc.d -f lighttpd remove

Change IP Address[edit | edit source]

nano /etc/NetworkManager/system-connections/Ethernet
[ipv4]
method=manual
addresses1=[ipaddress];24;140.196.92.1;

Modify vrcm settings[edit | edit source]

sed -i 's#DAEMONARGS="-P $MODEM_PORT"#DAEMONARGS="-z"#g' /etc/init.d/vrcm 
/etc/init.d/vrcm restart