rk356x: add rk3568 NVR support 128M flash
add parameter-buildroot-NVR-128M.txt, config RK_ROOTFS_TYPE=squashfs and RK_OEM_DIR=oem_nvr and RK_USERDATA_DIR=userdata_empty and RK_CFG_RECOVERY=rockchip_rk356x_nvr_recovery to reduce space consumption Change-Id: I1f05e65d5230b19f1245d6321e91337e0d5fdc41
This commit is contained in:
3
oem/oem_nvr/RkLunch.sh
Executable file
3
oem/oem_nvr/RkLunch.sh
Executable file
@ -0,0 +1,3 @@
|
|||||||
|
#!/bin/sh
|
||||||
|
#
|
||||||
|
# start nvr app
|
||||||
@ -19,11 +19,11 @@ export RK_KERNEL_IMG=kernel/arch/arm64/boot/Image
|
|||||||
# kernel image format type: fit(flattened image tree)
|
# kernel image format type: fit(flattened image tree)
|
||||||
export RK_KERNEL_FIT_ITS=boot.its
|
export RK_KERNEL_FIT_ITS=boot.its
|
||||||
# parameter for GPT table
|
# parameter for GPT table
|
||||||
export RK_PARAMETER=parameter-buildroot-fit.txt
|
export RK_PARAMETER=parameter-buildroot-NVR-128M.txt
|
||||||
# Buildroot config
|
# Buildroot config
|
||||||
export RK_CFG_BUILDROOT=rockchip_rk356x_nvr
|
export RK_CFG_BUILDROOT=rockchip_rk356x_nvr
|
||||||
# Recovery config
|
# Recovery config
|
||||||
export RK_CFG_RECOVERY=rockchip_rk356x_recovery
|
export RK_CFG_RECOVERY=rockchip_rk356x_nvr_recovery
|
||||||
# Recovery image format type: fit(flattened image tree)
|
# Recovery image format type: fit(flattened image tree)
|
||||||
export RK_RECOVERY_FIT_ITS=boot4recovery.its
|
export RK_RECOVERY_FIT_ITS=boot4recovery.its
|
||||||
# ramboot config
|
# ramboot config
|
||||||
@ -35,7 +35,7 @@ export RK_JOBS=12
|
|||||||
# target chip
|
# target chip
|
||||||
export RK_TARGET_PRODUCT=rk356x
|
export RK_TARGET_PRODUCT=rk356x
|
||||||
# Set rootfs type, including ext2 ext4 squashfs
|
# Set rootfs type, including ext2 ext4 squashfs
|
||||||
export RK_ROOTFS_TYPE=ext4
|
export RK_ROOTFS_TYPE=squashfs
|
||||||
# yocto machine
|
# yocto machine
|
||||||
export RK_YOCTO_MACHINE=rockchip-rk3568-evb
|
export RK_YOCTO_MACHINE=rockchip-rk3568-evb
|
||||||
# rootfs image path
|
# rootfs image path
|
||||||
@ -47,11 +47,11 @@ export RK_OEM_FS_TYPE=ext2
|
|||||||
# Set userdata partition type, including ext2, fat
|
# Set userdata partition type, including ext2, fat
|
||||||
export RK_USERDATA_FS_TYPE=ext2
|
export RK_USERDATA_FS_TYPE=ext2
|
||||||
#OEM config
|
#OEM config
|
||||||
export RK_OEM_DIR=oem_normal
|
export RK_OEM_DIR=oem_nvr
|
||||||
# OEM build on buildroot
|
# OEM build on buildroot
|
||||||
#export RK_OEM_BUILDIN_BUILDROOT=YES
|
#export RK_OEM_BUILDIN_BUILDROOT=YES
|
||||||
#userdata config
|
#userdata config
|
||||||
export RK_USERDATA_DIR=userdata_normal
|
export RK_USERDATA_DIR=userdata_empty
|
||||||
#misc image
|
#misc image
|
||||||
export RK_MISC=wipe_all-misc.img
|
export RK_MISC=wipe_all-misc.img
|
||||||
#choose enable distro module
|
#choose enable distro module
|
||||||
|
|||||||
12
rk356x/parameter-buildroot-NVR-128M.txt
Normal file
12
rk356x/parameter-buildroot-NVR-128M.txt
Normal file
@ -0,0 +1,12 @@
|
|||||||
|
FIRMWARE_VER: 1.0
|
||||||
|
MACHINE_MODEL: RK3568
|
||||||
|
MACHINE_ID: 007
|
||||||
|
MANUFACTURER: RK3568
|
||||||
|
MAGIC: 0x5041524B
|
||||||
|
ATAG: 0x00200800
|
||||||
|
MACHINE: 0xffffffff
|
||||||
|
CHECK_MASK: 0x80
|
||||||
|
PWR_HLD: 0,0,A,0,1
|
||||||
|
TYPE: GPT
|
||||||
|
CMDLINE: mtdparts=rk29xxnand:0x00002000@0x00004000(uboot),0x00000200@0x00006000(misc),0x0000C000@0x00006200(boot),0x0000E000@0x00012200(recovery),0x0000a000@0x00020200(rootfs),0x00003000@0x0002a200(oem),-@0x0002d200(userdata:grow)
|
||||||
|
uuid:rootfs=614e0000-0000-4b53-8000-1d28000054a9
|
||||||
Reference in New Issue
Block a user