This shows you the differences between two versions of the page.
| Both sides previous revision Previous revision | |||
|
products:sbc:vim1:development:linux:build-linux-kernel [2022/07/13 21:53] frank |
products:sbc:vim1:development:linux:build-linux-kernel [2022/09/01 23:44] (current) frank |
||
|---|---|---|---|
| Line 1: | Line 1: | ||
| + | {{indexmenu_n> | ||
| + | |||
| + | |||
| + | |||
| ====== VIM1 Build Linux Kernel ====== | ====== VIM1 Build Linux Kernel ====== | ||
| - | {{page>products: | + | |
| + | We provided [[kg> | ||
| + | |||
| + | |||
| + | ===== Setup Environment ===== | ||
| + | |||
| + | Choose your '' | ||
| + | |||
| + | ```sh | ||
| + | $ source setenv.sh | ||
| + | ``` | ||
| + | |||
| + | ===== Change the Kernel Config [Optional] ===== | ||
| + | |||
| + | |||
| + | Follow these steps to change the default kernel configuration. | ||
| + | |||
| + | ```sh | ||
| + | $ make kernel-config | ||
| + | $ make kernel-saveconfig | ||
| + | ``` | ||
| + | |||
| + | ===== Build ===== | ||
| + | |||
| + | Build the Linux Debian package. | ||
| + | |||
| + | ```sh | ||
| + | $ make kernel | ||
| + | $ make kernel-deb | ||
| + | ``` | ||
| + | |||
| + | Debian packages are in folder '' | ||
| + | |||
| + | * **VERSION** : refers to the Fenix version, e.g. '' | ||
| + | * **BOARD** : refers to the Khadas SBC, e.g. '' | ||
| + | |||
| + | The folder location is '' | ||
| + | |||
| + | * DTB - linux-dtb-amlogic-4.9_1.0.11_arm64.deb | ||
| + | * Image - linux-image-amlogic-4.9_1.0.11_arm64.deb | ||
| + | * Header - linux-headers-amlogic-4.9_1.0.11_arm64.deb | ||
| + | |||
| + | ===== See Also ===== | ||
| + | |||
| + | [[products: | ||
| + | [[products: | ||
| + | |||
| + | |||
| + | |||