rv1126/rv1109: add slc nand boardconfig

Signed-off-by: Weiwen Chen <cww@rock-chips.com>
Change-Id: I45b8d2cd71b4692536d2335ed48715a94461fca4
This commit is contained in:
Weiwen Chen
2020-11-14 10:15:41 +08:00
parent 814944c724
commit 06d02e8d66

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
# Loader update spl from Uboot
export RK_LOADER_UPDATE_SPL=true
# Uboot image format type: fit(flattened image tree)
export RK_UBOOT_FORMAT_TYPE=fit
# Kernel defconfig
export RK_KERNEL_DEFCONFIG=rv1126_defconfig
# Kernel defconfig fragment
export RK_KERNEL_DEFCONFIG_FRAGMENT=rv1126-slc-nand.config
# Kernel dts
export RK_KERNEL_DTS=rv1126-evb-ddr3-v12-spi-nand
# boot image type
export RK_BOOT_IMG=zboot.img
# kernel image path
export RK_KERNEL_IMG=kernel/arch/arm/boot/zImage
# parameter for GPT table
export RK_PARAMETER=parameter-fit-nand-256M.txt
# Buildroot config
export RK_CFG_BUILDROOT=rockchip_rv1126_rv1109_spi_nand
# 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=rv1126_rv1109
# Set rootfs type, including ext2 ext4 squashfs ubi
export RK_ROOTFS_TYPE=ubi
# Set ubifs page size, 2048(2KB) or 4096(4KB)
export RK_UBI_PAGE_SIZE=2048
# Set ubifs block size, 0x20000(128KB) or 0x40000(256KB)
export RK_UBI_BLOCK_SIZE=0x20000
# 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=ubi
# Set oem partition size (byte)
# export RK_OEM_PARTITION_SIZE=0x6400000
# Set userdata partition type, including ext2, fat
export RK_USERDATA_FS_TYPE=ubi
#OEM config
export RK_OEM_DIR=
#userdata config
export RK_USERDATA_DIR=
# Set userdata partition size (byte)
# export RK_USERDATA_PARTITION_SIZE=0x02760000
#misc image
export RK_MISC=
# Define pre-build script for this board
export RK_BOARD_PRE_BUILD_SCRIPT=app-build.sh
# Define package-file for update.img
export RK_PACKAGE_FILE=rv1126-package-file-spi-nand