support coolpi-cp4b-skh board

This commit is contained in:
george 2025-01-04 10:13:26 +08:00 committed by Nathan
parent 7e87c6fc4d
commit 8a02a1f1d1
5 changed files with 2538 additions and 6 deletions

View File

@ -435,5 +435,6 @@ dtb-$(CONFIG_ARCH_ROCKCHIP) += rk3588s-cp4.dtb
dtb-$(CONFIG_ARCH_ROCKCHIP) += rk3588-cm5-test.dtb dtb-$(CONFIG_ARCH_ROCKCHIP) += rk3588-cm5-test.dtb
dtb-$(CONFIG_ARCH_ROCKCHIP) += rk3588-cpcm5-genbook.dtb dtb-$(CONFIG_ARCH_ROCKCHIP) += rk3588-cpcm5-genbook.dtb
dtb-$(CONFIG_ARCH_ROCKCHIP) += rk3588-cpcm5-lz.dtb dtb-$(CONFIG_ARCH_ROCKCHIP) += rk3588-cpcm5-lz.dtb
dtb-$(CONFIG_ARCH_ROCKCHIP) += rk3588s-cp4-skh.dtb
subdir-y := $(dts-dirs) overlay subdir-y := $(dts-dirs) overlay

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

View File

@ -31,7 +31,7 @@ echo
echo "Please enter a number to select your machine" echo "Please enter a number to select your machine"
echo echo
echo "0. Reset Directory" echo "0. Reset Directory"
echo "1. cp4b" echo "1. cp4b-skh"
echo "2. cp4b-hdmi-in" echo "2. cp4b-hdmi-in"
echo "3. cm5-evb" echo "3. cm5-evb"
echo "4. cm5-evb-v11" echo "4. cm5-evb-v11"
@ -56,8 +56,8 @@ case $choice in
./build-kernel.sh ./build-kernel.sh
;; ;;
1) 1)
echo "BOARD=cp4b" echo "BOARD=cp4b-skh"
BOARD="cp4b" BOARD="cp4b-skh"
;; ;;
2) 2)
echo "BOARD=cp4b-hdmi-in" echo "BOARD=cp4b-hdmi-in"
@ -108,9 +108,9 @@ case $choice in
GEN_DEBS="NO" GEN_DEBS="NO"
case "$BOARD" in case "$BOARD" in
cp4b) cp4b-skh)
cfg="rk3588s_cp4b_defconfig" cfg="coolpi_linux_defconfig"
dtb="rk3588s-cp4.dtb" dtb="rk3588s-cp4-skh.dtb"
txt_config_file="config_cp4b.txt" txt_config_file="config_cp4b.txt"
txt_extconf_file="extlinux_cp4b.conf" txt_extconf_file="extlinux_cp4b.conf"
;; ;;

37
demo-cfgs/extlinux.conf Executable file
View File

@ -0,0 +1,37 @@
default coolpi_rk3588_gbook
label coolpi_rk3588s_cp4b
kernel /Image
initrd /initrd.img
fdt /rk3588s-cp4.dtb
append root=LABEL=writable rw rootfstype=ext4 console=ttyS0,115200n81 quiet splash plymouth.ignore-serial-consoles vt.global_cursor_default=1 irqchip.gicv3_pseudo_nmi=0 net.ifnames=0
label coolpi_rk3588s_khos
kernel /Image
initrd /initrd.img
fdt /rk3588s-cp4-skh.dtb
append root=LABEL=writable rw rootfstype=ext4 console=ttyS0,115200n81 quiet splash plymouth.ignore-serial-consoles vt.global_cursor_default=1 irqchip.gicv3_pseudo_nmi=0 net.ifnames=0
label coolpi_rk3588_cm5v1
kernel /Image
initrd /initrd.img
fdt /rk3588-cpcm5-evb-v11.dtb
append root=LABEL=writable rw rootfstype=ext4 console=ttyS0,115200n81 quiet splash plymouth.ignore-serial-consoles vt.global_cursor_default=1 irqchip.gicv3_pseudo_nmi=0 net.ifnames=0
label coolpi_rk3588_gbook
kernel /Image
initrd /initrd.img
fdt /rk3588-cpcm5-genbook.dtb
append root=LABEL=writable rw rootfstype=ext4 console=ttyS0,115200n81 quiet splash plymouth.ignore-serial-consoles vt.global_cursor_default=1 irqchip.gicv3_pseudo_nmi=0 net.ifnames=0
label coolpi_rk3588_nbook
kernel /Image
initrd /initrd.img
fdt /rk3588-cpcm5-notebook-v20.dtb
append root=LABEL=writable rw rootfstype=ext4 console=ttyS0,115200n81 quiet splash plymouth.ignore-serial-consoles vt.global_cursor_default=1 irqchip.gicv3_pseudo_nmi=0 net.ifnames=0
label coolpi_rk3588_cm5lz
kernel /Image
initrd /initrd.img
fdt /rk3588-cpcm5-lz.dtb
append root=LABEL=writable rw rootfstype=ext4 console=ttyS0,115200n81 quiet splash plymouth.ignore-serial-consoles vt.global_cursor_default=1 irqchip.gicv3_pseudo_nmi=0 net.ifnames=0