User Guide

The bzImage and initrd will be ready in the current folder.
6. Copy the bzImage and initrd to the tools/payload-tool-chain/payload folder.
A sample cmdline file is already present in this directory.
7. Go to tools/payload-tool-chain directory and issue make.
The capsule files (DP_Payload.Cap and UP_Payload.Cap) will be ready in the current
folder.
Launcher Payload
Intel Rapid Boot BIOS will initialize the USB controller but will not do device detection. The
Launcher payload can be put in Flash which has a Linux kernel with USB drivers compiled in.
The Launcher payload, at the end of the boot process, will launch the user’s payload from
the USB/SATA device.
Modes of Operation
The USB payload launcher is controlled by a configuration file (/etc/payload.conf). There are
two modes of operation: direct mode and scan mode.
Direct mode
In direct mode, the configuration file will specify the device and absolute path of the kernel
and initrd. If the direct mode boot path fails, the system will revert to scan mode.
Scan mode
All USB storage devices in the system will be detected using the following algorithm:
1. One device at a time, the partitions are scanned in sequence looking for the grub
configuration file (/boot/grub/menu.lst or /grub/menu.lst). If the grub configuration file
is found, the default choice is picked up and kernel is loaded via a kexec call.
2. If grub configuration file is not found, then the partitions are scanned in sequence
looking for the bzImage and initrd in a pre-determined folder (/boot/payload). Once the
bzImage and initrd are detected, the payload will do a kexec call to launch this kernel.
3. If no payload is detected, the intermediate payload will look for SATA devices and repeat
the process.
4. If a boot path is not detected even after this, the system sleeps for a brief period and
repeats the process.
In scan mode, a USB device can be hot plugged. The device will be detected in the next
iteration and the payload will be booted.
How To Build the Launcher Payload
Use the following procedure to build the Launcher payload.
20 Intel
®
Rapid Boot Toolkit User Guide Ref# D96629-001