Khadas Docs

Amazing Khadas, always amazes you!

User Tools

Site Tools


products:sbc:common:development:build-ubuntu

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
products:sbc:common:development:build-ubuntu [2026/02/01 21:14]
gray update by using AI
products:sbc:common:development:build-ubuntu [2026/02/23 21:43] (current)
gray old revision restored (2022/08/07 22:18)
Line 3: Line 3:
 ===== Introduction ===== ===== Introduction =====
  
-We provide [[kg>fenix|Fenix]] to help you build Ubuntu OS images easily. \\ +We provide [[kg>fenix|Fenix]] to build the Ubuntu OS images easily. \\ 
-You can follow the steps below.+You can follow the steps below:
  
  
Line 18: Line 18:
 ===== Get Fenix Source Code ===== ===== Get Fenix Source Code =====
  
-Clone the Fenix repository to a directory, e.g.''~/project''.+Clone the Fenix repository to somewhere, e.g. ''~/project''
  
 ```shell ```shell
Line 28: Line 28:
 ===== Setup the Build Environment ===== ===== Setup the Build Environment =====
  
-You must set up the build environment first. \\+You should setup the build environment first. \\
  
 For example: ''Board type'', ''Linux version'', ''distribution''. For example: ''Board type'', ''Linux version'', ''distribution''.
Line 39: Line 39:
 ===== Build the OS Image ===== ===== Build the OS Image =====
  
-Simply type ''make'' to start the build.+Just type ''make'' to start build.
  
-<WRAP tip >  + 
-If this is your first time building an image, the script will check your host environment and install essential packages. Additionally, repositories (such as U-Boot and Linux) will be automatically cloned from the Khadas GitHub. +<WRAP tip > 
 +If it's the first time to build an image, the script will check your host'environment and install some essential packages. In addition, repositories (U-BootLinux) will be cloned automatically from the Khadas GitHub.
 </WRAP> </WRAP>
  
Line 153: Line 154:
  
   * ''NO_CCACHE'' - ccache option   * ''NO_CCACHE'' - ccache option
-    * ''NO_CCACHE=no make'' - Enable ccache **(default)** +    * ''NO_CCACHE=no make'' - Enable ccache **default** 
     * ''NO_CCACHE=yes make'' - Disable ccache      * ''NO_CCACHE=yes make'' - Disable ccache 
  
   * ''COMPRESS_IMAGE'' - compress build image option   * ''COMPRESS_IMAGE'' - compress build image option
-    * ''COMPRESS_IMAGE=no make'' - Don't compress **(default)**+    * ''COMPRESS_IMAGE=no make'' - Don't compress **default**
     * ''COMPRESS_IMAGE=yes make'' - Compress image with xz     * ''COMPRESS_IMAGE=yes make'' - Compress image with xz
  
Line 179: Line 180:
  
 <WRAP important > <WRAP important >
-You must log out or reboot the system for this change to take effect. +You need to logout or reboot the system to take effect.
 </WRAP> </WRAP>
  
Line 189: Line 190:
 ``` ```
  
-If you see the following output, Docker has been installed successfully:+If you see the following print-out, Docker has installed successfully:
  
 ```txt ```txt
Line 222: Line 223:
 ==== Build Fenix in Docker ==== ==== Build Fenix in Docker ====
  
-Pull the Docker image:+Get Docker image:
  
 ```shell ```shell
Line 229: Line 230:
 ``` ```
  
-Build the image in Docker:+Build image in Docker:
  
 ```shell ```shell
Line 240: Line 241:
              numbqq/fenix              numbqq/fenix
 ``` ```
-Start your build from inside the Docker container:+Start your build from inside the Docker container.
  
 ```shell ```shell
Line 247: Line 248:
 ``` ```
  
-Restart the Docker container:+Restart the Docker container.
  
 ```shell ```shell
Last modified: 2026/02/01 21:14 by gray