Skip to contentSkip to conversation

Boot #4 and source on ftp site

hppa-linux Jason Eckhardt 8 participants 9 messages Mar 11, 1999 – Mar 13, 1999

lore
Share & tools
lore
#0 lore raw

Boot test #4: This is essentially the same code as #3 but I have taken out some delays, modified the cache flush routines, and turned verbose (debug) mode back on. I want to make sure that not having the delays makes no difference and that no characters get dropped when there is a lot of text (as in debug mode). Please let me know if the test still passes as before. Hopefully this will be the last test for a while. Kernel work comes next.

I have uploaded the binary as well as a new source drop to the ftp site. The source is now GPL'd and a detailed README is included which gives an overview of the boot code operation. This source supersedes any previous source you may have laying around.

ftp from sod.res.cmu.edu:/pub/parisc/hilo
boot_rel_0.2.tar.gz The latest source code and documentation.
bootstrap_4.bin.gz Bootstrap binary #4.

Regards,
Jason Eckhardt.

-------------------------------------------------------------------------
To unsubscribe: send e-mail to [email protected] with `unsubscribe' as the subject.

#1 lore raw

Re: [hppa-linux] Bootstrap #4 successful

Hi !

Bootstrap #4 works again perfectly and very fast here on 715/64 via BOOTP/TFTP ! No Problems !

Helge Deller.

-------------------------------------------------------------------------
To unsubscribe: send e-mail to [email protected] with `unsubscribe' as the subject.

#2 lore raw
In reply to Jason Eckhardt

Works fine for me now. I must have messed up the previous try, it now boots up very quickly and gives me the spinning \|/- stuff.

- Paul

-------------------------------------------------------------------------
To unsubscribe: send e-mail to [email protected] with `unsubscribe' as the subject.

#3 lore raw

[hppa-linux] Boot #4

In reply to Jason Eckhardt

worked fine, 712/100, 128ram, external scsi

dman

-------------------------------------------------------------------------
To unsubscribe: send e-mail to [email protected] with `unsubscribe' as the subject.

#4 lore raw

Re: [hppa-linux] Boot #4

Hi!

Tested bootstrap #4 with 735 (rbootd) and it worked OK.

- Goodi
"The linuX Files -- The Source is Out There." ø,¸¸,ø¤º°°º¤ø,¸¸,ø¤º°°º¤ø,¸¸,ø¤º°°º¤ø,¸¸,ø¤º°°º¤ø¤º°`°º¤ø,¸¸,ø¤º°

-------------------------------------------------------------------------
To unsubscribe: send e-mail to [email protected] with `unsubscribe' as the subject.

#5 lore raw
In reply to Jason Eckhardt
Quoted 3 lines · Jason Eckhardt

Boot test #4: This is essentially the same code as #3 but I have taken out some delays, modified the cache flush routines, and turned

...

Works on B132L (early version B-class). Will try it on a newer C-class next.

One gripe: The test code doesn't automatically reboot the box. I use remote consoles and have to walk over to the machine room to cycle power...remember I'm doing this in my "spare" time.

If/when a kernel debugger is working, rebooting from the debugger would be a good thing. I think PDC will support this but don't have a clue about the details.

grant

Firmware Version 5.8

Duplex Console IO Dependent Code (IODC) revision 1

Memory Test/Initialization Completed

------------------------------------------------------------------------------
(c) Copyright 1995-1998, Hewlett-Packard Company, All rights reserved
------------------------------------------------------------------------------

  Processor   Speed            State           Coprocessor State  Cache Size
  ---------  --------   ---------------------  -----------------  ----------
      0      132 MHz    Active                 Functional          64 KB

1 MB ext

Available memory (bytes) : 67108864
Good memory required (bytes): 67108864

  Primary boot path:    SESCSI.5.0
  Alternate boot path:  SESCSI.6.0
  Console path:         GRAPHICS(0)
  Keyboard path:        PS2

...
Main Menu: Enter command > pa

Primary boot path: SESCSI.5.0

Alternate boot path: SESCSI.6.0

Console path: GRAPHICS(0)

Keyboard path: PS2

Main Menu: Enter command > bo alt
Interact with IPL (Y, N, Q)?> n

Booting...
Boot IO Dependent Code (IODC) revision 153

HARD Booted.

------------------------------------------------------------------------------

PARISC/Linux Bootstrap Version 0.2 (non-interactive) By Jason Eckhardt
Built Thu Mar 11 16:01:50 CST 1999 by jason@sathanas

IPL_DEBUG: Page zero parameters:

  P0_IMM_max_mem:          67108864 (64 MB)
  P0_BOOTCPU_10msec:       1320000 (132 MHz)
  P0_BOOTCPU_mem_free:     0x00008000
  P0_BOOTCPU_hpa:          0xFFFBE000
  P0_BOOTCPU_pdc:          0x00004800
  P0_COUT_iodc_io:         0x00008000
  P0_CIN_iodc_io:          0x00008000
  P0_BOOTDEV_iodc_io:      0x00012000
  P0_COUT_class:           0x00000007
  P0_CIN_class:            0x00000007
  P0_BOOTDEV_class:        0x00000001

Reading parameters...done.
Size = 28672 bytes, entry = 0x00001000, location = 0x0002B040. Loading kernel...done.
Transferring control to kernel.

*********************************************************

VMLINUX 0.0: Dummy kernel image loaded and executing!

It is now safe to reboot.
[ couldn't copy the ASCII animation]

-------------------------------------------------------------------------
To unsubscribe: send e-mail to [email protected] with `unsubscribe' as the subject.

#6 lore raw
In reply to Jason Eckhardt
Quoted 3 lines · Jason Eckhardt

Boot test #4: This is essentially the same code as #3 but I have taken out some delays, modified the cache flush routines, and turned

...

Works on a fairly new 9000/782/C200+
[Party!]

cheers,
grant

Firmware Version 6.1

Duplex Console IO Dependent Code (IODC) revision 1

------------------------------------------------------------------------------
(c) Copyright 1995-1998, Hewlett-Packard Company, All rights reserved
------------------------------------------------------------------------------

  Processor   Speed            State           Coprocessor State  I/D Cache
  ---------  --------   ---------------------  -----------------  -------------
      0      200 MHz    Active                 Functional         512 KB/1 MB

Central Bus Speed (in MHz) : 120

Available memory (bytes) : 268435456
Good memory required (bytes): 21610496

  Primary boot path:    PCI1.13.0
  Alternate boot path:  SESCSI.2.0
  Console path:         GSC1.0.0
  Keyboard path:        PS2

CPU 0
WARNING: Self tests have been disabled as a result of FASTBOOT
being enabled. To enable self tests, use the FASTBOOT command in the CONFIGURATION menu and reboot the system.
WARNING: Memory has been initialized, but not tested as a result of
FASTBOOT being enabled. To test memory, use the FASTBOOT command in the CONFIGURATION menu and reboot the system.

------- Main Menu -------------------------------------------------------------

        Command                         Description
        -------                         -----------
        BOot [PRI|ALT|<path>]           Boot from specified path

PAth [PRI|ALT|CON|KEY] [<path>] Display or modify a path
SEArch [DIsplay|IPL] [<path>] Search for boot devices

COnfiguration [<command>] Access Configuration menu/commands
INformation [<command>] Access Information menu/commands
SERvice [<command>] Access Service menu/commands

DIsplay Redisplay the current menu
HElp [<menu>|<command>] Display help for menu or command
RESET Restart the system
-------
Main Menu: Enter command > pa

Primary boot path: PCI1.13.0

Alternate boot path: SESCSI.2.0

Console path: GSC1.0.0

Keyboard path: PS2

Main Menu: Enter command > bo pci1.12.0
Interact with IPL (Y, N, Q)?> n

Booting...
Boot IO Dependent Code (IODC) revision 1

HARD Booted.

------------------------------------------------------------------------------

PARISC/Linux Bootstrap Version 0.2 (non-interactive) By Jason Eckhardt
Built Thu Mar 11 16:01:50 CST 1999 by jason@sathanas

IPL_DEBUG: Page zero parameters:

  P0_IMM_max_mem:          268435456 (256 MB)
  P0_BOOTCPU_10msec:       2000000 (200 MHz)
  P0_BOOTCPU_mem_free:     0x0000C000
  P0_BOOTCPU_hpa:          0xFFFA0000
  P0_BOOTCPU_pdc:          0x00008000
  P0_COUT_iodc_io:         0x0000C000
  P0_CIN_iodc_io:          0x0000C000
  P0_BOOTDEV_iodc_io:      0x00016000
  P0_COUT_class:           0x00000007
  P0_CIN_class:            0x00000007
  P0_BOOTDEV_class:        0x00000001

Reading parameters...done.
Size = 28672 bytes, entry = 0x00001000, location = 0x0002B040. Loading kernel...done.
Transferring control to kernel.

*********************************************************

VMLINUX 0.0: Dummy kernel image loaded and executing!

It is now safe to reboot.

#7 lore raw
In reply to Jason Eckhardt

I compiled without libmilli.a and it did compile. File ipl_s.s says
The object code is converted to LIF (logical interchange format) and then at the beginning of the boot media.

So how do I convert the binary "ipl" to LIF. I tried "lifinit" and "mkboot" combination. But no luck, I keep getting

"Bad IPL size" and "Error reading IPL" error messages.

I tried "dd" also on the raw disk. No luck with that either.

So my question is how to place built "ipl" binary at the appropriate place on the disk so that PDC finds it. Any magic combination of commands ? Looks like I am missing something obvious.

Thanks in advance,

-pkd

Quoted 27 lines · Jason Eckhardt

Boot test #4: This is essentially the same code as #3 but I have taken out some delays, modified the cache flush routines, and turned verbose (debug) mode back on. I want to make sure that not having the delays makes no difference and that no characters get dropped when there is a lot of text (as in debug mode). Please let me know if the test still passes as before. Hopefully this will be the last test for a while. Kernel work comes next.

I have uploaded the binary as well as a new source drop to the ftp site. The source is now GPL'd and a detailed README is included which gives an overview of the boot code operation. This source supersedes any previous source you may have laying around.

ftp from sod.res.cmu.edu:/pub/parisc/hilo
boot_rel_0.2.tar.gz The latest source code and documentation.
bootstrap_4.bin.gz Bootstrap binary #4.

Regards,
Jason Eckhardt.

-------------------------------------------------------------------------
To unsubscribe: send e-mail to [email protected] with `unsubscribe' as the subject.

#8 lore raw
Quoted 19 lines

I compiled without libmilli.a and it did compile. File ipl_s.s says
The object code is converted to LIF (logical interchange format) and then at the beginning of the boot media.

So how do I convert the binary "ipl" to LIF. I tried "lifinit" and "mkboot" combination. But no luck, I keep getting

"Bad IPL size" and "Error reading IPL" error messages.

I tried "dd" also on the raw disk. No luck with that either.

So my question is how to place built "ipl" binary at the appropriate place on the disk so that PDC finds it. Any magic combination of commands ? Looks like I am missing something obvious.

Quoted 3 lines

Thanks in advance,

-pkd

You are on the right track. After lifinit you have to use lifcp to copy the file into the newly created LIF volume. You also have to give it the correct file type. A script I use for creating bootable LIF volumes looks something like:

#! /bin/ksh -x
LIF_FILE=uxbootlf
/bin/rm -f $LIF_FILE

lifinit ./iplopt ISL -v8000000 -d32 -nL2DIAG -K2 -s4096 $LIF_FILE

lifcp -r -T-12800  -K2 ISL             $LIF_FILE:ISL
lifcp -r -T-12289  -K2 AUTO            $LIF_FILE:AUTO
lifcp -r -T-12928  -K2 HPUX            $LIF_FILE:HPUX

-Bill