12.07.2015 Views

PXA3xx Boot ROM Reference Manual - Marvell

PXA3xx Boot ROM Reference Manual - Marvell

PXA3xx Boot ROM Reference Manual - Marvell

SHOW MORE
SHOW LESS
  • No tags were found...

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

<strong>PXA3xx</strong> Processors and Tavor Processor<strong>Boot</strong> <strong>ROM</strong> <strong>Reference</strong> <strong>Manual</strong>10.3 OneNAND FlashThe Trusted <strong>Boot</strong> <strong>ROM</strong> supports booting from a x16 OneNAND device attached to Chip Select 2 ofthe processor static memory controller. Refer to Section 5.2, “<strong>Boot</strong> <strong>ROM</strong> NAND Device Support” forsupported NAND devices.The Non-Trusted Image Module is located in Block 0 at offset 0x0 of the OneNAND device. TheOneNAND device is memory mapped to 0x1000_0000. The Trusted <strong>Boot</strong> <strong>ROM</strong> loads the first pageof Block 0 and searches for the “TIMH” identifier embedded in the version information of theNon-Trusted Image Module. If the structure is found, it is loaded into the internal SRAM of thesystem. From this point forward, the Trusted <strong>Boot</strong> <strong>ROM</strong> uses the Non-Trusted Image Module to loadthe OEM boot module.The OEM boot module is described by the image information contained in the image informationarray, and is identified by the “OBMI” image identifier. This required identifier is necessary for properuse with the Trusted <strong>Boot</strong> <strong>ROM</strong>. Using the information that describes the OEM boot module, theimage is loaded from the flash offset pointed to by the FlashEntryAddr to the location pointed toby the LoadAddr. The number of bytes loaded is determined by the ImageSize entry.Once the image has been loaded to the correct address, the CRC must be verified. The image CRCis calculated based on the ImageSize, LoadAddr, and ImageSizeToCRC entries. Then, thecalculated CRC is compared to the CRC stored in the Non-Trusted Image Module in the CRC field.Upon a successful check, control is transferred to the image at the load address.Refer to Section 5.5, “OneNAND Support” for more details.10.4 SanDisk FlashThe Trusted <strong>Boot</strong> <strong>ROM</strong> supports booting from a x16 SanDisk device attached to Chip Select 2 of theprocessor static memory controller. Large block devices are supported so contact your <strong>Marvell</strong> FAEwith questions about specific devices.The Non-Trusted Image Module is located in Block 0 at offset 0x0 of the SanDisk device, which ismemory mapped to 0x1000_0000. The Trusted <strong>Boot</strong> <strong>ROM</strong> loads the first page of Block 0 andsearches for the “TIMH” identifier embedded in the version information of the Non-Trusted ImageModule. If the structure is found, it is loaded into the internal SRAM of the system. From this pointon, the Trusted <strong>Boot</strong> <strong>ROM</strong> uses the Non-Trusted Image Module to load the OEM boot module.The OEM boot module is described by the image information contained in the image informationarray, and is identified by the “OBMI” image identifier. This required identifier is necessary for properuse with the Trusted <strong>Boot</strong> <strong>ROM</strong>. Using the information that describes the OEM boot module, theimage is loaded from the flash offset pointed to by the FlashEntryAddr to the location pointed toby the LoadAddr. The number of bytes loaded is determined by the ImageSize entry.Once the image has been loaded to the correct address, the CRC must be verified. The image CRCis calculated based on the ImageSize, LoadAddr, and ImageSizeToCRC entries. Then, thecalculated CRC is compared to the CRC stored in the Non-Trusted Image Module in the CRC fie.Refer to Section 5.6, “mDOC Support” for more details.12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758Doc. No. MV-S301208-00 Rev. - PUBLIC RELEASE Copyright © 2010 <strong>Marvell</strong>Page 94

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!