rv1126/rv1109: add BoardConfig and parameter for uvcc 16M spi nor
Change-Id: I2ff40a4cb3a1a414e6174cb9aee0797a37b2200e Signed-off-by: Mark Huang <huangjc@rock-chips.com>
This commit is contained in:
59
rv1126_rv1109/BoardConfig-uvcc-spi-nor-v12.mk
Normal file
59
rv1126_rv1109/BoardConfig-uvcc-spi-nor-v12.mk
Normal file
@ -0,0 +1,59 @@
|
||||
#!/bin/bash
|
||||
|
||||
# Target arch
|
||||
export RK_ARCH=arm
|
||||
# build idblock.bin and update SPL
|
||||
export RK_IDBLOCK_UPDATE_SPL=true
|
||||
# Uboot defconfig
|
||||
export RK_UBOOT_DEFCONFIG=rv1126-spi-nor-tiny
|
||||
# Uboot defconfig fragment, config rk-sfc.config if sdcard upgrade
|
||||
#export RK_UBOOT_DEFCONFIG_FRAGMENT=rk-sfc.config
|
||||
# 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-uvc-spi-nor.config
|
||||
# Kernel dts
|
||||
export RK_KERNEL_DTS=rv1126-evb-ddr3-v12-spi-nor
|
||||
export RK_KERNEL_FIT_ITS=boot.its
|
||||
# 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-spi-nor-16M.txt
|
||||
# Buildroot config
|
||||
export RK_CFG_BUILDROOT=rockchip_rv1126_rv1109_uvcc_spi_nor
|
||||
# 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 squashfs jffs2
|
||||
export RK_ROOTFS_TYPE=squashfs
|
||||
# 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 jffs2 squashfs
|
||||
export RK_OEM_FS_TYPE=
|
||||
# Set userdata partition type, including jffs2, fat, squashfs
|
||||
export RK_USERDATA_FS_TYPE=jffs2
|
||||
#OEM config
|
||||
export RK_OEM_DIR=
|
||||
#userdata config, if not define this, system will format by RK_USERDATA_FS_TYPE
|
||||
export RK_USERDATA_DIR=userdata_empty
|
||||
#misc image
|
||||
export RK_MISC=
|
||||
#choose enable distro module
|
||||
export RK_DISTRO_MODULE=
|
||||
# Define package-file for update.img
|
||||
export RK_PACKAGE_FILE=rv1126-package-file-spi-nor-uvc
|
||||
12
rv1126_rv1109/parameter-spi-nor-16M.txt
Normal file
12
rv1126_rv1109/parameter-spi-nor-16M.txt
Normal file
@ -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:0x00000180@0x00000080(IDBlock),0x00000280@0x00000200(uboot),0x00000100@0x00000480(vnvm),0x00001800@0x00000580(boot),0x00004000@0x00001D80(rootfs),-@0x00005D80(userdata:grow)
|
||||
uuid:rootfs=614e0000-0000-4b53-8000-1d28000054a9
|
||||
Reference in New Issue
Block a user