diff --git a/rk356x/BoardConfig-LubanCat-Zero-buildroot.mk b/rk356x/.others/BoardConfig-LubanCat-Zero-buildroot.mk similarity index 100% rename from rk356x/BoardConfig-LubanCat-Zero-buildroot.mk rename to rk356x/.others/BoardConfig-LubanCat-Zero-buildroot.mk diff --git a/rk356x/BoardConfig-LubanCat-Zero-debian.mk b/rk356x/.others/BoardConfig-LubanCat-Zero-debian.mk similarity index 100% rename from rk356x/BoardConfig-LubanCat-Zero-debian.mk rename to rk356x/.others/BoardConfig-LubanCat-Zero-debian.mk diff --git a/rk356x/BoardConfig-LubanCat-Zero-ubuntu.mk b/rk356x/.others/BoardConfig-LubanCat-Zero-ubuntu.mk similarity index 100% rename from rk356x/BoardConfig-LubanCat-Zero-ubuntu.mk rename to rk356x/.others/BoardConfig-LubanCat-Zero-ubuntu.mk diff --git a/rk356x/BoardConfig-LubanCat1-buildroot.mk b/rk356x/.others/BoardConfig-LubanCat1-buildroot.mk similarity index 100% rename from rk356x/BoardConfig-LubanCat1-buildroot.mk rename to rk356x/.others/BoardConfig-LubanCat1-buildroot.mk diff --git a/rk356x/BoardConfig-LubanCat1-debian.mk b/rk356x/.others/BoardConfig-LubanCat1-debian.mk similarity index 100% rename from rk356x/BoardConfig-LubanCat1-debian.mk rename to rk356x/.others/BoardConfig-LubanCat1-debian.mk diff --git a/rk356x/BoardConfig-LubanCat1-ubuntu.mk b/rk356x/.others/BoardConfig-LubanCat1-ubuntu.mk similarity index 100% rename from rk356x/BoardConfig-LubanCat1-ubuntu.mk rename to rk356x/.others/BoardConfig-LubanCat1-ubuntu.mk diff --git a/rk356x/BoardConfig-LubanCat1N-buildroot.mk b/rk356x/.others/BoardConfig-LubanCat1N-buildroot.mk similarity index 100% rename from rk356x/BoardConfig-LubanCat1N-buildroot.mk rename to rk356x/.others/BoardConfig-LubanCat1N-buildroot.mk diff --git a/rk356x/BoardConfig-LubanCat1N-debian.mk b/rk356x/.others/BoardConfig-LubanCat1N-debian.mk similarity index 100% rename from rk356x/BoardConfig-LubanCat1N-debian.mk rename to rk356x/.others/BoardConfig-LubanCat1N-debian.mk diff --git a/rk356x/BoardConfig-LubanCat1N-ubuntu.mk b/rk356x/.others/BoardConfig-LubanCat1N-ubuntu.mk similarity index 100% rename from rk356x/BoardConfig-LubanCat1N-ubuntu.mk rename to rk356x/.others/BoardConfig-LubanCat1N-ubuntu.mk diff --git a/rk356x/BoardConfig-LubanCat2-buildroot.mk b/rk356x/.others/BoardConfig-LubanCat2-buildroot.mk similarity index 100% rename from rk356x/BoardConfig-LubanCat2-buildroot.mk rename to rk356x/.others/BoardConfig-LubanCat2-buildroot.mk diff --git a/rk356x/BoardConfig-LubanCat2-debian.mk b/rk356x/.others/BoardConfig-LubanCat2-debian.mk similarity index 100% rename from rk356x/BoardConfig-LubanCat2-debian.mk rename to rk356x/.others/BoardConfig-LubanCat2-debian.mk diff --git a/rk356x/BoardConfig-LubanCat2-ubuntu.mk b/rk356x/.others/BoardConfig-LubanCat2-ubuntu.mk similarity index 100% rename from rk356x/BoardConfig-LubanCat2-ubuntu.mk rename to rk356x/.others/BoardConfig-LubanCat2-ubuntu.mk diff --git a/rk356x/BoardConfig-LubanCat2IO-buildroot.mk b/rk356x/.others/BoardConfig-LubanCat2IO-buildroot.mk similarity index 100% rename from rk356x/BoardConfig-LubanCat2IO-buildroot.mk rename to rk356x/.others/BoardConfig-LubanCat2IO-buildroot.mk diff --git a/rk356x/BoardConfig-LubanCat2IO-debian.mk b/rk356x/.others/BoardConfig-LubanCat2IO-debian.mk similarity index 100% rename from rk356x/BoardConfig-LubanCat2IO-debian.mk rename to rk356x/.others/BoardConfig-LubanCat2IO-debian.mk diff --git a/rk356x/BoardConfig-LubanCat2IO-ububtu.mk b/rk356x/.others/BoardConfig-LubanCat2IO-ububtu.mk similarity index 100% rename from rk356x/BoardConfig-LubanCat2IO-ububtu.mk rename to rk356x/.others/BoardConfig-LubanCat2IO-ububtu.mk diff --git a/rk356x/BoardConfig-LubanCat2N-buildroot.mk b/rk356x/.others/BoardConfig-LubanCat2N-buildroot.mk similarity index 100% rename from rk356x/BoardConfig-LubanCat2N-buildroot.mk rename to rk356x/.others/BoardConfig-LubanCat2N-buildroot.mk diff --git a/rk356x/BoardConfig-LubanCat2N-debian.mk b/rk356x/.others/BoardConfig-LubanCat2N-debian.mk similarity index 100% rename from rk356x/BoardConfig-LubanCat2N-debian.mk rename to rk356x/.others/BoardConfig-LubanCat2N-debian.mk diff --git a/rk356x/BoardConfig-LubanCat2N-ubuntu.mk b/rk356x/.others/BoardConfig-LubanCat2N-ubuntu.mk similarity index 100% rename from rk356x/BoardConfig-LubanCat2N-ubuntu.mk rename to rk356x/.others/BoardConfig-LubanCat2N-ubuntu.mk diff --git a/rk356x/BoardConfig-LubanCat-RK_series-debian-desktop.mk b/rk356x/BoardConfig-LubanCat-RK3566-debian-desktop.mk similarity index 96% rename from rk356x/BoardConfig-LubanCat-RK_series-debian-desktop.mk rename to rk356x/BoardConfig-LubanCat-RK3566-debian-desktop.mk index 928608b..7695004 100644 --- a/rk356x/BoardConfig-LubanCat-RK_series-debian-desktop.mk +++ b/rk356x/BoardConfig-LubanCat-RK3566-debian-desktop.mk @@ -67,7 +67,7 @@ export RK_SOC=rk356x export RK_ROOTFS_SYSTEM=debian # Set debian version (debian10: buster) export RK_DEBIAN_VERSION=10 -# 定义默认rootfs是否为桌面版 desktop :桌面版 lite :控制台版 +# 定义默认rootfs是否为桌面版 xfce :桌面版 lite :控制台版 export RK_ROOTFS_TARGET=desktop # 定义默认rootfs是否添加DEBUG工具 debug :添加 none :不添加 export RK_ROOTFS_DEBUG=none diff --git a/rk356x/BoardConfig-LubanCat-RK_series-debian-lite.mk b/rk356x/BoardConfig-LubanCat-RK3566-debian-lite.mk similarity index 100% rename from rk356x/BoardConfig-LubanCat-RK_series-debian-lite.mk rename to rk356x/BoardConfig-LubanCat-RK3566-debian-lite.mk diff --git a/rk356x/BoardConfig-LubanCat-RK_series-ubuntu-desktop.mk b/rk356x/BoardConfig-LubanCat-RK3566-ubuntu-desktop.mk similarity index 94% rename from rk356x/BoardConfig-LubanCat-RK_series-ubuntu-desktop.mk rename to rk356x/BoardConfig-LubanCat-RK3566-ubuntu-desktop.mk index cfb8d21..0bc1af6 100644 --- a/rk356x/BoardConfig-LubanCat-RK_series-ubuntu-desktop.mk +++ b/rk356x/BoardConfig-LubanCat-RK3566-ubuntu-desktop.mk @@ -67,8 +67,8 @@ export RK_SOC=rk356x export RK_ROOTFS_SYSTEM=ubuntu # 默认Ubuntu 版本 export RK_UBUNTU_VERSION=20.04 -# 定义默认rootfs是否为桌面版 desktop :桌面版 lite :控制台版 -export RK_ROOTFS_TARGET=desktop +# 定义默认rootfs是否为桌面版 xfce :桌面版 lite :控制台版 +export RK_ROOTFS_TARGET=xfce # 定义默认rootfs是否添加DEBUG工具 debug :添加 none :不添加 export RK_ROOTFS_DEBUG=none # 使用exboot内核分区 diff --git a/rk356x/BoardConfig-LubanCat-RK_series-ubuntu-lite.mk b/rk356x/BoardConfig-LubanCat-RK3566-ubuntu-lite.mk similarity index 100% rename from rk356x/BoardConfig-LubanCat-RK_series-ubuntu-lite.mk rename to rk356x/BoardConfig-LubanCat-RK3566-ubuntu-lite.mk diff --git a/rk356x/BoardConfig-LubanCat-RK3568-debian-desktop.mk b/rk356x/BoardConfig-LubanCat-RK3568-debian-desktop.mk new file mode 100644 index 0000000..017ec67 --- /dev/null +++ b/rk356x/BoardConfig-LubanCat-RK3568-debian-desktop.mk @@ -0,0 +1,75 @@ +#!/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=lubancat2_defconfig +# Kernel defconfig fragment +export RK_KERNEL_DEFCONFIG_FRAGMENT= +# Kernel dts +export RK_KERNEL_DTS=rk356x-lubancat-rk_series +# 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-ubuntu-fit.txt +# 分区表对应的打包文件 +export RK_PACKAGE_FILE=rk356x-package-file-ubuntu +# Buildroot config +export RK_CFG_BUILDROOT=rockchip_rk3568 +# Recovery config +export RK_CFG_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=24 +# target chip +export RK_TARGET_PRODUCT=rk356x +# Set rootfs type, including ext2 ext4 squashfs +export RK_ROOTFS_TYPE=ext4 +# yocto machine +export RK_YOCTO_MACHINE=rockchip-rk3568-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 build on buildroot +#export RK_OEM_BUILDIN_BUILDROOT=YES +#userdata config +export RK_USERDATA_DIR= +#misc image +export RK_MISC= +#choose enable distro module +export RK_DISTRO_MODULE= +# Define pre-build script for this board +export RK_BOARD_PRE_BUILD_SCRIPT=app-build.sh + +# SOC +export RK_SOC=rk356x +# 定义默认rootfs为 debian +export RK_ROOTFS_SYSTEM=debian +# Set debian version (debian10: buster) +export RK_DEBIAN_VERSION=10 +# 定义默认rootfs是否为桌面版 xfce :桌面版 lite :控制台版 +export RK_ROOTFS_TARGET=desktop +# 定义默认rootfs是否添加DEBUG工具 debug :添加 none :不添加 +export RK_ROOTFS_DEBUG=none +# 使用exboot内核分区 +export RK_EXTBOOT=true \ No newline at end of file diff --git a/rk356x/BoardConfig-LubanCat-RK3568-debian-lite.mk b/rk356x/BoardConfig-LubanCat-RK3568-debian-lite.mk new file mode 100644 index 0000000..89e9529 --- /dev/null +++ b/rk356x/BoardConfig-LubanCat-RK3568-debian-lite.mk @@ -0,0 +1,75 @@ +#!/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=lubancat2_defconfig +# Kernel defconfig fragment +export RK_KERNEL_DEFCONFIG_FRAGMENT= +# Kernel dts +export RK_KERNEL_DTS=rk356x-lubancat-rk_series +# 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-ubuntu-fit.txt +# 分区表对应的打包文件 +export RK_PACKAGE_FILE=rk356x-package-file-ubuntu +# Buildroot config +export RK_CFG_BUILDROOT=rockchip_rk3568 +# Recovery config +export RK_CFG_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=24 +# target chip +export RK_TARGET_PRODUCT=rk356x +# Set rootfs type, including ext2 ext4 squashfs +export RK_ROOTFS_TYPE=ext4 +# yocto machine +export RK_YOCTO_MACHINE=rockchip-rk3568-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 build on buildroot +#export RK_OEM_BUILDIN_BUILDROOT=YES +#userdata config +export RK_USERDATA_DIR= +#misc image +export RK_MISC= +#choose enable distro module +export RK_DISTRO_MODULE= +# Define pre-build script for this board +export RK_BOARD_PRE_BUILD_SCRIPT=app-build.sh + +# SOC +export RK_SOC=rk356x +# 定义默认rootfs为 debian +export RK_ROOTFS_SYSTEM=debian +# Set debian version (debian10: buster) +export RK_DEBIAN_VERSION=10 +# 定义默认rootfs是否为桌面版 desktop :桌面版 lite :控制台版 +export RK_ROOTFS_TARGET=lite +# 定义默认rootfs是否添加DEBUG工具 debug :添加 none :不添加 +export RK_ROOTFS_DEBUG=none +# 使用exboot内核分区 +export RK_EXTBOOT=true \ No newline at end of file diff --git a/rk356x/BoardConfig-LubanCat-RK3568-ubuntu-desktop.mk b/rk356x/BoardConfig-LubanCat-RK3568-ubuntu-desktop.mk new file mode 100644 index 0000000..7318152 --- /dev/null +++ b/rk356x/BoardConfig-LubanCat-RK3568-ubuntu-desktop.mk @@ -0,0 +1,75 @@ +#!/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=lubancat2_defconfig +# Kernel defconfig fragment +export RK_KERNEL_DEFCONFIG_FRAGMENT= +# Kernel dts +export RK_KERNEL_DTS=rk356x-lubancat-rk_series +# 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-ubuntu-fit.txt +# 分区表对应的打包文件 +export RK_PACKAGE_FILE=rk356x-package-file-ubuntu +# Buildroot config +export RK_CFG_BUILDROOT=rockchip_rk3568 +# Recovery config +export RK_CFG_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=24 +# target chip +export RK_TARGET_PRODUCT=rk356x +# Set rootfs type, including ext2 ext4 squashfs +export RK_ROOTFS_TYPE=ext4 +# yocto machine +export RK_YOCTO_MACHINE=rockchip-rk3568-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 build on buildroot +#export RK_OEM_BUILDIN_BUILDROOT=YES +#userdata config +export RK_USERDATA_DIR= +#misc image +export RK_MISC= +#choose enable distro module +export RK_DISTRO_MODULE= +# Define pre-build script for this board +export RK_BOARD_PRE_BUILD_SCRIPT=app-build.sh + +# SOC +export RK_SOC=rk356x +# 定义默认rootfs为ubuntu +export RK_ROOTFS_SYSTEM=ubuntu +# 默认Ubuntu 版本 +export RK_UBUNTU_VERSION=20.04 +# 定义默认rootfs是否为桌面版 xfce :桌面版 lite :控制台版 +export RK_ROOTFS_TARGET=xfce +# 定义默认rootfs是否添加DEBUG工具 debug :添加 none :不添加 +export RK_ROOTFS_DEBUG=none +# 使用exboot内核分区 +export RK_EXTBOOT=true \ No newline at end of file diff --git a/rk356x/BoardConfig-LubanCat-RK3568-ubuntu-lite.mk b/rk356x/BoardConfig-LubanCat-RK3568-ubuntu-lite.mk new file mode 100644 index 0000000..cd97755 --- /dev/null +++ b/rk356x/BoardConfig-LubanCat-RK3568-ubuntu-lite.mk @@ -0,0 +1,77 @@ +#!/bin/bash + +# SOC +export RK_SOC=rk356x +# 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=lubancat2_defconfig +# Kernel defconfig fragment +export RK_KERNEL_DEFCONFIG_FRAGMENT= +# Kernel dts +export RK_KERNEL_DTS=rk356x-lubancat-rk_series +# 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-ubuntu-fit.txt +# 分区表对应的打包文件 +export RK_PACKAGE_FILE=rk356x-package-file-ubuntu +# Buildroot config +export RK_CFG_BUILDROOT=rockchip_rk3568 +# Recovery config +export RK_CFG_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=24 +# target chip +export RK_TARGET_PRODUCT=rk356x +# Set rootfs type, including ext2 ext4 squashfs +export RK_ROOTFS_TYPE=ext4 +# yocto machine +export RK_YOCTO_MACHINE=rockchip-rk3568-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 build on buildroot +#export RK_OEM_BUILDIN_BUILDROOT=YES +#userdata config +export RK_USERDATA_DIR= +#misc image +export RK_MISC= +#choose enable distro module +export RK_DISTRO_MODULE= +# Define pre-build script for this board +export RK_BOARD_PRE_BUILD_SCRIPT=app-build.sh + +# SOC +export RK_SOC=rk356x +# 定义默认rootfs为ubuntu +export RK_ROOTFS_SYSTEM=ubuntu +# 默认Ubuntu 版本 +export RK_UBUNTU_VERSION=20.04 +# 定义默认rootfs是否为桌面版 desktop :桌面版 lite :控制台版 +export RK_ROOTFS_TARGET=lite +# 定义默认rootfs是否添加DEBUG工具 debug :添加 none :不添加 +export RK_ROOTFS_DEBUG=none +# 使用exboot内核分区 +export RK_EXTBOOT=true \ No newline at end of file diff --git a/rk356x/BoardConfig.mk b/rk356x/BoardConfig.mk index 47aef02..070bc62 120000 --- a/rk356x/BoardConfig.mk +++ b/rk356x/BoardConfig.mk @@ -1 +1 @@ -BoardConfig-LubanCat-RK_series-debian-desktop.mk \ No newline at end of file +BoardConfig-LubanCat-RK3568-debian-desktop.mk \ No newline at end of file diff --git a/rk356x/关于LubanCat专用镜像停止支持的说明.txt b/rk356x/关于LubanCat专用镜像停止支持的说明.txt new file mode 100644 index 0000000..bb8a998 --- /dev/null +++ b/rk356x/关于LubanCat专用镜像停止支持的说明.txt @@ -0,0 +1,3 @@ +LubanCat专用镜像已于2023年4月11日停止支持,并将相关配置文件移动到.others目录 +如有需求的用户可自行参照.others目录下的配置文件自行构建, +但EmbedFire不保证相关固件的稳定性。 \ No newline at end of file