From 5baee1eb39a5c3756a6ace078f44b9c332d0da8c Mon Sep 17 00:00:00 2001 From: Caesar Wang Date: Mon, 1 Nov 2021 11:34:16 +0800 Subject: [PATCH] Boardconfig: add rk3588 evb configure Signed-off-by: Caesar Wang Change-Id: Iff58d8780bb5d4a76e52df998b3c776820f6e5ee --- rk3588/BoardConfig-rk3588-evb1-lp4-v10.mk | 60 ++++++++++++++++++ rk3588/BoardConfig-rk3588-evb2-lp4-v10.mk | 60 ++++++++++++++++++ rk3588/BoardConfig-rk3588-evb3-lp5-v10.mk | 60 ++++++++++++++++++ rk3588/BoardConfig-rk3588-evb4-lp4-v10.mk | 60 ++++++++++++++++++ rk3588/BoardConfig-rk3588-evb5-lp4-v10.mk | 60 ++++++++++++++++++ rk3588/BoardConfig-rk3588-evb6-lp4-v10.mk | 60 ++++++++++++++++++ rk3588/BoardConfig-rk3588s-evb1-lp4x-v10.mk | 60 ++++++++++++++++++ rk3588/BoardConfig-rk3588s-evb2-lp5-v10.mk | 60 ++++++++++++++++++ rk3588/BoardConfig.mk | 61 +------------------ rk3588/Boardconfig-rk3588s-evb3-lp4x-v10.mk | 60 ++++++++++++++++++ rk3588/Boardconfig-rk3588s-evb4-lp4x-v10.mk | 60 ++++++++++++++++++ ...ter-buildroot-rk3588.txt => parameter.txt} | 4 +- 12 files changed, 603 insertions(+), 62 deletions(-) create mode 100644 rk3588/BoardConfig-rk3588-evb1-lp4-v10.mk create mode 100644 rk3588/BoardConfig-rk3588-evb2-lp4-v10.mk create mode 100644 rk3588/BoardConfig-rk3588-evb3-lp5-v10.mk create mode 100644 rk3588/BoardConfig-rk3588-evb4-lp4-v10.mk create mode 100644 rk3588/BoardConfig-rk3588-evb5-lp4-v10.mk create mode 100644 rk3588/BoardConfig-rk3588-evb6-lp4-v10.mk create mode 100644 rk3588/BoardConfig-rk3588s-evb1-lp4x-v10.mk create mode 100644 rk3588/BoardConfig-rk3588s-evb2-lp5-v10.mk mode change 100644 => 120000 rk3588/BoardConfig.mk create mode 100644 rk3588/Boardconfig-rk3588s-evb3-lp4x-v10.mk create mode 100644 rk3588/Boardconfig-rk3588s-evb4-lp4x-v10.mk rename rk3588/{parameter-buildroot-rk3588.txt => parameter.txt} (91%) diff --git a/rk3588/BoardConfig-rk3588-evb1-lp4-v10.mk b/rk3588/BoardConfig-rk3588-evb1-lp4-v10.mk new file mode 100644 index 0000000..e6935b5 --- /dev/null +++ b/rk3588/BoardConfig-rk3588-evb1-lp4-v10.mk @@ -0,0 +1,60 @@ +#!/bin/bash + +# Target arch +export RK_ARCH=arm64 +# Uboot defconfig +export RK_UBOOT_DEFCONFIG=rk3588 +# Uboot image format type: fit(flattened image tree) +export RK_UBOOT_FORMAT_TYPE=fit +# Kernel defconfig +export RK_KERNEL_DEFCONFIG=rockchip_linux_defconfig +# Kernel defconfig fragment +export RK_KERNEL_DEFCONFIG_FRAGMENT= +# Kernel dts +export RK_KERNEL_DTS=rk3588-evb1-lp4-v10-linux +# boot image type +export RK_BOOT_IMG=boot.img +# kernel image path +export RK_KERNEL_IMG=kernel/arch/arm64/boot/Image +# kernel image format type: fit(flattened image tree) +export RK_KERNEL_FIT_ITS=boot.its +# parameter for GPT table +export RK_PARAMETER=parameter.txt +# Buildroot config +export RK_CFG_BUILDROOT=rockchip_rk3588 +# Recovery config +export RK_CFG_RECOVERY=rockchip_rk3588_recovery +# Recovery image format type: fit(flattened image tree) +export RK_RECOVERY_FIT_ITS=boot4recovery.its +# ramboot config +export RK_CFG_RAMBOOT= +# Pcba config +export RK_CFG_PCBA= +# Build jobs +export RK_JOBS=12 +# target chip +export RK_TARGET_PRODUCT=rk3588 +# Set rootfs type, including ext2 ext4 squashfs +export RK_ROOTFS_TYPE=ext4 +# yocto machine +export RK_YOCTO_MACHINE=rockchip-rk3588-evb +# rootfs image path +export RK_ROOTFS_IMG=rockdev/rootfs.${RK_ROOTFS_TYPE} +# Set ramboot image type +export RK_RAMBOOT_TYPE= +# Set oem partition type, including ext2 squashfs +export RK_OEM_FS_TYPE=ext2 +# Set userdata partition type, including ext2, fat +export RK_USERDATA_FS_TYPE=ext2 +#OEM config +export RK_OEM_DIR=oem_normal +# OEM build on buildroot +#export RK_OEM_BUILDIN_BUILDROOT=YES +#userdata config +export RK_USERDATA_DIR=userdata_normal +#misc image +export RK_MISC=wipe_all-misc.img +#choose enable distro module +export RK_DISTRO_MODULE= +# Define pre-build script for this board +export RK_BOARD_PRE_BUILD_SCRIPT=app-build.sh diff --git a/rk3588/BoardConfig-rk3588-evb2-lp4-v10.mk b/rk3588/BoardConfig-rk3588-evb2-lp4-v10.mk new file mode 100644 index 0000000..651d11f --- /dev/null +++ b/rk3588/BoardConfig-rk3588-evb2-lp4-v10.mk @@ -0,0 +1,60 @@ +#!/bin/bash + +# Target arch +export RK_ARCH=arm64 +# Uboot defconfig +export RK_UBOOT_DEFCONFIG=rk3588 +# Uboot image format type: fit(flattened image tree) +export RK_UBOOT_FORMAT_TYPE=fit +# Kernel defconfig +export RK_KERNEL_DEFCONFIG=rockchip_linux_defconfig +# Kernel defconfig fragment +export RK_KERNEL_DEFCONFIG_FRAGMENT= +# Kernel dts +export RK_KERNEL_DTS=rk3588-evb2-lp4-v10-linux +# boot image type +export RK_BOOT_IMG=boot.img +# kernel image path +export RK_KERNEL_IMG=kernel/arch/arm64/boot/Image +# kernel image format type: fit(flattened image tree) +export RK_KERNEL_FIT_ITS=boot.its +# parameter for GPT table +export RK_PARAMETER=parameter.txt +# Buildroot config +export RK_CFG_BUILDROOT=rockchip_rk3588 +# Recovery config +export RK_CFG_RECOVERY=rockchip_rk3588_recovery +# Recovery image format type: fit(flattened image tree) +export RK_RECOVERY_FIT_ITS=boot4recovery.its +# ramboot config +export RK_CFG_RAMBOOT= +# Pcba config +export RK_CFG_PCBA= +# Build jobs +export RK_JOBS=12 +# target chip +export RK_TARGET_PRODUCT=rk3588 +# Set rootfs type, including ext2 ext4 squashfs +export RK_ROOTFS_TYPE=ext4 +# yocto machine +export RK_YOCTO_MACHINE=rockchip-rk3588-evb +# rootfs image path +export RK_ROOTFS_IMG=rockdev/rootfs.${RK_ROOTFS_TYPE} +# Set ramboot image type +export RK_RAMBOOT_TYPE= +# Set oem partition type, including ext2 squashfs +export RK_OEM_FS_TYPE=ext2 +# Set userdata partition type, including ext2, fat +export RK_USERDATA_FS_TYPE=ext2 +#OEM config +export RK_OEM_DIR=oem_normal +# OEM build on buildroot +#export RK_OEM_BUILDIN_BUILDROOT=YES +#userdata config +export RK_USERDATA_DIR=userdata_normal +#misc image +export RK_MISC=wipe_all-misc.img +#choose enable distro module +export RK_DISTRO_MODULE= +# Define pre-build script for this board +export RK_BOARD_PRE_BUILD_SCRIPT=app-build.sh diff --git a/rk3588/BoardConfig-rk3588-evb3-lp5-v10.mk b/rk3588/BoardConfig-rk3588-evb3-lp5-v10.mk new file mode 100644 index 0000000..3153d4b --- /dev/null +++ b/rk3588/BoardConfig-rk3588-evb3-lp5-v10.mk @@ -0,0 +1,60 @@ +#!/bin/bash + +# Target arch +export RK_ARCH=arm64 +# Uboot defconfig +export RK_UBOOT_DEFCONFIG=rk3588 +# Uboot image format type: fit(flattened image tree) +export RK_UBOOT_FORMAT_TYPE=fit +# Kernel defconfig +export RK_KERNEL_DEFCONFIG=rockchip_linux_defconfig +# Kernel defconfig fragment +export RK_KERNEL_DEFCONFIG_FRAGMENT= +# Kernel dts +export RK_KERNEL_DTS=rk3588-evb3-lp5-v10-linux +# boot image type +export RK_BOOT_IMG=boot.img +# kernel image path +export RK_KERNEL_IMG=kernel/arch/arm64/boot/Image +# kernel image format type: fit(flattened image tree) +export RK_KERNEL_FIT_ITS=boot.its +# parameter for GPT table +export RK_PARAMETER=parameter.txt +# Buildroot config +export RK_CFG_BUILDROOT=rockchip_rk3588 +# Recovery config +export RK_CFG_RECOVERY=rockchip_rk3588_recovery +# Recovery image format type: fit(flattened image tree) +export RK_RECOVERY_FIT_ITS=boot4recovery.its +# ramboot config +export RK_CFG_RAMBOOT= +# Pcba config +export RK_CFG_PCBA= +# Build jobs +export RK_JOBS=12 +# target chip +export RK_TARGET_PRODUCT=rk3588 +# Set rootfs type, including ext2 ext4 squashfs +export RK_ROOTFS_TYPE=ext4 +# yocto machine +export RK_YOCTO_MACHINE=rockchip-rk3588-evb +# rootfs image path +export RK_ROOTFS_IMG=rockdev/rootfs.${RK_ROOTFS_TYPE} +# Set ramboot image type +export RK_RAMBOOT_TYPE= +# Set oem partition type, including ext2 squashfs +export RK_OEM_FS_TYPE=ext2 +# Set userdata partition type, including ext2, fat +export RK_USERDATA_FS_TYPE=ext2 +#OEM config +export RK_OEM_DIR=oem_normal +# OEM build on buildroot +#export RK_OEM_BUILDIN_BUILDROOT=YES +#userdata config +export RK_USERDATA_DIR=userdata_normal +#misc image +export RK_MISC=wipe_all-misc.img +#choose enable distro module +export RK_DISTRO_MODULE= +# Define pre-build script for this board +export RK_BOARD_PRE_BUILD_SCRIPT=app-build.sh diff --git a/rk3588/BoardConfig-rk3588-evb4-lp4-v10.mk b/rk3588/BoardConfig-rk3588-evb4-lp4-v10.mk new file mode 100644 index 0000000..34cbdc6 --- /dev/null +++ b/rk3588/BoardConfig-rk3588-evb4-lp4-v10.mk @@ -0,0 +1,60 @@ +#!/bin/bash + +# Target arch +export RK_ARCH=arm64 +# Uboot defconfig +export RK_UBOOT_DEFCONFIG=rk3588 +# Uboot image format type: fit(flattened image tree) +export RK_UBOOT_FORMAT_TYPE=fit +# Kernel defconfig +export RK_KERNEL_DEFCONFIG=rockchip_linux_defconfig +# Kernel defconfig fragment +export RK_KERNEL_DEFCONFIG_FRAGMENT= +# Kernel dts +export RK_KERNEL_DTS=rk3588-evb4-lp4-v10-linux +# boot image type +export RK_BOOT_IMG=boot.img +# kernel image path +export RK_KERNEL_IMG=kernel/arch/arm64/boot/Image +# kernel image format type: fit(flattened image tree) +export RK_KERNEL_FIT_ITS=boot.its +# parameter for GPT table +export RK_PARAMETER=parameter.txt +# Buildroot config +export RK_CFG_BUILDROOT=rockchip_rk3588 +# Recovery config +export RK_CFG_RECOVERY=rockchip_rk3588_recovery +# Recovery image format type: fit(flattened image tree) +export RK_RECOVERY_FIT_ITS=boot4recovery.its +# ramboot config +export RK_CFG_RAMBOOT= +# Pcba config +export RK_CFG_PCBA= +# Build jobs +export RK_JOBS=12 +# target chip +export RK_TARGET_PRODUCT=rk3588 +# Set rootfs type, including ext2 ext4 squashfs +export RK_ROOTFS_TYPE=ext4 +# yocto machine +export RK_YOCTO_MACHINE=rockchip-rk3588-evb +# rootfs image path +export RK_ROOTFS_IMG=rockdev/rootfs.${RK_ROOTFS_TYPE} +# Set ramboot image type +export RK_RAMBOOT_TYPE= +# Set oem partition type, including ext2 squashfs +export RK_OEM_FS_TYPE=ext2 +# Set userdata partition type, including ext2, fat +export RK_USERDATA_FS_TYPE=ext2 +#OEM config +export RK_OEM_DIR=oem_normal +# OEM build on buildroot +#export RK_OEM_BUILDIN_BUILDROOT=YES +#userdata config +export RK_USERDATA_DIR=userdata_normal +#misc image +export RK_MISC=wipe_all-misc.img +#choose enable distro module +export RK_DISTRO_MODULE= +# Define pre-build script for this board +export RK_BOARD_PRE_BUILD_SCRIPT=app-build.sh diff --git a/rk3588/BoardConfig-rk3588-evb5-lp4-v10.mk b/rk3588/BoardConfig-rk3588-evb5-lp4-v10.mk new file mode 100644 index 0000000..c583bdb --- /dev/null +++ b/rk3588/BoardConfig-rk3588-evb5-lp4-v10.mk @@ -0,0 +1,60 @@ +#!/bin/bash + +# Target arch +export RK_ARCH=arm64 +# Uboot defconfig +export RK_UBOOT_DEFCONFIG=rk3588 +# Uboot image format type: fit(flattened image tree) +export RK_UBOOT_FORMAT_TYPE=fit +# Kernel defconfig +export RK_KERNEL_DEFCONFIG=rockchip_linux_defconfig +# Kernel defconfig fragment +export RK_KERNEL_DEFCONFIG_FRAGMENT= +# Kernel dts +export RK_KERNEL_DTS=rk3588-evb5-lp4-v10-linux +# boot image type +export RK_BOOT_IMG=boot.img +# kernel image path +export RK_KERNEL_IMG=kernel/arch/arm64/boot/Image +# kernel image format type: fit(flattened image tree) +export RK_KERNEL_FIT_ITS=boot.its +# parameter for GPT table +export RK_PARAMETER=parameter.txt +# Buildroot config +export RK_CFG_BUILDROOT=rockchip_rk3588 +# Recovery config +export RK_CFG_RECOVERY=rockchip_rk3588_recovery +# Recovery image format type: fit(flattened image tree) +export RK_RECOVERY_FIT_ITS=boot4recovery.its +# ramboot config +export RK_CFG_RAMBOOT= +# Pcba config +export RK_CFG_PCBA= +# Build jobs +export RK_JOBS=12 +# target chip +export RK_TARGET_PRODUCT=rk3588 +# Set rootfs type, including ext2 ext4 squashfs +export RK_ROOTFS_TYPE=ext4 +# yocto machine +export RK_YOCTO_MACHINE=rockchip-rk3588-evb +# rootfs image path +export RK_ROOTFS_IMG=rockdev/rootfs.${RK_ROOTFS_TYPE} +# Set ramboot image type +export RK_RAMBOOT_TYPE= +# Set oem partition type, including ext2 squashfs +export RK_OEM_FS_TYPE=ext2 +# Set userdata partition type, including ext2, fat +export RK_USERDATA_FS_TYPE=ext2 +#OEM config +export RK_OEM_DIR=oem_normal +# OEM build on buildroot +#export RK_OEM_BUILDIN_BUILDROOT=YES +#userdata config +export RK_USERDATA_DIR=userdata_normal +#misc image +export RK_MISC=wipe_all-misc.img +#choose enable distro module +export RK_DISTRO_MODULE= +# Define pre-build script for this board +export RK_BOARD_PRE_BUILD_SCRIPT=app-build.sh diff --git a/rk3588/BoardConfig-rk3588-evb6-lp4-v10.mk b/rk3588/BoardConfig-rk3588-evb6-lp4-v10.mk new file mode 100644 index 0000000..d88b608 --- /dev/null +++ b/rk3588/BoardConfig-rk3588-evb6-lp4-v10.mk @@ -0,0 +1,60 @@ +#!/bin/bash + +# Target arch +export RK_ARCH=arm64 +# Uboot defconfig +export RK_UBOOT_DEFCONFIG=rk3588 +# Uboot image format type: fit(flattened image tree) +export RK_UBOOT_FORMAT_TYPE=fit +# Kernel defconfig +export RK_KERNEL_DEFCONFIG=rockchip_linux_defconfig +# Kernel defconfig fragment +export RK_KERNEL_DEFCONFIG_FRAGMENT= +# Kernel dts +export RK_KERNEL_DTS=rk3588-evb6-lp4-v10-linux +# boot image type +export RK_BOOT_IMG=boot.img +# kernel image path +export RK_KERNEL_IMG=kernel/arch/arm64/boot/Image +# kernel image format type: fit(flattened image tree) +export RK_KERNEL_FIT_ITS=boot.its +# parameter for GPT table +export RK_PARAMETER=parameter.txt +# Buildroot config +export RK_CFG_BUILDROOT=rockchip_rk3588 +# Recovery config +export RK_CFG_RECOVERY=rockchip_rk3588_recovery +# Recovery image format type: fit(flattened image tree) +export RK_RECOVERY_FIT_ITS=boot4recovery.its +# ramboot config +export RK_CFG_RAMBOOT= +# Pcba config +export RK_CFG_PCBA= +# Build jobs +export RK_JOBS=12 +# target chip +export RK_TARGET_PRODUCT=rk3588 +# Set rootfs type, including ext2 ext4 squashfs +export RK_ROOTFS_TYPE=ext4 +# yocto machine +export RK_YOCTO_MACHINE=rockchip-rk3588-evb +# rootfs image path +export RK_ROOTFS_IMG=rockdev/rootfs.${RK_ROOTFS_TYPE} +# Set ramboot image type +export RK_RAMBOOT_TYPE= +# Set oem partition type, including ext2 squashfs +export RK_OEM_FS_TYPE=ext2 +# Set userdata partition type, including ext2, fat +export RK_USERDATA_FS_TYPE=ext2 +#OEM config +export RK_OEM_DIR=oem_normal +# OEM build on buildroot +#export RK_OEM_BUILDIN_BUILDROOT=YES +#userdata config +export RK_USERDATA_DIR=userdata_normal +#misc image +export RK_MISC=wipe_all-misc.img +#choose enable distro module +export RK_DISTRO_MODULE= +# Define pre-build script for this board +export RK_BOARD_PRE_BUILD_SCRIPT=app-build.sh diff --git a/rk3588/BoardConfig-rk3588s-evb1-lp4x-v10.mk b/rk3588/BoardConfig-rk3588s-evb1-lp4x-v10.mk new file mode 100644 index 0000000..e0e2392 --- /dev/null +++ b/rk3588/BoardConfig-rk3588s-evb1-lp4x-v10.mk @@ -0,0 +1,60 @@ +#!/bin/bash + +# Target arch +export RK_ARCH=arm64 +# Uboot defconfig +export RK_UBOOT_DEFCONFIG=rk3588 +# Uboot image format type: fit(flattened image tree) +export RK_UBOOT_FORMAT_TYPE=fit +# Kernel defconfig +export RK_KERNEL_DEFCONFIG=rockchip_linux_defconfig +# Kernel defconfig fragment +export RK_KERNEL_DEFCONFIG_FRAGMENT= +# Kernel dts +export RK_KERNEL_DTS=rk3588s-evb1-lp4x-v10-linux +# boot image type +export RK_BOOT_IMG=boot.img +# kernel image path +export RK_KERNEL_IMG=kernel/arch/arm64/boot/Image +# kernel image format type: fit(flattened image tree) +export RK_KERNEL_FIT_ITS=boot.its +# parameter for GPT table +export RK_PARAMETER=parameter.txt +# Buildroot config +export RK_CFG_BUILDROOT=rockchip_rk3588 +# Recovery config +export RK_CFG_RECOVERY=rockchip_rk3588_recovery +# Recovery image format type: fit(flattened image tree) +export RK_RECOVERY_FIT_ITS=boot4recovery.its +# ramboot config +export RK_CFG_RAMBOOT= +# Pcba config +export RK_CFG_PCBA= +# Build jobs +export RK_JOBS=12 +# target chip +export RK_TARGET_PRODUCT=rk3588 +# Set rootfs type, including ext2 ext4 squashfs +export RK_ROOTFS_TYPE=ext4 +# yocto machine +export RK_YOCTO_MACHINE=rockchip-rk3588-evb +# rootfs image path +export RK_ROOTFS_IMG=rockdev/rootfs.${RK_ROOTFS_TYPE} +# Set ramboot image type +export RK_RAMBOOT_TYPE= +# Set oem partition type, including ext2 squashfs +export RK_OEM_FS_TYPE=ext2 +# Set userdata partition type, including ext2, fat +export RK_USERDATA_FS_TYPE=ext2 +#OEM config +export RK_OEM_DIR=oem_normal +# OEM build on buildroot +#export RK_OEM_BUILDIN_BUILDROOT=YES +#userdata config +export RK_USERDATA_DIR=userdata_normal +#misc image +export RK_MISC=wipe_all-misc.img +#choose enable distro module +export RK_DISTRO_MODULE= +# Define pre-build script for this board +export RK_BOARD_PRE_BUILD_SCRIPT=app-build.sh diff --git a/rk3588/BoardConfig-rk3588s-evb2-lp5-v10.mk b/rk3588/BoardConfig-rk3588s-evb2-lp5-v10.mk new file mode 100644 index 0000000..08fa04f --- /dev/null +++ b/rk3588/BoardConfig-rk3588s-evb2-lp5-v10.mk @@ -0,0 +1,60 @@ +#!/bin/bash + +# Target arch +export RK_ARCH=arm64 +# Uboot defconfig +export RK_UBOOT_DEFCONFIG=rk3588 +# Uboot image format type: fit(flattened image tree) +export RK_UBOOT_FORMAT_TYPE=fit +# Kernel defconfig +export RK_KERNEL_DEFCONFIG=rockchip_linux_defconfig +# Kernel defconfig fragment +export RK_KERNEL_DEFCONFIG_FRAGMENT= +# Kernel dts +export RK_KERNEL_DTS=rk3588s-evb2-lp5-v10-linux +# boot image type +export RK_BOOT_IMG=boot.img +# kernel image path +export RK_KERNEL_IMG=kernel/arch/arm64/boot/Image +# kernel image format type: fit(flattened image tree) +export RK_KERNEL_FIT_ITS=boot.its +# parameter for GPT table +export RK_PARAMETER=parameter.txt +# Buildroot config +export RK_CFG_BUILDROOT=rockchip_rk3588 +# Recovery config +export RK_CFG_RECOVERY=rockchip_rk3588_recovery +# Recovery image format type: fit(flattened image tree) +export RK_RECOVERY_FIT_ITS=boot4recovery.its +# ramboot config +export RK_CFG_RAMBOOT= +# Pcba config +export RK_CFG_PCBA= +# Build jobs +export RK_JOBS=12 +# target chip +export RK_TARGET_PRODUCT=rk3588 +# Set rootfs type, including ext2 ext4 squashfs +export RK_ROOTFS_TYPE=ext4 +# yocto machine +export RK_YOCTO_MACHINE=rockchip-rk3588-evb +# rootfs image path +export RK_ROOTFS_IMG=rockdev/rootfs.${RK_ROOTFS_TYPE} +# Set ramboot image type +export RK_RAMBOOT_TYPE= +# Set oem partition type, including ext2 squashfs +export RK_OEM_FS_TYPE=ext2 +# Set userdata partition type, including ext2, fat +export RK_USERDATA_FS_TYPE=ext2 +#OEM config +export RK_OEM_DIR=oem_normal +# OEM build on buildroot +#export RK_OEM_BUILDIN_BUILDROOT=YES +#userdata config +export RK_USERDATA_DIR=userdata_normal +#misc image +export RK_MISC=wipe_all-misc.img +#choose enable distro module +export RK_DISTRO_MODULE= +# Define pre-build script for this board +export RK_BOARD_PRE_BUILD_SCRIPT=app-build.sh diff --git a/rk3588/BoardConfig.mk b/rk3588/BoardConfig.mk deleted file mode 100644 index 2b0c24c..0000000 --- a/rk3588/BoardConfig.mk +++ /dev/null @@ -1,60 +0,0 @@ -#!/bin/bash - -# Target arch -export RK_ARCH=arm64 -# Uboot defconfig -export RK_UBOOT_DEFCONFIG=rk3568 -# Uboot image format type: fit(flattened image tree) -export RK_UBOOT_FORMAT_TYPE=fit -# Kernel defconfig -export RK_KERNEL_DEFCONFIG=rockchip_linux_defconfig -# Kernel defconfig fragment -export RK_KERNEL_DEFCONFIG_FRAGMENT= -# Kernel dts -export RK_KERNEL_DTS=rk3568-evb1-ddr4-v10-linux -# boot image type -export RK_BOOT_IMG=boot.img -# kernel image path -export RK_KERNEL_IMG=kernel/arch/arm64/boot/Image -# kernel image format type: fit(flattened image tree) -export RK_KERNEL_FIT_ITS=boot.its -# parameter for GPT table -export RK_PARAMETER=parameter-buildroot-rk3588.txt -# Buildroot config -export RK_CFG_BUILDROOT=rockchip_rk3588 -# Recovery config -export RK_CFG_RECOVERY=rockchip_rk3588_recovery -# Recovery image format type: fit(flattened image tree) -export RK_RECOVERY_FIT_ITS=boot4recovery.its -# ramboot config -export RK_CFG_RAMBOOT= -# Pcba config -export RK_CFG_PCBA= -# Build jobs -export RK_JOBS=12 -# target chip -export RK_TARGET_PRODUCT=rk3588 -# Set rootfs type, including ext2 ext4 squashfs -export RK_ROOTFS_TYPE=ext4 -# yocto machine -export RK_YOCTO_MACHINE= -# rootfs image path -export RK_ROOTFS_IMG=rockdev/rootfs.${RK_ROOTFS_TYPE} -# Set ramboot image type -export RK_RAMBOOT_TYPE= -# Set oem partition type, including ext2 squashfs -export RK_OEM_FS_TYPE=ext2 -# Set userdata partition type, including ext2, fat -export RK_USERDATA_FS_TYPE=ext2 -#OEM config -export RK_OEM_DIR=oem_normal -# OEM build on buildroot -#export RK_OEM_BUILDIN_BUILDROOT=YES -#userdata config -export RK_USERDATA_DIR=userdata_normal -#misc image -export RK_MISC=wipe_all-misc.img -#choose enable distro module -export RK_DISTRO_MODULE= -# Define pre-build script for this board -export RK_BOARD_PRE_BUILD_SCRIPT=app-build.sh diff --git a/rk3588/BoardConfig.mk b/rk3588/BoardConfig.mk new file mode 120000 index 0000000..1e1ac36 --- /dev/null +++ b/rk3588/BoardConfig.mk @@ -0,0 +1 @@ +BoardConfig-rk3588-evb3-lp5-v10.mk \ No newline at end of file diff --git a/rk3588/Boardconfig-rk3588s-evb3-lp4x-v10.mk b/rk3588/Boardconfig-rk3588s-evb3-lp4x-v10.mk new file mode 100644 index 0000000..7d40dcb --- /dev/null +++ b/rk3588/Boardconfig-rk3588s-evb3-lp4x-v10.mk @@ -0,0 +1,60 @@ +#!/bin/bash + +# Target arch +export RK_ARCH=arm64 +# Uboot defconfig +export RK_UBOOT_DEFCONFIG=rk3588 +# Uboot image format type: fit(flattened image tree) +export RK_UBOOT_FORMAT_TYPE=fit +# Kernel defconfig +export RK_KERNEL_DEFCONFIG=rockchip_linux_defconfig +# Kernel defconfig fragment +export RK_KERNEL_DEFCONFIG_FRAGMENT= +# Kernel dts +export RK_KERNEL_DTS=rk3588s-evb3-lp4x-v10-linux +# boot image type +export RK_BOOT_IMG=boot.img +# kernel image path +export RK_KERNEL_IMG=kernel/arch/arm64/boot/Image +# kernel image format type: fit(flattened image tree) +export RK_KERNEL_FIT_ITS=boot.its +# parameter for GPT table +export RK_PARAMETER=parameter.txt +# Buildroot config +export RK_CFG_BUILDROOT=rockchip_rk3588 +# Recovery config +export RK_CFG_RECOVERY=rockchip_rk3588_recovery +# Recovery image format type: fit(flattened image tree) +export RK_RECOVERY_FIT_ITS=boot4recovery.its +# ramboot config +export RK_CFG_RAMBOOT= +# Pcba config +export RK_CFG_PCBA= +# Build jobs +export RK_JOBS=12 +# target chip +export RK_TARGET_PRODUCT=rk3588 +# Set rootfs type, including ext2 ext4 squashfs +export RK_ROOTFS_TYPE=ext4 +# yocto machine +export RK_YOCTO_MACHINE=rockchip-rk3588-evb +# rootfs image path +export RK_ROOTFS_IMG=rockdev/rootfs.${RK_ROOTFS_TYPE} +# Set ramboot image type +export RK_RAMBOOT_TYPE= +# Set oem partition type, including ext2 squashfs +export RK_OEM_FS_TYPE=ext2 +# Set userdata partition type, including ext2, fat +export RK_USERDATA_FS_TYPE=ext2 +#OEM config +export RK_OEM_DIR=oem_normal +# OEM build on buildroot +#export RK_OEM_BUILDIN_BUILDROOT=YES +#userdata config +export RK_USERDATA_DIR=userdata_normal +#misc image +export RK_MISC=wipe_all-misc.img +#choose enable distro module +export RK_DISTRO_MODULE= +# Define pre-build script for this board +export RK_BOARD_PRE_BUILD_SCRIPT=app-build.sh diff --git a/rk3588/Boardconfig-rk3588s-evb4-lp4x-v10.mk b/rk3588/Boardconfig-rk3588s-evb4-lp4x-v10.mk new file mode 100644 index 0000000..764bb33 --- /dev/null +++ b/rk3588/Boardconfig-rk3588s-evb4-lp4x-v10.mk @@ -0,0 +1,60 @@ +#!/bin/bash + +# Target arch +export RK_ARCH=arm64 +# Uboot defconfig +export RK_UBOOT_DEFCONFIG=rk3588 +# Uboot image format type: fit(flattened image tree) +export RK_UBOOT_FORMAT_TYPE=fit +# Kernel defconfig +export RK_KERNEL_DEFCONFIG=rockchip_linux_defconfig +# Kernel defconfig fragment +export RK_KERNEL_DEFCONFIG_FRAGMENT= +# Kernel dts +export RK_KERNEL_DTS=rk3588s-evb4-lp4x-v10-linux +# boot image type +export RK_BOOT_IMG=boot.img +# kernel image path +export RK_KERNEL_IMG=kernel/arch/arm64/boot/Image +# kernel image format type: fit(flattened image tree) +export RK_KERNEL_FIT_ITS=boot.its +# parameter for GPT table +export RK_PARAMETER=parameter.txt +# Buildroot config +export RK_CFG_BUILDROOT=rockchip_rk3588 +# Recovery config +export RK_CFG_RECOVERY=rockchip_rk3588_recovery +# Recovery image format type: fit(flattened image tree) +export RK_RECOVERY_FIT_ITS=boot4recovery.its +# ramboot config +export RK_CFG_RAMBOOT= +# Pcba config +export RK_CFG_PCBA= +# Build jobs +export RK_JOBS=12 +# target chip +export RK_TARGET_PRODUCT=rk3588 +# Set rootfs type, including ext2 ext4 squashfs +export RK_ROOTFS_TYPE=ext4 +# yocto machine +export RK_YOCTO_MACHINE=rockchip-rk3588-evb +# rootfs image path +export RK_ROOTFS_IMG=rockdev/rootfs.${RK_ROOTFS_TYPE} +# Set ramboot image type +export RK_RAMBOOT_TYPE= +# Set oem partition type, including ext2 squashfs +export RK_OEM_FS_TYPE=ext2 +# Set userdata partition type, including ext2, fat +export RK_USERDATA_FS_TYPE=ext2 +#OEM config +export RK_OEM_DIR=oem_normal +# OEM build on buildroot +#export RK_OEM_BUILDIN_BUILDROOT=YES +#userdata config +export RK_USERDATA_DIR=userdata_normal +#misc image +export RK_MISC=wipe_all-misc.img +#choose enable distro module +export RK_DISTRO_MODULE= +# Define pre-build script for this board +export RK_BOARD_PRE_BUILD_SCRIPT=app-build.sh diff --git a/rk3588/parameter-buildroot-rk3588.txt b/rk3588/parameter.txt similarity index 91% rename from rk3588/parameter-buildroot-rk3588.txt rename to rk3588/parameter.txt index 6c83b39..65db9cb 100644 --- a/rk3588/parameter-buildroot-rk3588.txt +++ b/rk3588/parameter.txt @@ -1,7 +1,7 @@ FIRMWARE_VER: 1.0 -MACHINE_MODEL: RK3568 +MACHINE_MODEL: RK3588 MACHINE_ID: 007 -MANUFACTURER: RK3568 +MANUFACTURER: RK3588 MAGIC: 0x5041524B ATAG: 0x00200800 MACHINE: 0xffffffff