【Rockchip】1. Decompression and deployment of Rockchip Linux SDK software package

[Xiaobaixiang]
This is the first time I used Rockchip's SDK. According to the manual and guidance, I stepped on some pitfalls, and finally decompressed and used the SDK correctly. I will record it here.
Small complaint: The development manual that guides decompression can only be obtained in the doc folder after decompression, but why do I need your manual after I have decompressed it... How will people who have not decompressed it know... Reference:
"
Rockchip_Developer_Guide_Linux_Software_CN.pdf "
"Rockchip_RV1126_RV1109_Quick_Start_Linux_CN.pdf"

Obtaining the compressed package

Please contact the technical support of the cooperative unit or brothers and sisters to obtain the SDK package. According to "Rockchip_Developer_Guide_Linux_Software_CN.pdf", it can be divided into the following two methods:
1. Download git clone ssh://[email protected]/repo/rk/tools/repo through the code server through the code server
2. Through the local compressed package Unzip to get

Here I am using the second method, which is obtained by decompressing the compressed package.
I personally use rv1109_EVM_SDK

Decompression of the compressed package

What I downloaded here is to compress the SDK initial compressed package tgz into a file in zip format: the
insert image description here
reason why there are two 001,002 is because the partition mode is FAT32 / a compressed package cannot exceed 2^32B when transmitting, and the maximum can only There is 4G, so this is double compressed, there are 001 and 002, when decompressing, you need to decompress 001 into a tar.gz file under Windows, and then put the tar.gz file in Linux to decompress and directly get tgz,
insert image description here
or After decompressing and obtaining tgz, we pass the compressed package into linux through a shared folder

Here I encountered a situation where the capacity of the virtual machine is insufficient, because a tsr.gz compressed package has a size of 5G.
You can refer to the information on disk expansion on the Internet:
https://blog.csdn.net/lidongshengajz/article/details /73478904
and
http://t.csdn.cn/Ticck
pay special attention to the correct configuration to avoid legacy partition problems, otherwise it may cause ubuntu to wait for 90s after booting, or it may not be able to open at all
(the bloody and tearful lesson of reinstalling ubuntu...)
is the best The situation is that the capacity of ubuntu itself is sufficient.
After solving it, continue

In ubuntu, create a new folder, put the compressed package in it and
insert image description here
execute in the terminal: (I am 1109 as an example)
tar xvf rv1109_20210524.tar.gz -C rv1109_SDK/
and then the decompression is complete!
insert image description here
SDK package introduction details can be found in the manual:
insert image description here

SDK environment installation

After decompression, install the environment required by the SDK according to "Rockchip_RV1126_RV1109_Quick_Start_Linux_CN.pdf", the code is as follows
I can't install all the packages together, one sentence at a time

sudo apt-get install repo device-tree-compiler 
sudo apt-get install git-core u-boot-tools mtools 
sudo apt-get install parted libudev-dev libusb-1.0-0-dev
sudo apt-get install python-linaro-image-tools linaro-image-tools 
sudo apt-get install autoconf autotools-dev libsigsegv2 m4 
sudo apt-get install intltool libdrm-dev curl sed make binutils 
sudo apt-get install build-essential gcc g++ bash patch gzip gawk 
sudo apt-get install bzip2 perl tar cpio python unzip rsync 
sudo apt-get install file bc wget libncurses5 libqt4-dev libglib2.0-dev 
sudo apt-get install libgtk2.0-dev libglade2-dev cvs git 
sudo apt-get install mercurial openssh-client subversion asciidoc w3m 
sudo apt-get install dblatex graphviz python-matplotlib
sudo apt-get install libc6:i386 libssl-dev expect fakeroot cmake flex
sudo apt-get install bison liblz4-tool libtool keychain

Then you can use the SDK in ubuntu! How to use see follow-up blog!


ps: Regarding SDK export to Windows:
Due to file path and format issues, it cannot be copied completely through the shared folder. Reason: http://t.csdn.cn/kBTDh
insert image description here

Rockchip driver installation


Find the compressed package of the USB driver in rv1109_EVM_SDK\tools\windows\DriverAssitant_v5.11\DriverAssitant_v5.1.1 , then decompress and double-click to install the driver
insert image description here

end

Guess you like

Origin blog.csdn.net/z5z5z5z56/article/details/125545242