From dbccf51dc92f141f1af590c3172377bc1bf0dcf5 Mon Sep 17 00:00:00 2001 From: Uziel Date: Mon, 11 Nov 2024 11:44:51 +0800 Subject: [PATCH] update README.md --- README.md | 35 +++++++++++++++++++++++++---------- 1 file changed, 25 insertions(+), 10 deletions(-) diff --git a/README.md b/README.md index b87a75c..c4e0d0c 100644 --- a/README.md +++ b/README.md @@ -3,14 +3,35 @@ 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 + +```bash +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 - - c: compile only - - debs: make debs packages - - menu: open menuconfig - - @noargs: make targz-pkg + - 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.sh:build a kernel-only img file; @@ -19,10 +40,4 @@ check this project at same level to the "./tmp_kernel_5.15/" will be nice. - copy.sh : copy all img file to /tftpboot/ -- mkfirmware.sh : make firmware images in to tools/Image/ - -- mkupdate.sh : build update.img - - package.config : config how to pack your image - -- Makefile : Eeasily command shortcut.