Commit d5294e3f authored by carbon's avatar carbon

reorganize the configuration files of each board

parent 1d878b3d
......@@ -2,43 +2,113 @@ CONFIG_CHIP_cv1800b=y
CONFIG_BOARD_milkv_duo_sd=y
CONFIG_DDR_CFG_ddr2_1333_x16=y
CONFIG_ARCH="riscv"
#
# Compile-time checks and compiler options
#
CONFIG_CROSS_COMPILE="riscv64-unknown-linux-musl-"
CONFIG_CROSS_COMPILE_KERNEL="riscv64-unknown-linux-musl-"
CONFIG_CC_OPTIMIZE_FOR_SIZE=y
CONFIG_KERNEL_ENTRY_HACK=y
CONFIG_KERNEL_ENTRY_HACK_ADDR="0x80200000"
# end of Compile-time checks and compiler options
#
# SDK options
#
CONFIG_TOOLCHAIN_MUSL_RISCV64=y
CONFIG_CROSS_COMPILE_SDK="riscv64-unknown-linux-musl-"
CONFIG_MW_VER="v2"
CONFIG_SDK_VER="musl_riscv64"
CONFIG_BUILD_FOR_DEBUG=y
CONFIG_FLASH_SIZE_SHRINK=y
CONFIG_NO_FB=y
CONFIG_NO_TP=y
CONFIG_DDR_64MB_SIZE=y
CONFIG_BOOT_IMAGE_SINGLE_DTB=y
CONFIG_DDR_64MB_SIZE=y
# end of SDK options
#
# FIP setting
#
CONFIG_FIP_V2=y
# end of FIP setting
#
# Storage settings
#
CONFIG_STORAGE_TYPE_sd=y
CONFIG_SENSOR_TUNING_PARAM_cv180x_src_sms_sc200ai=y
CONFIG_SENSOR_SMS_SC200AI=y
CONFIG_STORAGE_TYPE="sd"
CONFIG_NANDFLASH_BLOCKSIZE=131072
CONFIG_NANDFLASH_PAGESIZE=2048
# end of Storage settings
#
# Sensor settings
#
#
# Sensor support list
#
CONFIG_SENSOR_GCORE_GC2053=y
CONFIG_SENSOR_GCORE_GC2083=y
CONFIG_SENSOR_SMS_SC035HGS=y
CONFIG_SENSOR_GCORE_GC4653=y
CONFIG_SENSOR_OV_OV5647=y
CONFIG_SENSOR_SMS_SC035HGS=y
CONFIG_SENSOR_SMS_SC200AI=y
# end of Sensor support list
#
# Sensor tuning param config
#
#
# src
#
CONFIG_SENSOR_TUNING_PARAM_cv181x_src_gcore_gc4653=y
# end of src
CONFIG_SENSOR_TUNING_PARAM="gcore_gc4653"
# end of Sensor tuning param config
# end of Sensor settings
#
# uboot options
#
CONFIG_USE_DEFAULT_ENV=y
CONFIG_UBOOT_2021_10=y
CONFIG_UBOOT_SRC="u-boot-2021.10"
# end of uboot options
#
# Kernel options
#
CONFIG_KERNEL_SRC_5.10=y
CONFIG_KERNEL_SRC="linux_5.10"
CONFIG_KERNEL_LZMA=y
CONFIG_KERNEL_COMPRESS="lzma"
# end of Kernel options
#
# ROOTFS options
#
CONFIG_SKIP_RAMDISK=y
# CONFIG_ROOTFS_OVERLAYFS is not set
# CONFIG_TARGET_PACKAGE_CVITRACER is not set
# CONFIG_TARGET_PACKAGE_GDBSERVER is not set
# CONFIG_TARGET_PACKAGE_LIBCRYPTO is not set
# CONFIG_TARGET_PACKAGE_LIBZ is not set
# CONFIG_TARGET_PACKAGE_OTASERVER is not set
# CONFIG_TARGET_PACKAGE_RSYSLOG is not set
CONFIG_TARGET_PACKAGE_CRONTABS=y
# CONFIG_TARGET_PACKAGE_GATORD is not set
CONFIG_TARGET_PACKAGE_WIFI=y
CONFIG_BUILDROOT_FS=y
# end of ROOTFS options
#
# Rootfs packages
#
CONFIG_TARGET_PACKAGE_DROPBEAR=y
CONFIG_TARGET_PACKAGE_WIFI=y
CONFIG_TARGET_PACKAGE_CRONTABS=y
CONFIG_TARGET_PACKAGE_NTP=y
# end of Rootfs packages
#
# RTOS options
#
CONFIG_ENABLE_FREERTOS=y
CONFIG_ENABLE_RTOS_DUMP_PRINT=y
CONFIG_DUMP_PRINT_SZ_IDX=17
CONFIG_USE_4K_ERASE_SIZE_FOR_JFFS2=y
CONFIG_USB_OSDRV_CVITEK_GADGET=n
CONFIG_BUILDROOT_FS=y
CONFIG_BUILD_FOR_DEBUG=y
\ No newline at end of file
CONFIG_FAST_IMAGE_TYPE=0
CONFIG_DISABLE_ALIOS=y
# end of RTOS options
......@@ -2,43 +2,115 @@ CONFIG_CHIP_cv1800b=y
CONFIG_BOARD_milkv_duo_spinand=y
CONFIG_DDR_CFG_ddr2_1333_x16=y
CONFIG_ARCH="riscv"
#
# Compile-time checks and compiler options
#
CONFIG_CROSS_COMPILE="riscv64-unknown-linux-musl-"
CONFIG_CROSS_COMPILE_KERNEL="riscv64-unknown-linux-musl-"
CONFIG_CC_OPTIMIZE_FOR_SIZE=y
CONFIG_KERNEL_ENTRY_HACK=y
CONFIG_KERNEL_ENTRY_HACK_ADDR="0x80200000"
# end of Compile-time checks and compiler options
#
# SDK options
#
CONFIG_TOOLCHAIN_MUSL_RISCV64=y
CONFIG_CROSS_COMPILE_SDK="riscv64-unknown-linux-musl-"
CONFIG_MW_VER="v2"
CONFIG_SDK_VER="musl_riscv64"
CONFIG_BUILD_FOR_DEBUG=y
CONFIG_FLASH_SIZE_SHRINK=y
CONFIG_NO_FB=y
CONFIG_NO_TP=y
CONFIG_DDR_64MB_SIZE=y
CONFIG_BOOT_IMAGE_SINGLE_DTB=y
CONFIG_DDR_64MB_SIZE=y
# end of SDK options
#
# FIP setting
#
CONFIG_FIP_V2=y
# end of FIP setting
#
# Storage settings
#
CONFIG_STORAGE_TYPE_spinand=y
CONFIG_SENSOR_TUNING_PARAM_cv180x_src_sms_sc200ai=y
CONFIG_SENSOR_SMS_SC200AI=y
CONFIG_STORAGE_TYPE="spinand"
CONFIG_NANDFLASH_BLOCKSIZE=131072
CONFIG_NANDFLASH_PAGESIZE=2048
# end of Storage settings
#
# Sensor settings
#
#
# Sensor support list
#
CONFIG_SENSOR_GCORE_GC2053=y
CONFIG_SENSOR_GCORE_GC2083=y
CONFIG_SENSOR_SMS_SC035HGS=y
CONFIG_SENSOR_GCORE_GC4653=y
CONFIG_SENSOR_OV_OV5647=y
CONFIG_SENSOR_SMS_SC035HGS=y
CONFIG_SENSOR_SMS_SC200AI=y
# end of Sensor support list
#
# Sensor tuning param config
#
#
# src
#
CONFIG_SENSOR_TUNING_PARAM_cv181x_src_gcore_gc4653=y
# end of src
CONFIG_SENSOR_TUNING_PARAM="gcore_gc4653"
# end of Sensor tuning param config
# end of Sensor settings
#
# uboot options
#
CONFIG_USE_DEFAULT_ENV=y
CONFIG_UBOOT_2021_10=y
CONFIG_UBOOT_SRC="u-boot-2021.10"
# end of uboot options
#
# Kernel options
#
CONFIG_KERNEL_SRC_5.10=y
CONFIG_KERNEL_SRC="linux_5.10"
CONFIG_KERNEL_LZMA=y
CONFIG_KERNEL_COMPRESS="lzma"
# end of Kernel options
#
# ROOTFS options
#
CONFIG_SKIP_RAMDISK=y
# CONFIG_ROOTFS_OVERLAYFS is not set
# CONFIG_TARGET_PACKAGE_CVITRACER is not set
# CONFIG_TARGET_PACKAGE_GDBSERVER is not set
# CONFIG_TARGET_PACKAGE_LIBCRYPTO is not set
# CONFIG_TARGET_PACKAGE_LIBZ is not set
# CONFIG_TARGET_PACKAGE_OTASERVER is not set
# CONFIG_TARGET_PACKAGE_RSYSLOG is not set
CONFIG_TARGET_PACKAGE_CRONTABS=y
# CONFIG_TARGET_PACKAGE_GATORD is not set
CONFIG_TARGET_PACKAGE_WIFI=y
CONFIG_TARGET_PACKAGE_DROPBEAR=y
CONFIG_TARGET_PACKAGE_NTP=y
CONFIG_BUILDROOT_FS=y
CONFIG_USE_4K_ERASE_SIZE_FOR_JFFS2=y
# end of ROOTFS options
#
# RTOS options
#
CONFIG_ENABLE_FREERTOS=y
CONFIG_ENABLE_RTOS_DUMP_PRINT=y
CONFIG_DUMP_PRINT_SZ_IDX=17
CONFIG_USE_4K_ERASE_SIZE_FOR_JFFS2=y
CONFIG_USB_OSDRV_CVITEK_GADGET=n
CONFIG_BUILDROOT_FS=y
CONFIG_BUILD_FOR_DEBUG=y
CONFIG_FAST_IMAGE_TYPE=0
CONFIG_DISABLE_ALIOS=y
# end of RTOS options
#
# Rootfs packages
#
CONFIG_TARGET_PACKAGE_DROPBEAR=y
CONFIG_TARGET_PACKAGE_WIFI=y
CONFIG_TARGET_PACKAGE_CRONTABS=y
CONFIG_TARGET_PACKAGE_NTP=y
# end of Rootfs packages
......@@ -2,43 +2,115 @@ CONFIG_CHIP_cv1800b=y
CONFIG_BOARD_milkv_duo_spinor=y
CONFIG_DDR_CFG_ddr2_1333_x16=y
CONFIG_ARCH="riscv"
#
# Compile-time checks and compiler options
#
CONFIG_CROSS_COMPILE="riscv64-unknown-linux-musl-"
CONFIG_CROSS_COMPILE_KERNEL="riscv64-unknown-linux-musl-"
CONFIG_CC_OPTIMIZE_FOR_SIZE=y
CONFIG_KERNEL_ENTRY_HACK=y
CONFIG_KERNEL_ENTRY_HACK_ADDR="0x80200000"
# end of Compile-time checks and compiler options
#
# SDK options
#
CONFIG_TOOLCHAIN_MUSL_RISCV64=y
CONFIG_CROSS_COMPILE_SDK="riscv64-unknown-linux-musl-"
CONFIG_MW_VER="v2"
CONFIG_SDK_VER="musl_riscv64"
CONFIG_BUILD_FOR_DEBUG=y
CONFIG_FLASH_SIZE_SHRINK=y
CONFIG_NO_FB=y
CONFIG_NO_TP=y
CONFIG_DDR_64MB_SIZE=y
CONFIG_BOOT_IMAGE_SINGLE_DTB=y
CONFIG_DDR_64MB_SIZE=y
# end of SDK options
#
# FIP setting
#
CONFIG_FIP_V2=y
# end of FIP setting
#
# Storage settings
#
CONFIG_STORAGE_TYPE_spinor=y
CONFIG_SENSOR_TUNING_PARAM_cv180x_src_sms_sc200ai=y
CONFIG_SENSOR_SMS_SC200AI=y
CONFIG_STORAGE_TYPE="spinor"
CONFIG_NANDFLASH_BLOCKSIZE=131072
CONFIG_NANDFLASH_PAGESIZE=2048
# end of Storage settings
#
# Sensor settings
#
#
# Sensor support list
#
CONFIG_SENSOR_GCORE_GC2053=y
CONFIG_SENSOR_GCORE_GC2083=y
CONFIG_SENSOR_SMS_SC035HGS=y
CONFIG_SENSOR_GCORE_GC4653=y
CONFIG_SENSOR_OV_OV5647=y
CONFIG_SENSOR_SMS_SC035HGS=y
CONFIG_SENSOR_SMS_SC200AI=y
# end of Sensor support list
#
# Sensor tuning param config
#
#
# src
#
CONFIG_SENSOR_TUNING_PARAM_cv181x_src_gcore_gc4653=y
# end of src
CONFIG_SENSOR_TUNING_PARAM="gcore_gc4653"
# end of Sensor tuning param config
# end of Sensor settings
#
# uboot options
#
CONFIG_USE_DEFAULT_ENV=y
CONFIG_UBOOT_2021_10=y
CONFIG_UBOOT_SRC="u-boot-2021.10"
# end of uboot options
#
# Kernel options
#
CONFIG_KERNEL_SRC_5.10=y
CONFIG_KERNEL_SRC="linux_5.10"
CONFIG_KERNEL_LZMA=y
CONFIG_KERNEL_COMPRESS="lzma"
# end of Kernel options
#
# ROOTFS options
#
CONFIG_SKIP_RAMDISK=y
# CONFIG_ROOTFS_OVERLAYFS is not set
# CONFIG_TARGET_PACKAGE_CVITRACER is not set
# CONFIG_TARGET_PACKAGE_GDBSERVER is not set
# CONFIG_TARGET_PACKAGE_LIBCRYPTO is not set
# CONFIG_TARGET_PACKAGE_LIBZ is not set
# CONFIG_TARGET_PACKAGE_OTASERVER is not set
# CONFIG_TARGET_PACKAGE_RSYSLOG is not set
CONFIG_TARGET_PACKAGE_CRONTABS=y
# CONFIG_TARGET_PACKAGE_GATORD is not set
CONFIG_TARGET_PACKAGE_WIFI=y
CONFIG_TARGET_PACKAGE_DROPBEAR=y
CONFIG_TARGET_PACKAGE_NTP=y
CONFIG_BUILDROOT_FS=y
CONFIG_USE_4K_ERASE_SIZE_FOR_JFFS2=y
# end of ROOTFS options
#
# RTOS options
#
CONFIG_ENABLE_FREERTOS=y
CONFIG_ENABLE_RTOS_DUMP_PRINT=y
CONFIG_DUMP_PRINT_SZ_IDX=17
CONFIG_USE_4K_ERASE_SIZE_FOR_JFFS2=y
CONFIG_USB_OSDRV_CVITEK_GADGET=n
CONFIG_BUILDROOT_FS=y
CONFIG_BUILD_FOR_DEBUG=y
CONFIG_FAST_IMAGE_TYPE=0
CONFIG_DISABLE_ALIOS=y
# end of RTOS options
#
# Rootfs packages
#
CONFIG_TARGET_PACKAGE_DROPBEAR=y
CONFIG_TARGET_PACKAGE_WIFI=y
CONFIG_TARGET_PACKAGE_CRONTABS=y
CONFIG_TARGET_PACKAGE_NTP=y
# end of Rootfs packages
......@@ -2,31 +2,118 @@ CONFIG_CHIP_cv1812cp=y
CONFIG_BOARD_milkv_duo256m_sd=y
CONFIG_DDR_CFG_ddr3_1866_x16=y
CONFIG_ARCH="riscv"
#
# Compile-time checks and compiler options
#
CONFIG_CROSS_COMPILE="riscv64-unknown-linux-musl-"
CONFIG_CROSS_COMPILE_KERNEL="riscv64-unknown-linux-musl-"
CONFIG_CC_OPTIMIZE_FOR_SIZE=y
CONFIG_KERNEL_ENTRY_HACK=y
CONFIG_KERNEL_ENTRY_HACK_ADDR="0x80200000"
# end of Compile-time checks and compiler options
#
# SDK options
#
CONFIG_TOOLCHAIN_MUSL_RISCV64=y
CONFIG_CROSS_COMPILE_SDK="riscv64-unknown-linux-musl-"
CONFIG_MW_VER="v2"
CONFIG_SDK_VER="musl_riscv64"
CONFIG_BUILD_FOR_DEBUG=y
CONFIG_FLASH_SIZE_SHRINK=y
CONFIG_BOOT_IMAGE_SINGLE_DTB=y
# end of SDK options
#
# FIP setting
#
CONFIG_FIP_V2=y
CONFIG_OD_CLK_SEL=y
# end of FIP setting
#
# Storage settings
#
CONFIG_STORAGE_TYPE_sd=y
CONFIG_SENSOR_SONY_IMX327=y
CONFIG_STORAGE_TYPE="sd"
CONFIG_NANDFLASH_BLOCKSIZE=131072
CONFIG_NANDFLASH_PAGESIZE=2048
# end of Storage settings
#
# Sensor settings
#
#
# Sensor support list
#
CONFIG_SENSOR_GCORE_GC2053=y
CONFIG_SENSOR_GCORE_GC2083=y
CONFIG_SENSOR_GCORE_GC4653=y
CONFIG_SENSOR_OV_OV5647=y
CONFIG_SENSOR_SMS_SC035HGS=y
CONFIG_SENSOR_SMS_SC200AI=y
# end of Sensor support list
#
# Sensor tuning param config
#
#
# src
#
CONFIG_SENSOR_TUNING_PARAM_cv181x_src_gcore_gc4653=y
# end of src
CONFIG_SENSOR_TUNING_PARAM="gcore_gc4653"
# end of Sensor tuning param config
# end of Sensor settings
#
# uboot options
#
CONFIG_USE_DEFAULT_ENV=y
CONFIG_UBOOT_2021_10=y
CONFIG_UBOOT_SRC="u-boot-2021.10"
# end of uboot options
#
# Kernel options
#
CONFIG_KERNEL_SRC_5.10=y
CONFIG_KERNEL_SRC="linux_5.10"
CONFIG_KERNEL_LZMA=y
CONFIG_KERNEL_COMPRESS="lzma"
# end of Kernel options
#
# ROOTFS options
#
CONFIG_SKIP_RAMDISK=y
# CONFIG_ROOTFS_OVERLAYFS is not set
CONFIG_BUILDROOT_FS=y
# end of ROOTFS options
#
# Rootfs packages
#
CONFIG_TARGET_PACKAGE_DROPBEAR=y
CONFIG_TARGET_PACKAGE_GDBSERVER=y
CONFIG_TARGET_PACKAGE_LIBCRYPTO=y
CONFIG_TARGET_PACKAGE_LIBZ=y
CONFIG_TARGET_PACKAGE_MTD-UTILS=y
# CONFIG_TARGET_PACKAGE_RSYSLOG is not set
CONFIG_TARGET_PACKAGE_OTASERVER=y
CONFIG_TARGET_PACKAGE_BUSYBOX_SYSLOGD_SCRIPT=y
CONFIG_TARGET_PACKAGE_CRONTABS=y
CONFIG_TARGET_PACKAGE_NTP=y
# end of Rootfs packages
#
# RTOS options
#
CONFIG_ENABLE_FREERTOS=y
CONFIG_ENABLE_RTOS_DUMP_PRINT=y
CONFIG_DUMP_PRINT_SZ_IDX=17
CONFIG_TARGET_PACKAGE_GATORD=n
CONFIG_TARGET_PACKAGE_NTP=y
# CONFIG_TARGET_PACKAGE_WIFI is not set
CONFIG_BUILDROOT_FS=y
CONFIG_FAST_IMAGE_TYPE=0
CONFIG_DISABLE_ALIOS=y
# end of RTOS options
......@@ -2,46 +2,122 @@ CONFIG_CHIP_cv1813h=y
CONFIG_BOARD_milkv_duos_emmc=y
CONFIG_DDR_CFG_ddr3_1866_x16=y
CONFIG_ARCH="riscv"
CONFIG_CROSS_COMPILE="riscv64-unknown-linux-gnu-"
#
# Compile-time checks and compiler options
#
CONFIG_CROSS_COMPILE="riscv64-unknown-linux-musl-"
CONFIG_CROSS_COMPILE_KERNEL="riscv64-unknown-linux-musl-"
CONFIG_CC_OPTIMIZE_FOR_SIZE=y
CONFIG_KERNEL_ENTRY_HACK=y
CONFIG_KERNEL_ENTRY_HACK_ADDR="0x80200000"
# end of Compile-time checks and compiler options
#
# SDK options
#
CONFIG_TOOLCHAIN_MUSL_RISCV64=y
CONFIG_CROSS_COMPILE_SDK="riscv64-unknown-linux-musl-"
CONFIG_MW_VER="v2"
CONFIG_SDK_VER="musl_riscv64"
CONFIG_BUILD_FOR_DEBUG=y
CONFIG_FLASH_SIZE_SHRINK=y
CONFIG_BOOT_IMAGE_SINGLE_DTB=y
# end of SDK options
#
# FIP setting
#
CONFIG_FIP_V2=y
CONFIG_OD_CLK_SEL=y
# end of FIP setting
#
# Storage settings
#
CONFIG_STORAGE_TYPE_emmc=y
CONFIG_SENSOR_GCORE_GC4653=y
CONFIG_STORAGE_TYPE="emmc"
CONFIG_NANDFLASH_BLOCKSIZE=131072
CONFIG_NANDFLASH_PAGESIZE=2048
# end of Storage settings
#
# Sensor settings
#
#
# Sensor support list
#
CONFIG_SENSOR_GCORE_GC2053=y
CONFIG_SENSOR_GCORE_GC2083=y
CONFIG_SENSOR_SMS_SC3335=y
CONFIG_SENSOR_SMS_SC500AI=y
CONFIG_SENSOR_SONY_IMX307=y
CONFIG_SENSOR_SONY_IMX307_2L=y
CONFIG_SENSOR_SONY_IMX307_SLAVE=y
CONFIG_SENSOR_SONY_IMX327=y
CONFIG_SENSOR_SONY_IMX327_2L=y
CONFIG_SENSOR_SONY_IMX327_SLAVE=y
CONFIG_SENSOR_GCORE_GC4653=y
CONFIG_SENSOR_OV_OV5647=y
CONFIG_SENSOR_OV_OS04C10=y
CONFIG_SENSOR_OV_OS04A10=y
CONFIG_SENSOR_SMS_SC035HGS=y
CONFIG_SENSOR_SMS_SC200AI=y
# end of Sensor support list
#
# Sensor tuning param config
#
#
# src
#
CONFIG_SENSOR_TUNING_PARAM_cv181x_src_gcore_gc4653=y
# end of src
CONFIG_SENSOR_TUNING_PARAM="gcore_gc4653"
# end of Sensor tuning param config
# end of Sensor settings
#
# uboot options
#
CONFIG_USE_DEFAULT_ENV=y
CONFIG_UBOOT_2021_10=y
CONFIG_UBOOT_SRC="u-boot-2021.10"
# end of uboot options
#
# Kernel options
#
CONFIG_KERNEL_SRC_5.10=y
CONFIG_KERNEL_SRC="linux_5.10"
CONFIG_KERNEL_LZMA=y
CONFIG_KERNEL_COMPRESS="lzma"
# end of Kernel options
#
# ROOTFS options
#
CONFIG_SKIP_RAMDISK=y
CONFIG_TARGET_PACKAGE_PARTED=y
CONFIG_TARGET_PACKAGE_E2FSPROGS=y
CONFIG_TARGET_PACKAGE_ENVTOOLS=y
# CONFIG_TARGET_PACKAGE_GATORD is not set
CONFIG_SENSOR_TUNING_PARAM_cv181x_src_gcore_gc4653=y
# CONFIG_ROOTFS_OVERLAYFS is not set
CONFIG_TARGET_PACKAGE_DROPBEAR=y
CONFIG_TARGET_PACKAGE_MTD-UTILS=y
# CONFIG_TARGET_PACKAGE_RSYSLOG is not set
CONFIG_TARGET_PACKAGE_BUSYBOX_SYSLOGD_SCRIPT=y
CONFIG_BUILDROOT_FS=y
# end of ROOTFS options
#
# RTOS options
#
CONFIG_ENABLE_FREERTOS=y
CONFIG_ENABLE_RTOS_DUMP_PRINT=y
CONFIG_DUMP_PRINT_SZ_IDX=17
CONFIG_TARGET_PACKAGE_GATORD=n
CONFIG_FAST_IMAGE_TYPE=0
CONFIG_DISABLE_ALIOS=y
# end of RTOS options
#
# Rootfs packages
#
CONFIG_TARGET_PACKAGE_DROPBEAR=y
CONFIG_TARGET_PACKAGE_GDBSERVER=y
CONFIG_TARGET_PACKAGE_LIBCRYPTO=y
CONFIG_TARGET_PACKAGE_LIBZ=y
CONFIG_TARGET_PACKAGE_MTD-UTILS=y
CONFIG_TARGET_PACKAGE_OTASERVER=y
CONFIG_TARGET_PACKAGE_PARTED=y
CONFIG_TARGET_PACKAGE_BUSYBOX_SYSLOGD_SCRIPT=y
CONFIG_TARGET_PACKAGE_CRONTABS=y
CONFIG_TARGET_PACKAGE_E2FSPROGS=y
CONFIG_TARGET_PACKAGE_NTP=y
# CONFIG_TARGET_PACKAGE_WIFI is not set
CONFIG_BUILDROOT_FS=y
CONFIG_TARGET_PACKAGE_ENVTOOLS=y
# end of Rootfs packages
......@@ -2,46 +2,121 @@ CONFIG_CHIP_cv1813h=y
CONFIG_BOARD_milkv_duos_sd=y
CONFIG_DDR_CFG_ddr3_1866_x16=y
CONFIG_ARCH="riscv"
CONFIG_CROSS_COMPILE="riscv64-unknown-linux-gnu-"
#
# Compile-time checks and compiler options
#
CONFIG_CROSS_COMPILE="riscv64-unknown-linux-musl-"
CONFIG_CROSS_COMPILE_KERNEL="riscv64-unknown-linux-musl-"
CONFIG_CC_OPTIMIZE_FOR_SIZE=y
CONFIG_KERNEL_ENTRY_HACK=y
CONFIG_KERNEL_ENTRY_HACK_ADDR="0x80200000"
# end of Compile-time checks and compiler options
#
# SDK options
#
CONFIG_TOOLCHAIN_MUSL_RISCV64=y
CONFIG_CROSS_COMPILE_SDK="riscv64-unknown-linux-musl-"
CONFIG_MW_VER="v2"
CONFIG_SDK_VER="musl_riscv64"
CONFIG_BUILD_FOR_DEBUG=y
CONFIG_FLASH_SIZE_SHRINK=y
CONFIG_BOOT_IMAGE_SINGLE_DTB=y
# end of SDK options
#
# FIP setting
#
CONFIG_FIP_V2=y
CONFIG_OD_CLK_SEL=y
# end of FIP setting
#
# Storage settings
#
CONFIG_STORAGE_TYPE_sd=y
CONFIG_SENSOR_GCORE_GC4653=y
CONFIG_STORAGE_TYPE="sd"
CONFIG_NANDFLASH_BLOCKSIZE=131072
CONFIG_NANDFLASH_PAGESIZE=2048
# end of Storage settings
#
# Sensor settings
#
#
# Sensor support list
#
CONFIG_SENSOR_GCORE_GC2053=y
CONFIG_SENSOR_GCORE_GC2083=y
CONFIG_SENSOR_SMS_SC3335=y
CONFIG_SENSOR_SMS_SC500AI=y
CONFIG_SENSOR_SONY_IMX307=y
CONFIG_SENSOR_SONY_IMX307_2L=y
CONFIG_SENSOR_SONY_IMX307_SLAVE=y
CONFIG_SENSOR_SONY_IMX327=y
CONFIG_SENSOR_SONY_IMX327_2L=y
CONFIG_SENSOR_SONY_IMX327_SLAVE=y
CONFIG_SENSOR_GCORE_GC4653=y
CONFIG_SENSOR_OV_OV5647=y
CONFIG_SENSOR_OV_OS04C10=y
CONFIG_SENSOR_OV_OS04A10=y
CONFIG_SENSOR_SMS_SC035HGS=y
CONFIG_SENSOR_SMS_SC200AI=y
# end of Sensor support list
#
# Sensor tuning param config
#
#
# src
#
CONFIG_SENSOR_TUNING_PARAM_cv181x_src_gcore_gc4653=y
# end of src
CONFIG_SENSOR_TUNING_PARAM="gcore_gc4653"
# end of Sensor tuning param config
# end of Sensor settings
#
# uboot options
#
CONFIG_USE_DEFAULT_ENV=y
CONFIG_UBOOT_2021_10=y
CONFIG_UBOOT_SRC="u-boot-2021.10"
# end of uboot options
#
# Kernel options
#
CONFIG_KERNEL_SRC_5.10=y
CONFIG_KERNEL_SRC="linux_5.10"
CONFIG_KERNEL_LZMA=y
CONFIG_KERNEL_COMPRESS="lzma"
# end of Kernel options
#
# ROOTFS options
#
CONFIG_SKIP_RAMDISK=y
CONFIG_TARGET_PACKAGE_PARTED=y
CONFIG_TARGET_PACKAGE_E2FSPROGS=y
CONFIG_TARGET_PACKAGE_ENVTOOLS=y
# CONFIG_TARGET_PACKAGE_GATORD is not set
CONFIG_SENSOR_TUNING_PARAM_cv181x_src_gcore_gc4653=y
# CONFIG_ROOTFS_OVERLAYFS is not set
CONFIG_TARGET_PACKAGE_DROPBEAR=y
CONFIG_TARGET_PACKAGE_MTD-UTILS=y
# CONFIG_TARGET_PACKAGE_RSYSLOG is not set
CONFIG_TARGET_PACKAGE_BUSYBOX_SYSLOGD_SCRIPT=y
CONFIG_BUILDROOT_FS=y
# end of ROOTFS options
#
# RTOS options
#
CONFIG_ENABLE_FREERTOS=y
CONFIG_ENABLE_RTOS_DUMP_PRINT=y
CONFIG_DUMP_PRINT_SZ_IDX=17
CONFIG_TARGET_PACKAGE_GATORD=n
CONFIG_FAST_IMAGE_TYPE=0
CONFIG_DISABLE_ALIOS=y
# end of RTOS options
#
# Rootfs packages
#
CONFIG_TARGET_PACKAGE_DROPBEAR=y
CONFIG_TARGET_PACKAGE_GDBSERVER=y
CONFIG_TARGET_PACKAGE_LIBCRYPTO=y
CONFIG_TARGET_PACKAGE_LIBZ=y
CONFIG_TARGET_PACKAGE_MTD-UTILS=y
CONFIG_TARGET_PACKAGE_OTASERVER=y
CONFIG_TARGET_PACKAGE_PARTED=y
CONFIG_TARGET_PACKAGE_BUSYBOX_SYSLOGD_SCRIPT=y
CONFIG_TARGET_PACKAGE_CRONTABS=y
CONFIG_TARGET_PACKAGE_E2FSPROGS=y
CONFIG_TARGET_PACKAGE_NTP=y
# CONFIG_TARGET_PACKAGE_WIFI is not set
CONFIG_BUILDROOT_FS=y
CONFIG_TARGET_PACKAGE_ENVTOOLS=y
# end of Rootfs packages
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment