From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 111c93,af9b13573287ef99 X-Google-Attributes: gid111c93,public X-Google-ArrivalTime: 2003-07-19 09:07:29 PST From: Andreas Feldner Subject: Re: latest Alpha XL Kernel/Milo Package? Newsgroups: comp.os.linux.alpha Date: Sat, 19 Jul 2003 15:19:01 +0200 References: <9b5ac3cfbeae18f5f50c185f3a0b25ea.50975@mygate.mailgate.org> User-Agent: KNode/0.7.2 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7Bit Message-ID: <6ggbfb.ro4.ln@alpha1.internal.flying-snail.de> NNTP-Posting-Host: 212.144.76.247 X-Trace: 19 Jul 2003 18:06:56 +0200, 212.144.76.247 X-Complaints-To: abuse@arcor-ip.de Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!bloom-beacon.mit.edu!npeer.de.kpn-eurorings.net!newsfeed.stueberl.de!newsfeed.r-kom.de!newsfeed.arcor-ip.de!news.arcor-ip.de!alpha1.internal.flying-snail.de!nobody Xref: archiver1.google.com comp.os.linux.alpha:7982 Following up my own stuff here... Andreas Feldner wrote: >> Older Milo's can only deal with kernels which have a start address of >> 0310000. The most recent Milo I could find can deal with 0810000, but >> not with 1010000. Anyway, there is an option when compilong the kernel >> CONFIG_ALPHA_LEGACY_START_ADDRESS which forces it to use the 0310000 >> address. It works great for me. > > That one causes a crash for me directly after "jumping into the kernel". > My Milo seems to jump into the right entry point, but doesn't appear to > pass any boot parameters. > > I'm wondering if one could patch the LEGACY_START_ADDRESS to 0810000? Amazingly stupid an aproach, still it *does* work! I patched arch/alpha/vmlinux.lds.in: #ifdef CONFIG_ALPHA_LEGACY_START_ADDRESS . = 0xfffffc0000810000; /* instead of 0xfffffc0000810000 */ #else and include/asm-alpha/system.h: #ifdef CONFIG_ALPHA_LEGACY_START_ADDRESS /*#define KERNEL_START_PHYS 0x0300000 */ /* Old bootloaders hardcoded this. */ #define KERNEL_START_PHYS 0x0800000 /* well... newer ones hardcoded THIS! pelzi@flying-snail.de */ #else #define KERNEL_START_PHYS 0x1000000 /* required: Wildfire/Titan/Marvel */ #endif And now it actually works! It is beyond me how the non-legacy-compiled kernel could even start with the wrong entry address, but still it did but didn't get any boot arguments. Perhaps this helps someone else, too? Cheers, Andreas.