Merge "rk312x: add debian_BoardConfig.mk and fixed parameter-debian.txt"
This commit is contained in:
48
rk3128/BoardConfig_debian.mk
Normal file
48
rk3128/BoardConfig_debian.mk
Normal file
@ -0,0 +1,48 @@
|
||||
#!/bin/bash
|
||||
|
||||
# Target arch
|
||||
export RK_ARCH=arm
|
||||
# Uboot defconfig
|
||||
export RK_UBOOT_DEFCONFIG=rk3128
|
||||
# Trust ini config
|
||||
export RK_TRUST_INI_CONFIG=RK3126TOS_LADDR.ini
|
||||
# Uboot size
|
||||
export RK_UBOOT_SIZE_CONFIG=1024\ 2
|
||||
# Trust size
|
||||
export RK_TRUST_SIZE_CONFIG=1024\ 2
|
||||
# Kernel defconfig
|
||||
export RK_KERNEL_DEFCONFIG=rockchip_linux_defconfig
|
||||
# Kernel dts
|
||||
export RK_KERNEL_DTS=rk3128-fireprime
|
||||
# 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-debian.txt
|
||||
# Buildroot config
|
||||
export RK_CFG_BUILDROOT=rockchip_rk312x
|
||||
# Recovery config
|
||||
export RK_CFG_RECOVERY=rockchip_rk312x_recovery
|
||||
# Pcba config
|
||||
export RK_CFG_PCBA=rockchip_rk3128_pcba
|
||||
# Build jobs
|
||||
export RK_JOBS=12
|
||||
# target chip
|
||||
export RK_TARGET_PRODUCT=rk3128
|
||||
# Set rootfs type, including ext2 ext4 squashfs
|
||||
export RK_ROOTFS_TYPE=squashfs
|
||||
# rootfs image path
|
||||
export RK_ROOTFS_IMG=rockdev/rootfs.${RK_ROOTFS_TYPE}
|
||||
# rootfs system
|
||||
export RK_ROOTFS_SYSTEM=debian
|
||||
# Set oem partition type, including ext2 squashfs
|
||||
export RK_OEM_FS_TYPE=ext2
|
||||
# Set userdata partition type, including ext2, fat
|
||||
export RK_USERDATA_FS_TYPE=ext2
|
||||
#OEM config
|
||||
export RK_OEM_DIR=oem_normal
|
||||
#userdata config
|
||||
export RK_USERDATA_DIR=userdata_normal
|
||||
#misc image
|
||||
export RK_MISC=wipe_all-misc.img
|
||||
@ -8,5 +8,7 @@ MACHINE: 3128
|
||||
CHECK_MASK: 0x80
|
||||
PWR_HLD: 0,0,A,0,1
|
||||
TYPE: GPT
|
||||
CMDLINE: mtdparts=rk29xxnand:0x00002000@0x00004000(uboot),0x00002000@0x00006000(trust),0x00002000@0x00008000(misc),0x00010000@0x0000a000(boot),0x00010000@0x0001a000(recovery),0x00010000@0x0002a000(backup),0x00020000@0x0003a000(oem),0x00100000@0x0005a000(rootfs),-@0x0015a000(userdata:grow)
|
||||
CMDLINE: mtdparts=rk29xxnand:0x00001000@0x00002000(uboot),0x00001000@0x00003000(trust),0x00000800@0x00004000(misc),0x00004000@0x00004800(boot),0x00007000@0x00008800(recovery),0x0000A000@0x0000F800(oem),0x00708000@0x00019800(rootfs),-@0x00721800(userdata:grow)
|
||||
uuid:rootfs=614e0000-0000-4b53-8000-1d28000054a9
|
||||
# partition size default
|
||||
# 2MB(uboot),2MB(trust),1MB(misc),8MB(boot),14MB(recovery),20MB(oem),3600MB(rootfs),-(userdata)
|
||||
|
||||
Reference in New Issue
Block a user