Linux PARISC architecture development
 help / color / mirror / Atom feed
* Re: [hppa-linux] Linker scripts and the boot loader
@ 1999-03-26 19:21 Jason Eckhardt
  0 siblings, 0 replies; 2+ messages in thread
From: Jason Eckhardt @ 1999-03-26 19:21 UTC (permalink / raw)
  To: hppa-linux


>
> Okay.  How does the boot loader work with loading the kernel?  I recall
> Jason saying something about the boot loader knowing how to load binaries.
>

  Currently, the bootloader assumes that the kernel is position independent
  and either straight binary or SOM (packed with ld -N). By "straight" binary
  I mean only the code and no headers, etc.
  I think HockeyPUX is linked at a certain address and is not position
  independent. I'm not sure why being inflexible like this is a win, but if
  necessary we could do the same.

  Also, since the loader assumes a binary image, the ELF image we produce
  will need to be massaged (same as x86 linux kernel, at least at one time).
  This was done because its simple to just read one record after the other
  into memory and execute.
  Alternatively, more code could be added to "understand" ELF. I prefer to
  keep the bootloader simple...it is just a bootloader after all.

  The simple dummy kernel you saw in the bootstrap tests is just a position
  independent binary loaded straight from the LIF and executed.

  Jason.

^ permalink raw reply	[flat|nested] 2+ messages in thread
* [hppa-linux] Linker scripts and the boot loader
@ 1999-03-26  6:23 Alex deVries
  0 siblings, 0 replies; 2+ messages in thread
From: Alex deVries @ 1999-03-26  6:23 UTC (permalink / raw)
  To: hppa-linux


Okay.  How does the boot loader work with loading the kernel?  I recall
Jason saying something about the boot loader knowing how to load binaries.

What do we need from the kernel to get the boot loader to load some sort
of kernel?

Why do we need a custom linking in the first place?

- Alex

-- 
Alex deVries <puffin@redhat.com>     
Red Hat Contrib Net maintainer          
Ottawa, Canada  
PA RISC Linux Porting Team

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~1999-03-26 19:21 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1999-03-26 19:21 [hppa-linux] Linker scripts and the boot loader Jason Eckhardt
  -- strict thread matches above, loose matches on Subject: below --
1999-03-26  6:23 Alex deVries

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