Difference between revisions of "Flameman/hp712"
(→Changing to Serial Console)
|Line 3:||Line 3:|
== Overview ==
== Overview ==
== Changing to Serial Console ==
== Changing to Serial Console ==
Revision as of 13:40, 17 December 2009
hp712, HP 9000/712 model
Time of introduction: 1994
The PA-7100LC was primarily designed as a single-chip solution for application in low cost systems while still delivering the performance of 1991 high-end workstations and servers. The CPU core design was leveraged from the PA-7100 and integrated with several of its off-chip support components on a single die. The PA-7100LC integrates the CPU, FPU, MIOC (memory and I/O controller) and a first-level cache on a single VLSI chip and has a direct attachment to the GSC main bus. Both CPU and FPU support the PA-RISC 1.1 Edition 3 ISA. Details
- PA-RISC version 1.1c 32-bit
- Three functional units: 2 integer ALUs, 1 Floating Point unit1
- 2-way superscalar
- Not SMP-capable
- Five-stage pipeline
- DRAM memory & cache controller (MIOC) integrated on die, thus direct interface from the CPU to memory and cache
- 1KB on-chip I L1 instruction cache, direct mapped, 64-bit per access, prefetch from off-chip I cache
- 8KB-2MB off-chip unified I/D L1 cache, direct mapped, hashed address, virtual index, 480-600MB/s bandwidth
- The 1KB on-chip I cache is not really considered a true cache, thus the off-chip cache in fact is the system’s real L1 cache
- 32-Byte cache line size
- Support for bi-endian load-store operations
- MAX-1 multimedia extensions (subword arithmetic) for multimedia applications, e.g., MPEG decoding
- Floating Point load-store to I/O space
- 64-entry unified I/D TLB, fully associative, 4K page size
- 8-entry BTLB, page sizes from 512K - 64M
- 64-bit wide load/store operations
- I and D cache bypassing
- Stall on use D cache miss policy
- Don’t fill on miss cache hint
- Hardware TLB miss handler support
- Hardware static branch prediction
- GSC bus interface
- 64-bit ECC interface to the main memory
- Instruction line prefetch from main memory
- Up to 100MHz clock
- 14.2×14.2 mm2 die, 900,000 FETs, 0.75µ (micron), 3-layer aluminium process packaged in a 432-pin PGA
Only one of the two integer ALUs is able to handle loads, stores and shifts, these operations can only be paired with simple math operations, like integer addition or multiplication. Both units can handle branch operations.
1. PA7100LC ERS (External Reference Specification)Link 11 (.pdf) Hewlett-Packard Company (1999) 2. The PA 7100LC Microprocessor: A Case Study of IC Design Decisions in a Competitive EnvironmentLink 12 Mick Bass et al (April 1995: Hewlett-Packard Journal. Accessed May 2009) 3. Design methodologies for the PA 7100LC microprocessorLink 13 (.pdf) Mick Bass et al (April 1995: Hewlett-Packard Journal. Accessed May 2009)
Changing to Serial Console
To connect your PA-RISC machine to your PC so you can boot the system using a console, you need a 9 pin-to-9 pin female null-modem cable.
Unfortunately, HP decided that the 712 should be hard to configure for headless use. Improper setting of the console path may cause the system to become inoperable. Beware.
Briefly, you must get to the HP-UX bootloader prompt (which they call the ISL) which will allow you to permanently set your preferred console location to the first serial port at 9600 8N1.
The original source of this information is http://lists.parisc-linux.org/pipermail/parisc-linux/1999-December/008117.html.
To change to a serial console, you need:
- a PS/2 style keyboard
- a monitor with VGA style interface
- the HP-UX ISL (either an HP-UX bootable hard drive or netboot)
First, you need to get to the BootROM prompt. When your system prints the following on screen, press and hold ESC until you get the BOOT_ADMIN> prompt:
Press <ESCAPE> to stop boot sequence.
Setting monitor type
If your display doesn't show properly, the frequency may be out-of-range. You can select the monitor type suitable to your display.
If your 712 has the add-in VRAM board, normal VGA 680x480 mode is monitor type 7. Without the VRAM board, the number may be different (possibly 5?).
BOOT_ADMIN> monitor 7 Monitor Choices Type Resolution Frequency ---- ---------- --------- 1 1280x1024 72Hz 2 1024x768 75Hz 3 1024x768 70Hz 4 1024x768 75Hz Flat Panel 5 1280x1024 60Hz 6 1024x768 60Hz 7 640x480 60Hz 8 1280x1024 75Hz VESA 9 1024x768 75Hz VESA 10 800x600 75Hz VESA 11 640x480 75Hz VESA 12 1280x1024 72Hz Greyscale 13 1280x1024 50Hz Current Monitor Type is 7 640x480 60Hz BOOT_ADMIN> reset
If you have HP-UX installed on local disk
BOOT_ADMIN> boot pri isl Booting ISL Revision A.00.38 OCT 26, 1994 ISL>
Boot 712 from LAN
BOOT_ADMIN> boot lan isl
ISL Revision A.00.25 November 18, 1992
Run the following command to set your 712 to use a serial RS-232 console with 9600 Baud, 8 data bits, 1 stop bit, and no parity:
ISL> conspath 2/0/4.0x283
To set your 712 to use the local console (i.e. keyboard and screen), run the following command:
ISL> conspath 1/0/0.0
You can use the display and information commands to verify that your settings have been stored properly. Once you're sure everything looks right, power cycle your workstation to start using your serial console.
Additionally, you can temporarily use the local console by pressing the “Esc” key on the PS/2 keyboard while resetting. This is setting only affects the console location temporarily and only works with firmware rev 1.6 and later.
---------------------------------------------------------------------------- BootRom Version 1.6 Memory Size: 192 MB ---------------------------------------------------------------------------- (c) Copyright 1990-1993, Hewlett-Packard Company. All rights reserved Press <ESCAPE> to stop boot sequence. <ESC> Selecting a system to boot. ---------------------------------------------------------------------------- Command Description ------- ----------- Auto [boot|search] [on|off] Display or set auto flag Boot [pri|alt|scsi.addr] [isl] Boot from primary, alternate or SCSI Boot lan[.lan_addr] [install] [isl] Boot from LAN Chassis [on|off] Enable chassis codes Diagnostic [on|off] Enable/disable diagnostic boot mode Fastboot [on|off] Display or set fast boot flag Help Display the command menu Information Display system information LanAddress Display LAN station addresses Monitor [type] Select monitor type Path [pri|alt] [lan.id|SCSI.addr] Change boot path Pim [hpmc|toc|lpmc] Display PIM info Search [ipl] [scsi|lan [install]] Display potential boot devices Secure [on|off] Display or set security mode ---------------------------------------------------------------------------- BOOT_ADMIN> boot lan isl Booting ISL Revision A.00.25 November 18, 1992 ISL> display Fastsize value is 0000000F Autoboot is ON (enabled) Autosearch is ON (enabled) Primary boot path is 2/0/126.96.36.199.0.0.0 Primary boot path is (hex) 2/0/188.8.131.52.0.0.0 Alternate boot path is 2/0/184.108.40.206.0.0.0 Alternate boot path is (hex) 2/0/220.127.116.11.0.0.0 System console path is 18.104.22.168.0.0.0 System console path is (hex) 22.214.171.124.0.0.0 ISL> conspath 2/0/4.0x283 ISL> display Fastsize value is 0000000F Autoboot is ON (enabled) Autosearch is ON (enabled) Primary boot path is 2/0/126.96.36.199.0.0.0 Primary boot path is (hex) 2/0/188.8.131.52.0.0.0 Alternate boot path is 2/0/184.108.40.206.0.0.0 Alternate boot path is (hex) 2/0/220.127.116.11.0.0.0 System console path is 2/0/4.618.104.22.168.0.0 System console path is (hex) 2/0/4.222.214.171.124.0.0 ISL>
gram form the original message
Matthew Wilcox writes...
>On Thu, Dec 23, 1999 at 07:45:00AM -0800, Bill Katz William" wrote: >> |How do I set the console on my 712 to be the serial port, not the
>> |display? >> | >> |Thanks >> | >> >> Boot to ISL and use the conspath >> command to change the console back to rs232. The command to use is: >> >> serial >> conspath 2/0/4.643 >> graphics >> conspath 1/0/0.0 > >This contradicts the PA-RISC Booting HOWTO: > >----- > >126.96.36.199.3. How can I change the boot console to serial on a 712? > >Unfortunately, you can't. Although 712s are configured for in-house HP >development to use serial console, this configuration isn't supported >in the field. You have to use a graphics console for 712s. > >----- > >I'd like to know if this needs to be corrected.
The above statement about serial console not being "supported" on 712 is correct. That doesn't mean you can't do it. Here are the instructions,
CONFIGURING A RS-232 CONSOLE on a 712
An RS-232 console is not a supported feature in the 712 products. For this reason users cannot select the RS-232 port as a console from the BOOT_ADMIN prompt.
These instructions will configure an RS-232 console with 9600 Baud, 8 data bits, 1 stop bit, and no parity.
NOTE: If the following instructions are not entered correctly, your system may be left in an un-usable state. Contact support to "dagger" your system in this case.
Power up the 712 system. Press (ESCAPE) during boot to abort auto booting the system. At the BOOT_ADMIN> prompt, use the boot command and the isl keyword. This will stop the boot sequence at ISL instead of booting to the
For example: 'boot scsi.6 isl' At the ISL> prompt, type 'conspath 2/0/4.0x283' At the ISL> prompt, type 'disp' and verify console path is: (hex) 2/0/4.2188.8.131.52.0.0 If necessary re-type the conspath command above. Connect an RS-232 terminal to the system. Power cycle the system to bring it up on an RS-232 console.
As it indicates above, *BE VERY CAREFUL* or you can hose your system. If you do, I have one of the "dagger" cards that can be loaned out to fix it.
-- Matt Taggart email@example.com
X-From-Line: firstname.lastname@example.org Thu Mar 11 15:54:36 1999 Return-Path: <email@example.com> Received: from merlin.pcj.primenet.com (firstname.lastname@example.org [192.168.111.10]) by merlin.pcj.primenet.com (8.8.7/8.8.7) with ESMTP id PAA14261 for <email@example.com>; Thu, 11 Mar 1999 15:54:32 -0800 Resent-From: firstname.lastname@example.org Received: from pop.primenet.com by merlin.pcj.primenet.com (fetchmail-4.4.7 POP3) for <pcj/merlin.pcj.primenet.com> (single-drop); Thu, 11 Mar 1999 15:54:36 PST Received: from smtp01.primenet.com (email@example.com [184.108.40.206]) by primenet.com (8.8.8/8.8.5) with ESMTP id PAA14177 for <firstname.lastname@example.org>; Thu, 11 Mar 1999 15:32:44 -0700 (MST) Received: (from daemon@localhost) by smtp01.primenet.com (8.8.8/8.8.8) id PAA26870 for <email@example.com>; Thu, 11 Mar 1999 15:32:42 -0700 (MST) Received: from SOD.RES.CMU.EDU(220.127.116.11)
via SMTP by smtp01.primenet.com, id smtpd026771; Thu Mar 11 15:32:32 1999
Received: (from listserv@localhost) by sod.res.cmu.edu (8.8.7/8.8.7) id RAA06933; Thu, 11 Mar 1999 17:32:02 -0500 Resent-Date: Thu, 11 Mar 1999 17:32:02 -0500 X-Authentication-Warning: sod.res.cmu.edu: listserv set sender to firstname.lastname@example.org using -f Delivered-To: email@example.com Date: Thu, 11 Mar 1999 16:35:15 -0600 From: Jason Eckhardt <firstname.lastname@example.org> Message-Id: <199903112235.QAA05851@equator.com> To: email@example.com Subject: [hppa-linux] Boot #4 and source on ftp site Resent-Message-ID: <"3RIsy2.0.Ei1.XH4ws"@sod.res.cmu.edu> Reply-To: firstname.lastname@example.org X-Mailing-List: <email@example.com> archive/latest/171 X-Loop: firstname.lastname@example.org Precedence: list Resent-Sender: email@example.com X-UIDL: 9ce996d3976fbc9addd3c92c1b564e49 Lines: 25 Xref: merlin.pcj.primenet.com palinux:142
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.