rv1126/rv1109: add BoardConfig-battery-evb-v10.mk

Signed-off-by: Fenrir Lin <fenrir.lin@rock-chips.com>
Change-Id: I9a27679d10e3a31e52e2479026df29f34d9f35de
This commit is contained in:
Fenrir Lin
2021-09-16 19:57:22 +08:00
parent 5f9aa43cb0
commit 43f414d7e9
2 changed files with 56 additions and 2 deletions

View File

@ -0,0 +1,54 @@
#!/bin/bash
# Target arch
export RK_ARCH=arm
# Uboot defconfig
export RK_UBOOT_DEFCONFIG=rv1126-bat-emmc-tb
# Uboot image format type: fit(flattened image tree)
export RK_UBOOT_FORMAT_TYPE=fit
# Loader update spl from Uboot
export RK_LOADER_UPDATE_SPL=true
# Kernel defconfig
export RK_KERNEL_DEFCONFIG=rv1126_defconfig
# kernel defconfig fragment
export RK_KERNEL_DEFCONFIG_FRAGMENT="rv1126-tb.config rv1126-battery-evb.config"
# Kernel dts
export RK_KERNEL_DTS=rv1126-bat-evb-v10
# boot image type
export RK_BOOT_IMG=zboot.img
# kernel image path
export RK_KERNEL_IMG=kernel/arch/arm/boot/Image
# parameter for GPT table
export RK_PARAMETER=parameter-tb.txt
# Buildroot config
# export RK_CFG_BUILDROOT=rockchip_rv1126_rv1109_tb
# Recovery config
export RK_CFG_RECOVERY=
# ramboot config
export RK_CFG_RAMBOOT=rockchip_rv1126_battery_evb_v10
# ramboot idt config
export RK_RECOVERY_FIT_ITS=boot-tb.its
# Pcba config
export RK_CFG_PCBA=
# Build jobs
export RK_JOBS=12
# target chip
export RK_TARGET_PRODUCT=rv1126_rv1109
# Set ramboot image type
export RK_RAMBOOT_TYPE=ROMFS
# 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_empty
# OEM build on buildroot
export RK_OEM_BUILDIN_BUILDROOT=YES
#userdata config, if not define this, system will format by RK_USERDATA_FS_TYPE
export RK_USERDATA_DIR=userdata_empty
#misc image
export RK_MISC=
#choose enable distro module
export RK_DISTRO_MODULE=
# Define package-file for update.img
export RK_PACKAGE_FILE=rv1126-package-file-emmc-tb

View File

@ -11,9 +11,9 @@ export RK_LOADER_UPDATE_SPL=true
# Kernel defconfig # Kernel defconfig
export RK_KERNEL_DEFCONFIG=rv1126_defconfig export RK_KERNEL_DEFCONFIG=rv1126_defconfig
# kernel defconfig fragment # kernel defconfig fragment
export RK_KERNEL_DEFCONFIG_FRAGMENT="rv1126-tb.config rv1126-battery-evb.config" export RK_KERNEL_DEFCONFIG_FRAGMENT="rv1126-tb.config rv1126-battery-evb-v11.config"
# Kernel dts # Kernel dts
export RK_KERNEL_DTS=rv1126-bat-evb-v10 export RK_KERNEL_DTS=rv1126-bat-evb-v11
# boot image type # boot image type
export RK_BOOT_IMG=zboot.img export RK_BOOT_IMG=zboot.img
# kernel image path # kernel image path