VRReaderImage

From VentureResearchWiki
Jump to navigation Jump to search

BOARD SETUP[edit | edit source]

latest RELEASE is 20131017

U-boot[edit | edit source]

After reboot keep pressing the space-bar until prompt "VAR-SOM-AM35 #"

bootp
mw.b 0x80000000 0xff 0x1c0000
tftp 0x80000000 u-boot-vrreader-am35-20131017.bin
nand erase 0x80000 1c0000
nand write 0x80000000 0x80000 1c0000
reset

kernel[edit | edit source]

  • Keep pressing the space-bar until prompt "VAR-SOM-AM35 #"
printenv ethaddr
## Do this only if there isn't one set already ## 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 mem=256M console=ttyO2,115200n8 noinitrd rw rootfstype=ubifs ubi.mtd=4 root=ubi0:rootfs eth=$ethaddr
setenv boot_fs run get_kernel\; setenv bootargs \$bootargs_fs\; bootm 0x80000000
setenv bootcmd run boot_fs
setenv bootdelay 1
printenv ethaddr 
save
reset
  • Keep pressing the space-bar until prompt "VAR-SOM-AM35 #"
bootp
mw.b 0x80000000 0xFF 0x500000
tftp 0x80000000 uImage-vrreader-am35-20131017.bin
nand erase 0x280000 0x500000
nand write 0x80000000 0x280000 0x400000
setenv bootargs console=ttyO2,115200n8 root=/dev/nfs rw ip=dhcp nfsroot=192.168.19.128:/srv/nfs/image eth=$ethaddr
bootm 0x80000000

filesystem[edit | edit source]

wget http://readonly:secret@svn.crm.ventureresearch.com/svn/linux/testing/vr/vr-prefirstrun.sh -O /tmp/vr-prefirstrun.sh
sh /tmp/vr-prefirstrun.sh vrreader-am35 20131017

type password "0291" where needed

provisioning[edit | edit source]

first run[edit | edit source]

wget http://readonly:secret@svn.crm.ventureresearch.com/svn/linux/testing/vr/vr-firstrun.sh -O - | sh
opkg update
opkg install vrfrv2-linux-event
wget http://readonly:secret@svn.crm.ventureresearch.com/svn/linux/testing/vr/checkReaderCnx_VR.sh -O /home/user/checkReaderCnx_VR.sh
wget http://readonly:secret@svn.crm.ventureresearch.com/svn/linux/testing/vr/checkINETCnx_VR.sh -O /home/user/checkINETCnx_VR.sh
wget http://readonly:secret@svn.crm.ventureresearch.com/svn/linux/testing/vr/BIST_VR.sh -O /home/user/BIST_VR.sh

Login Information[edit | edit source]

username: root
password: rfid4ever_vr

board testing[edit | edit source]

sh /home/user/BIST_VR.sh VRLAB PROVIS

done with board

Reader setup[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