Creating a "bootpfile" and using bootp to ship that across I find the
initial jump into start_kernel (init/main.c) from __start (arch/alpha/
kernel/head.S) misses since the GOT tables are not where they should be
in memory.
Having removed the "-N", though, my kernels grow in size about 80kB
(on 2.5MB). Hopefully everybody will be willing to suffer this to allow
bootp to work? I apply the following patch now to a stock 2.1.119.
-- Pete
su2sn% diff -ru linux/arch/alpha/Makefile{.orig,}
--- linux/arch/alpha/Makefile.orig Sun Aug 9 12:09:05 1998
+++ linux/arch/alpha/Makefile Fri Sep 4 17:07:14 1998
@@ -10,7 +10,8 @@
NM := nm -B
-LINKFLAGS = -static -T arch/alpha/vmlinux.lds -N
+# removed -N else sections aren't aligned in file, and bootp fails --pw
+LINKFLAGS = -static -T arch/alpha/vmlinux.lds
CFLAGS := $(CFLAGS) -pipe -mno-fp-regs -ffixed-8
# Determine if we can use the BWX instructions with GAS.
---------------------------------------------
Pete Wyckoff | wyckoff@ca.sandia.gov
Sandia National Labs | 925 294 3503 (voice)
MS 9011, P.O. Box 969 | 925 294 1225 (fax)
Livermore, CA 94551 |
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/faq.html