This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
products:sbc:vim2:development:linux:build-linux-kernel [2022/07/08 03:32] 127.0.0.1 external edit |
products:sbc:vim2:development:linux:build-linux-kernel [2022/09/02 02:34] (current) hyphop [Build] |
||
---|---|---|---|
Line 1: | Line 1: | ||
- | {{page> | + | {{indexmenu_n>2}} |
+ | |||
+ | |||
+ | |||
+ | ====== VIM2 Build Linux Kernel ====== | ||
+ | |||
+ | |||
+ | We provided [[kg> | ||
+ | |||
+ | |||
+ | ===== Setup Environment ===== | ||
+ | |||
+ | Choose your '' | ||
+ | |||
+ | ```shell | ||
+ | $ source setenv.sh | ||
+ | ``` | ||
+ | |||
+ | ===== Change the Kernel Config [Optional] ===== | ||
+ | |||
+ | |||
+ | Follow these steps to change the default kernel configuration. | ||
+ | |||
+ | ```shell | ||
+ | $ make kernel-config | ||
+ | $ make kernel-saveconfig | ||
+ | ``` | ||
+ | |||
+ | ===== Build ===== | ||
+ | |||
+ | Build the Linux Debian package. | ||
+ | |||
+ | ```shell | ||
+ | $ 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: | ||
+ | |||
+ | |||
+ |