Skip to contentSkip to conversation

MIPS: add mips64 cpu support

PATCH Superseded Zhizhou Zhang 3 participants 20 messages Aug 27, 2012 – Sep 4, 2012 MIPS

v4 of 6 Superseded Latest is v6 →

lore
Share & tools
lore
#0 lore raw

v4 cover MIPS: add mips64 cpu support

This patch add mips64 cpu support.
Changes in V4:
- Add both big-endian and little-endian support
- Remove cache probe
- Add standalone support for mips64
Changes in V3:
- merge related files into one patch, no longer one file one patch.
- add detailed commit message.
- remove standalone example. it's too complicate.

Zhizhou Zhang (4):
MIPS: Add support for MIPS64 cpus
MIPS: change related header files
MIPS: add board qemu-mips64 support
MIPS: add mips64 standalone support

 arch/mips/cpu/mips64/Makefile       |   46 +++++++
 arch/mips/cpu/mips64/cache.S        |  229 +++++++++++++++++++++++++++++++
 arch/mips/cpu/mips64/config.mk      |   40 ++++++
 arch/mips/cpu/mips64/cpu.c          |  111 +++++++++++++++
 arch/mips/cpu/mips64/interrupts.c   |   34 +++++
 arch/mips/cpu/mips64/start.S        |  256 +++++++++++++++++++++++++++++++++++
 arch/mips/cpu/mips64/time.c         |   87 ++++++++++++
 arch/mips/include/asm/addrspace.h   |    2 +-
 arch/mips/include/asm/io.h          |   16 +++
 arch/mips/include/asm/posix_types.h |    6 +
 board/qemu-mips/config.mk           |   10 --
 board/qemu-mips/u-boot.lds          |    8 ++
 boards.cfg                          |    2 +
 examples/standalone/mips64.lds      |   59 ++++++++
 include/configs/qemu-mips.h         |    1 +
 include/configs/qemu-mips64.h       |  179 ++++++++++++++++++++++++
 16 files changed, 1075 insertions(+), 11 deletions(-)
 create mode 100644 arch/mips/cpu/mips64/Makefile
 create mode 100644 arch/mips/cpu/mips64/cache.S
 create mode 100644 arch/mips/cpu/mips64/config.mk
 create mode 100644 arch/mips/cpu/mips64/cpu.c
 create mode 100644 arch/mips/cpu/mips64/interrupts.c
 create mode 100644 arch/mips/cpu/mips64/start.S
 create mode 100644 arch/mips/cpu/mips64/time.c
 delete mode 100644 board/qemu-mips/config.mk
 create mode 100644 examples/standalone/mips64.lds
 create mode 100644 include/configs/qemu-mips64.h
Signature · 1 line
1.7.9.5
#1 lore raw

PATCH v4 1/4 MIPS: Add support for MIPS64 cpus

These files are derived from arch/mips/cpu/mips32/*. The main changes are:
1, changes ABI o32 to n64, 2, add mips64 build cflags.

---
 arch/mips/cpu/mips64/Makefile     |   46 +++++++
 arch/mips/cpu/mips64/cache.S      |  229 +++++++++++++++++++++++++++++++++
 arch/mips/cpu/mips64/config.mk    |   40 ++++++
 arch/mips/cpu/mips64/cpu.c        |  111 ++++++++++++++++
 arch/mips/cpu/mips64/interrupts.c |   34 +++++
 arch/mips/cpu/mips64/start.S      |  256 +++++++++++++++++++++++++++++++++++++
 arch/mips/cpu/mips64/time.c       |   87 +++++++++++++
 7 files changed, 803 insertions(+)
 create mode 100644 arch/mips/cpu/mips64/Makefile
 create mode 100644 arch/mips/cpu/mips64/cache.S
 create mode 100644 arch/mips/cpu/mips64/config.mk
 create mode 100644 arch/mips/cpu/mips64/cpu.c
 create mode 100644 arch/mips/cpu/mips64/interrupts.c
 create mode 100644 arch/mips/cpu/mips64/start.S
 create mode 100644 arch/mips/cpu/mips64/time.c
arch/mips/cpu/mips64/Makefile new file +46 -0
new file mode 100644
index 0000000..f4c88f5
@@ -0,0 +1,46 @@
+#
+# (C) Copyright 2003-2006
+# Wolfgang Denk, DENX Software Engineering, wd at denx.de.
+#
+# See file CREDITS for list of people who contributed to this
+# project.
+#
+# This program is free software; you can redistribute it and/or
+# modify it under the terms of the GNU General Public License as
+# published by the Free Software Foundation; either version 2 of
+# the License, or (at your option) any later version.
+#
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+# GNU General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with this program; if not, write to the Free Software
+# Foundation, Inc., 59 Temple Place, Suite 330, Boston,
+# MA 02111-1307 USA
+#
+
+include $(TOPDIR)/config.mk
+
+LIB	= $(obj)lib$(CPU).o
+
+START	= start.o
+COBJS-y	= cpu.o interrupts.o time.o cache.o
+
+SRCS	:= $(START:.o=.S) $(SOBJS-y:.o=.S) $(COBJS-y:.o=.c)
+OBJS	:= $(addprefix $(obj),$(SOBJS-y) $(COBJS-y))
+START	:= $(addprefix $(obj),$(START))
+
+all:	$(obj).depend $(START) $(LIB)
+
+$(LIB):	$(OBJS)
+	$(call cmd_link_o_target, $(OBJS))
+
+#########################################################################
+
+# defines $(obj).depend target
+include $(SRCTREE)/rules.mk
+
+sinclude $(obj).depend
+
arch/mips/cpu/mips64/cache.S new file +229 -0

229 lines not on this page · raw message

arch/mips/cpu/mips64/config.mk new file +40 -0
new file mode 100644
index 0000000..4fe6ea0
@@ -0,0 +1,40 @@
+#
+# (C) Copyright 2003
+# Wolfgang Denk, DENX Software Engineering, <[email protected]>
+#
+# See file CREDITS for list of people who contributed to this
+# project.
+#
+# This program is free software; you can redistribute it and/or
+# modify it under the terms of the GNU General Public License as
+# published by the Free Software Foundation; either version 2 of
+# the License, or (at your option) any later version.
+#
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+# GNU General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with this program; if not, write to the Free Software
+# Foundation, Inc., 59 Temple Place, Suite 330, Boston,
+# MA 02111-1307 USA
+#
+
+#
+# Default optimization level for MIPS64
+#
+# Note: Toolchains with binutils prior to v2.16
+# are no longer supported by U-Boot MIPS tree!
+#
+MIPSFLAGS = -march=mips64
+
+PLATFORM_CPPFLAGS += $(MIPSFLAGS)
+PLATFORM_CPPFLAGS += -mabi=64 -DCONFIG_64BIT
+ifdef CONFIG_SYS_BIG_ENDIAN
+PLATFORM_LDFLAGS  += -m elf64btsmip
+else
+PLATFORM_LDFLAGS  += -m elf64ltsmip
+endif
+
+CONFIG_STANDALONE_LOAD_ADDR ?= 0xFfffFfff80200000 -T mips64.lds
arch/mips/cpu/mips64/cpu.c new file +111 -0

111 lines not on this page · raw message

arch/mips/cpu/mips64/interrupts.c new file +34 -0
new file mode 100644
index 0000000..e4e9aae
@@ -0,0 +1,34 @@
+/*
+ * (C) Copyright 2003
+ * Wolfgang Denk, DENX Software Engineering, <[email protected]>
+ *
+ * See file CREDITS for list of people who contributed to this
+ * project.
+ *
+ * This program is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU General Public License as
+ * published by the Free Software Foundation; either version 2 of
+ * the License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place, Suite 330, Boston,
+ * MA 02111-1307 USA
+ */
+
+#include <common.h>
+#include <asm/mipsregs.h>
+
+void enable_interrupts(void)
+{
+}
+
+int disable_interrupts(void)
+{
+	return 0;
+}
arch/mips/cpu/mips64/start.S new file +256 -0

256 lines not on this page · raw message

arch/mips/cpu/mips64/time.c new file +87 -0

87 lines not on this page · raw message

Signature · 1 line
1.7.9.5
#2 lore raw

PATCH v4 1/4 MIPS: Add support for MIPS64 cpus

In reply to Zhizhou Zhang

These files are derived from arch/mips/cpu/mips32/*. The main changes are:
1, changes ABI o32 to n64, 2, add mips64 build cflags.

---
 arch/mips/cpu/mips64/Makefile     |   46 +++++++
 arch/mips/cpu/mips64/cache.S      |  229 +++++++++++++++++++++++++++++++++
 arch/mips/cpu/mips64/config.mk    |   40 ++++++
 arch/mips/cpu/mips64/cpu.c        |  111 ++++++++++++++++
 arch/mips/cpu/mips64/interrupts.c |   34 +++++
 arch/mips/cpu/mips64/start.S      |  256 +++++++++++++++++++++++++++++++++++++
 arch/mips/cpu/mips64/time.c       |   87 +++++++++++++
 7 files changed, 803 insertions(+)
 create mode 100644 arch/mips/cpu/mips64/Makefile
 create mode 100644 arch/mips/cpu/mips64/cache.S
 create mode 100644 arch/mips/cpu/mips64/config.mk
 create mode 100644 arch/mips/cpu/mips64/cpu.c
 create mode 100644 arch/mips/cpu/mips64/interrupts.c
 create mode 100644 arch/mips/cpu/mips64/start.S
 create mode 100644 arch/mips/cpu/mips64/time.c
arch/mips/cpu/mips64/Makefile new file +46 -0
new file mode 100644
index 0000000..f4c88f5
@@ -0,0 +1,46 @@
+#
+# (C) Copyright 2003-2006
+# Wolfgang Denk, DENX Software Engineering, wd at denx.de.
+#
+# See file CREDITS for list of people who contributed to this
+# project.
+#
+# This program is free software; you can redistribute it and/or
+# modify it under the terms of the GNU General Public License as
+# published by the Free Software Foundation; either version 2 of
+# the License, or (at your option) any later version.
+#
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+# GNU General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with this program; if not, write to the Free Software
+# Foundation, Inc., 59 Temple Place, Suite 330, Boston,
+# MA 02111-1307 USA
+#
+
+include $(TOPDIR)/config.mk
+
+LIB	= $(obj)lib$(CPU).o
+
+START	= start.o
+COBJS-y	= cpu.o interrupts.o time.o cache.o
+
+SRCS	:= $(START:.o=.S) $(SOBJS-y:.o=.S) $(COBJS-y:.o=.c)
+OBJS	:= $(addprefix $(obj),$(SOBJS-y) $(COBJS-y))
+START	:= $(addprefix $(obj),$(START))
+
+all:	$(obj).depend $(START) $(LIB)
+
+$(LIB):	$(OBJS)
+	$(call cmd_link_o_target, $(OBJS))
+
+#########################################################################
+
+# defines $(obj).depend target
+include $(SRCTREE)/rules.mk
+
+sinclude $(obj).depend
+
arch/mips/cpu/mips64/cache.S new file +229 -0

229 lines not on this page · raw message

arch/mips/cpu/mips64/config.mk new file +40 -0
new file mode 100644
index 0000000..4fe6ea0
@@ -0,0 +1,40 @@
+#
+# (C) Copyright 2003
+# Wolfgang Denk, DENX Software Engineering, <[email protected]>
+#
+# See file CREDITS for list of people who contributed to this
+# project.
+#
+# This program is free software; you can redistribute it and/or
+# modify it under the terms of the GNU General Public License as
+# published by the Free Software Foundation; either version 2 of
+# the License, or (at your option) any later version.
+#
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+# GNU General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with this program; if not, write to the Free Software
+# Foundation, Inc., 59 Temple Place, Suite 330, Boston,
+# MA 02111-1307 USA
+#
+
+#
+# Default optimization level for MIPS64
+#
+# Note: Toolchains with binutils prior to v2.16
+# are no longer supported by U-Boot MIPS tree!
+#
+MIPSFLAGS = -march=mips64
+
+PLATFORM_CPPFLAGS += $(MIPSFLAGS)
+PLATFORM_CPPFLAGS += -mabi=64 -DCONFIG_64BIT
+ifdef CONFIG_SYS_BIG_ENDIAN
+PLATFORM_LDFLAGS  += -m elf64btsmip
+else
+PLATFORM_LDFLAGS  += -m elf64ltsmip
+endif
+
+CONFIG_STANDALONE_LOAD_ADDR ?= 0xFfffFfff80200000 -T mips64.lds
arch/mips/cpu/mips64/cpu.c new file +111 -0

111 lines not on this page · raw message

arch/mips/cpu/mips64/interrupts.c new file +34 -0
new file mode 100644
index 0000000..e4e9aae
@@ -0,0 +1,34 @@
+/*
+ * (C) Copyright 2003
+ * Wolfgang Denk, DENX Software Engineering, <[email protected]>
+ *
+ * See file CREDITS for list of people who contributed to this
+ * project.
+ *
+ * This program is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU General Public License as
+ * published by the Free Software Foundation; either version 2 of
+ * the License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place, Suite 330, Boston,
+ * MA 02111-1307 USA
+ */
+
+#include <common.h>
+#include <asm/mipsregs.h>
+
+void enable_interrupts(void)
+{
+}
+
+int disable_interrupts(void)
+{
+	return 0;
+}
arch/mips/cpu/mips64/start.S new file +256 -0

256 lines not on this page · raw message

arch/mips/cpu/mips64/time.c new file +87 -0

87 lines not on this page · raw message

Signature · 1 line
1.7.9.5
#3 lore raw

PATCH v4 1/4 MIPS: Add support for MIPS64 cpus

Dear Zhizhou Zhang,

Quoted 4 lines · In message <[email protected]> you wrote:

These files are derived from arch/mips/cpu/mips32/*. The main changes are:
1, changes ABI o32 to n64, 2, add mips64 build cflags.

Checkpatch reports a number of "unnecessary whitespace before a quoted newline" warnings; please fix these.

Quoted 5 lines
arch/mips/cpu/mips64/Makefile new file +0 -0
new file mode 100644
index 0000000..f4c88f5

...

arch/mips/cpu/mips64/cache.S

Quoted 3 lines
arch/mips/cpu/mips64/Makefile new file +2 -0
+sinclude $(obj).depend
+
arch/mips/cpu/mips64/cache.S +0 -0

Please do not add trailing empty lines. Please fix globally.

...

Quoted 2 lines

+++ b/arch/mips/cpu/mips64/config.mk

arch/mips/cpu/mips64/cache.S +0 -0
@@ -0,0 +1,40 @@

...

Quoted 1 line

+CONFIG_STANDALONE_LOAD_ADDR ?= 0xFfffFfff80200000 -T mips64.lds

As requested before: please don't mix upper and lower case letters in a number; use a consistent styile everywhere. PLease fix globally.

As requested before: please make sure your patches are bisectable. This references file mips64.lds, but doesn;t add it, so it cannot work.

...

arch/mips/cpu/mips64/cache.S

Quoted 7 lines
arch/mips/cpu/mips64/cache.S +7 -0
+#define cache_op(op, addr)						\
+	__asm__ __volatile__(						\
+	"	.set	push					\n"	\
+	"	.set	noreorder				\n"	\
+	"	.set	mips64\n\t				\n"	\
+	"	cache	%0, %1					\n"	\
+	"	.set	pop					\n"	\

Fix checkpatch warnings here (and globally).

arch/mips/cpu/mips64/cache.S

Quoted 3 lines
arch/mips/cpu/mips64/cache.S +3 -0
+	while (1) {
+		cache_op(Hit_Writeback_Inv_D, addr);
+		cache_op(Hit_Invalidate_I, addr);

We don't allow camel-case identifiers. Please fix globally.

Best regards,

Wolfgang Denk

Signature · 4 lines
DENX Software Engineering GmbH,     MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
If it has syntax, it isn't user friendly.
#4 lore raw

PATCH v4 1/4 MIPS: Add support for MIPS64 cpus

Dear Wolfgang Denk,

Quoted 31 lines · Wolfgang Denk

Dear Zhizhou Zhang,

Quoted 1 line · In message <[email protected]> you wrote:

These files are derived from arch/mips/cpu/mips32/*. The main changes

are:

Quoted 3 lines

1, changes ABI o32 to n64, 2, add mips64 build cflags.

Checkpatch reports a number of "unnecessary whitespace before a quoted newline" warnings; please fix these.

Review

Quoted 1 line
(quoted diff) +0 -0

b/arch/mips/cpu/mips64/Makefile

Quoted 4 lines

new file mode 100644
index 0000000..f4c88f5

arch/mips/cpu/mips64/Makefile new file +0 -0

...

arch/mips/cpu/mips64/cache.S

Quoted 3 lines
arch/mips/cpu/mips64/Makefile new file +2 -0
+sinclude $(obj).depend
+
arch/mips/cpu/mips64/cache.S +0 -0

Please do not add trailing empty lines. Please fix globally.

...

Quoted 2 lines

+++ b/arch/mips/cpu/mips64/config.mk

arch/mips/cpu/mips64/cache.S +0 -0
@@ -0,0 +1,40 @@

...

Quoted 1 line

+CONFIG_STANDALONE_LOAD_ADDR ?= 0xFfffFfff80200000 -T mips64.lds

Quoted 8 lines

As requested before: please don't mix upper and lower case letters in a number; use a consistent styile everywhere. PLease fix globally.

As requested before: please make sure your patches are bisectable. This references file mips64.lds, but doesn;t add it, so it cannot work.

I'm a new learner, Please forgive my faults. So do you mean that we should can build
u-boot on each submit? If it is, should I resend these patch?

Quoted 1 line

...

Quoted 10 lines

arch/mips/cpu/mips64/cache.S

Quoted 7 lines
arch/mips/cpu/mips64/cache.S +7 -0
+#define cache_op(op, addr)                                           \
+     __asm__ __volatile__(                                           \
+     "       .set    push                                    \n"     \
+     "       .set    noreorder                               \n"     \
+     "       .set    mips64\n\t                              \n"     \
+     "       cache   %0, %1                                  \n"     \
+     "       .set    pop                                     \n"     \

Fix checkpatch warnings here (and globally).

Quoted 7 lines

arch/mips/cpu/mips64/cache.S

Quoted 3 lines
arch/mips/cpu/mips64/cache.S +3 -0
+     while (1) {
+             cache_op(Hit_Writeback_Inv_D, addr);
+             cache_op(Hit_Invalidate_I, addr);

We don't allow camel-case identifiers. Please fix globally.

I thought these identifiers come from Linux Kernel and mips spec.

I will fix it as you command

Quoted 12 lines

Best regards,

Wolfgang Denk

--
DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de If it has syntax, it isn't user friendly.

Signature · 2 lines
Regards,
Zhizhou Zhang
#5 lore raw

PATCH v4 1/4 MIPS: Add support for MIPS64 cpus

Dear Zhi-zhou Zhang,

Quoted 7 lines · In message <CACFOYQmTwH-7SwnS_QgPcXMCZovbXhkJPJhJnFi92zXcZazVug@mail.gmail.com>…
Quoted 5 lines

As requested before: please make sure your patches are bisectable. This references file mips64.lds, but doesn;t add it, so it cannot work.

I'm a new learner, Please forgive my faults. So do you mean that we should can build u-boot on each submit? If it is, should I resend these patch?

When running "git bisect", any commit may be selected for building, so it is essential that the code is at least compile clean for all commits. That means for example that you cannot add files in a later commit, because then any earlier commits which try to reference these would cause build errors.

Your patches need to be reorganized to make sure of this.

Best regards,

Wolfgang Denk

Signature · 6 lines
DENX Software Engineering GmbH,     MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
One friend in a lifetime is much; two  are  many;  three  are  hardly
possible. Friendship needs a certain parallelism of life, a community
of thought, a rivalry of aim.                     - Henry Brook Adams
#6 lore raw

PATCH v4 1/4 MIPS: Add support for MIPS64 cpus

In reply to Wolfgang Denk

Dear Wolfgang,

2012/9/1 Wolfgang Denk <[email protected]>:

Quoted 3 lines

Dear Zhizhou Zhang,

In message <[email protected]> you wrote:

[...]

Quoted 7 lines

arch/mips/cpu/mips64/cpu.c line 68

Quoted 4 lines
arch/mips/cpu/mips64/cpu.c new file +3 -0
+     while (1) {
+             cache_op(Hit_Writeback_Inv_D, addr);
+             cache_op(Hit_Invalidate_I, addr);

We don't allow camel-case identifiers. Please fix globally.

those identifiers are from arch/mips/include/asm/cacheops.h which is imported from Linux like many other header files in U-Boot. Does it really make sense to fix the coding style of imported files?

According to http://www.denx.de/wiki/U-Boot/CodingStyle you allow exceptions:
"Source files originating from different projects (for example the MTD subsystem or the hush shell code from the BusyBox project) may, after careful consideration, be exempted from these rules. For such files, the original coding style may be kept to ease subsequent migration to newer versions of those sources. "

Signature · 2 lines
Best regards,
Daniel
#7 lore raw

PATCH v4 2/4 MIPS: change related header files

In reply to Zhizhou Zhang

The most important difference between mips32 and mips64 is the address space. This patch solve This problem.

---
 arch/mips/include/asm/addrspace.h   |    2 +-
 arch/mips/include/asm/io.h          |   16 ++++++++++++++++
 arch/mips/include/asm/posix_types.h |    6 ++++++
 3 files changed, 23 insertions(+), 1 deletion(-)
arch/mips/include/asm/addrspace.h +1 -1
index 3a1e6d6..b768bb5 100644
@@ -136,7 +136,7 @@
    cannot access physical memory directly from core */
 #define UNCACHED_SDRAM(a) (((unsigned long)(a)) | 0x20000000)
 #else	/* !CONFIG_SOC_AU1X00 */
-#define UNCACHED_SDRAM(a) KSEG1ADDR(a)
+#define UNCACHED_SDRAM(a) CKSEG1ADDR(a)
 #endif	/* CONFIG_SOC_AU1X00 */
 #endif	/* __ASSEMBLY__ */
 
arch/mips/include/asm/io.h +16 -0
index 025012a..80eab75 100644
@@ -120,12 +120,20 @@ static inline void set_io_port_base(unsigned long base)
  */
 extern inline phys_addr_t virt_to_phys(volatile void * address)
 {
+#ifndef CONFIG_64BIT
 	return CPHYSADDR(address);
+#else
+	return XPHYSADDR(address);
+#endif
 }
 
 extern inline void * phys_to_virt(unsigned long address)
 {
+#ifndef CONFIG_64BIT
 	return (void *)KSEG0ADDR(address);
+#else
+	return (void *)CKSEG0ADDR(address);
+#endif
 }
 
 /*
@@ -133,12 +141,20 @@ extern inline void * phys_to_virt(unsigned long address)
  */
 extern inline unsigned long virt_to_bus(volatile void * address)
 {
+#ifndef CONFIG_64BIT
 	return CPHYSADDR(address);
+#else
+	return XPHYSADDR(address);
+#endif
 }
 
 extern inline void * bus_to_virt(unsigned long address)
 {
+#ifndef CONFIG_64BIT
 	return (void *)KSEG0ADDR(address);
+#else
+	return (void *)CKSEG0ADDR(address);
+#endif
 }
 
 /*
arch/mips/include/asm/posix_types.h +6 -0
index 879aae2..1164652 100644
@@ -24,9 +24,15 @@ typedef int		__kernel_pid_t;
 typedef int		__kernel_ipc_pid_t;
 typedef int		__kernel_uid_t;
 typedef int		__kernel_gid_t;
+#ifndef CONFIG_MIPS64
 typedef unsigned int	__kernel_size_t;
 typedef int		__kernel_ssize_t;
 typedef int		__kernel_ptrdiff_t;
+#else
+typedef unsigned long	__kernel_size_t;
+typedef long		__kernel_ssize_t;
+typedef long		__kernel_ptrdiff_t;
+#endif
 typedef long		__kernel_time_t;
 typedef long		__kernel_suseconds_t;
 typedef long		__kernel_clock_t;
Signature · 1 line
1.7.9.5
#8 lore raw

PATCH v4 2/4 MIPS: change related header files

In reply to Zhizhou Zhang

The most important difference between mips32 and mips64 is the address space. This patch solve This problem.

---
 arch/mips/include/asm/addrspace.h   |    2 +-
 arch/mips/include/asm/io.h          |   16 ++++++++++++++++
 arch/mips/include/asm/posix_types.h |    6 ++++++
 3 files changed, 23 insertions(+), 1 deletion(-)
arch/mips/include/asm/addrspace.h +1 -1
index 3a1e6d6..b768bb5 100644
@@ -136,7 +136,7 @@
    cannot access physical memory directly from core */
 #define UNCACHED_SDRAM(a) (((unsigned long)(a)) | 0x20000000)
 #else	/* !CONFIG_SOC_AU1X00 */
-#define UNCACHED_SDRAM(a) KSEG1ADDR(a)
+#define UNCACHED_SDRAM(a) CKSEG1ADDR(a)
 #endif	/* CONFIG_SOC_AU1X00 */
 #endif	/* __ASSEMBLY__ */
 
arch/mips/include/asm/io.h +16 -0
index 025012a..80eab75 100644
@@ -120,12 +120,20 @@ static inline void set_io_port_base(unsigned long base)
  */
 extern inline phys_addr_t virt_to_phys(volatile void * address)
 {
+#ifndef CONFIG_64BIT
 	return CPHYSADDR(address);
+#else
+	return XPHYSADDR(address);
+#endif
 }
 
 extern inline void * phys_to_virt(unsigned long address)
 {
+#ifndef CONFIG_64BIT
 	return (void *)KSEG0ADDR(address);
+#else
+	return (void *)CKSEG0ADDR(address);
+#endif
 }
 
 /*
@@ -133,12 +141,20 @@ extern inline void * phys_to_virt(unsigned long address)
  */
 extern inline unsigned long virt_to_bus(volatile void * address)
 {
+#ifndef CONFIG_64BIT
 	return CPHYSADDR(address);
+#else
+	return XPHYSADDR(address);
+#endif
 }
 
 extern inline void * bus_to_virt(unsigned long address)
 {
+#ifndef CONFIG_64BIT
 	return (void *)KSEG0ADDR(address);
+#else
+	return (void *)CKSEG0ADDR(address);
+#endif
 }
 
 /*
arch/mips/include/asm/posix_types.h +6 -0
index 879aae2..1164652 100644
@@ -24,9 +24,15 @@ typedef int		__kernel_pid_t;
 typedef int		__kernel_ipc_pid_t;
 typedef int		__kernel_uid_t;
 typedef int		__kernel_gid_t;
+#ifndef CONFIG_MIPS64
 typedef unsigned int	__kernel_size_t;
 typedef int		__kernel_ssize_t;
 typedef int		__kernel_ptrdiff_t;
+#else
+typedef unsigned long	__kernel_size_t;
+typedef long		__kernel_ssize_t;
+typedef long		__kernel_ptrdiff_t;
+#endif
 typedef long		__kernel_time_t;
 typedef long		__kernel_suseconds_t;
 typedef long		__kernel_clock_t;
Signature · 1 line
1.7.9.5
#9 lore raw

v4 cover MIPS: add mips64 cpu support

In reply to Zhizhou Zhang

This patch add mips64 cpu support.
Changes in V4:
- Add both big-endian and little-endian support
- Remove cache probe
- Add standalone support for mips64
Changes in V3:
- merge related files into one patch, no longer one file one patch.
- add detailed commit message.
- remove standalone example. it's too complicate.

Zhizhou Zhang (4):
MIPS: Add support for MIPS64 cpus
MIPS: change related header files
MIPS: add board qemu-mips64 support
MIPS: add mips64 standalone support

 arch/mips/cpu/mips64/Makefile       |   46 +++++++
 arch/mips/cpu/mips64/cache.S        |  229 +++++++++++++++++++++++++++++++
 arch/mips/cpu/mips64/config.mk      |   40 ++++++
 arch/mips/cpu/mips64/cpu.c          |  111 +++++++++++++++
 arch/mips/cpu/mips64/interrupts.c   |   34 +++++
 arch/mips/cpu/mips64/start.S        |  256 +++++++++++++++++++++++++++++++++++
 arch/mips/cpu/mips64/time.c         |   87 ++++++++++++
 arch/mips/include/asm/addrspace.h   |    2 +-
 arch/mips/include/asm/io.h          |   16 +++
 arch/mips/include/asm/posix_types.h |    6 +
 board/qemu-mips/config.mk           |   10 --
 board/qemu-mips/u-boot.lds          |    8 ++
 boards.cfg                          |    2 +
 examples/standalone/mips64.lds      |   59 ++++++++
 include/configs/qemu-mips.h         |    1 +
 include/configs/qemu-mips64.h       |  179 ++++++++++++++++++++++++
 16 files changed, 1075 insertions(+), 11 deletions(-)
 create mode 100644 arch/mips/cpu/mips64/Makefile
 create mode 100644 arch/mips/cpu/mips64/cache.S
 create mode 100644 arch/mips/cpu/mips64/config.mk
 create mode 100644 arch/mips/cpu/mips64/cpu.c
 create mode 100644 arch/mips/cpu/mips64/interrupts.c
 create mode 100644 arch/mips/cpu/mips64/start.S
 create mode 100644 arch/mips/cpu/mips64/time.c
 delete mode 100644 board/qemu-mips/config.mk
 create mode 100644 examples/standalone/mips64.lds
 create mode 100644 include/configs/qemu-mips64.h
Signature · 1 line
1.7.9.5
#10 lore raw

PATCH v4 3/4 MIPS: add board qemu-mips64 support

In reply to Zhizhou Zhang

Both big-endian and little-endian are tested with below commands:
qemu-system-mips64el -M mips -cpu MIPS64R2-generic -kernel u-boot -nographic qemu-system-mips64 -M mips -cpu MIPS64R2-generic -kernel u-boot -nographic

---
 board/qemu-mips/u-boot.lds    |    8 ++
 boards.cfg                    |    2 +
 include/configs/qemu-mips64.h |  179 +++++++++++++++++++++++++++++++++++++++++
 3 files changed, 189 insertions(+)
 create mode 100644 include/configs/qemu-mips64.h
board/qemu-mips/u-boot.lds +8 -0
index 9460b20..4d9580f 100644
@@ -24,7 +24,11 @@
 /*
 OUTPUT_FORMAT("elf32-bigmips", "elf32-bigmips", "elf32-bigmips")
 */
+#if defined(CONFIG_64BIT)
+OUTPUT_FORMAT("elf64-tradbigmips", "elf64-tradbigmips", "elf64-tradlittlemips")
+#else
 OUTPUT_FORMAT("elf32-tradbigmips", "elf32-tradbigmips", "elf32-tradlittlemips")
+#endif
 OUTPUT_ARCH(mips)
 ENTRY(_start)
 SECTIONS
@@ -63,7 +67,11 @@ SECTIONS
 	}
 
 	uboot_end_data = .;
+#if defined(CONFIG_64BIT)
+	num_got_entries = (__got_end - __got_start) >> 3;
+#else
 	num_got_entries = (__got_end - __got_start) >> 2;
+#endif
 
 	. = ALIGN(4);
 	.sbss  : { *(.sbss*) }
boards.cfg +2 -0
index 6b54941..ff4bb0c 100644
@@ -380,6 +380,8 @@ M5485HFE		     m68k        mcf547x_8x  m548xevb            freescale      -
 microblaze-generic           microblaze  microblaze  microblaze-generic  xilinx
 qemu_mips                    mips        mips32      qemu-mips           -              -           qemu-mips:SYS_BIG_ENDIAN
 qemu_mipsel                  mips        mips32      qemu-mips           -              -           qemu-mips:SYS_LITTLE_ENDIAN
+qemu_mips64                  mips        mips64      qemu-mips           -              -           qemu-mips64:SYS_BIG_ENDIAN
+qemu_mips64el                mips        mips64      qemu-mips           -              -           qemu-mips64:SYS_LITTLE_ENDIAN
 vct_platinum                 mips        mips32      vct                 micronas       -           vct:VCT_PLATINUM
 vct_platinumavc              mips        mips32      vct                 micronas       -           vct:VCT_PLATINUMAVC
 vct_platinumavc_onenand      mips        mips32      vct                 micronas       -           vct:VCT_PLATINUMAVC,VCT_ONENAND
include/configs/qemu-mips64.h new file +179 -0

179 lines not on this page · raw message

Signature · 1 line
1.7.9.5
#11 lore raw

PATCH v4 3/4 MIPS: add board qemu-mips64 support

In reply to Zhizhou Zhang

Both big-endian and little-endian are tested with below commands:
qemu-system-mips64el -M mips -cpu MIPS64R2-generic -kernel u-boot -nographic qemu-system-mips64 -M mips -cpu MIPS64R2-generic -kernel u-boot -nographic

---
 board/qemu-mips/u-boot.lds    |    8 ++
 boards.cfg                    |    2 +
 include/configs/qemu-mips64.h |  179 +++++++++++++++++++++++++++++++++++++++++
 3 files changed, 189 insertions(+)
 create mode 100644 include/configs/qemu-mips64.h
board/qemu-mips/u-boot.lds +8 -0
index 9460b20..4d9580f 100644
@@ -24,7 +24,11 @@
 /*
 OUTPUT_FORMAT("elf32-bigmips", "elf32-bigmips", "elf32-bigmips")
 */
+#if defined(CONFIG_64BIT)
+OUTPUT_FORMAT("elf64-tradbigmips", "elf64-tradbigmips", "elf64-tradlittlemips")
+#else
 OUTPUT_FORMAT("elf32-tradbigmips", "elf32-tradbigmips", "elf32-tradlittlemips")
+#endif
 OUTPUT_ARCH(mips)
 ENTRY(_start)
 SECTIONS
@@ -63,7 +67,11 @@ SECTIONS
 	}
 
 	uboot_end_data = .;
+#if defined(CONFIG_64BIT)
+	num_got_entries = (__got_end - __got_start) >> 3;
+#else
 	num_got_entries = (__got_end - __got_start) >> 2;
+#endif
 
 	. = ALIGN(4);
 	.sbss  : { *(.sbss*) }
boards.cfg +2 -0
index 6b54941..ff4bb0c 100644
@@ -380,6 +380,8 @@ M5485HFE		     m68k        mcf547x_8x  m548xevb            freescale      -
 microblaze-generic           microblaze  microblaze  microblaze-generic  xilinx
 qemu_mips                    mips        mips32      qemu-mips           -              -           qemu-mips:SYS_BIG_ENDIAN
 qemu_mipsel                  mips        mips32      qemu-mips           -              -           qemu-mips:SYS_LITTLE_ENDIAN
+qemu_mips64                  mips        mips64      qemu-mips           -              -           qemu-mips64:SYS_BIG_ENDIAN
+qemu_mips64el                mips        mips64      qemu-mips           -              -           qemu-mips64:SYS_LITTLE_ENDIAN
 vct_platinum                 mips        mips32      vct                 micronas       -           vct:VCT_PLATINUM
 vct_platinumavc              mips        mips32      vct                 micronas       -           vct:VCT_PLATINUMAVC
 vct_platinumavc_onenand      mips        mips32      vct                 micronas       -           vct:VCT_PLATINUMAVC,VCT_ONENAND
include/configs/qemu-mips64.h new file +179 -0

179 lines not on this page · raw message

Signature · 1 line
1.7.9.5
#12 lore raw

PATCH v4 3/4 MIPS: add board qemu-mips64 support

Dear Zhizhou Zhang,

Quoted 3 lines · In message <[email protected]> you wrote:

Both big-endian and little-endian are tested with below commands:
qemu-system-mips64el -M mips -cpu MIPS64R2-generic -kernel u-boot -nographic qemu-system-mips64 -M mips -cpu MIPS64R2-generic -kernel u-boot -nographic

...

include/configs/qemu-mips64.h line 37

Quoted 3 lines
include/configs/qemu-mips64.h new file +3 -0
+/*IP address is default used by Qemu*/
+#define CONFIG_IPADDR		10.0.2.15	/* Our IP address */
+#define CONFIG_SERVERIP		10.0.2.2	/* Server IP address */

NAK. We don't allow static network settings in board config files. Please remove.

Quoted 1 line

+#define CONFIG_BOOTCOMMAND ""

This makes no sense. Please fix or omit.

...

Quoted 1 line

+#define CONFIG_DRIVER_NE2000_BASE (0xffffffffb4000300)

Please remove parens around simple numbers. Please fix globally.

Quoted 1 line

+#define CONFIG_ENV_IS_NOWHERE 1

Please don't define values for logical variables. Please fix globally.

Quoted 1 line

+#undef CONFIG_MEMSIZE_IN_BYTES

Please don't undef what is not defined anyway.

Best regards,

Wolfgang Denk

Signature · 5 lines
DENX Software Engineering GmbH,     MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
In the realm of scientific observation, luck is granted only to those
who are prepared.                                     - Louis Pasteur
#13 lore raw

PATCH v4 4/4 MIPS: add mips64 standalone support

In reply to Zhizhou Zhang

Move CONFIG_SYS_TEXT_BASE to the board specified header file. So change qemu-mips.h also. board/qemu-mips/config.mk is not used, then remove it.

---
 board/qemu-mips/config.mk      |   10 -------
 examples/standalone/mips64.lds |   59 ++++++++++++++++++++++++++++++++++++++++
 include/configs/qemu-mips.h    |    1 +
 3 files changed, 60 insertions(+), 10 deletions(-)
 delete mode 100644 board/qemu-mips/config.mk
 create mode 100644 examples/standalone/mips64.lds
board/qemu-mips/config.mk deleted +0 -10
deleted file mode 100644
index 27cd34a..0000000
@@ -1,10 +0,0 @@
-#
-# Qemu -M mips system emulator
-# See http://fabrice.bellard.free.fr/qemu
-#
-
-# ROM version
-CONFIG_SYS_TEXT_BASE = 0xbfc00000
-
-# RAM version
-#CONFIG_SYS_TEXT_BASE = 0x80001000
examples/standalone/mips64.lds new file +59 -0

59 lines not on this page · raw message

include/configs/qemu-mips.h +1 -0
index b8b9705..bab3fb1 100644
@@ -137,6 +137,7 @@
  */
 
 /* The following #defines are needed to get flash environment right */
+#define CONFIG_SYS_TEXT_BASE	0xbfc00000 /* Rom version */
 #define CONFIG_SYS_MONITOR_BASE	CONFIG_SYS_TEXT_BASE
 #define CONFIG_SYS_MONITOR_LEN		(192 << 10)
 
Signature · 1 line
1.7.9.5
#14 lore raw

PATCH v4 4/4 MIPS: add mips64 standalone support

In reply to Zhizhou Zhang

Move CONFIG_SYS_TEXT_BASE to the board specified header file. So change qemu-mips.h also. board/qemu-mips/config.mk is not used, then remove it.

---
 board/qemu-mips/config.mk      |   10 -------
 examples/standalone/mips64.lds |   59 ++++++++++++++++++++++++++++++++++++++++
 include/configs/qemu-mips.h    |    1 +
 3 files changed, 60 insertions(+), 10 deletions(-)
 delete mode 100644 board/qemu-mips/config.mk
 create mode 100644 examples/standalone/mips64.lds
board/qemu-mips/config.mk deleted +0 -10
deleted file mode 100644
index 27cd34a..0000000
@@ -1,10 +0,0 @@
-#
-# Qemu -M mips system emulator
-# See http://fabrice.bellard.free.fr/qemu
-#
-
-# ROM version
-CONFIG_SYS_TEXT_BASE = 0xbfc00000
-
-# RAM version
-#CONFIG_SYS_TEXT_BASE = 0x80001000
examples/standalone/mips64.lds new file +59 -0

59 lines not on this page · raw message

include/configs/qemu-mips.h +1 -0
index b8b9705..bab3fb1 100644
@@ -137,6 +137,7 @@
  */
 
 /* The following #defines are needed to get flash environment right */
+#define CONFIG_SYS_TEXT_BASE	0xbfc00000 /* Rom version */
 #define CONFIG_SYS_MONITOR_BASE	CONFIG_SYS_TEXT_BASE
 #define CONFIG_SYS_MONITOR_LEN		(192 << 10)
 
Signature · 1 line
1.7.9.5
#15 lore raw

PATCH v4 4/4 MIPS: add mips64 standalone support

Dear Zhizhou Zhang,

Quoted 4 lines · In message <[email protected]> you wrote:

Move CONFIG_SYS_TEXT_BASE to the board specified header file. So change qemu-mips.h also. board/qemu-mips/config.mk is not used, then remove it.

Quoted 8 lines
---
 board/qemu-mips/config.mk      |   10 -------
 examples/standalone/mips64.lds |   59 ++++++++++++++++++++++++++++++++++++++++
 include/configs/qemu-mips.h    |    1 +
 3 files changed, 60 insertions(+), 10 deletions(-)
 delete mode 100644 board/qemu-mips/config.mk
 create mode 100644 examples/standalone/mips64.lds

This patch appears to be too late in this patch series Either re-order and/or squash with other parts to ensure bisectability.

Best regards,

Wolfgang Denk

Signature · 5 lines
DENX Software Engineering GmbH,     MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
If I ever needed a brain transplant, I'd choose a teenager's  because
I'd want a brain that had never been used.
#16 lore raw

PATCH v4 4/4 MIPS: add mips64 standalone support

Dear Wolfgang Denk,

Quoted 18 lines · Wolfgang Denk

Dear Zhizhou Zhang,

In message <[email protected]> you

Quoted 8 lines · wrote:

Move CONFIG_SYS_TEXT_BASE to the board specified header file. So change qemu-mips.h also. board/qemu-mips/config.mk is not used, then remove it.

---
 board/qemu-mips/config.mk      |   10 -------
 examples/standalone/mips64.lds |   59

++++++++++++++++++++++++++++++++++++++++

Quoted 4 lines
 include/configs/qemu-mips.h    |    1 +
 3 files changed, 60 insertions(+), 10 deletions(-)
 delete mode 100644 board/qemu-mips/config.mk
 create mode 100644 examples/standalone/mips64.lds
Quoted 5 lines

This patch appears to be too late in this patch series Either re-order and/or squash with other parts to ensure bisectability.

I'm sorry, I can't catch you. So what should I do now? Do you mean I

should
resend these patch again?

Quoted 11 lines

Best regards,

Wolfgang Denk

--
DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de If I ever needed a brain transplant, I'd choose a teenager's because I'd want a brain that had never been used.

Signature · 2 lines
Regards,
Zhizhou Zhang
#17 lore raw

PATCH v4 4/4 MIPS: add mips64 standalone support

Dear Zhi-zhou Zhang,

Quoted 11 lines · In message <CACFOYQ=x-8G27oznZMeY66y6Nrr54-tZFUSr8cwFvea05EdU-Q@mail.gmail.com>…
Quoted 11 lines
Quoted 5 lines
---
 board/qemu-mips/config.mk      |   10 -------
 examples/standalone/mips64.lds |   59

++++++++++++++++++++++++++++++++++++++++

Quoted 4 lines
 include/configs/qemu-mips.h    |    1 +
 3 files changed, 60 insertions(+), 10 deletions(-)
 delete mode 100644 board/qemu-mips/config.mk
 create mode 100644 examples/standalone/mips64.lds
Quoted 6 lines
Quoted 5 lines

This patch appears to be too late in this patch series Either re-order and/or squash with other parts to ensure bisectability.

I'm sorry, I can't catch you. So what should I do now? Do you mean I should

resend these patch again?

No. I already wrote what to do: please either re-order the patches so thatfiles get added before they are referenced, or squash with other parts so that they get added with the code that references them first.

Best regards,

Wolfgang Denk

Signature · 6 lines
DENX Software Engineering GmbH,     MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
PoB = "Prisoner of Bill" -- those held captive, unwillingly or other-
wise, by the contemptible Microsoft monopoly.
         -- Tom Christiansen in <[email protected]>
#18 lore raw

v4 cover MIPS: add mips64 cpu support

In reply to Zhizhou Zhang

Hi Zhizhou,

2012/8/27 Zhizhou Zhang <[email protected]>:

Quoted 10 lines

This patch add mips64 cpu support.
Changes in V4:
- Add both big-endian and little-endian support
- Remove cache probe
- Add standalone support for mips64
Changes in V3:
- merge related files into one patch, no longer one file one patch.
- add detailed commit message.
- remove standalone example. it's too complicate.

Quoted 6 lines

Zhizhou Zhang (4):
MIPS: Add support for MIPS64 cpus
MIPS: change related header files
MIPS: add board qemu-mips64 support
MIPS: add mips64 standalone support

looks good now, thanks.
I'll try to review and test it tonight (CEST time).

Signature · 2 lines
Best regards,
Daniel
#19 lore raw

v4 cover MIPS: add mips64 cpu support

In reply to Zhizhou Zhang

Dear Zhizhou Zhang,

Quoted 10 lines · In message <[email protected]> you wrote:

This patch add mips64 cpu support.
Changes in V4:
- Add both big-endian and little-endian support
- Remove cache probe
- Add standalone support for mips64
Changes in V3:
- merge related files into one patch, no longer one file one patch.
- add detailed commit message.
- remove standalone example. it's too complicate.

Quoted 5 lines

Zhizhou Zhang (4):
MIPS: Add support for MIPS64 cpus
MIPS: change related header files
MIPS: add board qemu-mips64 support
MIPS: add mips64 standalone support

Is there any specific reason why you post all patches _twice_? Please stop doing his.

Best regards,

Wolfgang Denk

Signature · 6 lines
DENX Software Engineering GmbH,     MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
"Probably the best operating system in the world  is  the  [operating
system] made for the PDP-11 by Bell Laboratories."
                                           - Ted Nelson, October 1977