Signed-off-by: Weiwen Chen <cww@rock-chips.com> Change-Id: Ibc738f59119f863c24f98748c8d930ac7c20f68f
58 lines
1.7 KiB
Makefile
58 lines
1.7 KiB
Makefile
#!/bin/bash
|
|
|
|
# Target arch
|
|
export RK_ARCH=arm
|
|
# build firmware for spi nor
|
|
export RK_BUILD_SPI_NOR=true
|
|
# Uboot defconfig
|
|
export RK_UBOOT_DEFCONFIG=rv1126-spi-nor-tiny
|
|
# 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-spi-nor.config
|
|
# Kernel dts
|
|
export RK_KERNEL_DTS=rv1126-evb-ddr3-v12-spi-nor
|
|
# export RK_KERNEL_DTS=rv1126-38x38-v10-spi-nor
|
|
# boot image type
|
|
export RK_BOOT_IMG=zboot.img
|
|
# kernel image path
|
|
export RK_KERNEL_IMG=kernel/arch/arm/boot/Image
|
|
# parameter for GPT table
|
|
export RK_PARAMETER=parameter-spi-nor-32M.txt
|
|
# Buildroot config
|
|
export RK_CFG_BUILDROOT=rockchip_rv1126_rv1109_tiny
|
|
# 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=
|
|
#OEM config
|
|
export RK_OEM_DIR=
|
|
#userdata config, if not define this, system will format by RK_USERDATA_FS_TYPE
|
|
export RK_USERDATA_DIR=
|
|
#misc image
|
|
export RK_MISC=
|
|
#choose enable distro module
|
|
export RK_DISTRO_MODULE=
|
|
# Define package-file for Firmware.img
|
|
export RK_PACKAGE_FILE=setting-32M.ini
|