GK SDK 源码库: XMIPCLinuxV100R005C00SPC030 (kernel/tools/open_source excluded)
This commit is contained in:
Executable
+118
@@ -0,0 +1,118 @@
|
||||
choice
|
||||
prompt "Chip Type"
|
||||
default XM7206V11A
|
||||
|
||||
config XM7206V11A
|
||||
bool "xm7206v11a"
|
||||
|
||||
config XM7206V10
|
||||
bool "xm7206v10"
|
||||
|
||||
config XM7206V10B
|
||||
bool "xm7206v10b"
|
||||
|
||||
config XM7206V12A
|
||||
bool "xm7206v12a"
|
||||
|
||||
config XM7206V11
|
||||
bool "xm7206v11"
|
||||
|
||||
config XM7206V11AT
|
||||
bool "xm7206v11at"
|
||||
endchoice
|
||||
|
||||
config XMEDIA_CHIP_TYPE
|
||||
string
|
||||
default xm7206v10 if XM7206V10
|
||||
default xm7206v10b if XM7206V10B
|
||||
default xm7206v11a if XM7206V11A
|
||||
default xm7206v12a if XM7206V12A
|
||||
default xm7206v11 if XM7206V11
|
||||
default xm7206v11at if XM7206V11AT
|
||||
|
||||
config XMEDIA_CHIP_ARCH
|
||||
string
|
||||
default xmorca if XM7206V10 || XM7206V10B || XM7206V11A || XM7206V12A || XM7206V11 || XM7206V11AT
|
||||
|
||||
menu "Toolchains Config"
|
||||
|
||||
choice
|
||||
prompt "kernel toolchains"
|
||||
default XMEDIA_KERNEL_ARM_GCC12_2_0_LINUX
|
||||
|
||||
config XMEDIA_KERNEL_ARM_GCC12_2_0_LINUX
|
||||
bool "arm-gcc12.2.0-linux"
|
||||
|
||||
config XMEDIA_KERNEL_AARCH64_GCC12_2_0_LINUX
|
||||
bool "aarch64-gcc12.2.0-linux"
|
||||
|
||||
config XMEDIA_KERNEL_ARM_GCC12_2_0_UCLIBC_LINUX
|
||||
bool "arm-gcc12.2.0-linux-uclibceabi"
|
||||
|
||||
endchoice
|
||||
|
||||
config XMEDIA_KERNEL_ARM_TOOLCHAINS
|
||||
string
|
||||
default arm-gcc12.2.0-linux if XMEDIA_KERNEL_ARM_GCC12_2_0_LINUX
|
||||
default arm-gcc12.2.0-linux-uclibceabi if XMEDIA_KERNEL_ARM_GCC12_2_0_UCLIBC_LINUX
|
||||
default aarch64-gcc12.2.0-linux if XMEDIA_KERNEL_AARCH64_GCC12_2_0_LINUX
|
||||
|
||||
config XMEDIA_CPU_ARCH
|
||||
string
|
||||
default arm if XMEDIA_KERNEL_ARM_GCC12_2_0_LINUX || XMEDIA_KERNEL_ARM_GCC12_2_0_UCLIBC_LINUX
|
||||
default arm64 if XMEDIA_KERNEL_AARCH64_GCC12_2_0_LINUX
|
||||
|
||||
choice
|
||||
prompt "usr 32bit toolchains"
|
||||
default XMEDIA_USR_ARM_GCC12_2_0_LINUX
|
||||
|
||||
config XMEDIA_USR_ARM_GCC12_2_0_LINUX
|
||||
bool "arm-gcc12.2.0-linux"
|
||||
|
||||
config XMEDIA_USR_ARM_GCC12_2_0_UCLIBC_LINUX
|
||||
bool "arm-gcc12.2.0-linux-uclibceabi"
|
||||
|
||||
endchoice
|
||||
|
||||
config XMEDIA_USR_ARM_TOOLCHAINS
|
||||
string
|
||||
default arm-gcc12.2.0-linux if XMEDIA_USR_ARM_GCC12_2_0_LINUX
|
||||
default arm-gcc12.2.0-linux-uclibceabi if XMEDIA_USR_ARM_GCC12_2_0_UCLIBC_LINUX
|
||||
|
||||
choice
|
||||
prompt "usr 64bit toolchains"
|
||||
default XMEDIA_USR_AARCH64_GCC12_2_0_LINUX
|
||||
depends on XMEDIA_KERNEL_AARCH64_GCC12_2_0_LINUX
|
||||
|
||||
config XMEDIA_USR_AARCH64_GCC12_2_0_LINUX
|
||||
bool "aarch64-gcc12.2.0-linux"
|
||||
|
||||
endchoice
|
||||
|
||||
config XMEDIA_USR_AARCH64_TOOLCHAINS
|
||||
string
|
||||
default aarch64-gcc12.2.0-linux if XMEDIA_KERNEL_AARCH64_GCC12_2_0_LINUX
|
||||
depends on XMEDIA_KERNEL_AARCH64_GCC12_2_0_LINUX
|
||||
|
||||
endmenu
|
||||
|
||||
choice
|
||||
prompt "SDK Log Mode"
|
||||
default XMEDIA_SDK_MODE_LOG
|
||||
|
||||
config XMEDIA_SDK_MODE_LOG
|
||||
bool "log"
|
||||
|
||||
config XMEDIA_SDK_MODE_NOLOG
|
||||
bool "nolog"
|
||||
endchoice
|
||||
|
||||
config XMEDIA_SDK_LOG_MODE
|
||||
string
|
||||
default log if XMEDIA_SDK_MODE_LOG
|
||||
default nolog if XMEDIA_SDK_MODE_NOLOG
|
||||
|
||||
config XMEDIA_QUICK_START
|
||||
bool "Support QuickStart"
|
||||
default n
|
||||
|
||||
Executable
+8
@@ -0,0 +1,8 @@
|
||||
source "version_config/config.flash"
|
||||
|
||||
menu "Boot Regfile Config"
|
||||
|
||||
config XMEDIA_BOOT_REG_NAME
|
||||
prompt "Boot Reg File"
|
||||
string
|
||||
endmenu
|
||||
@@ -0,0 +1,52 @@
|
||||
choice
|
||||
prompt "Boot Type"
|
||||
default XMEDIA_UBOOT_SUPPORT
|
||||
|
||||
config XMEDIA_UBOOT_SUPPORT
|
||||
bool "uboot"
|
||||
|
||||
endchoice
|
||||
|
||||
choice
|
||||
prompt "U-boot Version"
|
||||
depends on XMEDIA_UBOOT_SUPPORT
|
||||
default XMEDIA_UBOOT_SUPPORT_2020_01
|
||||
|
||||
config XMEDIA_UBOOT_SUPPORT_2020_01
|
||||
bool "u-boot-2020.01"
|
||||
|
||||
endchoice
|
||||
|
||||
config XMEDIA_UBOOT_VER
|
||||
string
|
||||
default "u-boot-2020.01" if XMEDIA_UBOOT_SUPPORT_2020_01
|
||||
|
||||
config XMEDIA_BOOT_DEFCONFIG
|
||||
prompt "Boot Defconfig"
|
||||
string
|
||||
help
|
||||
Input config file for u-boot. Such as xxxxx_defconfig.
|
||||
Config files are located in u-boot source: u-boot/configs
|
||||
|
||||
config XMEDIA_BOOT_ENV_STARTADDR
|
||||
hex "Environment Variables Partition Start Address"
|
||||
default 0x80000
|
||||
help
|
||||
The start address of the partition you want to save your envioronment variables.
|
||||
It should be alined with blocksize for Nand/Spinand/Spinor.
|
||||
|
||||
config XMEDIA_BOOT_ENV_SIZE
|
||||
hex "Environment Variables Image Size"
|
||||
default 0x40000
|
||||
help
|
||||
The size of the Environment Variables Image. Default value is 64k.
|
||||
|
||||
config XMEDIA_DDR_TRAINING_SUPPORT
|
||||
bool "DDR Training Command Support"
|
||||
default y
|
||||
help
|
||||
Say y here if you want to use DDR training command in boot for testing DDR window.
|
||||
|
||||
menuconfig XMEDIA_BOOT_APP_SUPPORT
|
||||
bool "APP Support"
|
||||
default y
|
||||
@@ -0,0 +1,59 @@
|
||||
config XMEDIA_BUSYBOX_CFG_NAME
|
||||
prompt "Busybox Config File For Root"
|
||||
string
|
||||
default busybox-1_26_2
|
||||
help
|
||||
Input config file for root busybox. Such as xxxxx.config.
|
||||
Config files are located in busybox source: busybox-1.*.1.config/
|
||||
|
||||
config XMEDIA_LIBCPP_SUPPORT
|
||||
bool "C++ Runtime Libarary Support"
|
||||
default y
|
||||
help
|
||||
If you need use C++ libarary, say y here.
|
||||
|
||||
config XMEDIA_ROOTFS_STRIP
|
||||
bool "Enable Strip"
|
||||
default y
|
||||
help
|
||||
Whether strip the root filesystem.
|
||||
If you select strip option, you will get fail when use gdb, because the clib is striped.
|
||||
y - strip /bin /lib /sbin /usr
|
||||
n - not strip
|
||||
|
||||
config XMEDIA_ROOTFS_YAFFS
|
||||
bool "Create Yaffs Rootfs Image"
|
||||
depends on XMEDIA_NAND_SUPPORT || XMEDIA_SPI_NAND_SUPPORT
|
||||
default y
|
||||
|
||||
config XMEDIA_ROOTFS_JFFS2
|
||||
bool "Create Jffs2 Rootfs Image"
|
||||
depends on XMEDIA_SPI_SUPPORT
|
||||
default y
|
||||
|
||||
config XMEDIA_ROOTFS_SQUASHFS
|
||||
bool "Create Squashfs Rootfs Image"
|
||||
default n
|
||||
|
||||
config XMEDIA_ROOTFS_EXT4
|
||||
bool "Create ext4 Rootfs Image"
|
||||
depends on XMEDIA_EMMC_SUPPORT
|
||||
default n
|
||||
|
||||
config XMEDIA_EMMC_ROOTFS_SIZE
|
||||
int "eMMC Rootfs Size"
|
||||
depends on XMEDIA_ROOTFS_EXT4
|
||||
default "32"
|
||||
help
|
||||
eMMC rootfs size, unit is M.
|
||||
|
||||
config XMEDIA_ROOTFS_UBIIMG
|
||||
bool "Create Ubi Rootfs Image"
|
||||
depends on XMEDIA_NAND_SUPPORT || XMEDIA_SPI_NAND_SUPPORT
|
||||
default y
|
||||
|
||||
config XMEDIA_UBI_PARTITION_SIZE
|
||||
string "UBI Rootfs Size"
|
||||
depends on XMEDIA_ROOTFS_UBIIMG
|
||||
default "64M"
|
||||
|
||||
@@ -0,0 +1,31 @@
|
||||
menu "Flash Config"
|
||||
|
||||
menuconfig XMEDIA_NAND_FLASH_SUPPORT
|
||||
bool "Nand Flash support"
|
||||
|
||||
menu "Nand Flash device support"
|
||||
depends on XMEDIA_NAND_FLASH_SUPPORT
|
||||
|
||||
config XMEDIA_NAND_SUPPORT
|
||||
bool "Nand Flash Support"
|
||||
config XMEDIA_SPI_NAND_SUPPORT
|
||||
bool "Spi-Nand Flash Support"
|
||||
endmenu
|
||||
|
||||
menuconfig XMEDIA_SPI_SUPPORT
|
||||
bool "SPI Flash Support"
|
||||
default y
|
||||
help
|
||||
|
||||
config XMEDIA_SPI_BLOCK_SIZE
|
||||
string "Block Size"
|
||||
depends on XMEDIA_SPI_SUPPORT
|
||||
default "64k"
|
||||
help
|
||||
set SPI flash block size.
|
||||
|
||||
config XMEDIA_EMMC_SUPPORT
|
||||
bool "eMMC Flash Support"
|
||||
default n
|
||||
|
||||
endmenu
|
||||
@@ -0,0 +1,48 @@
|
||||
#+++++++++++++++++++++++++++++++++++++++++++++++++++
|
||||
choice
|
||||
prompt "Kernel Version"
|
||||
default XMEDIA_LINUX_5_10_Y
|
||||
|
||||
config XMEDIA_LINUX_5_10_Y
|
||||
bool "linux-5.10.y"
|
||||
|
||||
config XMEDIA_LINUX_4_9_Y
|
||||
bool "linux-4.9.y"
|
||||
|
||||
endchoice
|
||||
|
||||
config XMEDIA_KERNEL_VERSION
|
||||
string
|
||||
default linux-5.10.y if XMEDIA_LINUX_5_10_Y
|
||||
default linux-4.9.y if XMEDIA_LINUX_4_9_Y
|
||||
|
||||
config XMEDIA_KERNEL_SUPPORT_SMP
|
||||
bool "Kernel SMP Support"
|
||||
default y
|
||||
|
||||
config XMEDIA_KERNEL_DEFCONFIG
|
||||
prompt "Kernel Defconfig"
|
||||
string
|
||||
help
|
||||
Input config file for kernel. Such as xxxxx_defconfig.
|
||||
Config files are located in kernel source: arch/arm/configs.
|
||||
|
||||
config XMEDIA_GMP_BUILDIN
|
||||
prompt "Build GMP in Kernel"
|
||||
bool
|
||||
help
|
||||
Say y to build GMP modules in kernel.
|
||||
|
||||
menu "InitRamdisk Config"
|
||||
|
||||
config XMEDIA_TOYBOX_CFG_NAME
|
||||
prompt "Toybox Config File For InitRamdisk"
|
||||
string
|
||||
default toybox-0.8.8
|
||||
help
|
||||
Input config file for initramdisk toybox. Such as xxxxx.config.
|
||||
Config files are located in toybox source: toybox-0.*.*.config
|
||||
|
||||
endmenu
|
||||
|
||||
|
||||
@@ -0,0 +1,11 @@
|
||||
menu "Kernel"
|
||||
source "version_config/config.kernel"
|
||||
endmenu
|
||||
|
||||
menu "Filesystem"
|
||||
source "version_config/config.filesystem"
|
||||
endmenu
|
||||
|
||||
menu "Tools"
|
||||
source "version_config/config.tools"
|
||||
endmenu
|
||||
@@ -0,0 +1,36 @@
|
||||
config XMEDIA_UDEV_SUPPORT
|
||||
bool "Udev Support"
|
||||
default n
|
||||
|
||||
config XMEDIA_DOSFS_SUPPORT
|
||||
bool "Fat32 fsck Support"
|
||||
default n
|
||||
|
||||
config XMEDIA_E2FSPROGS_SUPPORT
|
||||
bool "Ext3/Ext4 format Support"
|
||||
default n
|
||||
|
||||
config XMEDIA_GDB_SUPPORT
|
||||
bool "GDB Support"
|
||||
default n
|
||||
help
|
||||
Customers need to download the source package by themselves.
|
||||
If not, choose this option will result in compile error. Please see the readme in source/rootfs/gdb.
|
||||
default n
|
||||
|
||||
config XMEDIA_MTDUTILS_SUPPORT
|
||||
bool "Ubi/Jffs2 format Support"
|
||||
default n
|
||||
|
||||
config XMEDIA_REG_SUPPORT
|
||||
bool "Read/Write Registers Support"
|
||||
default n
|
||||
|
||||
config XMEDIA_MIITOOLS_SUPPORT
|
||||
bool "Mii ethphy Support"
|
||||
default n
|
||||
|
||||
config XMEDIA_CANTOOLS_SUPPORT
|
||||
bool "CAN Tools Support"
|
||||
default n
|
||||
|
||||
Executable
+17
@@ -0,0 +1,17 @@
|
||||
mainmenu "xmedia SDK Configuration"
|
||||
|
||||
menu "Base"
|
||||
source "version_config/config.base"
|
||||
endmenu
|
||||
|
||||
menu "Board"
|
||||
source "version_config/config.board"
|
||||
endmenu
|
||||
|
||||
menu "Bootloader System"
|
||||
source "version_config/config.bootloader"
|
||||
endmenu
|
||||
|
||||
menu "Linux System"
|
||||
source "version_config/config.system"
|
||||
endmenu
|
||||
Reference in New Issue
Block a user