What to do if the Linux compilation error 404 is displayed on the RK3568 development board? Tactile Intelligence will teach you how to solve it easily!
[Copy link]
This article introduces the compilation process of Rockchip RK3568 motherboard/development board SDK and the solution to compilation errors. It uses the Touch Intelligence EVB3568 Hongmeng development board for demonstration, which has rich video input and output interfaces (HDMI/eDP/MIPI/LVDS) and multiple high-speed interfaces (Gigabit Ethernet/PCIe/SATA/CAN, etc.). In the near future, Touch Intelligence will release the RK3568 series open source Hongmeng OpenHarmony5.0 system firmware, so stay tuned!
SDK compilation process
- Select the development board configuration
ronnie@dell-PowerEdge-R430:~/work/evb3568v1_linux_sdk$ ./build.sh lunch
processing option: lunch
You're building on Linux
Lunch menu...pick a combo
0. default BoardConfig.mk
1. BoardConfig-rk3568-ido-evb3568-hdmi-dlvds.mk
2. BoardConfig-rk3568-ido-evb3568-hdmi-edp.mk
3. BoardConfig-rk3568-ido-evb3568-hdmi-mipi0.mk
4. BoardConfig-rk3568-ido-evb3568-hdmi-mipi1.mk
5. BoardConfig-rk3568-ido-evb3568-hdmi-slvds.mk
6. BoardConfig-rk3568-ido-evb3568-hdmi.mk
Which would you like? [0]:
By default, the SDK configures the corresponding mk according to the screen of the development board. For example, if you want to compile the firmware of HDMI+single LVDS, select the firmware BoardConfig-rk3568-ido-evb3568-hdmi-slvds.mk.
File system through the environment variable RK_ROOTFS_SYSTEM
System choice: Buildroot/Debian/Ubuntu
For example, if you choose Debian, you need to assign the value Debian to RK_ROOTFS_SYSTEM:
export RK_ROOTFS_SYSTEM=debian
The command is as follows:
export RK_ROOTFS_SYSTEM=debian
If lunch has switched to mk before, the compilation will pop up the IO Domain Checklist pop-up window:
Note that vccio4 and vccio6 are set to 1.8V, and the others are set to 3.3v. In the pop-up window, use the up and down keys on the keyboard to select the correct value.
After the compilation is complete, the image will be generated in the rockdev directory:
~/work/evb3568v1_linux_sdk$ ls rockdev/
boot.img MiniLoaderAll.bin misc.img oem.img parameter.txt recovery.img rootfs.ext4 rootfs.img uboot.img update.img userdata.img
tfs.ext4 rootfs.img uboot.img update.img userdata.img
Among them, update.img is the complete firmware package.
Solution to ERROR404 error when compiling SDK
As shown in the following figure:
Cause: This problem occurs because the compilation needs to download related files from the external network, but the compilation fails because the network speed is too slow.
Solution: Copy and unzip dl.zip to the corresponding path and replace the original dl directory. The path is:
evb3568v1_linux_sdk/buildroot/dl
dl.zip download link (link at the end of the article):
https://industio.yuque.com/bx4amg/twek0i/znm1q0zgmxsptaxy?singleDoc#
The tactile intelligent EVB3568 Hongmeng development board is a Hongmeng development board/industrial control motherboard based on RK3568, which is generally suitable for various smart display terminal products, video terminal products, industrial automation terminal products and edge computing gateway products. Applications can cover edge computing, artificial intelligence, industrial HMI, industrial gateway, smart medical care, self-service terminals, smart retail, energy and electricity and other industries. It has the following advantages:
- Support OpenHarmony/Andriod/Linux multiple operating systems;
- Quad-core A55 processor, clocked at up to 2.0GHz, Mali G52-2EE GPU;
- Support OpenGL/CL/Vulkan, 8M ISP;
- 1T computing power NPU, supporting TensorFlow/Caffe/
- Deep learning frameworks such as MXNet/PyTorch;
- Equipped with 2 x Gigabit Ethernet, 9 x USB expansion,
- Industrial interconnection interface (2 CAN ports and 5 serial ports);
- Support 4K video decoding and multi-screen display, support
- HDMI/MIPI/eDP/LVDS video interface;
- Active developer community, more online interactions and technical support from experts;
- Support 5G/4G/WIFI Bluetooth wireless communication function;
|