build standard version
Go to file
2024-11-27 11:30:46 +08:00
conf rt build support 2024-11-27 11:30:36 +08:00
images add d2000. disable optee by default 2024-11-08 19:01:15 +08:00
.gitignore rt build support 2024-11-27 11:30:36 +08:00
build_kernel_rt.sh rt build support 2024-11-27 11:30:36 +08:00
build_kernel.sh rt build support 2024-11-27 11:30:36 +08:00
build.sh rt build support 2024-11-27 11:30:36 +08:00
copy.sh init 2024-11-08 14:50:39 +08:00
Makefile init 2024-11-08 14:50:39 +08:00
package_rt.config rt build support 2024-11-27 11:30:36 +08:00
package.config add d2000. disable optee by default 2024-11-08 19:01:15 +08:00
README.md update README.md 2024-11-11 11:44:51 +08:00

introduce

to build kernel easily.

check this project at same level to the "./tmp_kernel_5.15/" will be nice. source folder and cross-compiler sets in 'package.config'

package.config

CROSS_COMPILE=/opt/gcc-arm-10.2-2020.11-x86_64-aarch64-none-linux-gnu/bin/aarch64-none-linux-gnu-
FOLDER_NAME=build_none
CONFIG_NAME=std_config
CORES=8
SRC=../tmp_kernel_5.15/

RAM_ROOTFS=rootfs.tar.gz

command

  • Makefile : Eeasily command shortcut.

    • make: build new kernel and uimage, dts
    • make c: build new kernel only
    • make menu: open menuconfig
    • make ubonly: use previous built kernel, and build new dts, uimage
    • make deb: build new deb format kernel
    • make ram: build new kernel, dts, uimage and initrd.img
  • build_kernel.sh : build kernel

    • build_kernel.sh c: compile only
    • build_kernel.sh debs: make debs packages
    • build_kernel.sh menu: open menuconfig
    • build_kernel.sh: just likke 'make targz-pkg'
  • build.sh : build boot.img

    • build.shbuild a kernel-only img file;
    • build.sh 1 build a ramdisk img file;
    • build.sh 1 1build a ramdisk img file with modules update
  • copy.sh : copy all img file to /tftpboot/

  • package.config : config how to pack your image