rv1126_rv1109: add BoardConfig-ramboot-uvc.mk

Corresponding in the DTS cmdline instruction need to be modified for
bootargs = "earlycon = uart8250, mmio32, 0 xff570000 console = ttyFIQ0
snd_aloop. Index = 7"

Signed-off-by: lqh <kevin.lin@rock-chips.com>
Change-Id: I86052449d1fd147c076a5409000c8368cbbb1692
This commit is contained in:
lqh
2020-07-09 11:11:01 +08:00
parent 146c20b44a
commit cd69c62924

View File

@ -0,0 +1,64 @@
#!/bin/bash
# Target chip
export RK_CHIP=RV1126
# Target arch
export RK_ARCH=arm
# Uboot defconfig
export RK_UBOOT_DEFCONFIG=rv1126-ramboot
# Uboot image format type: fit(flattened image tree)
export RK_UBOOT_FORMAT_TYPE=fit
# Uboot SPL ini config
export RK_SPL_INI_CONFIG=RV1126MINIALL_RAMBOOT.ini
# Kernel defconfig
export RK_KERNEL_DEFCONFIG=rv1126_defconfig
# Kernel defconfig fragment
export RK_KERNEL_DEFCONFIG_FRAGMENT=
# Kernel dts
#export RK_KERNEL, which must modify cmdline
export RK_KERNEL_DTS=rv1126-evb-ddr3-v12
#export RK_KERNEL_DTS=rv1126-ai-cam-ddr3-v1
# boot image type
export RK_BOOT_IMG=zboot.img
# kernel image path
export RK_KERNEL_IMG=kernel/arch/arm/boot/zImage
# kernel image format type: fit(flattened image tree)
export RK_KERNEL_FIT_ITS=boot.its
# parameter for GPT table
export RK_PARAMETER=parameter-buildroot-fit.txt
# Buildroot config
#export RK_CFG_BUILDROOT=rockchip_rv1126_rv1109_uvcc
# 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=rockchip_rv1126_rv1109_ramboot_uvcc
# Pcba config
export RK_CFG_PCBA=
# Build jobs
export RK_JOBS=12
# target chip
export RK_TARGET_PRODUCT=rv1126_rv1109
# Set rootfs type, including ext2 ext4 squashfs
export RK_ROOTFS_TYPE=cpio.gz
# rootfs image path
export RK_ROOTFS_IMG=rockdev/rootfs.${RK_ROOTFS_TYPE}
# Set ramboot image type
export RK_RAMBOOT_TYPE=CPIO
# Set oem partition type, including ext2 squashfs
export RK_OEM_FS_TYPE=ext2
# OEM build on buildroot
export RK_OEM_BUILDIN_BUILDROOT=YES
# Set userdata partition type, including ext2, fat
export RK_USERDATA_FS_TYPE=ext2
#OEM config
export RK_OEM_DIR=oem_uvcc
#userdata config
export RK_USERDATA_DIR=userdata_normal
#misc image
export RK_MISC=
#choose enable distro module
export RK_DISTRO_MODULE=
# Define package-file for update.img
#export RK_PACKAGE_FILE=rv1126_rv1109-package-file-uvc