Testing:¶
Serial Port Connection to the Target¶
Linux Desktop¶
Open a terminal window, then:
1# list the available USB serial convertor ports 2user@host:~$ ls -l /dev/ttyUSB* 3 4# so, assuming the debug interface is on /dev/ttyUSB0... 5user@host:~$ picocom -b 115200 /dev/ttyUSB0
You will now be able to see any messages and also login to the target in your terminal window.
Power on the target… you should see several lines of output as the target boots. Eventually, you’ll see a login prompt. Enter root; there is no password.
If you don’t see any output, try any other available /dev/ttyUSB*
ports
that were listed by the above ls
command.
If there is no response, see the troubleshooting section or
seek assistance from a system administrator.
From the Reach Technology G3 Developer VM¶
Once the serial ports are configured:
Start by launching the VM, then login as “Joe Developer.” The password is developer. Now, open a terminal window in the VM, then:
1# list the available USB serial convertor ports 2joe@g3b1dev:~$ ls -l /dev/ttyUSB* 3 4# list the available command aliases 5joe@g3b1dev:~$ alias 6 7# other aliases removed for clarity... 8# these are the serial port access aliases 9alias com0='picocom -b 115200 /dev/ttyUSB0' 10alias com1='picocom -b 115200 /dev/ttyUSB1' 11alias com2='picocom -b 115200 /dev/ttyUSB2' 12alias com3='picocom -b 115200 /dev/ttyUSB3' 13 14# so, assuming the debug interface is on /dev/ttyUSB0... 15joe@g3b1dev:~$ com0
You will now be able to see any messages and also login to the target in your terminal window.
Power on the target… you should see several lines of output as the target boots. Eventually, you’ll see a login prompt. Enter root; there is no password.
If you don’t see any output, try any other available /dev/ttyUSB*
ports
that were listed by the above ls
command.
If there is no response, see the troubleshooting section or
seek assistance from a system administrator.
Ethernet Connection to the Target¶
This procedure applies to either the Linux desktop or within the Reach Technology G3 Developer VM.
Start by opening a terminal window, then:
1# test network reachability of the target at IP addresss <n.n.n.n> 2joe@g3b1dev:~$ ping <n.n.n.n> 3 4# test network reachability of the target assuming /etc/fstab 5# has been setup correctly 6joe@g3b1dev:~$ ping g3b1
If there is no response, see the troubleshooting section or seek assistance from a system administrator.