From 8229ea9a85a7408627861ebf5a3bea8f81ab08d8 Mon Sep 17 00:00:00 2001 From: Yao Fei Date: Tue, 26 Aug 2025 14:10:21 +0800 Subject: [PATCH] Update cb1-overlay.patch fix minor type in sun5i-h616-fixup.scr to correct PH and PI port, make Zero2W GPIO works. --- .../archive/sunxi-6.15/patches.armbian/cb1-overlay.patch | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/patch/kernel/archive/sunxi-6.15/patches.armbian/cb1-overlay.patch b/patch/kernel/archive/sunxi-6.15/patches.armbian/cb1-overlay.patch index 123f2df9c9..aefe34c72b 100644 --- a/patch/kernel/archive/sunxi-6.15/patches.armbian/cb1-overlay.patch +++ b/patch/kernel/archive/sunxi-6.15/patches.armbian/cb1-overlay.patch @@ -75,9 +75,9 @@ index 000000000000..2bde77cb082d +setenv decompose_pin 'setexpr tmp_bank sub "P(C|G|H|I)\\d+" "\\1"; +setexpr tmp_pin sub "P\\S(\\d+)" "\\1"; +test "${tmp_bank}" = "C" && setenv tmp_bank 2; -+test "${tmp_bank}" = "G" && setenv tmp_bank 6' ++test "${tmp_bank}" = "G" && setenv tmp_bank 6; +test "${tmp_bank}" = "H" && setenv tmp_bank 7; -+test "${tmp_bank}" = "I" && setenv tmp_bank 8; ++test "${tmp_bank}" = "I" && setenv tmp_bank 8' + +if test -n "${param_spinor_spi_bus}"; then + test "${param_spinor_spi_bus}" = "0" && setenv tmp_spi_path "spi@5010000"