diff --git a/rv1126_rv1109/BoardConfig-trailcamera.mk b/rv1126_rv1109/BoardConfig-trailcamera.mk new file mode 100644 index 0000000..66a53ca --- /dev/null +++ b/rv1126_rv1109/BoardConfig-trailcamera.mk @@ -0,0 +1,40 @@ +#!/bin/bash + +# Target arch +export RK_ARCH=arm +# Uboot defconfig +export RK_UBOOT_DEFCONFIG=rv1126-bat-spi-nor-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-snapshot.config" +# Kernel dts +export RK_KERNEL_DTS=rv1126-trailcamera +# 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-trailcamera.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_trailcamera +# 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 +# Define package-file for update.img +export RK_PACKAGE_FILE=rv1126-package-file-spi-nor-tb diff --git a/rv1126_rv1109/parameter-trailcamera.txt b/rv1126_rv1109/parameter-trailcamera.txt new file mode 100644 index 0000000..b4fc715 --- /dev/null +++ b/rv1126_rv1109/parameter-trailcamera.txt @@ -0,0 +1,12 @@ +FIRMWARE_VER: 8.1 +MACHINE_MODEL: RV1126 +MACHINE_ID: 007 +MANUFACTURER: RV1126 +MAGIC: 0x5041524B +ATAG: 0x00200800 +MACHINE: 0xffffffff +CHECK_MASK: 0x80 +PWR_HLD: 0,0,A,0,1 +TYPE: GPT +CMDLINE: mtdparts=rk29xxnand:0x00000280@0x00000200(uboot),0x00000100@0x00000480(vnvm),0x0000a000@0x00000580(boot),-@0x0000a580(userdata:grow) +uuid:rootfs=614e0000-0000-4b53-8000-1d28000054a9