All of lore.kernel.org
 help / color / mirror / Atom feed
* [parisc-linux] A quick update
@ 1999-06-18  7:22 Alex deVries
  1999-06-18  7:26 ` Jeffrey A Law
                   ` (2 more replies)
  0 siblings, 3 replies; 11+ messages in thread
From: Alex deVries @ 1999-06-18  7:22 UTC (permalink / raw)
  To: parisc-linux


After an enormous amount of frustration (with fault only to me, I should
have thought that there was a second bootpserver on my network), the
kernel tree in CVS actually builds on HPUX.  This is really just Jason's
work glued into the kernel tree.

Next:

- we need an HPUX ld linker script to resolve the vmlinux building,
what's the format for this?

- we need to figure out why the bootloader gives an error when loading
the kernel into memory

- Alex

-- 
Alex deVries
Vice President of Engineering
The Puffin Group

^ permalink raw reply	[flat|nested] 11+ messages in thread
* Re: [parisc-linux] A quick update
@ 1999-06-18 14:04 Alex deVries
  1999-06-18 15:04 ` John David Anglin
  1999-06-18 18:34 ` Jeffrey A Law
  0 siblings, 2 replies; 11+ messages in thread
From: Alex deVries @ 1999-06-18 14:04 UTC (permalink / raw)
  To: parisc-linux


John David Anglin wrote:
> You probably want to use the same link options as Jason used for the IPL:
> -N -R address.

Ah, okay.

> After the kernel is built, take a look at where the sections start
> in SOM executable.  Each section must be copied to its corresponding
> starting address in the LIF image.  Space must be reserved for the bss
> data if there is a section after it that contains necessary data.

Should I be using objcopy to cut these sections out of my SOM executable
and into the LIF image?

Two other problems I have:

1. The kernel doesn't build yet, it fails to link and dies with:


ld -e stext arch/parisc/kernel/head.o arch/parisc/kernel/init_task.o
init/main.o init/version.o \
        arch/parisc/kernel/kernel.o arch/parisc/mm/mm.o kernel/kernel.o
mm/mm.o fs/fs.o ipc/ipc.o \
        fs/filesystems.a \
        net/network.a \
        drivers/block/block.a drivers/char/char.a  drivers/net/net.a \
        /usr/src/linux/arch/parisc/lib/lib.a /usr/src/linux/lib/lib.a
/usr/src/linux/arch/parisc/lib/lib.a \
        -o vmlinux
ld: Unsatisfied symbols:
   swapper_pg_dir (data)
   _stext (data)

I haven't yet figured out how to solve this.

2. The bootloader within the kernel tries to load the vmlinux into
memory, but dies by returning -6 at the P0_BOOTDEV_iodc_io() call within
bootdev_sread() in rom _interface.c.  I should be able to figure out
what's going on here...


- A
-- 
Alex deVries
Vice President of Engineering
The Puffin Group

^ permalink raw reply	[flat|nested] 11+ messages in thread
* Re: [parisc-linux] A quick update
@ 1999-06-18 16:58 Cary Coutant
  1999-06-18 17:49 ` John David Anglin
  0 siblings, 1 reply; 11+ messages in thread
From: Cary Coutant @ 1999-06-18 16:58 UTC (permalink / raw)
  To: John David Anglin, Alex deVries; +Cc: parisc-linux

>The -N places the $DATA$ section after
>the $CODE$ section in low memory.  The +n option that was being used
>in the Makefile has the $DATA$ section in the 0x40000000 quadrant.  
>This is wrong for the kernel.

The opposite of -N is -n, not +n. The +n option tells the linker to 
search archive libraries iteratively, which I believe is needed for the 
Linux kernel.

The -N option tells the linker to build a "non-shareable" executable, so 
it puts text and data together in one segment. The -n option is the 
default, where shareable text is placed in the first quadrant and data is 
placed in the second quadrant.


Cary Coutant
Hewlett-Packard Co.
Application Delivery Lab

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

end of thread, other threads:[~1999-06-18 19:08 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1999-06-18  7:22 [parisc-linux] A quick update Alex deVries
1999-06-18  7:26 ` Jeffrey A Law
1999-06-18 13:05 ` John David Anglin
1999-06-18 18:29   ` Jeffrey A Law
1999-06-18 15:51 ` Alex deVries
  -- strict thread matches above, loose matches on Subject: below --
1999-06-18 14:04 Alex deVries
1999-06-18 15:04 ` John David Anglin
1999-06-18 19:16   ` Alex deVries
1999-06-18 18:34 ` Jeffrey A Law
1999-06-18 16:58 Cary Coutant
1999-06-18 17:49 ` John David Anglin

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.