Merge "rk356x: add BoardConfig-rk3568-evb1-ddr4-v10-spi-nor-64M.mk"

This commit is contained in:
Hans Yang
2021-01-16 16:22:20 +08:00
committed by Gerrit Code Review
2 changed files with 77 additions and 0 deletions

View File

@ -0,0 +1,66 @@
#!/bin/bash
# Target arch
export RK_ARCH=arm64
# Uboot defconfig
export RK_UBOOT_DEFCONFIG=rk3568
# Uboot image format type: fit(flattened image tree)
export RK_UBOOT_FORMAT_TYPE=fit
# Kernel defconfig
export RK_KERNEL_DEFCONFIG=rockchip_linux_defconfig
# Kernel defconfig fragment
export RK_KERNEL_DEFCONFIG_FRAGMENT=rockchip_linux_bifrost.config
# Kernel dts
export RK_KERNEL_DTS=rk3568-evb1-ddr4-v10-linux-spi-nor
# boot image type
export RK_BOOT_IMG=zboot.img
# kernel image path
export RK_KERNEL_ZIMG=kernel/arch/arm64/boot/Image.lz4
# kernel image format type: fit(flattened image tree)
export RK_KERNEL_FIT_ITS=zboot.its
# parameter for GPT table
export RK_PARAMETER=parameter-buildroot-spi-nor-64M.txt
# Buildroot config
export RK_CFG_BUILDROOT=rockchip_rk356x_libs
# Recovery config
export RK_CFG_RECOVERY=
# Recovery image format type: fit(flattened image tree)
export RK_RECOVERY_FIT_ITS=boot4recovery.its
# ramboot config
export RK_CFG_RAMBOOT=
# Pcba config
export RK_CFG_PCBA=
# Build jobs
export RK_JOBS=12
# target chip
export RK_TARGET_PRODUCT=rk356x
# Set rootfs type, including ext2 ext4 squashfs
export RK_ROOTFS_TYPE=squashfs
# yocto machine
export RK_YOCTO_MACHINE=rockchip-rk3568-evb
# 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=jffs2
# Set oem node
export RK_OEM_NODE=/dev/mtdblock4
# Set userdata partition type, including ext2, fat
export RK_USERDATA_FS_TYPE=jffs2
# Set userdata node
export RK_USERDATA_NODE=/dev/mtdblock5
#OEM config
export RK_OEM_DIR=oem_sample
# OEM build on buildroot
#export RK_OEM_BUILDIN_BUILDROOT=YES
#userdata config
export RK_USERDATA_DIR=userdata_normal
#misc image
export RK_MISC=
#choose enable distro module
export RK_DISTRO_MODULE=
# Define pre-build script for this board
export RK_BOARD_PRE_BUILD_SCRIPT=app-build.sh
# Define package-file
export RK_PACKAGE_FILE=rk356x-package-file-spi-nor

View File

@ -0,0 +1,11 @@
FIRMWARE_VER: 11.0
MACHINE_MODEL: RK3568
MACHINE_ID: 007
MANUFACTURER: RK3568
MAGIC: 0x5041524B
ATAG: 0x00200800
MACHINE: rk3566_r
CHECK_MASK: 0x80
PWR_HLD: 0,0,A,0,1
TYPE: GPT
CMDLINE: mtdparts=rk29xxnand:0x00000400@0x0002000(vnvm),0x00002000@0x00004000(uboot),0x0007800@0x00006000(boot),0x00008000@0x000D800(rootfs),0x00002000@0x00015800(oem),-@0x00017800(userdata:grow)