How to use REPO to download QCC730 SDK code on the Windows platform

Keywords :windowQCC730SDKREPO

Since the QCC730 source code was updated to the qcc730-fr-1-0_qca_oem version, the SDK has been open-sourced on the CodeLinaro website. It no longer requires a Qualcomm account for access and download. However, the removal of restrictions has also brought other inconveniences. The open-source code is now managed and downloaded uniformly using repo, rather than the previous method of downloading packaged files from ChipCode or cloning directly to the local system using Git.

 

The Qualcomm documentation explains that the current development of the QCC730 requires a dual-system setup with Linux and Windows. The Linux platform is used for downloading code, while the Windows platform is used for compiling, flashing, and debugging. This approach is quite unfriendly for developing RTOS systems on this little device.

 

Since lazy people tend to tinker more, I decided to find a way to optimize it. After some searching online, I found a method. I'm sharing it here to make things easier for everyone. This method is not limited to this specific use case; it applies to all code managed and downloaded via REPO. If you don't have a Linux platform but still want to view the code, please keep reading.

 

Initial preparation: blindly proceed with the default installation of Git and Python3, and make sure to add the installation paths to the environment variables. During installation, there is usually an option to select this—just remember to check the box.

 

Step One

Download the repo, and here we can directly use the domestic mirror.

 

Step Two

In the previously downloaded repo path, create a new repo.cmd file and edit it to add the following content.

  

Step Three

Set up the environment variables by adding the repo directory to the PATH variable.

 

Step Four

Download the code, with slight adjustments to the default download command as detailed below.

repo init -u https://git.codelinaro.org/clo/le/le/product/manifest.git -b release -m AU_LINUX_EMBEDDED_IOT.FM.1.0.R1_TARGET_ALL.01.09.024.xml --repo url=https://git.codelinaro.org/clo/tools/repo.git --repo branch=aosp-new/stable

 

TO

 

repo init --depth=1 --current-branch -u https://git.codelinaro.org/clo/le/le/product/manifest.git -b release -m AU_LINUX_EMBEDDED_IOT.FM.1.0.R1_TARGET_ALL.01.09.024.xml --repo-url=https://mirrors.tuna.tsinghua.edu.cn/git/git-repo –worktree

 

 

Synchronous completion result

 

 

FAQ

1. Python version requirements?

Python 3.6 or above must be used.

2. Repo version requirements?

Must use version 2.4 or above.

3. Windows version requirements?

Windows 10 or later.

4. Official configuration documentation reference?

Please refer to 80-Y8730-1.

5. What impact does modifying the download command have?

No, just using a mirror address to speed up downloading the repo.

6. Why add the —worktree parameter?

These are the requirements for using the repo on the Windows platform.

★All blog content is provided by individuals and is unrelated to the platform. For any legal or infringement issues, please contact the website administrator.

★ Please maintain civility online and post responsibly. If a post receives 5 reports within a week, the author will be temporarily suspended.