This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
products:sbc:vim4:development:linux:build-linux-kernel [2022/07/05 21:59] nick ↷ Page moved from products:sbc:vim4:development:build-linux-kernel to products:sbc:vim4:development:ubuntu:build-linux-kernel |
products:sbc:vim4:development:linux:build-linux-kernel [2022/11/29 20:51] nick update build-linux-kernel |
||
---|---|---|---|
Line 2: | Line 2: | ||
- | ====== Build Linux Kernel ====== | ||
- | ===== Ubuntu | + | ====== VIM4 Build Linux Kernel ====== |
+ | We provide [[kg> | ||
+ | You can follow the steps below: | ||
- | We provided [[kg> | ||
- | + | ===== Setup Environment | |
- | ==== Setup Environment ==== | + | |
Choose your '' | Choose your '' | ||
- | ```sh | + | ```shell |
$ source setenv.sh | $ source setenv.sh | ||
``` | ``` | ||
- | ==== Change the Kernel Config [Optional] ==== | + | ===== Change the Kernel Config [Optional] |
- | + | ```shell | |
- | Follow these steps to change the default kernel configuration. | + | |
- | + | ||
- | ```sh | + | |
$ make kernel-config | $ make kernel-config | ||
$ make kernel-saveconfig | $ make kernel-saveconfig | ||
``` | ``` | ||
- | ==== Build ==== | + | ===== Build ===== |
Build the Linux Debian package. | Build the Linux Debian package. | ||
- | ```sh | + | ```shell |
$ make kernel | $ make kernel | ||
$ make kernel-deb | $ make kernel-deb | ||
``` | ``` | ||
- | Debian packages are in folder '' | + | Debian packages are placed |
* **VERSION** : refers to the Fenix version, e.g. '' | * **VERSION** : refers to the Fenix version, e.g. '' | ||
* **BOARD** : refers to the Khadas SBC, e.g. '' | * **BOARD** : refers to the Khadas SBC, e.g. '' | ||
- | The folder location is '' | + | The folder location is '' |
- | + | ||
- | * DTB - linux-dtb-amlogic-5.4_1.0.7_arm64.deb | + | |
- | * Image - linux-image-amlogic-5.4_1.0.7_arm64.deb | + | |
- | * Header - linux-headers-amlogic-5.4_1.0.7_arm64.deb | + | |
- | + | ||
- | ==== See Also ==== | + | |
- | + | ||
- | [[products: | + | |
- | [[products: | + | |
+ | * '' | ||
+ | * '' | ||
+ | * '' | ||
- | ===== Android | + | ===== See Also ===== |
- | Android here.... | + | * [[products: |
+ | * [[products: | ||
+ | * [[products: | ||