#!/bin/bash # Target arch export RK_ARCH=arm # Uboot defconfig export RK_UBOOT_DEFCONFIG=rv1126-ab # Uboot image format type: fit(flattened image tree) export RK_UBOOT_FORMAT_TYPE=fit # Uboot update loader (spl) export RK_LOADER_UPDATE_SPL=true # Kernel defconfig export RK_KERNEL_DEFCONFIG=rv1126_defconfig # Kernel defconfig fragment export RK_KERNEL_DEFCONFIG_FRAGMENT= # Kernel dts export RK_KERNEL_DTS=rv1126-evb-ddr3-v13 # 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-ab-fit.txt # Buildroot config export RK_CFG_BUILDROOT=rockchip_rv1126_rv1109 # ramboot config export RK_CFG_RAMBOOT= # 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=ext4 # 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_ipc # 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_normal #misc image export RK_MISC=blank-misc.img # Define package-file for AB system update_ab.img export RK_PACKAGE_FILE_AB=rv1126_rv1109-package-file-2-ab # Define package-file for ota update_ota.img export RK_PACKAGE_FILE_OTA=rv1126_rv1109-package-file-2-ota ########################################################## ### enable build update_sdcard.img ### Detail to see docs/Linux/Recovery/Rockchip_Developer_Guide_Linux_Upgrade_CN.pdf # export RK_UPDATE_SDCARD_ENABLE_FOR_AB=true ### Recovery config export RK_UPDATE_SDCARD_CFG_RECOVERY=rockchip_rv1126_rv1109_recovery ### Recovery image format type: fit(flattened image tree) export RK_RECOVERY_FIT_ITS=boot4recovery.its ########################################################## # Define pre-build script for this board export RK_BOARD_PRE_BUILD_SCRIPT=app-build.sh