![Phytec L-1017e.A3 i.MX 8M Plus Manual Download Page 41](http://html1.mh-extra.com/html/phytec/l-1017e-a3-i-mx-8m-plus/l-1017e-a3-i-mx-8m-plus_manual_1554092041.webp)
L-1017e.A3 i.MX 8M Plus BSP Manual
•
•
target$ linux-serial-test -p /dev/ttymxc1 -b
115200
--rs485
0
More information about the
linux-serial-test
tool and its parameters can be found here:
Documentation for calling the IOCTL within c-code is described in the Linux kernel documentation:
www.kernel.org/doc/Documentation/serial/serial-rs485.txt
Network
phyCORE-i.MX8MP provides two ethernet interfaces. A gigabit Ethernet is provided by our module and board. All
interfaces offer a standard
Linux
network port that can be programmed using the BSD socket interface. The whole
network configuration is handled by the
systemd-networkd
daemon. The relevant configuration files can be found
on the target in
/lib/systemd/network/
as well as the BSP in
meta-yogurt/recipes-core/systemd/system-machine-
units
.
IP addresses can be configured within
*.network
files. The default IP address and netmask for
eth0
is:
eth0:
192.168
.
3.11
/
24
The DT Ethernet setup might be split into two files depending on your hardware configuration: the module DT and
the board-specific DT.
The device tree set up for the FEC ethernet IP core where the ethernet PHY is populated on
the SoM can be found here:
The device tree set up for EQOS Ethernet IP core
where the PHY is populated on the phyBOARD-Pollux
can be found
here:
Network Eenvironment Customization
U-boot network-environment
To find the Ethernet settings in the target bootloader:
u-boot=> printenv ipaddr serverip netmask ethaddr netargs netboot
With your development host set to IP 192.168.3.10 and netmask 255.255.255.0, the target should return:
u-boot=> printenv ipaddr serverip netmask ethaddr netargs netboot
ipaddr=
192.168
.
3.11
serverip=
192.168
.
3.10
netmask=
255.225
.
255.0
ethaddr=
50
:2d:f4:
19
:d3:
38
netargs=setenv bootargs console=${console},${baudrate} root=/dev/nfs ip=${nfsip}
nfsroot=${serverip}:${nfsroot},v3,tcp