This shows you the differences between two versions of the page.
| Both sides previous revision Previous revision Next revision | Previous revision | ||
|
products:sbc:common:development:build-ubuntu [2022/08/07 22:02] ruby [Introduction] |
products:sbc:common:development:build-ubuntu [2026/05/11 02:13] (current) nick |
||
|---|---|---|---|
| Line 3: | Line 3: | ||
| ===== Introduction ===== | ===== Introduction ===== | ||
| - | [[kg> | + | We provide |
| - | You can follow the steps below to build the Ubuntu OS image. | + | You can follow the steps below. |
| ===== Preparation ===== | ===== Preparation ===== | ||
| - | Install | + | Install |
| ```shell | ```shell | ||
| Line 16: | Line 16: | ||
| ``` | ``` | ||
| - | ===== Get Fenix Source Code ===== | + | ===== Get Fenix source code ===== |
| - | Clone the Fenix repository to somewhere, e.g. '' | + | Clone the Fenix repository to a directory, e.g., '' |
| ```shell | ```shell | ||
| Line 26: | Line 26: | ||
| ``` | ``` | ||
| - | ===== Setup the Build Environment | + | ===== Setup the build environment |
| - | You should setup the build environment first. \\ | + | You must set up the build environment first. \\ |
| For example: '' | For example: '' | ||
| Line 37: | Line 37: | ||
| ``` | ``` | ||
| - | ===== Build the OS Image ===== | + | ===== Build the OS image ===== |
| - | Just type '' | + | Simply |
| - | + | <WRAP tip > | |
| - | <WRAP tip > | + | If this is your first time building |
| - | If it's the first time to build an image, the script will check your host' | + | |
| </ | </ | ||
| - | ===== Other Build Commands | + | ===== Other build commands |
| Line 55: | Line 54: | ||
| ``` | ``` | ||
| - | ==== Build U-Boot Debian | + | ==== Build U-Boot Debian |
| ```shell | ```shell | ||
| Line 67: | Line 66: | ||
| ``` | ``` | ||
| - | ==== Build Linux Debian | + | ==== Build Linux Debian |
| ```shell | ```shell | ||
| Line 73: | Line 72: | ||
| ``` | ``` | ||
| - | ==== Build GPU Debian | + | ==== Build GPU Debian |
| ```shell | ```shell | ||
| Line 79: | Line 78: | ||
| ``` | ``` | ||
| - | ==== Build the Board Debian | + | ==== Build the board Debian |
| ```shell | ```shell | ||
| Line 85: | Line 84: | ||
| ``` | ``` | ||
| - | ==== Build all Debian | + | ==== Build all Debian |
| ```shell | ```shell | ||
| Line 91: | Line 90: | ||
| ``` | ``` | ||
| - | ==== Build U-Boot | + | ==== Build U-Boot |
| ```shell | ```shell | ||
| Line 97: | Line 96: | ||
| ``` | ``` | ||
| - | ==== Clean Linux Source Tree ==== | + | ==== Clean Linux source tree ==== |
| ```shell | ```shell | ||
| Line 103: | Line 102: | ||
| ``` | ``` | ||
| - | ==== Show Linux Menuconfig | + | ==== Show Linux menuconfig |
| ```shell | ```shell | ||
| Line 109: | Line 108: | ||
| ``` | ``` | ||
| - | ==== Save Linux Defconfig | + | ==== Save Linux defconfig |
| ```shell | ```shell | ||
| Line 115: | Line 114: | ||
| ``` | ``` | ||
| - | ==== Clean U-Boot | + | ==== Clean U-Boot |
| ```shell | ```shell | ||
| Line 121: | Line 120: | ||
| ``` | ``` | ||
| - | ==== Help Messages | + | ==== Help messages |
| You can get help messages by executing '' | You can get help messages by executing '' | ||
| Line 149: | Line 148: | ||
| ``` | ``` | ||
| - | ==== Build Options | + | ==== Build options |
| Options for building: | Options for building: | ||
| * '' | * '' | ||
| - | * '' | + | * '' |
| * '' | * '' | ||
| * '' | * '' | ||
| - | * '' | + | * '' |
| * '' | * '' | ||
| Line 173: | Line 172: | ||
| Please refer to [[https:// | Please refer to [[https:// | ||
| - | ==== Add User to a Docker | + | ==== Add user to a Docker |
| ```shell | ```shell | ||
| Line 180: | Line 179: | ||
| <WRAP important > | <WRAP important > | ||
| - | You need to logout | + | You must log out or reboot the system for this change |
| </ | </ | ||
| Line 190: | Line 189: | ||
| ``` | ``` | ||
| - | If you see the following | + | If you see the following |
| ```txt | ```txt | ||
| Line 223: | Line 222: | ||
| ==== Build Fenix in Docker ==== | ==== Build Fenix in Docker ==== | ||
| - | Get Docker image: | + | Pull the Docker image: |
| ```shell | ```shell | ||
| Line 230: | Line 229: | ||
| ``` | ``` | ||
| - | Build image in Docker: | + | Build the image in Docker: |
| ```shell | ```shell | ||
| Line 241: | Line 240: | ||
| | | ||
| ``` | ``` | ||
| - | Start your build from inside the Docker container. | + | Start your build from inside the Docker container: |
| ```shell | ```shell | ||
| Line 248: | Line 247: | ||
| ``` | ``` | ||
| - | Restart the Docker container. | + | Restart the Docker container: |
| ```shell | ```shell | ||