All of lore.kernel.org
 help / color / mirror / Atom feed
* Re: Some planning issues.
@ 1999-02-02 23:12 Jason Eckhardt
  1999-02-02 23:25 ` Christopher Beard
  1999-02-03  2:46 ` Lars Segerlund
  0 siblings, 2 replies; 8+ messages in thread
From: Jason Eckhardt @ 1999-02-02 23:12 UTC (permalink / raw)
  To: adevries; +Cc: hppa-linux


>
> Boot Loader
> -----------
>
> We need to figure out how to load a kerne image; I suspect borrowing from
> openbsd and mklinux will be great.
>
>

  I have knowledge of how this works from my time at HP. It is mildly
  complicated compared to other platforms. As far as I know, the document
  describing the process isn't available outside of HP but the mklinux
  guys obviously had access to it.
  I can get something going here if no one else volunteers. 

  Note that my machine is a C160 (64-bit PA8000 based). I think most of you
  have 700 series machines. I should be able to get one going that will work
  in w=0 (32-bit) mode so that it will also work with the 700 machines. But
  someone with a 700 will need to test it and possibly hack it.

>
> All of this is going to be terrifically difficult without someone with
> prior HPPA experience.  However, we do have OpenBSD and mklinux to model
> things after. And hopefully we'll have docs.
>

  These are good sources, but I hope we can get "real" docs from HP. There
  is tons of information about the PDC, IODC, boot process, and I/O 
  architecture that would be very useful -- and its a lot easier to read
  about than pick through code. I can give what I know/remember.

  Regards, Jason Eckhardt. 

^ permalink raw reply	[flat|nested] 8+ messages in thread
* Some planning issues.
@ 1999-02-02 21:19 Alex deVries
  0 siblings, 0 replies; 8+ messages in thread
From: Alex deVries @ 1999-02-02 21:19 UTC (permalink / raw)
  To: hppa-linux


Alright.  Here are some very preliminary planning idea for HPPA.  It's
hard to tell exactly how this is going to go because we haven't even seen
architecture overviews yet.

I'm writing this mostly for the people who've never been through a linux
port before; I'm borrowing heavily from my SGI experience.

Build Environment
-----------------

Generally, the way to get started with the kernel is to cross compile.
We're at an advantage because there's some sort of native builder for
mklinux; asuming this works we may just build under mklinux until we have
modern cross compilers working for target hppa-linux.

I've got binutils cross compiler already, egcs has some issues.

Boot Loader
-----------

We need to figure out how to load a kerne image; I suspect borrowing from
openbsd and mklinux will be great.


Kernel
------

Alright.  This is the hard part. This is going to involve a lot of trial
and error, particularly up until the point where you can actually get some
output.

The order of what to build should be:
- stuff in arch/hppa, which is:
  - boot strapping code (head.S)
  - MMU handling
  - signal handling
  - interrupt handling, etc
  - talking on the local bus
- some sort of network driver so we can get to root nfs
  - ethernet device driver (drivers/net)

All of this is going to be terrifically difficult without someone with
prior HPPA experience.  However, we do have OpenBSD and mklinux to model
things after. And hopefully we'll have docs.

After this is the 'easy' kernel work:
- stuff in drivers/hp/:
  - graphics
  - SCSI controller
  - keyboard
  - other devices

Userland
--------
The mklinux tree is libc5 based, IIRC.  That means we're going to have to
fix glibc 2.x to support hppa-linux.  A slight pain, but not impossible.

After this, modern distributions should build cleanly.  I'm pretty keen on
building Red Hat for hppa, and that's not only because I work for them.
We'd encourage other distributions too, I think.

Undoubtedly there'll be packages which assume that if you have an HPPA,
you must be running HP-UX.


- Alex

-- 
Alex deVries <puffin@redhat.com>
Red Hat Contrib Net maintainer
Ottawa, Canada

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

end of thread, other threads:[~1999-02-03 17:45 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1999-02-02 23:12 Some planning issues Jason Eckhardt
1999-02-02 23:25 ` Christopher Beard
1999-02-03  0:46   ` Steve Ball
1999-02-03  1:22     ` Alex deVries
1999-02-03 17:45     ` Richard J. Rauenzahn
1999-02-03  2:47   ` Lars Segerlund
1999-02-03  2:46 ` Lars Segerlund
  -- strict thread matches above, loose matches on Subject: below --
1999-02-02 21:19 Alex deVries

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.