Usenet comp.os.linux.alpha (1997-2013)
 help / color / mirror / Atom feed
From: Andreas Feldner <pelzi@flying-snail.de>
Subject: Re: latest Alpha XL Kernel/Milo Package?
Date: Sat, 19 Jul 2003 15:19:01 +0200	[thread overview]
Message-ID: <6ggbfb.ro4.ln@alpha1.internal.flying-snail.de> (raw)
In-Reply-To: jj77fb.c1m.ln@alpha1.internal.flying-snail.de

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.



      reply	other threads:[~2003-07-19 13:19 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-07-09 20:36 latest Alpha XL Kernel/Milo Package? Stefan Reier
2003-07-10 20:54 ` Alexander Stokman
2003-07-10 23:00   ` Stefan Reier
2003-07-12  0:47     ` Alexander Stokman
2003-07-17 22:22       ` Andreas Feldner
2003-07-19 13:19         ` Andreas Feldner [this message]
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox