This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
products:sbc:vim3:development:linux:build-linux-kernel [2022/07/07 09:12] frank add build linux kernel |
products:sbc:vim3:development:linux:build-linux-kernel [2022/09/21 03:43] (current) hyphop [Build] |
||
---|---|---|---|
Line 3: | Line 3: | ||
- | ====== Build Linux Kernel ====== | + | ====== |
- | + | ||
- | ===== Ubuntu | + | |
Line 11: | Line 9: | ||
- | ==== 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] |
Follow these steps to change the default kernel configuration. | Follow these steps to change the default kernel configuration. | ||
- | ```sh | + | ```shell |
$ 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 | ||
Line 49: | Line 47: | ||
* Header - linux-headers-amlogic-4.9_1.0.11_arm64.deb | * Header - linux-headers-amlogic-4.9_1.0.11_arm64.deb | ||
- | ==== See Also ==== | + | ===== See Also ===== |
[[products: | [[products: |