You are on page 1of 3

Magneto Boot Manager / Image Updater design doc

Note: Instructions for how to program Magneto internal flash, please refer to Magneto Boot Manager and
Image Updater 101.

Magneto Image format:


Image size ~ 2MB

Image Header:

Struct {

uint32_t Image header "LION";

uint32_t version;

uint32_t header size;

uint32_t image bias;

uint32_t image size;

uint32_t core_0_image paddr;

uint32_t core_0_image offset;

uint32_tcore_0 stored size;

uint32_t core_1_image paddr;

uint32_t core_1_image offset;

uint32_tcore_1 stored size;

uint32_t core_2_image paddr;

uint32_t core_2_image offset;

uint32_tcore_2 stored size;

} header;

Magneto Internal Flash:

1 of 3 2016 NextEV. All rights reserved. Highly Confidential - This document is for internal use only.
Magneto Boot Manager:
TheMagneto Boot Manager reads the Boot Data Section from Internal Flash and based on those values decides which Image A or B to
boot to.

Boot Data Section contains the following information:

1. boot_mgr_data_cksum;
2. img_to_boot;
3. force_boot;
4. force_boot_addr;
5. img_a_valid;
6. img_b_valid;
7. img_a_update_sts;
8. img_b_update_sts;
9. img_a_cksum;
10. img_b_cksum;

Magneto Image Updater App:


Receives an image from IronMan and update the internal Flash with the new image. After a successful image update, it will update
the Boot Data section.

The following figure shows the high level communication between IronMan and Magneto Image Updater applications:

2 of 3 2016 NextEV. All rights reserved. Highly Confidential - This document is for internal use only.
3 of 3 2016 NextEV. All rights reserved. Highly Confidential - This document is for internal use only.

You might also like