[ 8086.082015] mmc1: new high speed SDHC card at address e624
[ 8086.084105] mmcblk1: mmc1:e624 SU04G 3.69 GiB (ro)
[ 8086.113996] mmcblk1: p1 p2 p3 p4 p5 p6
3.1.9. Ethernet Test
3.1.9.1. Interface
Run the following commands to test
$ ifconfig
$ ping 8.8.8.8
3.1.9.2. Change MAC Address
You can change the MAC address in EEPROM by running:
$ /tools/update-mac_smsc75xx.sh
update-mac_smsc75xx.sh {Interface} {Mac Address}
Ex: update-mac_smsc75xx.sh ${ETH_IF} 06 05 04 03 02 01
3.1.9 RS‐232/485/422 Test
To configure the mode of RS232/422/485 transceiver, you have to export GPIO 99 & 100 first.
CRTL_MODE0
(GPOIO 99)
CRTL_MODE1
(GPOIO 100)
For example, you can set GPIO 99 as 1 and GPIO 100 as 0 to enable RS‐232 mode.
[RS‐232]
$ stty -F /dev/ttyMSM1 -echo -onlcr 115200 crtscts
$ cat /dev/ttyMSM1 &
$ echo "Serial Port Test" > /dev/ttyMSM1
[RS‐485/422]
Send/Receive packages in loopback or connect mode
$ st-fsl /dev/ttyMSM1 -b 115200 -m 485 -g 20 -f none -c n81 -rop &
Loopback
RS‐232
0
0
36
RS‐485
1
0
0
1
RS‐422
1
1