summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--target/config/Config.in.cpu10
-rw-r--r--target/config/Config.in.rootfs2
-rw-r--r--target/config/Config.in.runtime1
-rw-r--r--target/linux/config/Config.in.ethernet13
-rw-r--r--target/linux/config/Config.in.serial2
-rw-r--r--target/mips64/kernel/sgi-o23
-rw-r--r--target/mips64/systems/sgi-o212
7 files changed, 43 insertions, 0 deletions
diff --git a/target/config/Config.in.cpu b/target/config/Config.in.cpu
index 6b63b7af0..2a5330a12 100644
--- a/target/config/Config.in.cpu
+++ b/target/config/Config.in.cpu
@@ -795,6 +795,16 @@ config ADK_TARGET_CPU_MIPS_MIPS32R6
depends on ADK_TARGET_ARCH_MIPS
# mips64
+config ADK_TARGET_CPU_MIPS64_MIPS4
+ bool "mips4"
+ select ADK_LINUX_64
+ select ADK_TARGET_SUPPORTS_THREADS
+ select ADK_TARGET_SUPPORTS_LT
+ select ADK_TARGET_SUPPORTS_NPTL
+ select ADK_TARGET_WITH_MMU
+ select ADK_TARGET_ARCH_MIPS_WITH_NAN_LEGACY
+ depends on ADK_TARGET_ARCH_MIPS64
+
config ADK_TARGET_CPU_MIPS64_MIPS64
bool "mips64"
select ADK_LINUX_64
diff --git a/target/config/Config.in.rootfs b/target/config/Config.in.rootfs
index fa145e978..69b87b035 100644
--- a/target/config/Config.in.rootfs
+++ b/target/config/Config.in.rootfs
@@ -20,6 +20,7 @@ config ADK_TARGET_ROOTFS_INITRAMFSPIGGYBACK
ADK_TARGET_ARCH_M68K || \
ADK_TARGET_ARCH_MICROBLAZE || \
ADK_TARGET_ARCH_MIPS || \
+ ADK_TARGET_ARCH_MIPS64 || \
ADK_TARGET_ARCH_PPC || \
ADK_TARGET_ARCH_SH || \
ADK_TARGET_ARCH_SPARC || \
@@ -38,6 +39,7 @@ config ADK_TARGET_ROOTFS_INITRAMFS
ADK_TARGET_ARCH_ARM || \
ADK_TARGET_ARCH_MICROBLAZE || \
ADK_TARGET_ARCH_MIPS || \
+ ADK_TARGET_ARCH_MIPS64 || \
ADK_TARGET_ARCH_PPC || \
ADK_TARGET_ARCH_SH || \
ADK_TARGET_ARCH_SPARC || \
diff --git a/target/config/Config.in.runtime b/target/config/Config.in.runtime
index 08a8c3674..d1e26c97e 100644
--- a/target/config/Config.in.runtime
+++ b/target/config/Config.in.runtime
@@ -319,6 +319,7 @@ config ADK_RUNTIME_CONSOLE_SERIAL_SPEED
|| ADK_TARGET_SIM
default "9600" if ADK_TARGET_SYSTEM_FON_FON2100
default "9600" if ADK_TARGET_SYSTEM_NUMATO_MIMASV2
+ default "9600" if ADK_TARGET_SYSTEM_SGI_O2
default "38400" if ADK_TARGET_SYSTEM_PCENGINES_WRAP
default "38400" if ADK_TARGET_SYSTEM_ANDES_AG101P
default "115200"
diff --git a/target/linux/config/Config.in.ethernet b/target/linux/config/Config.in.ethernet
index e06594932..b63ad6432 100644
--- a/target/linux/config/Config.in.ethernet
+++ b/target/linux/config/Config.in.ethernet
@@ -41,6 +41,9 @@ config ADK_KERNEL_NET_VENDOR_REALTEK
config ADK_KERNEL_NET_VENDOR_MARVELL
bool
+config ADK_KERNEL_NET_VENDOR_SGI
+ bool
+
config ADK_KERNEL_NET_VENDOR_TI
bool
@@ -452,4 +455,14 @@ config ADK_KERNEL_ATL1
help
This driver supports the Atheros/Attansic L1 gigabit ethernet adapter.
+config ADK_KERNEL_SGI_O2MACE_ETH
+ tristate "SGI O2 ethernet driver"
+ select ADK_KERNEL_NET_VENDOR_SGI
+ select ADK_KERNEL_CRC32
+ depends on ADK_TARGET_SYSTEM_SGI_O2
+ default y if ADK_TARGET_SYSTEM_SGI_O2
+ default n
+ help
+ This driver supports the SGI O2 ethernet card.
+
endmenu
diff --git a/target/linux/config/Config.in.serial b/target/linux/config/Config.in.serial
index 83cb5b0e2..86ce914c6 100644
--- a/target/linux/config/Config.in.serial
+++ b/target/linux/config/Config.in.serial
@@ -95,6 +95,7 @@ config ADK_KERNEL_SERIAL_8250
|| ADK_TARGET_SYSTEM_PCENGINES_ALIX \
|| ADK_TARGET_SYSTEM_QEMU_MICROBLAZE_ML605 \
|| ADK_TARGET_SYSTEM_QEMU_MIPS \
+ || ADK_TARGET_SYSTEM_SGI_O2 \
|| ADK_TARGET_SYSTEM_QEMU_NIOS2 \
|| ADK_TARGET_SYSTEM_QEMU_OR1K \
|| ADK_TARGET_SYSTEM_QEMU_PPC_BAMBOO \
@@ -116,6 +117,7 @@ config ADK_KERNEL_SERIAL_8250
default y if ADK_TARGET_SYSTEM_PCENGINES_ALIX
default y if ADK_TARGET_SYSTEM_QEMU_MICROBLAZE_ML605
default y if ADK_TARGET_SYSTEM_QEMU_MIPS
+ default y if ADK_TARGET_SYSTEM_SGI_O2
default y if ADK_TARGET_SYSTEM_QEMU_NIOS2
default y if ADK_TARGET_SYSTEM_QEMU_OR1K
default y if ADK_TARGET_SYSTEM_QEMU_PPC_BAMBOO
diff --git a/target/mips64/kernel/sgi-o2 b/target/mips64/kernel/sgi-o2
new file mode 100644
index 000000000..3f4e4794d
--- /dev/null
+++ b/target/mips64/kernel/sgi-o2
@@ -0,0 +1,3 @@
+CONFIG_SGI_IP32=y
+CONFIG_MIPS32_O32=y
+CONFIG_MIPS32_N32=y
diff --git a/target/mips64/systems/sgi-o2 b/target/mips64/systems/sgi-o2
new file mode 100644
index 000000000..c22952aa5
--- /dev/null
+++ b/target/mips64/systems/sgi-o2
@@ -0,0 +1,12 @@
+config ADK_TARGET_SYSTEM_SGI_O2
+ bool "SGI O2"
+ depends on ADK_TARGET_BIG_ENDIAN
+ select ADK_TARGET_CPU_MIPS64_MIPS4
+ select ADK_TARGET_WITH_SERIAL
+ select ADK_TARGET_WITH_NET
+ select ADK_TARGET_WITH_NETDEVICE
+ select ADK_TARGET_WITH_BLOCK
+ select ADK_TARGET_KERNEL_WITH_COMPRESSION
+ help
+ Support for SGI O2.
+