HPUXBOOT: The Secondary Loader

The secondary boot loader is called HPUXBOOT, but is also sometimes called Mongoose, the name it used while under development. More information on HPUXBOOT can be found in the hpux(1m) man page. Its job is to locate the kernel image and copy it into memory, then branch to it.

The first thing it does is relocate itself from its fixed starting point of 0xd00000 to near the end of the IMM. The 0xd00000 address was picked to guarantee that it will fit into a 16-MB memory module. But when the kernel gets loaded into memory, it gets loaded before HPUXBOOT, so HPUXBOOT needs to move itself out of the way. It calculates its new address so that it will end at the end of IMM minus 2 MB.

HPUXBOOT must now locate the HP-UX ...

Get HP-UX 11i Internals now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.