#!/bin/bash # Target arch export RK_ARCH=arm64 # Uboot defconfig export RK_UBOOT_DEFCONFIG=rknpu-lion # Kernel defconfig export RK_KERNEL_DEFCONFIG=rk1808_x4_linux_defconfig # main board kernel dts export RK_KERNEL_DTS=rk1808-evb-x4 # second board kernel dts export RK_KERNEL_SECOND_DTS=rk1808-evb-x4-second # boot image type export RK_BOOT_IMG= # kernel image path export RK_KERNEL_IMG=kernel/arch/arm64/boot/Image # parameter for GPT table export RK_PARAMETER=parameter-buildroot.txt # Buildroot config export RK_CFG_BUILDROOT=rockchip_rk1808-multi # Recovery config export RK_CFG_RECOVERY= # ramboot config export RK_CFG_RAMBOOT= # Pcba config export RK_CFG_PCBA= # Build jobs export RK_JOBS=12 # target chip export RK_TARGET_PRODUCT=rk1808 # Set rootfs type, including ext2 ext4 squashfs export RK_ROOTFS_TYPE= # rootfs image path export RK_ROOTFS_IMG= # Set oem partition type, including ext2 squashfs export RK_OEM_FS_TYPE= # Set userdata partition type, including ext2, fat export RK_USERDATA_FS_TYPE= #OEM config: /oem/dueros/aispeech/iflytekSDK/CaeDemo_VAD/smart_voice export RK_OEM_DIR= #userdata config export RK_USERDATA_DIR= #misc image export RK_MISC= #choose enable distro module export RK_DISTRO_MODULE= #enable multi-npu-boot image auto-build export RK_MULTINPU_BOOT=y