MaaXBoard-Linux-Debian-UM-V1.2
17
The storage node for U disk is /dev/sda1, system will mount the storage device to /run/media path
automatically.
MaaXBoard also supports other USB device such as key board, mouse, Camera, etc.
3.9.2 USB Device
USB0 support USB Device function could be used to burn the system image or use as USB Network
adapter.
3.9.2.1 BURNING MODE
Connect USB0 and PC before power on the board. The system will not boot normally, it will enter burning
mode. Then users could burn the system image to the development board using uuu tools. For the detail
information, refer to MaaXBoard EMMC burning Guide.
3.9.2.2 USB NETWORK ADAPTER
To use USB0 as USB slave device: network adapter, users should modify the value of fdt_file in uEnv.txt
and reboot the system.
fdt_file=em-sbc-imx8m-usb0-device.dtb
When choose this value, the displayer is HDMI.
Connect USB0 to PC after the system start up, open the device manager, and check if the following
device is recognized:
Please follow the steps listed below to finish USB Device test (Use Windows 7 as example).
1) Install Linux USB Ethernet driver (In release package: LinuxTools), then the device manager will list
the Network Adapter: Linux USB Ethernet/RNDIS Gadget
2) Execute the following instructions to set and view the IP address of USB OTG port
The below IP address are example, you can select any other IP, but make sure it is NOT the same
network segment as your PC’s Ethernet port.
root@maaxboard:~# ifconfig usb0 up
root@maaxboard:~# ifconfig usb0 192.168.1.115
root@maaxboard:~# ifconfig usb0
The terminal window will print information as shown below
usb0 Link encap:Ethernet HWaddr 92:a9:b6:be:8b:3f
inet addr:192.168.1.115 Bcast:192.168.1.255 Mask:255.255.255.0
inet6 addr: fe80::90a9:b6ff:febe:8b3f/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1