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.

5.6 mDOC SupportThe Sandisk mDOC memory is interfaced to the processor using the DFI bus with nCS2 as the bootchip select, much the same as OneNAND.Table 1, Version 2.xx and Version 3.xx High Level Differences, on page 15 states which version of<strong>Boot</strong> <strong>ROM</strong> natively supports this memory device.The mDOC device acts as a NAND disk; however, no file system is mounted during the processorboot operation. Instead, the mDOC driver code resident in the processor <strong>Boot</strong> <strong>ROM</strong> allows accessesto the mDOC device via formatted partitions and sector offsets within the partitions.The TIM/NTIM must reside in Partition 2, Sector Offset 0. Any other images (OBM) must reside inPartition 2 or greater (applicable to <strong>Boot</strong> <strong>ROM</strong> versions 3.32 and later).NoteNoteWhen connecting the mDOC memory to a processor with a <strong>Boot</strong> <strong>ROM</strong> version 3.27 orearlier, the NTIM/TIM must be loaded to the XIP area at address 0x1000_0000. TheOBM image also resides in the XIP space and must contain an mDOC driver. The <strong>Boot</strong><strong>ROM</strong> cannot directly access the mDOC memory until the driver has been loaded fromthe OBM boot code.Partition 1 is an OTP partition that stores keys for trusted boot operations, but otherwise is notusable. mDOC sectors are 512 bytes.The 32-bit flash address for mDOC images are calculated as follows:28 bit sector offset 4 bit partition #Here are examples of how to calculate Flash positions within the mDOC device for use with inputfiles for the TBB tool:mDOC address-------------------NTIM (must be in Partition 2, Sector Offset 0) = 0x2OBM in Partition 5 starting at Sector Offset 32 = 0x205OBM in Partition 3 starting at Sector Offset 506 = 0x1FA3NoteNoteVersion 3.xx <strong>Boot</strong> <strong>ROM</strong>s have the backwards compatibility mode where the header isoptional; however, if using mDOC in the system, a header (NTIM or TIM) MUST beimplemented (applies to ALL versions of <strong>Boot</strong> <strong>ROM</strong>).5.6.1 Exiting Low Power Mode and Resets with mDOCResuming from low power modes and reset exits are different depending on whether the <strong>Boot</strong> <strong>ROM</strong>has the integrated driver. For example, the PXA320 B2 does not have the integrated driver formDOC memory. The <strong>Boot</strong> <strong>ROM</strong> can access only the XIP area. The PXA310 A2 does have the driverembedded so the <strong>Boot</strong> <strong>ROM</strong> enables direct accesses to the mDOC memory device at boot time,reset and low power mode exits as described in Table 9, Trusted Image Module Locations forTrusted <strong>Boot</strong>, on page 36.12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758Copyright © 2010 <strong>Marvell</strong> PUBLIC RELEASE Doc. No. MV-S301208-00 Rev. -Page 45

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

Saved successfully!

Ooh no, something went wrong!