mirror of
https://github.com/clockworkpi/DevTerm.git
synced 2025-12-12 18:28:50 +01:00
update a06 patch
This commit is contained in:
parent
d15a767b8e
commit
7c88d00169
@ -7,9 +7,13 @@ cd build
|
||||
git reset --hard 43d179914ae9e1ebb5d72315d9f9f68f5fb3e330
|
||||
|
||||
git apply ~/DevTerm/Code/patch/armbian_build_a06/patch/armbian.patch
|
||||
git apply ~/DevTerm/Code/patch/armbian_build_a06/patch/armbian_mirror.patch
|
||||
|
||||
cp ~/DevTerm/Code/patch/armbian_build_a06/patch/kernel*.patch userpatches/kernel/rockchip64-current/
|
||||
cp ~/DevTerm/Code/patch/armbian_build_a06/patch/uboot*.patch userpatches/u-boot/u-boot-rockchip64-mainline/
|
||||
|
||||
cp ~/DevTerm/Code/patch/armbian_build_a06/patch/config-example.conf userpatches/
|
||||
|
||||
#Then exec ./compile.sh under armbian build
|
||||
cd ~/build && ./compile.sh
|
||||
|
||||
|
||||
16
Code/patch/armbian_build_a06/patch/armbian_mirror.patch
Normal file
16
Code/patch/armbian_build_a06/patch/armbian_mirror.patch
Normal file
@ -0,0 +1,16 @@
|
||||
diff --git a/lib/configuration.sh b/lib/configuration.sh
|
||||
index 6f62e8e4d..f23b05237 100644
|
||||
--- a/lib/configuration.sh
|
||||
+++ b/lib/configuration.sh
|
||||
@@ -82,6 +82,11 @@ case $MAINLINE_MIRROR in
|
||||
MAINLINE_KERNEL_SOURCE='https://mirrors.bfsu.edu.cn/git/linux-stable.git'
|
||||
MAINLINE_FIRMWARE_SOURCE='https://mirrors.bfsu.edu.cn/git/linux-firmware.git'
|
||||
;;
|
||||
+ cuu)
|
||||
+ MAINLINE_KERNEL_SOURCE='https://github.com/cuu/linux-5.10.60.git'
|
||||
+ MAINLINE_FIRMWARE_SOURCE='git://git.kernel.org/pub/scm/linux/kernel/git/firmware/linux-firmware.git'
|
||||
+ ;;
|
||||
+
|
||||
*)
|
||||
MAINLINE_KERNEL_SOURCE='git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git'
|
||||
MAINLINE_FIRMWARE_SOURCE='git://git.kernel.org/pub/scm/linux/kernel/git/firmware/linux-firmware.git'
|
||||
25
Code/patch/armbian_build_a06/patch/config-example.conf
Normal file
25
Code/patch/armbian_build_a06/patch/config-example.conf
Normal file
@ -0,0 +1,25 @@
|
||||
# Read build script documentation https://docs.armbian.com/Developer-Guide_Build-Options/
|
||||
# for detailed explanation of these options and for additional options not listed here
|
||||
|
||||
KERNEL_ONLY="" # leave empty to select each time, set to "yes" or "no" to skip dialog prompt
|
||||
KERNEL_CONFIGURE="" # leave empty to select each time, set to "yes" or "no" to skip dialog prompt
|
||||
CLEAN_LEVEL="make,debs,oldcache" # comma-separated list of clean targets: "make" = make clean for selected kernel and u-boot,
|
||||
# "debs" = delete packages in "./output/debs" for current branch and family,
|
||||
# "alldebs" = delete all packages in "./output/debs", "images" = delete "./output/images",
|
||||
# "cache" = delete "./output/cache", "sources" = delete "./sources"
|
||||
# "oldcache" = remove old cached rootfs except for the newest 8 files
|
||||
|
||||
REPOSITORY_INSTALL="" # comma-separated list of core modules which will be installed from repository
|
||||
# "u-boot", "kernel", "bsp", "armbian-config", "armbian-firmware"
|
||||
# leave empty to build from sources or use local cache
|
||||
|
||||
DEST_LANG="en_US.UTF-8" # sl_SI.UTF-8, en_US.UTF-8
|
||||
|
||||
# advanced
|
||||
EXTERNAL_NEW="prebuilt" # compile and install or install prebuilt additional packages
|
||||
INSTALL_HEADERS="" # install kernel headers package
|
||||
LIB_TAG="master" # change to "branchname" to use any branch currently available.
|
||||
USE_TORRENT="yes" # use torrent network for faster toolchain and cache download
|
||||
DOWNLOAD_MIRROR="" # set to "china" to use mirrors.tuna.tsinghua.edu.cn
|
||||
CARD_DEVICE="" # device name /dev/sdx of your SD card to burn directly to the card when done
|
||||
MAINLINE_MIRROR="cuu"
|
||||
Loading…
x
Reference in New Issue
Block a user