Răsfoiți Sursa

2020.06.17 / Folus Wen

Actions:
1. Add u-blox wifi lab testing tools and driver.

Files:
1. As follow commit history

Image version: D0.00.XX.XXXX.XX
Image checksum: XXXXXXXX

Hardware PWB P/N : XXXXXXX
Hardware Version : XXXXXXX
FolusWen 4 ani în urmă
părinte
comite
41f5bfe670

BIN
EVSE/rootfs/lib/firmware/mrvl/USB8801.bin


+ 48 - 0
EVSE/rootfs/root/u-blox_tools/bridge_init.conf

@@ -0,0 +1,48 @@
+#
+# File:	bridge_init.conf
+#
+#
+# Labtool-Bridge configuration file
+# Lines that start with # are treated as comments
+# Lines that start with % are treated as end of file
+# Each line should not exceed 80 characters
+# Format: Param_name=value
+#
+#################################################################################
+
+# Server Port #
+Server_port=9930
+
+# Client Port #
+Client_port=9931
+
+# WLAN Interface name
+WLAN_interface_name="mlan0"
+
+# BT Interface name
+BT_interface_name="hci0"
+
+# Protocol (TCP or UDP)
+Protocol="TCP"
+
+# serial port
+Serial="/dev/ttyAMA0"
+
+# baudrate
+BAUD=115200
+
+# bridge mode
+Mode="Auto"
+
+# Load script
+Load_script="/root/Desktop/load.sh"
+
+# Unload script
+Unload_script="/root/Desktop/unload.sh"
+
+# tftp command
+tftp_command="tftp 192.168.1.1 -c get "
+
+# default fw name and path
+fw="/lib/firmware/mrvl/usb8801_uapsta.bin"
+%

BIN
EVSE/rootfs/root/u-blox_tools/mfgbridge


+ 6 - 0
EVSE/rootfs/usr/bin/run_u-blox_tools.sh

@@ -0,0 +1,6 @@
+#!/bin/sh
+rmmod usb8xxx
+rmmod mlan
+insmod /lib/modules/mlan.ko
+insmod /lib/modules/usb8801.ko mfg_mode=1 drv_mode=1 fw_name=mrvl/USB8801.bin
+cd /root/u-blox_tools;sleep 1;./mfgbridge