HPMC User Guide v 1.00
© 2026 Bassem W. Jamaleddine
Bootstrapping a computer is a classic term that means to bring the hardware to live. A bootstrap is the program that starts up a bare machine having an empty memory. Once the bootstrap loader is in memory, it can load the rest of the UNIX machine OS and MIC is in operation. Traditionally, the bootstrap is a short program that acts as a special purpose absolute load module. The MIX machine was boostrapped with an absolute loader, PDP-11 used the LOAD button on the console to invoke the bootstrap, and PC's BIOS used interrupt 19h as the bootstrap loader service. As for the MIC, let's see how this coprocessor is being bootstrapped.
This chapter addresses how to boot the MIC from the bottom up. This means, first we look at the MIC booting process, then we explain how to build the MIC boot image.
On the HPMC we will open three terminals:
Let's start looking at the startup of the service mpss. As we start the mpss service, notice that the MIC transitionned from state ready to booting, then read the image /usr/share/mpss/boot/bzImage-knightscorner to start its booting. So what happened during the booting state? The following explains the booting of the MIC.
This section is not included in the SAMPLE PREVIEW.
The mpss daemon (mpssd) reads the image /etc/mpss/lg3.cpio.gz as shown
in Figure 2.2.1 where we displayed the /dev/mic/* processes.
It is being decompressed first "/bin/gzip -d /etc/mpss/lg3.cpio.gz",
then gzipped again "/bin/gzip /etc/mpss/lg3.cpio"
in Figure 2.2.1 where we displayed the /dev/mic/* processes.
It is being decompressed first "/bin/gzip -d /etc/mpss/lg3.cpio.gz",
then gzipped again "/bin/gzip /etc/mpss/lg3.cpio"
Notice the following three entries in the /etc/mpss/mic0.conf discussed in the previous chapter.
Base CPIO /usr/share/mpss/boot/bassem-custom-lg3.cpio.gz OSimage /usr/share/mpss/boot/bzImage-knightscorner /usr/share/mpss/boot/System.map-knightscorner RootDevice RamFS /etc/mpss/lg3.cpio.gz
Reading and explaining these three lines from bottom to top: first, the Initramfs, the receiver of initrd (initial ramdisk), has the cpio archive: /etc/mpss/lg3.cpio.gz; Second, the kernel image is bzImage-knightscorner; Third, the base filesystem for embedded Linux file systemBase CPIO is read from /usr/share/mpss/boot/bassem-custom-lg3.cpio.gz.
Initramfs (initial RAM file system) is the receiver of initrd (initial ramdisk). This is the cpio archive of the booting file system that is is loaded into memory by the Linux startup process. Linux copies the contents of the archive to rootfs (based on either ramfs or tmpfs), and then runs init. Init is designed to perform certain tasks before the real or final file system is installed on top of rootfs. Thus, initramfs should contain all the device drivers and tools needed to install the final root file system.
The /etc/mpss/mic0.conf files defines the locations for:
- The initial RAM file system of initrd.
- The kernel image is bzImage-knightscorner.
- Base filesystem for embedded Linux file system Base CPIO
- The initial RAM file system of initrd.
- The kernel image is bzImage-knightscorner.
- Base filesystem for embedded Linux file system Base CPIO
A quick look at the initialization of the MIC through the micctrl command:
This section is not included in the SAMPLE PREVIEW.