| Motorola Mobility Confidential Restricted. |
Configuring Fast BootThe STB needs to be configured (usually via DHCP) to store bootimages in its flash memory. Typically, set the Kernel Protocol option to "313". As the STB performs fast booting from its flash memory, a valid boot image must already be in the STB flash memory before fast boot can be used. This means that the STB will always perform at least one regular boot when downloading and saving the boot image to flash. Subsequent boots may use the fast boot mechanism. Boot image versionEvery boot image contains a string to identify the software version. The string itself is arbitrary. The version string is supplied to the build_boot_image script when building the boot image. If you use the build_vip*.sh scripts supplied in the SDK, then the version is set automatically. You can determine the version set in a particular boot image with the boot_image_version tool. The Infocast Server broadcasts a version string alongside each boot image. The STB, on joining the Infocast channel, checks this version string against the version string stored in its flash memory to decide if downloading the image is necessary or not. See Bootcast Information for more. Fast boot processThere are two ways the STB can boot, depending on if its Fast Boot flag has been set or not. Fresh out of the box, following a factory reset or a TOI-initiated reboot, the Fast Boot flag is not set. The following steps will occur: If the Fast Boot flag is not set...
If the Fast Boot Flag is set...
When up and running, the STB will periodically listen to the version string being broadcast from Infocast, to detect possible changes. If a change is noticed, the Fast Boot Flag will be cleared. This results in a new download during the next reboot. Triggering a reboot by using the TOI API, ie calling The comparison of version strings has changed slightly with the introduction of the fast boot mechanism. Previously, on the STBs that do not support fast booting, the STB listens to the version string being broadcast by Infocast, and saves the string in its flash memory. On the next boot, this saved version is compared with the one being broadcast. If they are different, the bootimage being broadcast is downloaded. The version string baked into the boot image was not used. For the fast boot STB's, the process is a little different. The STB downloads the initial boot image, and extracts the version string from it. On subsequent boots, this extracted version string is compared to the one being broadcast from Infocast. This means that you should be particular about matching the version string in the boot image, with the version string being broadcast by Infocast. If the STB is already in fast boot mode, and you wish to revert to non-fast-boot mode or access the firmware menu, then power it on and hold the power button until the Firmware menu is reached. |