mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-22 23:12:32 +00:00
4070e2a64c
This target adds support for the StarFive JH7100 and JH7110 SoCs, based on 6.1, as well as a couple boards equipped with these. Specifications: SoCs: JH7100: - StarFive JH7100 dual-core RISC-V (U74, RC64GC) - additional monitoring (S7) and control (E24) cores - 2Mb L2 cache JH7110: - StarFive JH7110 quad-core RISC-V (U74, RV64GC) - additional monitoring (S7) and control (E24) cores - 2Mb L2 cache Boards: VisionFive1: - JH7100 @ 1GHz - Memory: 8Gb LPDDR4 - 4x USB3.0 - 1x GBit ethernet - AMPak 6236 wifi / bluetooth - audio - powered via USB-C VisionFive2: - JH7110 @ 1.5GHz - Memory: 2/4/8Gb DDR4 - 2x Gbit ethernet - 2x USB3.0 / 2x USB2.0 - eMMC / SDIO - various multimedia input/outputs (MIPI CSI, HDMI, audio) - M.2 key M slot - PoE support - powered via USB-C Installation: Standard SD-card installation via dd-ing the generated image to an SD-card of at least 256Mb. Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu>
229 lines
6.1 KiB
Diff
229 lines
6.1 KiB
Diff
From 537ee9e5bb7b4ebee4ad5a607098c8200af6c261 Mon Sep 17 00:00:00 2001
|
|
From: "shanlong.li" <shanlong.li@starfivetech.com>
|
|
Date: Thu, 18 May 2023 19:27:28 -0700
|
|
Subject: [PATCH 030/122] config: add jh7110 defconfig for test mini
|
|
|
|
add jh7110 defconfig for test mini
|
|
|
|
Signed-off-by: shanlong.li <shanlong.li@starfivetech.com>
|
|
---
|
|
arch/riscv/configs/jh7110_defconfig | 212 ++++++++++++++++++++++++++++
|
|
1 file changed, 212 insertions(+)
|
|
create mode 100755 arch/riscv/configs/jh7110_defconfig
|
|
|
|
--- /dev/null
|
|
+++ b/arch/riscv/configs/jh7110_defconfig
|
|
@@ -0,0 +1,212 @@
|
|
+CONFIG_WERROR=y
|
|
+CONFIG_SYSVIPC=y
|
|
+# CONFIG_CROSS_MEMORY_ATTACH is not set
|
|
+CONFIG_NO_HZ_IDLE=y
|
|
+CONFIG_HIGH_RES_TIMERS=y
|
|
+CONFIG_PSI=y
|
|
+# CONFIG_CPU_ISOLATION is not set
|
|
+CONFIG_IKCONFIG=y
|
|
+CONFIG_IKCONFIG_PROC=y
|
|
+CONFIG_CGROUPS=y
|
|
+CONFIG_CGROUP_SCHED=y
|
|
+CONFIG_CGROUP_PIDS=y
|
|
+CONFIG_CGROUP_CPUACCT=y
|
|
+CONFIG_NAMESPACES=y
|
|
+CONFIG_BLK_DEV_INITRD=y
|
|
+CONFIG_RD_GZIP=y
|
|
+# CONFIG_RD_BZIP2 is not set
|
|
+# CONFIG_RD_LZMA is not set
|
|
+# CONFIG_RD_XZ is not set
|
|
+# CONFIG_RD_LZO is not set
|
|
+# CONFIG_RD_LZ4 is not set
|
|
+CONFIG_EXPERT=y
|
|
+# CONFIG_SYSFS_SYSCALL is not set
|
|
+CONFIG_KCMP=y
|
|
+CONFIG_PERF_EVENTS=y
|
|
+CONFIG_ARCH_STARFIVE=y
|
|
+CONFIG_SOC_STARFIVE=y
|
|
+CONFIG_ERRATA_SIFIVE=y
|
|
+CONFIG_SMP=y
|
|
+# CONFIG_RISCV_ISA_SVPBMT is not set
|
|
+# CONFIG_COMPAT is not set
|
|
+CONFIG_CPU_IDLE=y
|
|
+CONFIG_RISCV_SBI_CPUIDLE=y
|
|
+CONFIG_JUMP_LABEL=y
|
|
+# CONFIG_STACKPROTECTOR is not set
|
|
+CONFIG_MODULES=y
|
|
+CONFIG_MODULE_UNLOAD=y
|
|
+CONFIG_MODULE_COMPRESS_ZSTD=y
|
|
+# CONFIG_BLOCK_LEGACY_AUTOLOAD is not set
|
|
+CONFIG_BLK_WBT=y
|
|
+# CONFIG_BLK_DEBUG_FS is not set
|
|
+CONFIG_PARTITION_ADVANCED=y
|
|
+# CONFIG_MQ_IOSCHED_DEADLINE is not set
|
|
+# CONFIG_MQ_IOSCHED_KYBER is not set
|
|
+CONFIG_IOSCHED_BFQ=y
|
|
+CONFIG_KSM=y
|
|
+# CONFIG_VM_EVENT_COUNTERS is not set
|
|
+CONFIG_NET=y
|
|
+CONFIG_PACKET=y
|
|
+CONFIG_UNIX=y
|
|
+CONFIG_INET=y
|
|
+CONFIG_IP_ADVANCED_ROUTER=y
|
|
+CONFIG_IP_MULTIPLE_TABLES=y
|
|
+CONFIG_INET_DIAG=m
|
|
+# CONFIG_IPV6_SIT is not set
|
|
+CONFIG_IPV6_MULTIPLE_TABLES=y
|
|
+# CONFIG_WIRELESS is not set
|
|
+# CONFIG_ETHTOOL_NETLINK is not set
|
|
+CONFIG_DEVTMPFS=y
|
|
+CONFIG_DEVTMPFS_MOUNT=y
|
|
+# CONFIG_STANDALONE is not set
|
|
+# CONFIG_PREVENT_FIRMWARE_BUILD is not set
|
|
+# CONFIG_FW_LOADER is not set
|
|
+CONFIG_EFI_DISABLE_RUNTIME=y
|
|
+CONFIG_ZRAM=y
|
|
+CONFIG_ZRAM_MEMORY_TRACKING=y
|
|
+CONFIG_BLK_DEV_LOOP=y
|
|
+CONFIG_BLK_DEV_LOOP_MIN_COUNT=1
|
|
+CONFIG_NETDEVICES=y
|
|
+CONFIG_STMMAC_ETH=y
|
|
+CONFIG_DWMAC_DWC_QOS_ETH=y
|
|
+# CONFIG_DWMAC_GENERIC is not set
|
|
+CONFIG_DWMAC_STARFIVE=y
|
|
+CONFIG_MICROCHIP_PHY=y
|
|
+CONFIG_MOTORCOMM_PHY=y
|
|
+# CONFIG_WLAN is not set
|
|
+# CONFIG_INPUT_KEYBOARD is not set
|
|
+# CONFIG_INPUT_MOUSE is not set
|
|
+# CONFIG_SERIO is not set
|
|
+# CONFIG_VT is not set
|
|
+# CONFIG_LEGACY_PTYS is not set
|
|
+# CONFIG_LDISC_AUTOLOAD is not set
|
|
+CONFIG_SERIAL_8250=y
|
|
+# CONFIG_SERIAL_8250_DEPRECATED_OPTIONS is not set
|
|
+# CONFIG_SERIAL_8250_16550A_VARIANTS is not set
|
|
+CONFIG_SERIAL_8250_CONSOLE=y
|
|
+CONFIG_SERIAL_8250_DW=y
|
|
+CONFIG_SERIAL_OF_PLATFORM=y
|
|
+# CONFIG_DEVMEM is not set
|
|
+# CONFIG_RANDOM_TRUST_BOOTLOADER is not set
|
|
+CONFIG_I2C=y
|
|
+# CONFIG_I2C_COMPAT is not set
|
|
+CONFIG_I2C_CHARDEV=y
|
|
+# CONFIG_I2C_HELPER_AUTO is not set
|
|
+CONFIG_I2C_DESIGNWARE_PLATFORM=y
|
|
+# CONFIG_PTP_1588_CLOCK is not set
|
|
+CONFIG_PINCTRL_STARFIVE_JH7110=y
|
|
+CONFIG_GPIOLIB_FASTPATH_LIMIT=128
|
|
+CONFIG_GPIO_SYSFS=y
|
|
+CONFIG_POWER_RESET=y
|
|
+CONFIG_POWER_RESET_GPIO_RESTART=y
|
|
+CONFIG_SENSORS_SFCTEMP=y
|
|
+# CONFIG_HID is not set
|
|
+CONFIG_MMC=y
|
|
+# CONFIG_PWRSEQ_EMMC is not set
|
|
+# CONFIG_PWRSEQ_SIMPLE is not set
|
|
+CONFIG_MMC_DW=y
|
|
+# CONFIG_VIRTIO_MENU is not set
|
|
+CONFIG_CLK_STARFIVE_JH7110_AON=y
|
|
+# CONFIG_VHOST_MENU is not set
|
|
+# CONFIG_IOMMU_SUPPORT is not set
|
|
+CONFIG_BTRFS_FS=y
|
|
+CONFIG_BTRFS_FS_POSIX_ACL=y
|
|
+# CONFIG_DNOTIFY is not set
|
|
+CONFIG_FANOTIFY=y
|
|
+CONFIG_AUTOFS_FS=y
|
|
+CONFIG_VFAT_FS=y
|
|
+CONFIG_FAT_DEFAULT_IOCHARSET="iso8859-15"
|
|
+CONFIG_FAT_DEFAULT_UTF8=y
|
|
+CONFIG_PROC_KCORE=y
|
|
+CONFIG_PROC_CHILDREN=y
|
|
+CONFIG_TMPFS=y
|
|
+CONFIG_TMPFS_POSIX_ACL=y
|
|
+CONFIG_EFIVAR_FS=y
|
|
+# CONFIG_MISC_FILESYSTEMS is not set
|
|
+# CONFIG_NETWORK_FILESYSTEMS is not set
|
|
+CONFIG_NLS_DEFAULT="iso8859-15"
|
|
+CONFIG_NLS_CODEPAGE_437=y
|
|
+CONFIG_NLS_ISO8859_15=y
|
|
+CONFIG_LSM=""
|
|
+CONFIG_CRYPTO_ZSTD=y
|
|
+# CONFIG_RAID6_PQ_BENCHMARK is not set
|
|
+# CONFIG_DEBUG_MISC is not set
|
|
+CONFIG_STRIP_ASM_SYMS=y
|
|
+CONFIG_DEBUG_SECTION_MISMATCH=y
|
|
+# CONFIG_SECTION_MISMATCH_WARN_ONLY is not set
|
|
+CONFIG_DEBUG_FS=y
|
|
+# CONFIG_SLUB_DEBUG is not set
|
|
+CONFIG_PAGE_TABLE_CHECK=y
|
|
+CONFIG_DEBUG_RODATA_TEST=y
|
|
+CONFIG_DEBUG_WX=y
|
|
+CONFIG_SOFTLOCKUP_DETECTOR=y
|
|
+CONFIG_WQ_WATCHDOG=y
|
|
+# CONFIG_SCHED_DEBUG is not set
|
|
+CONFIG_STACKTRACE=y
|
|
+CONFIG_RCU_CPU_STALL_TIMEOUT=60
|
|
+# CONFIG_RCU_TRACE is not set
|
|
+# CONFIG_FTRACE is not set
|
|
+# CONFIG_RUNTIME_TESTING_MENU is not set
|
|
+CONFIG_EXT4_FS=y
|
|
+CONFIG_CPUFREQ_DT_PLATDEV=y
|
|
+CONFIG_CPUFREQ_DT=y
|
|
+CONFIG_CPU_FREQ=y
|
|
+CONFIG_HIBERNATION=y
|
|
+CONFIG_ARCH_HIBERNATION_POSSIBLE=y
|
|
+CONFIG_SWAP=y
|
|
+CONFIG_PCIE_STARFIVE=y
|
|
+CONFIG_PCI_MSI=y
|
|
+CONFIG_PCI=y
|
|
+CONFIG_USB_CDNS3_STARFIVE=y
|
|
+CONFIG_PHY_STARFIVE_JH7110_PCIE=y
|
|
+CONFIG_PHY_STARFIVE_JH7110_USB=y
|
|
+CONFIG_USB_CDNS_SUPPORT=y
|
|
+CONFIG_USB_CDNS3=y
|
|
+CONFIG_USB=y
|
|
+CONFIG_USB_SUPPORT=y
|
|
+CONFIG_VIDEO_STARFIVE_CAMSS=y
|
|
+CONFIG_VIDEO_CADENCE_CSI2RX=y
|
|
+CONFIG_VIDEO_DEV=y
|
|
+CONFIG_V4L_PLATFORM_DRIVERS=y
|
|
+CONFIG_MEDIA_PLATFORM_DRIVERS=y
|
|
+CONFIG_MEDIA_PLATFORM_SUPPORT=y
|
|
+CONFIG_MEDIA_SUPPORT=y
|
|
+CONFIG_PHY_STARFIVE_DPHY_RX=y
|
|
+CONFIG_CRYPTO_DEV_JH7110=y
|
|
+CONFIG_CRYPTO_HW=y
|
|
+CONFIG_CRYPTO=y
|
|
+CONFIG_SND_SOC_JH7110_TDM=y
|
|
+CONFIG_SND_SOC_STARFIVE=y
|
|
+CONFIG_SND_SOC=y
|
|
+CONFIG_SND=y
|
|
+CONFIG_SOUND=y
|
|
+CONFIG_DW_AXI_DMAC=y
|
|
+CONFIG_DMADEVICES=y
|
|
+CONFIG_HAS_IOMEM=y
|
|
+CONFIG_PWM_STARFIVE_PTC=y
|
|
+CONFIG_PWM=y
|
|
+CONFIG_STARFIVE_TIMER=y
|
|
+CONFIG_SECTION_MISMATCH_WARN_ONLY=y
|
|
+CONFIG_GENERIC_CLOCKEVENTS=y
|
|
+CONFIG_STARFIVE_WATCHDOG=y
|
|
+CONFIG_WATCHDOG=y
|
|
+CONFIG_HW_RANDOM_JH7110=y
|
|
+CONFIG_HW_RANDOM=y
|
|
+CONFIG_STMMAC_PLATFORM=y
|
|
+CONFIG_SPI_CADENCE_QUADSPI=y
|
|
+CONFIG_SPI_MASTER=y
|
|
+CONFIG_SPI=y
|
|
+CONFIG_MMC_DW_STARFIVE=y
|
|
+CONFIG_CLK_STARFIVE_JH7110_PLL=y
|
|
+CONFIG_CLK_STARFIVE_JH7110_VOUT=y
|
|
+CONFIG_CLK_STARFIVE_JH7110_ISP=y
|
|
+CONFIG_CLK_STARFIVE_JH7110_STG=y
|
|
+CONFIG_JH71XX_PMU=y
|
|
+CONFIG_PM=y
|
|
+CONFIG_PINCTRL_STARFIVE_JH7110_AON=y
|
|
+CONFIG_PINCTRL_STARFIVE_JH7110_SYS=y
|
|
+CONFIG_CLK_STARFIVE_JH7110_AON=y
|
|
+CONFIG_CLK_STARFIVE_JH7110_SYS=y
|
|
+CONFIG_SIFIVE_CCACHE=y
|
|
+CONFIG_CLINT_TIMER=y
|
|
+CONFIG_SIFIVE_PLIC=y
|