Skip to content

Commit

Permalink
[REL] Ready for v5.2.0
Browse files Browse the repository at this point in the history
Signed-off-by: Jay Heng <[email protected]>
  • Loading branch information
JayHeng committed Jul 7, 2023
1 parent b507e44 commit 0a8ec94
Show file tree
Hide file tree
Showing 50 changed files with 8,696 additions and 80 deletions.
2 changes: 1 addition & 1 deletion README-zh.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# NXP MCU Boot Utility

[![GitHub release](https://img.shields.io/github/release/JayHeng/NXP-MCUBootUtility.svg)](https://github.com/JayHeng/NXP-MCUBootUtility/releases/latest) [![GitHub commits](https://img.shields.io/github/commits-since/JayHeng/NXP-MCUBootUtility/v5.1.0.svg)](https://github.com/JayHeng/NXP-MCUBootUtility/compare/v5.1.0...master) ![GitHub All Releases](https://img.shields.io/github/downloads/JayHeng/NXP-MCUBootUtility/total.svg) [![GitHub license](https://img.shields.io/github/license/JayHeng/NXP-MCUBootUtility.svg)](https://github.com/JayHeng/NXP-MCUBootUtility/blob/master/LICENSE)
[![GitHub release](https://img.shields.io/github/release/JayHeng/NXP-MCUBootUtility.svg)](https://github.com/JayHeng/NXP-MCUBootUtility/releases/latest) [![GitHub commits](https://img.shields.io/github/commits-since/JayHeng/NXP-MCUBootUtility/v5.2.0.svg)](https://github.com/JayHeng/NXP-MCUBootUtility/compare/v5.2.0...master) ![GitHub All Releases](https://img.shields.io/github/downloads/JayHeng/NXP-MCUBootUtility/total.svg) [![GitHub license](https://img.shields.io/github/license/JayHeng/NXP-MCUBootUtility.svg)](https://github.com/JayHeng/NXP-MCUBootUtility/blob/master/LICENSE)

[English](./README.md) | 中文

Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# NXP MCU Boot Utility

[![GitHub release](https://img.shields.io/github/release/JayHeng/NXP-MCUBootUtility.svg)](https://github.com/JayHeng/NXP-MCUBootUtility/releases/latest) [![GitHub commits](https://img.shields.io/github/commits-since/JayHeng/NXP-MCUBootUtility/v5.1.0.svg)](https://github.com/JayHeng/NXP-MCUBootUtility/compare/v5.1.0...master) ![GitHub All Releases](https://img.shields.io/github/downloads/JayHeng/NXP-MCUBootUtility/total.svg) [![GitHub license](https://img.shields.io/github/license/JayHeng/NXP-MCUBootUtility.svg)](https://github.com/JayHeng/NXP-MCUBootUtility/blob/master/LICENSE)
[![GitHub release](https://img.shields.io/github/release/JayHeng/NXP-MCUBootUtility.svg)](https://github.com/JayHeng/NXP-MCUBootUtility/releases/latest) [![GitHub commits](https://img.shields.io/github/commits-since/JayHeng/NXP-MCUBootUtility/v5.2.0.svg)](https://github.com/JayHeng/NXP-MCUBootUtility/compare/v5.2.0...master) ![GitHub All Releases](https://img.shields.io/github/downloads/JayHeng/NXP-MCUBootUtility/total.svg) [![GitHub license](https://img.shields.io/github/license/JayHeng/NXP-MCUBootUtility.svg)](https://github.com/JayHeng/NXP-MCUBootUtility/blob/master/LICENSE)

English | [中文](./README-zh.md)

Expand Down
Binary file not shown.
1,065 changes: 1,065 additions & 0 deletions apps/NXP_MIMXRT1180-EVK_Rev.B/cm33/led_blinky_0x28003000.hex

Large diffs are not rendered by default.

1,064 changes: 1,064 additions & 0 deletions apps/NXP_MIMXRT1180-EVK_Rev.B/cm33/led_blinky_0x28003000.srec

Large diffs are not rendered by default.

Binary file not shown.
Binary file not shown.
1,065 changes: 1,065 additions & 0 deletions apps/NXP_MIMXRT1180-EVK_Rev.B/cm33/led_blinky_0x2800a000.hex

Large diffs are not rendered by default.

1,064 changes: 1,064 additions & 0 deletions apps/NXP_MIMXRT1180-EVK_Rev.B/cm33/led_blinky_0x2800a000.srec

Large diffs are not rendered by default.

Binary file not shown.
Binary file not shown.
1,065 changes: 1,065 additions & 0 deletions apps/NXP_MIMXRT1180-EVK_Rev.B/cm33/led_blinky_0x2800b000.hex

Large diffs are not rendered by default.

1,064 changes: 1,064 additions & 0 deletions apps/NXP_MIMXRT1180-EVK_Rev.B/cm33/led_blinky_0x2800b000.srec

Large diffs are not rendered by default.

Binary file not shown.
Binary file not shown.
1,065 changes: 1,065 additions & 0 deletions apps/NXP_MIMXRT1180-EVK_Rev.B/cm33/led_blinky_0x28010000.hex

Large diffs are not rendered by default.

1,064 changes: 1,064 additions & 0 deletions apps/NXP_MIMXRT1180-EVK_Rev.B/cm33/led_blinky_0x28010000.srec

Large diffs are not rendered by default.

Binary file not shown.
Binary file not shown.
Binary file modified bin/NXP-MCUBootUtility.exe
Binary file not shown.
2 changes: 2 additions & 0 deletions src/boot/target.py
Original file line number Diff line number Diff line change
Expand Up @@ -64,8 +64,10 @@ def __init__(self, cpu, board='', build='', **kwargs):
self.flexspiNorDevice = misc.get_dict_default(kwargs, 'flexspiNorDevice', None)
self.flexspiNorMemBase = misc.get_dict_default(kwargs, 'flexspiNorMemBase0', None)
self.flexspiNorMemBase0 = misc.get_dict_default(kwargs, 'flexspiNorMemBase0', None)
self.flexspiNorMemBase0Ns = misc.get_dict_default(kwargs, 'flexspiNorMemBase0Ns', None)
self.flexspiNorMemBase0Aliased = misc.get_dict_default(kwargs, 'flexspiNorMemBase0Aliased', None)
self.flexspiNorMemBase1 = misc.get_dict_default(kwargs, 'flexspiNorMemBase1', None)
self.flexspiNorMemBase1Ns = misc.get_dict_default(kwargs, 'flexspiNorMemBase1Ns', None)
self.flexspiNorMemBase1Aliased = misc.get_dict_default(kwargs, 'flexspiNorMemBase1Aliased', None)
self.flexspiFreqs = misc.get_dict_default(kwargs, 'flexspiFreqs', None)
self.xspiNorCfgInfoOffset = misc.get_dict_default(kwargs, 'xspiNorCfgInfoOffset', None)
Expand Down
5 changes: 3 additions & 2 deletions src/gen/RTxxx_gencore.py
Original file line number Diff line number Diff line change
Expand Up @@ -231,12 +231,13 @@ def RTxxx_createMatchedAppJsonfile( self ):
self.isXipApp = False
self.destAppVectorAddress = imageStartAddr
if self.bootDevice == RTxxx_uidef.kBootDevice_FlexspiNor:
if ((imageStartAddr >= self.tgt.flexspiNorMemBase) and (imageStartAddr < self.tgt.flexspiNorMemBase + RTxxx_rundef.kBootDeviceMemXipSize_FlexspiNor)):
self.adjustTgtFlexspiMemBaseAccordingToApp(imageStartAddr)
if ((imageStartAddr >= self.tgt.flexspiNorMemBase) and (imageStartAddr < self.tgt.flexspiNorMemBase + rundef.kBootDeviceMemXipSize_FlexspiNor)):
if (imageStartAddr + imageLength <= self.tgt.flexspiNorMemBase + RTxxx_rundef.kBootDeviceMemXipSize_FlexspiNor):
self.isXipApp = True
self.destAppVectorOffset = imageStartAddr - self.tgt.flexspiNorMemBase
else:
self.popupMsgBox(uilang.kMsgLanguageContentDict['srcImgError_xipSizeTooLarge'][self.languageIndex] + u"0x%s !" %(RTxxx_rundef.kBootDeviceMemXipSize_FlexspiNor))
self.popupMsgBox(uilang.kMsgLanguageContentDict['srcImgError_xipSizeTooLarge'][self.languageIndex] + u"0x%s !" %(rundef.kBootDeviceMemXipSize_FlexspiNor))
return False
else:
#self.destAppVectorOffset = RTyyyy_gendef.kInitialLoadSize_NOR
Expand Down
9 changes: 6 additions & 3 deletions src/gen/RTyyyy_gencore.py
Original file line number Diff line number Diff line change
Expand Up @@ -423,6 +423,7 @@ def _extractImageDataFromSrcApp(self, wholeSrcAppBytes, fdcbOffset, appName ):
imageDataOffset = destAppContainerOffset + img0Offset
imageDataBytes = wholeSrcAppBytes[imageDataOffset:imageDataOffset+img0Size]
self._genRawBinDestAppFile(imageDataBytes)
return img0LoadAddr, img0Entry, len(imageDataBytes)

def _RTyyyy_isSrcAppBootableImage( self, initialLoadAppBytes ):
try:
Expand Down Expand Up @@ -453,6 +454,7 @@ def _RTyyyy_isSrcAppBootableImage( self, initialLoadAppBytes ):
if (ivtBd <= ivtSelf) or (ivtBd - ivtSelf != RTyyyy_memdef.kMemBlockSize_IVT):
return False, None
self.printLog('Original image file is a bootable image file')
#self.printDeviceStatus("fdcbOffset = " + str(hex(fdcbOffset)))
return True, fdcbOffset
except:
return False, None
Expand Down Expand Up @@ -974,8 +976,9 @@ def _createMatchedAppInfofile( self, ideRetryType ):
self.isXipApp = False
self.destAppVectorAddress = imageStartAddr
if self.bootDevice == RTyyyy_uidef.kBootDevice_FlexspiNor:
if ((imageStartAddr >= self.tgt.flexspiNorMemBase) and (imageStartAddr < self.tgt.flexspiNorMemBase + RTyyyy_rundef.kBootDeviceMemXipSize_FlexspiNor)):
if (imageStartAddr + imageLength <= self.tgt.flexspiNorMemBase + RTyyyy_rundef.kBootDeviceMemXipSize_FlexspiNor):
self.adjustTgtFlexspiMemBaseAccordingToApp(imageStartAddr)
if ((imageStartAddr >= self.tgt.flexspiNorMemBase) and (imageStartAddr < self.tgt.flexspiNorMemBase + rundef.kBootDeviceMemXipSize_FlexspiNor)):
if (imageStartAddr + imageLength <= self.tgt.flexspiNorMemBase + rundef.kBootDeviceMemXipSize_FlexspiNor):
self.isXipApp = True
self.destAppVectorOffset = imageStartAddr - self.tgt.flexspiNorMemBase
minReservedSize = 0
Expand All @@ -990,7 +993,7 @@ def _createMatchedAppInfofile( self, ideRetryType ):

return False
else:
self.popupMsgBox(uilang.kMsgLanguageContentDict['srcImgError_xipSizeTooLarge'][self.languageIndex] + str(hex(RTyyyy_rundef.kBootDeviceMemXipSize_FlexspiNor)) + " !")
self.popupMsgBox(uilang.kMsgLanguageContentDict['srcImgError_xipSizeTooLarge'][self.languageIndex] + str(hex(rundef.kBootDeviceMemXipSize_FlexspiNor)) + " !")
return False
else:
if self.tgt.bootHeaderType == gendef.kBootHeaderType_Container:
Expand Down
27 changes: 27 additions & 0 deletions src/gen/gencore.py
Original file line number Diff line number Diff line change
Expand Up @@ -242,3 +242,30 @@ def getImageVersionValueFromSrcApp(self, initialLoadAppBytes, fdcbOffset ):
var32Vaule = rundef.kFlexspiNorContent_Blank32
return var32Vaule

def adjustTgtFlexspiMemBaseAccordingToApp( self, imageStartAddr ):
flexspiNorMemBase = None
flexspiNorMemBaseNs = None
flexspiNorMemBaseAliased = None
if self.flexspiXipRegionSel == 0:
flexspiNorMemBase = self.tgt.flexspiNorMemBase0
flexspiNorMemBaseNs = self.tgt.flexspiNorMemBase0Ns
flexspiNorMemBase0Aliased = self.tgt.flexspiNorMemBase0Aliased
elif self.flexspiXipRegionSel == 1:
flexspiNorMemBase = self.tgt.flexspiNorMemBase1
flexspiNorMemBaseNs = self.tgt.flexspiNorMemBase1Ns
flexspiNorMemBase1Aliased = self.tgt.flexspiNorMemBase1Aliased
else:
pass
if flexspiNorMemBase != None:
if ((imageStartAddr >= flexspiNorMemBase) and (imageStartAddr < flexspiNorMemBase + rundef.kBootDeviceMemXipSize_FlexspiNor)):
self.tgt.flexspiNorMemBase = flexspiNorMemBase
return
if flexspiNorMemBaseNs != None:
if ((imageStartAddr >= flexspiNorMemBaseNs) and (imageStartAddr < flexspiNorMemBaseNs + rundef.kBootDeviceMemXipSize_FlexspiNor)):
self.tgt.flexspiNorMemBase = flexspiNorMemBaseNs
return
if flexspiNorMemBaseAliased != None:
if ((imageStartAddr >= flexspiNorMemBaseAliased) and (imageStartAddr < flexspiNorMemBaseAliased + rundef.kBootDeviceMemXipSize_FlexspiNor)):
self.tgt.flexspiNorMemBase = flexspiNorMemBaseAliased
return

5 changes: 3 additions & 2 deletions src/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -744,14 +744,15 @@ def callbackShowRevisionHistory( self, event ):
(uilang.kMsgLanguageContentDict['revisionHistory_v4_1_0'][self.languageIndex]) +
(uilang.kMsgLanguageContentDict['revisionHistory_v4_1_1'][self.languageIndex]) +
(uilang.kMsgLanguageContentDict['revisionHistory_v5_0_0'][self.languageIndex]) +
(uilang.kMsgLanguageContentDict['revisionHistory_v5_1_0'][self.languageIndex]))
(uilang.kMsgLanguageContentDict['revisionHistory_v5_1_0'][self.languageIndex]) +
(uilang.kMsgLanguageContentDict['revisionHistory_v5_2_0'][self.languageIndex]))
wx.MessageBox(msgText, uilang.kMsgLanguageContentDict['revisionHistory_title'][self.languageIndex], wx.OK | wx.ICON_INFORMATION)

if __name__ == '__main__':
app = wx.App()

g_main_win = secBootMain(None)
g_main_win.SetTitle(u"NXP MCU Boot Utility v5.1.0")
g_main_win.SetTitle(u"NXP MCU Boot Utility v5.2.0")
g_main_win.Show()

g_task_detectUsbhid = threading.Thread(target=g_main_win.task_doDetectUsbhid)
Expand Down
5 changes: 4 additions & 1 deletion src/run/RTyyyy_runcore.py
Original file line number Diff line number Diff line change
Expand Up @@ -345,7 +345,10 @@ def _selectFlashloader( self ):
if self.tgt.bootHeaderType == gendef.kBootHeaderType_IVT:
flBinFile = os.path.join(self.cpuDir, 'ivt_flashloader.bin')
elif self.tgt.bootHeaderType == gendef.kBootHeaderType_Container:
flBinFile = os.path.join(self.cpuDir, 'cntr_flashloader.bin')
if (self.tgt.flexspiNorMemBase >> 28) % 2:
flBinFile = os.path.join(self.cpuDir, 'cntr_flashloader_s.bin')
else:
flBinFile = os.path.join(self.cpuDir, 'cntr_flashloader_ns.bin')
else:
pass
flSrecFile = os.path.join(self.cpuDir, 'flashloader.srec')
Expand Down
2 changes: 2 additions & 0 deletions src/run/rundef.py
Original file line number Diff line number Diff line change
Expand Up @@ -35,3 +35,5 @@
kXspiNorDefaultMemInfo_PageSize = 0x100
kXspiNorDefaultMemInfo_SectorSize = 0x1000
kXspiNorDefaultMemInfo_BlockSize = 0x20000

kBootDeviceMemXipSize_FlexspiNor = 0x10000000 #256MB
2 changes: 2 additions & 0 deletions src/targets/LPC55S16/bltargetconfig.py
Original file line number Diff line number Diff line change
Expand Up @@ -56,8 +56,10 @@
availableBootDevices = LPC_uidef.kBootDevice_Latest
flexspiNorDevice = None
flexspiNorMemBase0 = None
flexspiNorMemBase0Ns = None
flexspiNorMemBase0Aliased = None
flexspiNorMemBase1 = None
flexspiNorMemBase1Ns = None
flexspiNorMemBase1Aliased = None
flexspiFreqs = None
xspiNorCfgInfoOffset = None
Expand Down
2 changes: 2 additions & 0 deletions src/targets/LPC55S36/bltargetconfig.py
Original file line number Diff line number Diff line change
Expand Up @@ -56,8 +56,10 @@
availableBootDevices = LPC_uidef.kBootDevice_Latest
flexspiNorDevice = None
flexspiNorMemBase0 = None
flexspiNorMemBase0Ns = None
flexspiNorMemBase0Aliased = None
flexspiNorMemBase1 = None
flexspiNorMemBase1Ns = None
flexspiNorMemBase1Aliased = None
flexspiFreqs = None
xspiNorCfgInfoOffset = None
Expand Down
2 changes: 2 additions & 0 deletions src/targets/LPC55S69/bltargetconfig.py
Original file line number Diff line number Diff line change
Expand Up @@ -56,8 +56,10 @@
availableBootDevices = LPC_uidef.kBootDevice_Latest
flexspiNorDevice = None
flexspiNorMemBase0 = None
flexspiNorMemBase0Ns = None
flexspiNorMemBase0Aliased = None
flexspiNorMemBase1 = None
flexspiNorMemBase1Ns = None
flexspiNorMemBase1Aliased = None
flexspiFreqs = None
xspiNorCfgInfoOffset = None
Expand Down
2 changes: 2 additions & 0 deletions src/targets/MCXN947/bltargetconfig.py
Original file line number Diff line number Diff line change
Expand Up @@ -56,8 +56,10 @@
availableBootDevices = MCX_uidef.kBootDevice_Latest
flexspiNorDevice = None
flexspiNorMemBase0 = None
flexspiNorMemBase0Ns = None
flexspiNorMemBase0Aliased = None
flexspiNorMemBase1 = None
flexspiNorMemBase1Ns = None
flexspiNorMemBase1Aliased = None
flexspiFreqs = None
xspiNorCfgInfoOffset = None
Expand Down
2 changes: 2 additions & 0 deletions src/targets/MIMXRT1011/bltargetconfig.py
Original file line number Diff line number Diff line change
Expand Up @@ -61,8 +61,10 @@
availableBootDevices = [RTyyyy_uidef.kBootDevice_FlexspiNor]
flexspiNorDevice = uidef.kFlexspiNorDevice_Adesto_AT25SF128A
flexspiNorMemBase0 = 0x60000000
flexspiNorMemBase0Ns = None
flexspiNorMemBase0Aliased = 0x08000000
flexspiNorMemBase1 = None
flexspiNorMemBase1Ns = None
flexspiNorMemBase1Aliased = None
flexspiFreqs = ['30MHz', '50MHz', '60MHz', '75MHz', '80MHz', '100MHz', '133MHz', '166MHz', '200MHz']
xspiNorCfgInfoOffset = 0x400
Expand Down
2 changes: 2 additions & 0 deletions src/targets/MIMXRT1015/bltargetconfig.py
Original file line number Diff line number Diff line change
Expand Up @@ -63,8 +63,10 @@
RTyyyy_uidef.kBootDevice_LpspiNor]
flexspiNorDevice = uidef.kFlexspiNorDevice_Adesto_AT25SF128A
flexspiNorMemBase0 = 0x60000000
flexspiNorMemBase0Ns = None
flexspiNorMemBase0Aliased = 0x08000000
flexspiNorMemBase1 = None
flexspiNorMemBase1Ns = None
flexspiNorMemBase1Aliased = None
flexspiFreqs = ['30MHz', '50MHz', '60MHz', '75MHz', '80MHz', '100MHz', '133MHz', '166MHz', '200MHz']
xspiNorCfgInfoOffset = 0x0
Expand Down
2 changes: 2 additions & 0 deletions src/targets/MIMXRT1021/bltargetconfig.py
Original file line number Diff line number Diff line change
Expand Up @@ -61,8 +61,10 @@
availableBootDevices = RTyyyy_uidef.kBootDevice_Latest
flexspiNorDevice = uidef.kFlexspiNorDevice_ISSI_IS25LP064A
flexspiNorMemBase0 = 0x60000000
flexspiNorMemBase0Ns = None
flexspiNorMemBase0Aliased = 0x08000000
flexspiNorMemBase1 = None
flexspiNorMemBase1Ns = None
flexspiNorMemBase1Aliased = None
flexspiFreqs = ['30MHz', '50MHz', '60MHz', '75MHz', '80MHz', '100MHz', '133MHz', '166MHz', '200MHz']
xspiNorCfgInfoOffset = 0x0
Expand Down
2 changes: 2 additions & 0 deletions src/targets/MIMXRT1024/bltargetconfig.py
Original file line number Diff line number Diff line change
Expand Up @@ -66,8 +66,10 @@
RTyyyy_uidef.kBootDevice_SemcNor]
flexspiNorDevice = uidef.kFlexspiNorDevice_SipWinbond_W25Q32 # or 0xC0000007
flexspiNorMemBase0 = 0x60000000
flexspiNorMemBase0Ns = None
flexspiNorMemBase0Aliased = 0x08000000
flexspiNorMemBase1 = None
flexspiNorMemBase1Ns = None
flexspiNorMemBase1Aliased = None
flexspiFreqs = ['30MHz', '50MHz', '60MHz', '75MHz', '80MHz', '100MHz', '133MHz', '166MHz', '200MHz']
xspiNorCfgInfoOffset = 0x0
Expand Down
2 changes: 2 additions & 0 deletions src/targets/MIMXRT1042/bltargetconfig.py
Original file line number Diff line number Diff line change
Expand Up @@ -61,8 +61,10 @@
availableBootDevices = RTyyyy_uidef.kBootDevice_Latest
flexspiNorDevice = uidef.kFlexspiNorDevice_ISSI_IS25LP064A
flexspiNorMemBase0 = 0x60000000
flexspiNorMemBase0Ns = None
flexspiNorMemBase0Aliased = None
flexspiNorMemBase1 = None
flexspiNorMemBase1Ns = None
flexspiNorMemBase1Aliased = None
flexspiFreqs = ['30MHz', '50MHz', '60MHz', '75MHz', '80MHz', '100MHz', '120MHz', '133MHz', '166MHz', '200MHz']
xspiNorCfgInfoOffset = 0x0
Expand Down
2 changes: 2 additions & 0 deletions src/targets/MIMXRT1052/bltargetconfig.py
Original file line number Diff line number Diff line change
Expand Up @@ -61,8 +61,10 @@
availableBootDevices = RTyyyy_uidef.kBootDevice_Latest
flexspiNorDevice = uidef.kFlexspiNorDevice_ISSI_IS26KS512S
flexspiNorMemBase0 = 0x60000000
flexspiNorMemBase0Ns = None
flexspiNorMemBase0Aliased = 0x08000000
flexspiNorMemBase1 = None
flexspiNorMemBase1Ns = None
flexspiNorMemBase1Aliased = None
flexspiFreqs = ['30MHz', '50MHz', '60MHz', '75MHz', '80MHz', '100MHz', '133MHz', '166MHz', '200MHz']
xspiNorCfgInfoOffset = 0x0
Expand Down
2 changes: 2 additions & 0 deletions src/targets/MIMXRT1062/bltargetconfig.py
Original file line number Diff line number Diff line change
Expand Up @@ -61,8 +61,10 @@
availableBootDevices = RTyyyy_uidef.kBootDevice_Latest
flexspiNorDevice = uidef.kFlexspiNorDevice_ISSI_IS25LP064A
flexspiNorMemBase0 = 0x60000000
flexspiNorMemBase0Ns = None
flexspiNorMemBase0Aliased = None
flexspiNorMemBase1 = None
flexspiNorMemBase1Ns = None
flexspiNorMemBase1Aliased = None
flexspiFreqs = ['30MHz', '50MHz', '60MHz', '75MHz', '80MHz', '100MHz', '120MHz', '133MHz', '166MHz', '200MHz']
xspiNorCfgInfoOffset = 0x0
Expand Down
2 changes: 2 additions & 0 deletions src/targets/MIMXRT1062X/bltargetconfig.py
Original file line number Diff line number Diff line change
Expand Up @@ -61,8 +61,10 @@
availableBootDevices = RTyyyy_uidef.kBootDevice_Latest
flexspiNorDevice = uidef.kFlexspiNorDevice_ISSI_IS25LP064A
flexspiNorMemBase0 = 0x60000000
flexspiNorMemBase0Ns = None
flexspiNorMemBase0Aliased = None
flexspiNorMemBase1 = 0x70000000
flexspiNorMemBase1Ns = None
flexspiNorMemBase1Aliased = None
flexspiFreqs = ['30MHz', '50MHz', '60MHz', '75MHz', '80MHz', '100MHz', '120MHz', '133MHz', '166MHz', '200MHz']
xspiNorCfgInfoOffset = 0x0
Expand Down
2 changes: 2 additions & 0 deletions src/targets/MIMXRT1064/bltargetconfig.py
Original file line number Diff line number Diff line change
Expand Up @@ -64,8 +64,10 @@
RTyyyy_uidef.kBootDevice_LpspiNor]
flexspiNorDevice = uidef.kFlexspiNorDevice_SipWinbond_W25Q32 # or 0xC0000007
flexspiNorMemBase0 = 0x70000000
flexspiNorMemBase0Ns = None
flexspiNorMemBase0Aliased = None
flexspiNorMemBase1 = None
flexspiNorMemBase1Ns = None
flexspiNorMemBase1Aliased = None
flexspiFreqs = ['30MHz', '50MHz', '60MHz', '75MHz', '80MHz', '100MHz', '120MHz', '133MHz', '166MHz', '200MHz']
xspiNorCfgInfoOffset = 0x0
Expand Down
2 changes: 2 additions & 0 deletions src/targets/MIMXRT1166/bltargetconfig.py
Original file line number Diff line number Diff line change
Expand Up @@ -68,8 +68,10 @@
RTyyyy_uidef.kBootDevice_LpspiNor]
flexspiNorDevice = uidef.kFlexspiNorDevice_ISSI_IS25LP064A
flexspiNorMemBase0 = 0x30000000
flexspiNorMemBase0Ns = None
flexspiNorMemBase0Aliased = None
flexspiNorMemBase1 = 0x60000000
flexspiNorMemBase1Ns = None
flexspiNorMemBase1Aliased = None
flexspiFreqs = ['30MHz', '50MHz', '60MHz', '80MHz', '100MHz', '120MHz', '133MHz', '166MHz', '200MHz']
xspiNorCfgInfoOffset = 0x400
Expand Down
2 changes: 2 additions & 0 deletions src/targets/MIMXRT1176/bltargetconfig.py
Original file line number Diff line number Diff line change
Expand Up @@ -68,8 +68,10 @@
RTyyyy_uidef.kBootDevice_LpspiNor]
flexspiNorDevice = uidef.kFlexspiNorDevice_ISSI_IS25LP064A
flexspiNorMemBase0 = 0x30000000
flexspiNorMemBase0Ns = None
flexspiNorMemBase0Aliased = None
flexspiNorMemBase1 = 0x60000000
flexspiNorMemBase1Ns = None
flexspiNorMemBase1Aliased = None
flexspiFreqs = ['30MHz', '50MHz', '60MHz', '80MHz', '100MHz', '120MHz', '133MHz', '166MHz', '200MHz']
xspiNorCfgInfoOffset = 0x400
Expand Down
8 changes: 4 additions & 4 deletions src/targets/MIMXRT1189/bltargetconfig.py
Original file line number Diff line number Diff line change
Expand Up @@ -60,11 +60,11 @@
RTyyyy_uidef.kBootDevice_UsdhcSd,
RTyyyy_uidef.kBootDevice_UsdhcMmc]
flexspiNorDevice = uidef.kFlexspiNorDevice_ISSI_IS25LP064A
flexspiNorMemBase0 = 0x38000000 # CM33 Secure
#0x28000000 # CM33 Non-Secure
flexspiNorMemBase0 = 0x38000000 # CM33 Secure
flexspiNorMemBase0Ns = 0x28000000 # CM33 Non-Secure
flexspiNorMemBase0Aliased = 0x12000000
flexspiNorMemBase1 = 0x14000000 # CM33 Secure
#0x04000000 # CM33 Non-Secure
flexspiNorMemBase1 = 0x14000000 # CM33 Secure
flexspiNorMemBase1Ns = 0x04000000 # CM33 Non-Secure
flexspiNorMemBase1Aliased = 0x32000000
flexspiFreqs = ['30MHz', '50MHz', '60MHz', '80MHz', '100MHz', '120MHz', '133MHz', '166MHz', '200MHz']
xspiNorCfgInfoOffset = 0x400
Expand Down
Binary file added src/targets/MIMXRT1189/cntr_flashloader_ns.bin
Binary file not shown.
Binary file added src/targets/MIMXRT1189/cntr_flashloader_s.bin
Binary file not shown.
7 changes: 4 additions & 3 deletions src/targets/MIMXRT595/bltargetconfig.py
Original file line number Diff line number Diff line change
Expand Up @@ -58,10 +58,11 @@
RTxxx_uidef.kBootDevice_UsdhcMmc,
RTxxx_uidef.kBootDevice_FlexcommSpiNor]
flexspiNorDevice = uidef.kFlexspiNorDevice_MXIC_MX25UM51345G
flexspiNorMemBase0 = 0x08000000 # CM33 Non-Secure
#0x18000000 # CM33 Secure
flexspiNorMemBase0 = 0x18000000 # CM33 Secure
flexspiNorMemBase0Ns = 0x08000000 # CM33 Non-Secure
flexspiNorMemBase0Aliased = None
flexspiNorMemBase1 = None
flexspiNorMemBase1 = None
flexspiNorMemBase1Ns = None
flexspiNorMemBase1Aliased = None
flexspiFreqs = ['30MHz', '50MHz', '60MHz', '80MHz', '100MHz', '120MHz', '133MHz', '166MHz', '200MHz']
xspiNorCfgInfoOffset = 0x400
Expand Down
7 changes: 4 additions & 3 deletions src/targets/MIMXRT685/bltargetconfig.py
Original file line number Diff line number Diff line change
Expand Up @@ -56,10 +56,11 @@
hasRemappedFuse = None
availableBootDevices = RTxxx_uidef.kBootDevice_Latest
flexspiNorDevice = uidef.kFlexspiNorDevice_MXIC_MX25UM51345G_2nd
flexspiNorMemBase0 = 0x08000000 # CM33 Non-Secure
#0x18000000 # CM33 Secure
flexspiNorMemBase0 = 0x18000000 # CM33 Secure
flexspiNorMemBase0Ns = 0x08000000 # CM33 Non-Secure
flexspiNorMemBase0Aliased = None
flexspiNorMemBase1 = None
flexspiNorMemBase1 = None
flexspiNorMemBase1Ns = None
flexspiNorMemBase1Aliased = None
flexspiFreqs = ['30MHz', '50MHz', '60MHz', '80MHz', '100MHz', '120MHz', '133MHz', '166MHz', '200MHz']
xspiNorCfgInfoOffset = 0x400
Expand Down
2 changes: 2 additions & 0 deletions src/targets/MKxx/bltargetconfig.py
Original file line number Diff line number Diff line change
Expand Up @@ -56,8 +56,10 @@
availableBootDevices = Kinetis_uidef.kBootDevice_Latest
flexspiNorDevice = None
flexspiNorMemBase0 = None
flexspiNorMemBase0Ns = None
flexspiNorMemBase0Aliased = None
flexspiNorMemBase1 = None
flexspiNorMemBase1Ns = None
flexspiNorMemBase1Aliased = None
flexspiFreqs = None
xspiNorCfgInfoOffset = None
Expand Down
Loading

0 comments on commit 0a8ec94

Please sign in to comment.