linux-mips-fnet
[Top] [All Lists]

Load address of 1.3.59

To: Linux/MIPS Mailing List <linux-mips@fnet.fr>
Subject: Load address of 1.3.59
From: Warner Losh <imp@village.org>
Date: Fri, 09 Feb 1996 01:31:19 -0700
I just built the 1.3.59 kernel configured for the deskstation.  It is
loading at 0 rather than 0x80000000.

It appears that on the DECstation the kernel gets loaded at
0x80030000, but on all the other machines the load address should be
0x80000000 (at least for the moment).  As delivered, the 1.3.59
makefile will produce this only for when CONFIG_MIPS_JAZZ is enabled.

Here's a quick patch that will always put it at 80000000 unless you
are on a DECstation.

Warner

P.S.  I'm typing DECstation because deskstation and decstation typed
like that look too much alike...

P.P.S.  Yes, this is from CVS, but patch should grok it if you feed
it the index line as well.  If patch should fail, it should be easy
enough to apply by hand :-).

Index: arch/mips/Makefile
===================================================================
RCS file: /home/imp/Repository/linux/arch/mips/Makefile,v
retrieving revision 1.1.1.1
diff -u -r1.1.1.1 Makefile
--- Makefile    1996/02/09 06:45:13     1.1.1.1
+++ Makefile    1996/02/09 08:25:13
@@ -106,8 +106,7 @@
 #
 ifdef CONFIG_DECSTATION
 LINKFLAGS     := $(LINKFLAGS) -T arch/mips/ld.script.dec
-endif
-ifdef CONFIG_MIPS_JAZZ
+else
 LINKFLAGS     := $(LINKFLAGS) -Ttext 0x80000000
 endif

<Prev in Thread] Current Thread [Next in Thread>