summaryrefslogtreecommitdiff
path: root/target/mips
diff options
context:
space:
mode:
Diffstat (limited to 'target/mips')
-rw-r--r--target/mips/Makefile2
-rw-r--r--target/mips/kernel/qemu-mips1
-rw-r--r--target/mips/kernel/qemu-mips641
-rw-r--r--target/mips/kernel/qemu-mips64el1
-rw-r--r--target/mips/kernel/qemu-mipsel1
-rw-r--r--target/mips/sys-available/lemote-yeelong1
-rw-r--r--target/mips/sys-available/mikrotik-rb5321
-rw-r--r--target/mips/sys-available/qemu-mips4
-rw-r--r--target/mips/sys-available/qemu-mips645
-rw-r--r--target/mips/sys-available/qemu-mips64el5
-rw-r--r--target/mips/sys-available/qemu-mips64eln3212
-rw-r--r--target/mips/sys-available/qemu-mips64eln6412
-rw-r--r--target/mips/sys-available/qemu-mips64n3213
-rw-r--r--target/mips/sys-available/qemu-mips64n6413
-rw-r--r--target/mips/sys-available/qemu-mipsel4
-rw-r--r--target/mips/sys-available/toolchain-mips6
-rw-r--r--target/mips/sys-available/toolchain-mips642
-rw-r--r--target/mips/sys-available/toolchain-mips64el2
-rw-r--r--target/mips/sys-available/toolchain-mips64eln322
-rw-r--r--target/mips/sys-available/toolchain-mips64eln642
-rw-r--r--target/mips/sys-available/toolchain-mips64n322
-rw-r--r--target/mips/sys-available/toolchain-mips64n642
-rw-r--r--target/mips/sys-available/toolchain-mipsel6
-rw-r--r--target/mips/target.mk1
24 files changed, 74 insertions, 27 deletions
diff --git a/target/mips/Makefile b/target/mips/Makefile
index 436b570e3..bd3a763b6 100644
--- a/target/mips/Makefile
+++ b/target/mips/Makefile
@@ -101,7 +101,7 @@ ifneq ($(ADK_HARDWARE_QEMU),)
@cp $(KERNEL) $(FW_DIR)/$(TARGET_KERNEL)
@echo 'The kernel file is: $(FW_DIR)/${TARGET_KERNEL}'
@echo "Use following command to create a QEMU Image:"
- @echo "./scripts/create.sh +g qemu-${CPU_ARCH}.img $(FW_DIR)/$(ROOTFSTARBALL)"
+ @echo "./scripts/create.sh qemu-${CPU_ARCH}.img $(FW_DIR)/$(ROOTFSTARBALL)"
@echo "Start qemu with following options:"
@echo 'qemu-system-${CPU_ARCH} -nographic -M malta -device e1000,netdev=adk0 -netdev user,id=adk0 -kernel $(FW_DIR)/$(TARGET_KERNEL) qemu-${CPU_ARCH}.img'
endif
diff --git a/target/mips/kernel/qemu-mips b/target/mips/kernel/qemu-mips
index 3f06298bf..d3129fbda 100644
--- a/target/mips/kernel/qemu-mips
+++ b/target/mips/kernel/qemu-mips
@@ -2,7 +2,6 @@ CONFIG_MIPS=y
CONFIG_MIPS_MALTA=y
CONFIG_MIPS_BONITO64=y
CONFIG_MIPS_MSC=y
-CONFIG_CPU_BIG_ENDIAN=y
CONFIG_CPU_MIPS32_R1=y
CONFIG_PAGE_SIZE_4KB=y
CONFIG_PCI=y
diff --git a/target/mips/kernel/qemu-mips64 b/target/mips/kernel/qemu-mips64
index 5ceba460c..3a1be029e 100644
--- a/target/mips/kernel/qemu-mips64
+++ b/target/mips/kernel/qemu-mips64
@@ -1,6 +1,5 @@
CONFIG_MIPS=y
CONFIG_MIPS_MALTA=y
-CONFIG_CPU_BIG_ENDIAN=y
CONFIG_CPU_MIPS64_R1=y
CONFIG_PAGE_SIZE_4KB=y
CONFIG_PCI=y
diff --git a/target/mips/kernel/qemu-mips64el b/target/mips/kernel/qemu-mips64el
index 383b7f160..40192aff2 100644
--- a/target/mips/kernel/qemu-mips64el
+++ b/target/mips/kernel/qemu-mips64el
@@ -1,6 +1,5 @@
CONFIG_MIPS=y
CONFIG_MIPS_MALTA=y
-CONFIG_CPU_LITTLE_ENDIAN=y
CONFIG_CPU_MIPS64_R1=y
CONFIG_PAGE_SIZE_4KB=y
CONFIG_PCI=y
diff --git a/target/mips/kernel/qemu-mipsel b/target/mips/kernel/qemu-mipsel
index e16f008b7..d3129fbda 100644
--- a/target/mips/kernel/qemu-mipsel
+++ b/target/mips/kernel/qemu-mipsel
@@ -2,7 +2,6 @@ CONFIG_MIPS=y
CONFIG_MIPS_MALTA=y
CONFIG_MIPS_BONITO64=y
CONFIG_MIPS_MSC=y
-CONFIG_CPU_LITTLE_ENDIAN=y
CONFIG_CPU_MIPS32_R1=y
CONFIG_PAGE_SIZE_4KB=y
CONFIG_PCI=y
diff --git a/target/mips/sys-available/lemote-yeelong b/target/mips/sys-available/lemote-yeelong
index af58ff019..0a6fd9c32 100644
--- a/target/mips/sys-available/lemote-yeelong
+++ b/target/mips/sys-available/lemote-yeelong
@@ -12,6 +12,7 @@ config ADK_TARGET_SYSTEM_LEMOTE_YEELONG
select ADK_TARGET_WITH_RTC
select ADK_TARGET_WITH_HDD
select ADK_TARGET_WITH_PCI
+ select ADK_TARGET_WITH_ROOT_RW
select ADK_TARGET_KERNEL_VMLINUZ
help
System profile for Lemote Yeelong laptop.
diff --git a/target/mips/sys-available/mikrotik-rb532 b/target/mips/sys-available/mikrotik-rb532
index b787a3852..96ca4d46d 100644
--- a/target/mips/sys-available/mikrotik-rb532
+++ b/target/mips/sys-available/mikrotik-rb532
@@ -5,7 +5,6 @@ config ADK_TARGET_SYSTEM_MIKROTIK_RB532
select ADK_mikrotik_rb532
select ADK_TARGET_WITH_MINIPCI
select ADK_TARGET_WITH_WATCHDOG
- select ADK_TARGET_WITH_CF
select ADK_TARGET_WITH_NAND
select ADK_TARGET_WITH_LEDS
depends on ADK_BROKEN
diff --git a/target/mips/sys-available/qemu-mips b/target/mips/sys-available/qemu-mips
index 98aaf8a02..d3ea99011 100644
--- a/target/mips/sys-available/qemu-mips
+++ b/target/mips/sys-available/qemu-mips
@@ -1,10 +1,10 @@
config ADK_TARGET_SYSTEM_QEMU_MIPS
- bool "Qemu Emulator (big endian)"
+ bool "Qemu Emulator (mips32 big endian)"
select ADK_mips
select ADK_big
select ADK_qemu_mips
select ADK_HARDWARE_QEMU
select ADK_TARGET_KERNEL_VMLINUZ
help
- Qemu support for mips big endian architecture.
+ Qemu support for mips32 big endian architecture.
diff --git a/target/mips/sys-available/qemu-mips64 b/target/mips/sys-available/qemu-mips64
index 10da0835c..ce9c5b0fa 100644
--- a/target/mips/sys-available/qemu-mips64
+++ b/target/mips/sys-available/qemu-mips64
@@ -1,12 +1,13 @@
config ADK_TARGET_SYSTEM_QEMU_MIPS64
- bool "Qemu Emulator (mips64 big endian)"
+ bool "Qemu Emulator (mips64 big endian o32 abi)"
select ADK_mips
select ADK_big
+ select ADK_o32
select ADK_qemu_mips64
select ADK_CPU_MIPS64
select ADK_LINUX_64
select ADK_HARDWARE_QEMU
select ADK_TARGET_KERNEL_VMLINUZ
help
- Qemu support for mips64 big endian architecture.
+ Qemu support for mips64 big endian architecture with o32 abi.
diff --git a/target/mips/sys-available/qemu-mips64el b/target/mips/sys-available/qemu-mips64el
index 82bb7fbf2..067d0d6ed 100644
--- a/target/mips/sys-available/qemu-mips64el
+++ b/target/mips/sys-available/qemu-mips64el
@@ -1,11 +1,12 @@
config ADK_TARGET_SYSTEM_QEMU_MIPS64EL
- bool "Qemu Emulator (mips64 little endian)"
+ bool "Qemu Emulator (mips64 little endian o32 abi)"
select ADK_mips
select ADK_little
+ select ADK_o32
select ADK_qemu_mips64el
select ADK_CPU_MIPS64
select ADK_LINUX_64
select ADK_HARDWARE_QEMU
select ADK_TARGET_KERNEL_VMLINUZ
help
- Qemu support for mips64 little endian architecture.
+ Qemu support for mips64 little endian architecture with o32 abi.
diff --git a/target/mips/sys-available/qemu-mips64eln32 b/target/mips/sys-available/qemu-mips64eln32
new file mode 100644
index 000000000..31c93b75c
--- /dev/null
+++ b/target/mips/sys-available/qemu-mips64eln32
@@ -0,0 +1,12 @@
+config ADK_TARGET_SYSTEM_QEMU_MIPS64ELN32
+ bool "Qemu Emulator (mips64 little endian n32 abi)"
+ select ADK_mips
+ select ADK_little
+ select ADK_n32
+ select ADK_qemu_mips64el
+ select ADK_CPU_MIPS64
+ select ADK_LINUX_64
+ select ADK_HARDWARE_QEMU
+ select ADK_TARGET_KERNEL_VMLINUZ
+ help
+ Qemu support for mips64 little endian architecture with n32 abi.
diff --git a/target/mips/sys-available/qemu-mips64eln64 b/target/mips/sys-available/qemu-mips64eln64
new file mode 100644
index 000000000..0f0697602
--- /dev/null
+++ b/target/mips/sys-available/qemu-mips64eln64
@@ -0,0 +1,12 @@
+config ADK_TARGET_SYSTEM_QEMU_MIPS64ELN64
+ bool "Qemu Emulator (mips64 little endian n64 abi)"
+ select ADK_mips
+ select ADK_little
+ select ADK_n64
+ select ADK_qemu_mips64el
+ select ADK_CPU_MIPS64
+ select ADK_LINUX_64
+ select ADK_HARDWARE_QEMU
+ select ADK_TARGET_KERNEL_VMLINUZ
+ help
+ Qemu support for mips64 little endian architecture with n64 abi.
diff --git a/target/mips/sys-available/qemu-mips64n32 b/target/mips/sys-available/qemu-mips64n32
new file mode 100644
index 000000000..614edde0b
--- /dev/null
+++ b/target/mips/sys-available/qemu-mips64n32
@@ -0,0 +1,13 @@
+config ADK_TARGET_SYSTEM_QEMU_MIPS64N32
+ bool "Qemu Emulator (mips64 big endian n32 abi)"
+ select ADK_mips
+ select ADK_big
+ select ADK_n32
+ select ADK_qemu_mips64
+ select ADK_CPU_MIPS64
+ select ADK_LINUX_64
+ select ADK_HARDWARE_QEMU
+ select ADK_TARGET_KERNEL_VMLINUZ
+ help
+ Qemu support for mips64 big endian architecture with n32 abi.
+
diff --git a/target/mips/sys-available/qemu-mips64n64 b/target/mips/sys-available/qemu-mips64n64
new file mode 100644
index 000000000..49ad7bba8
--- /dev/null
+++ b/target/mips/sys-available/qemu-mips64n64
@@ -0,0 +1,13 @@
+config ADK_TARGET_SYSTEM_QEMU_MIPS64N64
+ bool "Qemu Emulator (mips64 big endian n64 abi)"
+ select ADK_mips
+ select ADK_big
+ select ADK_n64
+ select ADK_qemu_mips64
+ select ADK_CPU_MIPS64
+ select ADK_LINUX_64
+ select ADK_HARDWARE_QEMU
+ select ADK_TARGET_KERNEL_VMLINUZ
+ help
+ Qemu support for mips64 big endian architecture with n64 abi.
+
diff --git a/target/mips/sys-available/qemu-mipsel b/target/mips/sys-available/qemu-mipsel
index 7163ae120..688471d6d 100644
--- a/target/mips/sys-available/qemu-mipsel
+++ b/target/mips/sys-available/qemu-mipsel
@@ -1,10 +1,10 @@
config ADK_TARGET_SYSTEM_QEMU_MIPSEL
- bool "Qemu Emulator (little endian)"
+ bool "Qemu Emulator (mips32 little endian)"
select ADK_mips
select ADK_qemu_mipsel
select ADK_little
select ADK_HARDWARE_QEMU
select ADK_TARGET_KERNEL_VMLINUZ
help
- Qemu support for mips little endian architecture.
+ Qemu support for mips32 little endian architecture.
diff --git a/target/mips/sys-available/toolchain-mips b/target/mips/sys-available/toolchain-mips
index 9e93cfdcd..7c7e1c142 100644
--- a/target/mips/sys-available/toolchain-mips
+++ b/target/mips/sys-available/toolchain-mips
@@ -1,10 +1,10 @@
config ADK_TARGET_SYSTEM_TOOLCHAIN_MIPS
- bool "Toolchain only (big endian)"
+ bool "Toolchain only (mips32 big endian)"
select ADK_mips
select ADK_big
select ADK_toolchain_mips
select ADK_TOOLCHAIN
- select ADK_TARGET_PACKAGE_TGZ
+ select ADK_TARGET_PACKAGE_TXZ
help
- MIPS toolchain.
+ MIPS32 big endian toolchain.
diff --git a/target/mips/sys-available/toolchain-mips64 b/target/mips/sys-available/toolchain-mips64
index e9ea69170..f1cc555a2 100644
--- a/target/mips/sys-available/toolchain-mips64
+++ b/target/mips/sys-available/toolchain-mips64
@@ -7,6 +7,6 @@ config ADK_TARGET_SYSTEM_TOOLCHAIN_MIPS64
select ADK_CPU_MIPS64
select ADK_LINUX_64
select ADK_TOOLCHAIN
- select ADK_TARGET_PACKAGE_TGZ
+ select ADK_TARGET_PACKAGE_TXZ
help
MIPS64 big endian o32 ABI toolchain.
diff --git a/target/mips/sys-available/toolchain-mips64el b/target/mips/sys-available/toolchain-mips64el
index 0d54692ee..7aa82f05d 100644
--- a/target/mips/sys-available/toolchain-mips64el
+++ b/target/mips/sys-available/toolchain-mips64el
@@ -7,6 +7,6 @@ config ADK_TARGET_SYSTEM_TOOLCHAIN_MIPS64EL
select ADK_CPU_MIPS64
select ADK_LINUX_64
select ADK_TOOLCHAIN
- select ADK_TARGET_PACKAGE_TGZ
+ select ADK_TARGET_PACKAGE_TXZ
help
MIPS64 little endian o32 ABI toolchain.
diff --git a/target/mips/sys-available/toolchain-mips64eln32 b/target/mips/sys-available/toolchain-mips64eln32
index 9c0f44381..96f409ba6 100644
--- a/target/mips/sys-available/toolchain-mips64eln32
+++ b/target/mips/sys-available/toolchain-mips64eln32
@@ -7,6 +7,6 @@ config ADK_TARGET_SYSTEM_TOOLCHAIN_MIPS64ELN32
select ADK_CPU_MIPS64
select ADK_LINUX_64
select ADK_TOOLCHAIN
- select ADK_TARGET_PACKAGE_TGZ
+ select ADK_TARGET_PACKAGE_TXZ
help
MIPS64 little endian n32 ABI toolchain.
diff --git a/target/mips/sys-available/toolchain-mips64eln64 b/target/mips/sys-available/toolchain-mips64eln64
index 2795598d8..f28b14997 100644
--- a/target/mips/sys-available/toolchain-mips64eln64
+++ b/target/mips/sys-available/toolchain-mips64eln64
@@ -7,6 +7,6 @@ config ADK_TARGET_SYSTEM_TOOLCHAIN_MIPS64ELN64
select ADK_CPU_MIPS64
select ADK_LINUX_64
select ADK_TOOLCHAIN
- select ADK_TARGET_PACKAGE_TGZ
+ select ADK_TARGET_PACKAGE_TXZ
help
MIPS64 little endian n64 ABI toolchain.
diff --git a/target/mips/sys-available/toolchain-mips64n32 b/target/mips/sys-available/toolchain-mips64n32
index e2acd59b3..1337d3e37 100644
--- a/target/mips/sys-available/toolchain-mips64n32
+++ b/target/mips/sys-available/toolchain-mips64n32
@@ -7,6 +7,6 @@ config ADK_TARGET_SYSTEM_TOOLCHAIN_MIPS64N32
select ADK_CPU_MIPS64
select ADK_LINUX_64
select ADK_TOOLCHAIN
- select ADK_TARGET_PACKAGE_TGZ
+ select ADK_TARGET_PACKAGE_TXZ
help
MIPS64 big endian n64 ABI toolchain.
diff --git a/target/mips/sys-available/toolchain-mips64n64 b/target/mips/sys-available/toolchain-mips64n64
index e544008f4..4cb4939e5 100644
--- a/target/mips/sys-available/toolchain-mips64n64
+++ b/target/mips/sys-available/toolchain-mips64n64
@@ -7,6 +7,6 @@ config ADK_TARGET_SYSTEM_TOOLCHAIN_MIPS64N64
select ADK_CPU_MIPS64
select ADK_LINUX_64
select ADK_TOOLCHAIN
- select ADK_TARGET_PACKAGE_TGZ
+ select ADK_TARGET_PACKAGE_TXZ
help
MIPS64 big endian n64 ABI toolchain.
diff --git a/target/mips/sys-available/toolchain-mipsel b/target/mips/sys-available/toolchain-mipsel
index 4c197b808..4032f9d94 100644
--- a/target/mips/sys-available/toolchain-mipsel
+++ b/target/mips/sys-available/toolchain-mipsel
@@ -1,10 +1,10 @@
config ADK_TARGET_SYSTEM_TOOLCHAIN_MIPSEL
- bool "Toolchain only (little endian)"
+ bool "Toolchain only (mips32 little endian)"
select ADK_mips
select ADK_little
select ADK_toolchain_mipsel
select ADK_TOOLCHAIN
- select ADK_TARGET_PACKAGE_TGZ
+ select ADK_TARGET_PACKAGE_TXZ
help
- MIPS toolchain.
+ MIPS32 little endian toolchain.
diff --git a/target/mips/target.mk b/target/mips/target.mk
index f4864d2cc..8b13be890 100644
--- a/target/mips/target.mk
+++ b/target/mips/target.mk
@@ -1,5 +1,4 @@
include $(TOPDIR)/mk/kernel-ver.mk
ARCH:= mips
CPU_ARCH:= $(ADK_TARGET_CPU_ARCH)
-TARGET_OPTIMIZATION:= -Os -pipe
TARGET_CFLAGS_ARCH:= $(ADK_TARGET_CFLAGS)