RehrigPacific-3.5-OM37-WiFi-danny
Jump to navigation
Jump to search
BOARD SETUP[edit | edit source]
latest RELEASE is 20131028
U-boot[edit | edit source]
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[edit | edit source]
- Keep pressing the space-bar until prompt "VAR-SOM-AM35 #"
## 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 0x500000 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 save reset
- Keep pressing the space-bar until prompt "VAR-SOM-AM35 #"
bootp mw.b 0x80000000 0xFF 0x500000 tftp 0x80000000 uImage-vrreader-om37-20131028.bin nand erase 0x280000 0x500000 nand write 0x80000000 0x280000 0x500000 setenv bootargs console=ttyO2,115200n8 root=/dev/nfs rw ip=dhcp nfsroot=192.168.19.128:/srv/nfs/image eth=$ethaddr bootm 0x80000000
provisioning[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-om37 20131112 venture-image-asdfridge
// if NOT Zonar wget http://readonly:secret@svn.crm.ventureresearch.com/svn/linux/testing/rehrig/rp-firstrun.sh -O - | sh
// if Zonar wget http://readonly:secret@svn.crm.ventureresearch.com/svn/linux/testing/rehrig/rp-firstrun-zonar.sh -O - | sh
//type password "0291" where needed
Verify RFID service version to be 5.1.1
nc localhost 2020 get version
Update service to version 5.1.1
opkg update opkg remove vrfrv2-linux-event opkg install vrfrv2-linux-event-5.1
Login Information
username: root password: rfid4ever_vr
board testing[edit | edit source]
wget http://readonly:secret@svn.crm.ventureresearch.com/svn/linux/testing/vrDevice/venture-build-info -O /etc/venture-build-info wget http://readonly:secret@svn.crm.ventureresearch.com/svn/linux/testing/vrDevice/checkGPSCnx_VRD.sh -O /home/user/checkGPSCnx_VRD.sh wget http://readonly:secret@svn.crm.ventureresearch.com/svn/linux/testing/rehrig/checkReaderCnx_RP.sh -O /home/user/checkReaderCnx_RP.sh wget http://readonly:secret@svn.crm.ventureresearch.com/svn/linux/testing/rehrig/checkINETCnx_RP.sh -O /home/user/checkINETCnx_RP.sh wget http://readonly:secret@svn.crm.ventureresearch.com/svn/linux/testing/rehrig/BIST_RP.sh -O /home/user/BIST_RP.sh
//After provisioning sh /home/user/BIST_RP.sh VRLAB PROVIS
//After completed assembly BUT NOT SEALED sh /home/user/BIST_RP.sh VRLAB FINAL
//After completed assembly SEALED!!! sh /home/user/BIST_RP.sh VRLAB FINAL SEALED
done with board
Setup Wi-Fi[edit | edit source]
- install wifi drivers
opkg install linux-firmware-wl12xx opkg install ti-utils // calibrator
- setup mac address
calibrator set nvs_mac /lib/firmware/ti-connectivity/wl1271-nvs.bin 00:50:C2:7C:57:XX calibrator get nvs_mac /lib/firmware/ti-connectivity/wl1271-nvs.bin
- restart module
modprobe -r wl1271_sdio modprobe -r wl1271 modprobe wl1271 modprobe wl1271_sdio
- comment out all wlan0 settings in interfaces file
nano /etc/network/interfaces
# Wireless interfaces #iface wlan0 inet dhcp # wireless_mode managed # wireless_essid any # wpa-driver wext # wpa-conf /etc/wpa_supplicant.conf
ctrl-x, Y (to save and close the file)
- copy over Wi-Fi connection file
scp venture@10.19.6.1:~/vr/system-connections/Wi-Fi-vrtest /etc/NetworkManager/system-connections/Wi-Fi chmod 600 /etc/NetworkManager/system-connections/Wi-Fi
- bring up Wi-Fi connection for the first time (it should auto-reconnect upon future reboots
nmcli con up id Wi-Fi
Application Specific Settings[edit | edit source]
//setup rfid parameters to support dual antennas SET MUX 1 2 COMMIT
//setup unit to support USB-to-TTL gps device vi /etc/default/gpsd //[if using USB-to-TTL] GPS_DEVICES="/dev/ttyGPS" COMMIT
//copy the udev rule for gps [if using USB-to-TTL] scp venture@10.19.6.1:~/rehrig/99-gps.rules.danny /etc/udev/rules.d/99-gps.rules COMMIT
//setup unit to support zonar device SET ZONARENABLED ENABLED SET ZONARCONN /dev/ttyO1 COMMIT