Mingyuan Zhirui NXP LS1012a board test (1)

        Recently, I bought a piece of NXP ls1012a developed by Mingyuan Zhirui Company (also a niche product), which is mainly used to test its network performance and single-core computing power. After receiving the goods. It is found that the craftsmanship of the board and the core board is good, especially the core board. There is no temperature.

        I got the network disk address from the sales and downloaded the compilation tool. The sales manager pulled me closer to a QQ group and it was finished, and when I asked questions in that group, I almost treated me as an air person. Do it yourself!

       My friend went on a business trip, and I am not proficient in Linux. So after a day of tossing, there was some progress. Share with everyone.

  1. According to Mingyuan Zhirui's test manual, I tested the network, SSH, GPIO did not encounter any obstacles.
  2.  Downloaded the compilation tool fsl-qoriq-glibc-x86_64-aarch64-toolchain-2.0.sh on Baidu network disk
  3. I use X86 ubuntu OS as the development environment. An error occurred when installing the compilation tools in WSL-Ubuntu on windows10. Installation cost on PC ubuntu. The specific location is under HOME/MYZR.
  4. The Hello the world program was compiled and passed.

 Network test   

Follow the manufacturer's test manual. The network test method is: first stop one port and test the other.

ifconfig eth1 down 
ifconfig eth0 192.168.137.81

Completely successful, but this is not what we want. We need to open both Ethernets at the same time. It turned out not to work. Ask that technical group ignored me. I can only rely on myself, and finally solved:

1 Use the ifconfig command to set the two ports into two network segments , such as

ifconfig eth0 192.168.137.81
iconfig eth1 192.168.31.108

 2 eth1 is connected to windows PC, eth0 is set to ubuntu PC

3 It is found that both PCs can ping the gateway address, and ls1012a can ping ubuntu, but cannot ping the PC 

4 Solution:

  •   Add a new line net.ipv4.ip_forward=1 in /etc/sysctl.conf of ls1012a board 
  •    Windows PC is set to 192.168.31.99 (the same network segment as eth1) The gateway address is 192.168.31.108
  •     The ubuntu PC is set to 192.168.137.90 and the gateway address is: 192.168.137.81
  •    Turn off the firewall of the windowPC.

Now all can ping each other. Windows PC can also ping ubuntu PC.

However, I still don’t know how to configure the IP address if multiple ls1012a are cascaded? In addition, the use of winSCP tools does not seem to work

Here it is now! If you have further experience, I will report again.

Guess you like

Origin blog.csdn.net/yaojiawan/article/details/108539977