[LEDE-DEV] [PATCH 1/2] malta: enable be64 and le64 subtargets
Yousong Zhou
yszhou4tech at gmail.com
Mon Aug 15 04:16:02 PDT 2016
Signed-off-by: Yousong Zhou <yszhou4tech at gmail.com>
---
target/linux/malta/Makefile | 2 +-
target/linux/malta/be64/config-default | 7 +++++++
target/linux/malta/be64/target.mk | 1 +
target/linux/malta/config-4.4 | 1 +
target/linux/malta/le64/config-default | 7 +++++++
target/linux/malta/le64/target.mk | 1 +
6 files changed, 18 insertions(+), 1 deletion(-)
diff --git a/target/linux/malta/Makefile b/target/linux/malta/Makefile
index a8663d8..50359c1 100644
--- a/target/linux/malta/Makefile
+++ b/target/linux/malta/Makefile
@@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk
BOARD:=malta
BOARDNAME:=MIPS Malta CoreLV board (qemu)
CPU_TYPE:=24kc
-SUBTARGETS:=le be #le64 be64
+SUBTARGETS:=le be le64 be64
INITRAMFS_EXTRA_FILES:=
MAINTAINER:=Florian Fainelli <florian at openwrt.org>
diff --git a/target/linux/malta/be64/config-default b/target/linux/malta/be64/config-default
index b424c3e..374e29a 100644
--- a/target/linux/malta/be64/config-default
+++ b/target/linux/malta/be64/config-default
@@ -8,6 +8,7 @@ CONFIG_BLOCK_COMPAT=y
CONFIG_COMPAT=y
CONFIG_COMPAT_NETLINK_MESSAGES=y
CONFIG_CPU_BIG_ENDIAN=y
+# CONFIG_LIQUIDIO is not set
# CONFIG_CPU_LITTLE_ENDIAN is not set
# CONFIG_CPU_MIPS32_R1 is not set
# CONFIG_CPU_MIPS32_R2 is not set
@@ -25,6 +26,12 @@ CONFIG_MIPS32_COMPAT=y
CONFIG_MIPS32_N32=y
CONFIG_MIPS32_O32=y
CONFIG_MODULES_USE_ELF_RELA=y
+CONFIG_PCI_BUS_ADDR_T_64BIT=y
+CONFIG_PGTABLE_LEVELS=3
CONFIG_PHYS_ADDR_T_64BIT=y
CONFIG_SYSVIPC_COMPAT=y
CONFIG_SYS_SUPPORTS_HUGETLBFS=y
+# CONFIG_THUNDER_NIC_BGX is not set
+# CONFIG_THUNDER_NIC_PF is not set
+# CONFIG_THUNDER_NIC_VF is not set
+CONFIG_ZONE_DMA32=y
diff --git a/target/linux/malta/be64/target.mk b/target/linux/malta/be64/target.mk
index 96c0b50..7c3a166 100644
--- a/target/linux/malta/be64/target.mk
+++ b/target/linux/malta/be64/target.mk
@@ -1,4 +1,5 @@
ARCH:=mips64
+CPU_TYPE:=mips64
SUBTARGET:=be64
BOARDNAME:=Big Endian (64-bits)
FEATURES:=ramdisk
diff --git a/target/linux/malta/config-4.4 b/target/linux/malta/config-4.4
index c20073b..6786ba7 100644
--- a/target/linux/malta/config-4.4
+++ b/target/linux/malta/config-4.4
@@ -10,6 +10,7 @@ CONFIG_ARCH_MIGHT_HAVE_PC_PARPORT=y
CONFIG_ARCH_MIGHT_HAVE_PC_SERIO=y
CONFIG_ARCH_SUPPORTS_UPROBES=y
CONFIG_ARCH_USE_BUILTIN_BSWAP=y
+CONFIG_ARCH_USE_CMPXCHG_LOCKREF=y
CONFIG_ARCH_WANT_IPC_PARSE_VERSION=y
CONFIG_ATA=y
CONFIG_ATA_PIIX=y
diff --git a/target/linux/malta/le64/config-default b/target/linux/malta/le64/config-default
index 8b5731e..725c3e4 100644
--- a/target/linux/malta/le64/config-default
+++ b/target/linux/malta/le64/config-default
@@ -8,6 +8,7 @@ CONFIG_BLOCK_COMPAT=y
CONFIG_COMPAT=y
CONFIG_COMPAT_NETLINK_MESSAGES=y
# CONFIG_CPU_BIG_ENDIAN is not set
+# CONFIG_LIQUIDIO is not set
CONFIG_CPU_LITTLE_ENDIAN=y
# CONFIG_CPU_MIPS32_R1 is not set
# CONFIG_CPU_MIPS32_R2 is not set
@@ -25,6 +26,12 @@ CONFIG_MIPS32_COMPAT=y
CONFIG_MIPS32_N32=y
CONFIG_MIPS32_O32=y
CONFIG_MODULES_USE_ELF_RELA=y
+CONFIG_PCI_BUS_ADDR_T_64BIT=y
+CONFIG_PGTABLE_LEVELS=3
CONFIG_PHYS_ADDR_T_64BIT=y
CONFIG_SYSVIPC_COMPAT=y
CONFIG_SYS_SUPPORTS_HUGETLBFS=y
+# CONFIG_THUNDER_NIC_BGX is not set
+# CONFIG_THUNDER_NIC_PF is not set
+# CONFIG_THUNDER_NIC_VF is not set
+CONFIG_ZONE_DMA32=y
diff --git a/target/linux/malta/le64/target.mk b/target/linux/malta/le64/target.mk
index badea19..32aaea2 100644
--- a/target/linux/malta/le64/target.mk
+++ b/target/linux/malta/le64/target.mk
@@ -1,4 +1,5 @@
ARCH:=mips64el
+CPU_TYPE:=mips64
SUBTARGET:=le64
BOARDNAME:=Little Endian (64-bits)
FEATURES:=ramdisk
--
2.6.4
More information about the Lede-dev
mailing list