mirror of
https://github.com/openwrt/openwrt.git
synced 2024-11-23 18:05:20 +08:00
7fcb82665e
Add target for Loongson LoongArch64-based boards. LoongArch is a new RISC ISA developed by Loongson. It's a bit like MIPS or RISC-V. LoongArch includes both 32-bit and 64-bit versions (LoongArch32/LoongArch64). Loongson 3A5000 and 3A6000 are the two existing CPUs of LoongArch64 and is used for PC products. It's BIOS supports ACPI and UEFI-only boot. These CPUs supports SMP and SMT. At present only LoongArch64 is supported by linux kernel. Toolchain requirement: binutils >= 2.40 gcc >= 13.1 For details, please check the following links: https://lwn.net/Articles/861951/ https://loongson.github.io/LoongArch-Documentation/README-EN.html Signed-off-by: Weijie Gao <hackpascal@gmail.com>
243 lines
2.8 KiB
Plaintext
243 lines
2.8 KiB
Plaintext
source "tmp/.config-target.in"
|
|
|
|
# Kernel/Hardware features
|
|
|
|
config HAS_TESTING_KERNEL
|
|
bool
|
|
|
|
config HAS_SPE_FPU
|
|
depends on powerpc
|
|
select HAS_FPU
|
|
bool
|
|
|
|
config HAS_FPU
|
|
bool
|
|
|
|
config HAS_DT_OVERLAY_SUPPORT
|
|
bool
|
|
|
|
config AUDIO_SUPPORT
|
|
bool
|
|
|
|
config GPIO_SUPPORT
|
|
bool
|
|
|
|
config PCI_SUPPORT
|
|
select AUDIO_SUPPORT
|
|
bool
|
|
|
|
config PCIE_SUPPORT
|
|
bool
|
|
|
|
config PCMCIA_SUPPORT
|
|
bool
|
|
|
|
config PWM_SUPPORT
|
|
bool
|
|
|
|
config USB_SUPPORT
|
|
select AUDIO_SUPPORT
|
|
bool
|
|
|
|
config USB_GADGET_SUPPORT
|
|
bool
|
|
|
|
config RTC_SUPPORT
|
|
bool
|
|
|
|
config BIG_ENDIAN
|
|
bool
|
|
|
|
config USES_DEVICETREE
|
|
bool
|
|
|
|
config USES_INITRAMFS
|
|
bool
|
|
|
|
config USES_SEPARATE_INITRAMFS
|
|
bool
|
|
|
|
config USES_SQUASHFS
|
|
bool
|
|
|
|
config USES_JFFS2
|
|
bool
|
|
|
|
config USES_JFFS2_NAND
|
|
bool
|
|
|
|
config USES_EXT4
|
|
bool
|
|
|
|
config USES_TARGZ
|
|
bool
|
|
|
|
config USES_CPIOGZ
|
|
bool
|
|
|
|
config USES_MINOR
|
|
bool
|
|
|
|
config USES_UBIFS
|
|
bool
|
|
select NAND_SUPPORT
|
|
|
|
config LOW_MEMORY_FOOTPRINT
|
|
bool
|
|
|
|
config SMALL_FLASH
|
|
bool
|
|
|
|
config NOMMU
|
|
bool
|
|
|
|
config HAS_MIPS16
|
|
depends on (mips || mipsel || mips64 || mips64el)
|
|
bool
|
|
|
|
config RFKILL_SUPPORT
|
|
bool
|
|
|
|
config EMMC_SUPPORT
|
|
bool
|
|
|
|
config NAND_SUPPORT
|
|
bool
|
|
|
|
config LEGACY_SDCARD_SUPPORT
|
|
bool
|
|
|
|
config ARCH_64BIT
|
|
bool
|
|
|
|
config VIRTIO_SUPPORT
|
|
bool
|
|
|
|
config USES_ROOTFS_PART
|
|
bool
|
|
|
|
config USES_BOOT_PART
|
|
bool
|
|
|
|
# Architecture selection
|
|
|
|
config aarch64
|
|
select ARCH_64BIT
|
|
bool
|
|
|
|
config aarch64_be
|
|
select ARCH_64BIT
|
|
select BIG_ENDIAN
|
|
bool
|
|
|
|
config arc
|
|
bool
|
|
|
|
config arceb
|
|
select BIG_ENDIAN
|
|
bool
|
|
|
|
config arm
|
|
bool
|
|
|
|
config armeb
|
|
select BIG_ENDIAN
|
|
bool
|
|
|
|
config arm_v6
|
|
bool
|
|
|
|
config arm_v7
|
|
bool
|
|
|
|
config i386
|
|
bool
|
|
|
|
config i686
|
|
bool
|
|
|
|
config loongarch64
|
|
select ARCH_64BIT
|
|
bool
|
|
|
|
config m68k
|
|
bool
|
|
|
|
config mips
|
|
select BIG_ENDIAN
|
|
bool
|
|
|
|
config mipsel
|
|
bool
|
|
|
|
config mips64
|
|
select BIG_ENDIAN
|
|
select ARCH_64BIT
|
|
bool
|
|
|
|
config mips64el
|
|
select ARCH_64BIT
|
|
bool
|
|
|
|
config powerpc
|
|
select BIG_ENDIAN
|
|
bool
|
|
|
|
config powerpc64
|
|
select BIG_ENDIAN
|
|
select ARCH_64BIT
|
|
bool
|
|
|
|
config riscv64
|
|
select ARCH_64BIT
|
|
bool
|
|
|
|
config sh3
|
|
bool
|
|
|
|
config sh3eb
|
|
select BIG_ENDIAN
|
|
bool
|
|
|
|
config sh4
|
|
bool
|
|
|
|
config sh4eb
|
|
select BIG_ENDIAN
|
|
bool
|
|
|
|
config sparc
|
|
select BIG_ENDIAN
|
|
bool
|
|
|
|
config x86_64
|
|
select ARCH_64BIT
|
|
bool
|
|
|
|
config ARCH
|
|
string
|
|
default "aarch64" if aarch64
|
|
default "aarch64_be" if aarch64_be
|
|
default "arc" if arc
|
|
default "arceb" if arceb
|
|
default "arm" if arm
|
|
default "armeb" if armeb
|
|
default "i386" if i386
|
|
default "i686" if i686
|
|
default "loongarch64" if loongarch64
|
|
default "m68k" if m68k
|
|
default "mips" if mips
|
|
default "mipsel" if mipsel
|
|
default "mips64" if mips64
|
|
default "mips64el" if mips64el
|
|
default "powerpc" if powerpc
|
|
default "powerpc64" if powerpc64
|
|
default "riscv64" if riscv64
|
|
default "sh3" if sh3
|
|
default "sh3eb" if sh3eb
|
|
default "sh4" if sh4
|
|
default "sh4eb" if sh4eb
|
|
default "sparc" if sparc
|
|
default "x86_64" if x86_64
|
|
|