From c8ce9649ad59310eeb9b349b2b9f248bd1b29194 Mon Sep 17 00:00:00 2001 From: "Ronald G. Minnich" Date: Fri, 23 Feb 2007 09:33:33 +0000 Subject: [PATCH] Make sure to link stage 2 at 0x1000. We are now getting pretty far: Phase 1: done Phase 2: early setup ... Phase 2: done Phase 3: Enumerating buses... dev_root missing 'ops' initialization Allocating resources... dev_root missing ops initialization Enabling resources... done. Phase 6: Initializing devices... Phase 6:Devices initialized Now to fix up the device stuff. Once this is done, a linux kernel load is next (i.e. elfboot) NOTE: 0x1000 needs to become a config variable, usable in CODE and Makefiles. Signed-off-by: Ronald G. Minnich Acked-by: Ronald G. Minnich Acked-by: Stefan Reinauer git-svn-id: svn://coreboot.org/repository/LinuxBIOSv3@85 f3766cd6-281f-0410-b1cd-43a5c92072e9 --- arch/x86/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/x86/Makefile b/arch/x86/Makefile index b886693185..a8f9261533 100644 --- a/arch/x86/Makefile +++ b/arch/x86/Makefile @@ -63,7 +63,7 @@ $(obj)/linuxbios.stage2: $(obj)/stage0.init $(obj)/statictree.o $(Q)$(CC) $(INITCFLAGS) -c mainboard/$(MAINBOARDDIR)/mainboard.c -o $(obj)/mainboard.o # leave a .o with full symbols in it for debugging. - $(Q)cd $(obj); $(LD) -R $(obj)/stage0.o -Ttext 0x0 \ + $(Q)cd $(obj); $(LD) -R $(obj)/stage0.o -Ttext 0x1000 \ -o $(obj)/linuxbios.stage2.o stage2.o device.o \ device_util.o mem.o malloc.o clog2.o mainboard.o \ statictree.o