Showing posts with label MSDN. Show all posts
Showing posts with label MSDN. Show all posts

7.22.2008

Image Update Device Side Features

*When started IPL(Initial Program Loader)->(check) Switch/Button & falg ->kenel image (normal boot) OR ->ULDR(Update Loader)

*Normal boot kernel starts&loads OS components to located in the kernel partition to point(OS can read from the system partition) At this point: nothing is located in the kernel partition until the run-time image is booted.

*Device update IPL knows where the master boot record(MBR). active partition is stored in the MBR. IPL loads the contents of active partition(kernel partition) to RAM(NAND,NOR), or jumps to startup address if the artition is NOR XIP kernel.


*during an update to the kernel partition to system partitionpackage mechanism donwloads (update packages) to (device's persistent user store)

UpdateBin

  1. checks signature on the packages,
  2. validates the package contents,
  3. verifies versions,
  4. sets a flash update flag(update is available)
  5. rebbots the system. at reboot, IPL notes the flag and invokes ULDR.

*when ULDR is booted and runing from RAM, ULDR searches the validated packages in the user store (contains file system drivers).

begins update process one package at a time package information is recorded in the file system for useing by Update Validator on future updates. the update progress is tracked to allow for roll-forward updates in case a power failure occurs during the update.


*when all package contents have been applied and complete, the package can be removed from the user store or marked as completed. the flash update flag is cleared the device is rebooted.

Image Download Application

*provides the following functionality:
1. downloading the new disk image to device replacing the existing disk image.
2. downloading packages to the device in the Update Loader context. packages can be applied to the image by the ULDR.

*when a device boots, IPL jumps to the ULDR
the primary run-time image(pressing a switch/ software flag is set(packages need to be applied).

*when IPL jumps to the ULDR, ULDR run an update application to apply the available updates to the image , reboot the device, and updating the image

*because Image Download Application can downlade packages in the ULDR context, it is useful for the development enviroment or for failsafe image recovery.

*because the Impage Update model replaces the old boot loader model,