Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

In this article, we will guide you through the process of downloading and compiling the SP7350 code. The source code for SP7350 is automatically updated on both GitHub and Gitee every day, ensuring users have access to the latest developments.

...

Code Block
# Navigate to the Q654 directory
cd Q654

# UpdateInitialize the code and itsupdate submodules
git submodule update --init --recursive

# Ensure all submodules are on the master branch
git submodule foreach git checkout master

Update to the latest code after the initial download:

Code Block
# Navigate to the Q654 directory
cd Q654

# Pull the latest changes from the repository
git pull

# Pull updates for all submodules
git submodule foreach git pull

...

This structure confirms that you have successfully updated the Q654 codebase, and your development environment is now aligned with the latest changes.

While the master branch contains the latest development code, stable versions of the code are maintained in branches such as v1.0 and v1.1.

To switch to a stable branch, use the following commands:

Code Block
# Checkout the desired branch for all submodules
git submodule foreach git checkout v1.1

# Pull the latest updates for the specified branch
git submodule foreach git pull

By following these steps, your Q654 environment will be up to date with the latest stable code.

Configure Building Environment

...

  1. Choose the board you want to build the image for. For instance, press 1 2 to select "SP7350 Ev IO Board."

  2. Choose the device from which the system will boot. For example, press 5 2 to specify booting from the SD card.

  3. Choose root file-system of Linux. For example, press 5 to opt for “Ubuntu MATE 22.04” as root file-system.

  4. Choose boot modes. Press 1 to select building “Normal boot” images.

Once you have completed the configuration selections in the menu, the system will start configuring the building environment. This process may take tens seconds or even a few minutes, depending on your computer's performance. Please wait patiently for the configuration process to conclude.

Please note that the system takes additional time to complete its initial run during the configuration process, as it requires the download of the toolchain.

Configure X-Boot Features (optional)

...