没有合适的资源?快使用搜索试试~ 我知道了~
首页MTK secure boot.pdf
资源详情
资源评论
资源推荐

1.BasicFeature
WhyisSoftwareSecureBoot?
DevicerequirementsofWidevinelevel3securityforDRMcontents’protection.
(https://en.wikipedia.org/wiki/Digital_rights_management)
–DevicemanufacturersmustprovideaBootLoaderthatloadssignedsystemimagesonly.
Fordevicesthatallowuserstoloadacustomoperatingsystemorgainrootprivilegesonthedeviceby
unlockingtheBootLoader,devicemanufacturersmustsupportthefollowing:
•DevicemanufacturersmustprovideaBootLoaderthatallowsaWidevinekey-boxtobewrittenonly
whentheBootLoaderisinalockedstate.
•DevicemanufacturersmustensurethattheWidevinekey-boxisnotreadablewhentheBootLoaderis
unlocked.
•TheWidevinekey-boxmustbestoredinaregionofmemorythatiserasedorisinaccessiblewhenthe
deviceBootLoaderisinanunlockedstate.
WhatisSoftwareSecureBoot?
SecureBootisresponsibleforvalidatingthelegalityofbootloaderbinarieswhenSOCisstarted.The
BootloaderbinaryisstartedbytheRomCodeofSOC,sotheauthenticationoftheBootloaderneedsto
beimplementedbyRomCode.WhereisthepublickeyusedbytheBootloaderauthentication?The
answeristhatintheefuseunitofSOC,thefactoryneedstousethetoolsprovidedbySOC
manufacturerstoburnthepublickeytoSOC(nochangecanbemadeafteraburn)intheproduction
phaseoftheproduct.
▪FeatureDescription:
–Software-basedprotection
–Formatandfirstloadersupgradearenotallowed
–Lockedstateprotection(configurable)
•Onlyauthorizedsoftwareimagesarebooted
–Unlockedstateprotection(configurable)

•Non-authorizedsoftwareimagesarebooted
•Key-boxshouldbecleaned
PolicyandLimitations
1)SECROimageisalwaysneededtobesignedandverified.
2)Formatandfirstloaders’upgradearenotallowedoncelockedSECROaredownloaded.
3)BROMcommandispermanentlydisabledoncethepre-loaderisdownloadedtotarget.
4)DAneedstobeverifiedbypre-loaderinpre-loaderdownloadmode.
5)Onceunlockflowisnotdone,thefollowingoperationsarenotallowed.
–Formatoperationisforbidden
–ImagedownloadoperationexceptforSECRO
–BLdownloadisforbidden
–Securebootcheckforsignedimages
2.MTKSecureBoot
2.1NormalDownloadProcedure(notusedwitheffuse)
1.BootROMisactivatedwhenthedeviceispoweredon
2.BROMcheckpreloadersignature
3.BROMloadpreloaderinISRAM
4.Pre-loaderexecutesinISRAMandSYNCwithFLASHTOOL,ifRSAcheckpassed,FLASHTOOLVia
USBcopyPre-DAtoISRAM
5.FLASHTOOLViaUSBcopyDAbinarytoDRAM
6.DASYNCwithFLASHTOOLcopyPre-Loadertostorage
7.DAdownloadtheU-BOOT(lk)tostorage(checkimagesignature)
8.DAdownloadtheLinuxKerneltostorage(checkimagesignature)
9.DAdownloadotherimagestostorage(checkimagesignature)

OverallDownloadProcedure
2.2EmergencyDownloadProcedure(usedwitheffuse)
1.BootROMisactivatedwhenthedeviceispoweredon
2.BootROMinitializessoftwarestack,communicationports,andbootablestorages
3.BootROMhandshakeswithflashtoolviaUSBwhenemergencyDLkeyispressed
4.FLASHTOOLViaUART/USBcopyPre-DAtoISRAM(effusesignaturecheck)
5.FLASHTOOLViaUART/USBcopyDAbinarytoDRAM
6.DASYNCwithFLASHTOOLcopyPre-Loadertostorage
7.DAdownloadtheU-BOOT(lk)tostorage(checkimagesignature)
8.DAdownloadtheLinuxKerneltostorage(checkimagesignature)
9.DAdownloadotherimagestostorage(checkimagesignature)
EmergencyDownloadProcedure
2.3BootupProcedure
1.BootROMisactivatedwhenthedeviceispoweredon.
2.BootROMinitializessoftwarestack,communicationports,andbootablestorages
3.BootROMloadsthepre-loaderfromstoragetoL2ShareSramsinceDRAMisnotinitializedyet
4.BootROMjumpstopre-loaderandexecutes
5.Pre-loaderinitializesDRAMandloadsU-BoottoDRAM
6.Pre-loaderjumpstoU-Boot/LKandexecutesthenU-Boot/LKdoessomeinitializations,suchas
display.
7.U-Boot/LKloadsthebootimage,includingtheLinuxkernelandtheramdisk,fromstorageto
DRAM
8.U-Boot/LKjumpstoLinuxkernelandexecutes
剩余11页未读,继续阅读










安全验证
文档复制为VIP权益,开通VIP直接复制

评论0