This post was last edited by Beifang on 2022-6-14 12:44
Example project running
1 References and Basis
The reference material for this part of the evaluation is mainly "Evaluation Board Test Manual 2021/09/30 V1.1"
The factory img file has been flashed on the random SD card. For the specific process, please refer to the document "Linux System Boot Card Production and System Hardening", which has a complete operation process. Although there are many processes and steps, this process is consistent with the process of making a Linux boot disk and customizing the system, and there is no special part that needs to be explained. The only problem is that the system compatibility may cause problems. The best way is to install the system completely according to the version number in the instructions, so there will be no problem.
2 First you need to automatically or manually install the USB serial port driver CH340, and then configure putty to communicate at 115200bps-N-8-1, see the figure below
3 Then you can power on directly. Note that the start selection switch is positioned at 00011.
After power on, scan in sequence and enter the home directory as root
4 Regarding the configuration of the boot options, after booting from the SD card, you can easily write to the onboard eMMC memory, and you can choose to boot from the MMC memory, corresponding to the new dip switch selection
After waiting for a while, the steps of writing into eMMC are completed.
5 Basic hardware resource test, all system resources are accessible, and can be executed in cli through the corresponding command
Including buttons, and the lighting and extinguishing of LEDs
Just enter the following shell commands one by one into the console
Use echo to write and light up, and use cat to read the key position.
6 Changing the display output
This test can use serial port control, and the corresponding display default configuration is LCD.
At this time, the corresponding display is as follows:
You can press the spacebar at the startup prompt to enter the uboot console and perform the following steps to start HDMI output
This is a standard TI console example demonstration.
Connect a mouse and you can test the hardware resources one by one using GUI. Here is a demonstration using QT:
7 Code Development
You can't search for gold in bin folders one by one. Without tools such as gcc, this is also a way to compress resources. It can only be cross-compiled under the Linux system.
However, there is still a surprise. Python 2.7 and Python 3.5 can be used. That is, after loading the appropriate driver and module, you can easily use Python tools.
8 After the initial test is completed, shut down safely, use shutdown now
In summary, the test system has rich resources, which are sufficient to complete the deployment of various small and medium-sized projects. The most hardcore one is the support of PCIe. Although there is only one port (the chip supports 2 PCIe), it can expand large-capacity external memory and even performance-enhancing tools such as graphics cards and computing accelerators.
However, this still requires basic embedded development capabilities, using cross-compilation. This system should be a system independently developed by TI. In fact, Yocto is more modular for embedded development and should be able to be used on this board.