您好,欢迎访问三七文档
当前位置:首页 > 商业/管理/HR > 项目/工程管理 > amlogic S802 S812 mac烧录
MACㅹؑ߉ޕ䈫ਆtimeholdconfidentialMXⲴMAC/USIDㅹؑѫ㾱ⴞⲴ–ᒣᑨн߉䘉ӋؑҏᱟਟԕᐕⲴ–ᴹ㓯macൠ൰ҏਟԕ䲿ᵪ㧧ਆ–ሩ⇿ਠᵪಘ߉ޕн਼Ⲵؑ.–usid/mac/wifi_macㅹ,࠶࡛ᓄн਼⭘䙄–mx/m8ѫ᧗ㅹнᑖuniqueidtimeholdconfidentialMACൠ൰ᆈۘս㖞Efuseѫ㣟⡷䜘otp४ฏਚ㜭߉а⅑Nandamlogic൘nand䟼䶒䇮㖞؍⮉४ਟཊ⅑ᬖ䲔㾶ⴆEmmc਼кtimeholdconfidentialEfuseㆰӻMXefuseᇊѹྲл˖1.LICENSEBLOCK(4bytes),वਜ਼24bitslicenseᮠᦞо8bitsBCHᔰ䬰2.MACADDRESSBLOCK(7bytes)ˈवਜ਼48bitsMACൠ൰ᮠᦞо8bitsBCHᔰ䬰3.HDCPKEYBLOCK(310bytes)ˈवਜ਼2280bitsHDCPKEYо200bitsBCHᔰ䬰4.BLUETOOTHMACADDRESSBLOCK(7bytes)ˈवਜ਼6њbytes㬍⢉ൠ൰ᮠᦞо1byteBCHᔰ䬰5.WIFIMACADDRESSBLOCK(7bytes)ˈवਜ਼6њbytesWIFIൠ൰ᮠᦞо1byteBCHᔰ䬰6.USERDEFINEDBLOCK˄48bytes˅ˈ㔉ᇒᡧ֯⭘Ⲵ४ฏtimeholdconfidentialm6_mbx_v1#efuseefuse-efuseversion/licence/mac/hdcp/usidread/writeordumprawefusedatacommandsorinfo(displaychipefuseinfo)Usage:efuse[read/write][licence/mac/hdc/usid/machineid][mem_addr][read/wirte]pararead;write;readneednotmem_addr;writeneedreadtogetefusecontextwritetowriteefuse[mem_addr]usrdoefuse[dump]dumprawefusedataefuse[info]displaythechipefuseinfoefuse[secure_boot_set][mem_addr]decrypttheEFUSEpatternfromaddressmem_addrwhichcontainsettingforsecureboot,ifpassthenthesettingwillbeprogrammedtothechipDONOTTRYTHISFEATUREIFNOCONFIRMATIONFROMAMLOGICINWRITINGOTHERWISEITWILLCAUSEUNCORRECTABLEDAMAGETOAMLOGICCHIPSm6_mbx_v1#㓒㢢䜘࠶ᱟ䱢ࡧᵪ֯⭘Efusedumpࠪᴹ᭸ᮠᦞᇩ.timeholdconfidentialtimeholdconfidentialMXMACൠ൰߉ޕefuseuboot–ભԔ㹼efusewirtemac88:88:88:88:88:88–н㜭֯⭘efusewirtemac888888888888–ഐᱟ䟷⭘simple_strtoulᶕ䖜ᦒ–ࡉᇎ䱵߉ޕ88:88:88:88:88:88(:нՊ؍ᆈ)–ԓ⸱䐟ᖴuboot/common/cmd_efuse.cdrivers/efuse/efuse.ctimeholdconfidentialMXMACൠ൰߉ޕefuseKERNEL–ѢਓભԔ㹼⁑ᔿлefuse_tool–root@android:/#efuse_tool–Usage:efuse[OPTION]...[TYPE]...[DATA]–-h,--helphelp–-W,--writewriteefusedata–-R,--readreadefusedata–-l,--licenceefusedatatypeislicence–-m,--macefusedatatypeismac–-d,--hdcpefusedatatypeishdcp–-b,--bt_macefusedatatypeisbt_mac–-w,--wifi_macefusedatatypeiswifi_mac–-u,--user_idefusedatatypeisuser_id–-v,--versionversion–-M,--machine_idefusedatatypeismachine_id–Example:–efuse_tool-m-W00:19:94:25:2f:d6–Thecommandwriteamacaddressintoefusedeviceࡽ䶒㾱߉ޕefuse_tool-v-W02ԓ⸱䐟ᖴcommon/drivers/amlogic/efusetimeholdconfidentialMXMACൠ൰߉ޕefuseRecoveryޣԓ⸱bootable/recovery/recovery.cppbootable/recovery/efuse.cpp,efuse.h࣐ᒣਠ᭟ᤱ˖device/amlogic/g18ref/BoardConfig.mk#ifhasefusesupportTARGET_RECOVERY_HAS_EFUSE:=true㕆䈁᧕ਓ,䇙Tf/uⴈ✗ᖅՐ䙂৲ᮠ,䇙recovery߉ޕmac{set_efuse_version,required_argument,NULL,'v'},{set_efuse_ethernet_mac,optional_argument,NULL,'d'},{set_efuse_bluetooth_mac,optional_argument,NULL,'b'},timeholdconfidentialMXMACൠ൰߉ޕefuseuImage_usb_burningbootable/recovery/recovery.cpp,usb_burning.cppbootable/recovery/efuse.cpp,efuse.h,usb_burning.husb_burning.hѝਟԕ䘹ᤙ✗ᖅ䘋efuse䘈ᱟnandMXᱟ唈䇔ѪNANDѝ//#defineWRITE_TO_EFUSE_ENABLE#defineWRITE_TO_NAND_ENABLEusb_burning.cppѝߣᇊᆈۘս㖞nand/efusetimeholdconfidential࣐ᒣਠ᭟ᤱ˖device/amlogic/g18ref/BoardConfig.mk#ifhasefusesupportTARGET_RECOVERY_HAS_EFUSE:=truefactory_update_param.aml໎࣐䘹亩--set_efuse_ethernet_mac✗ᖅ〻ᒿ਼ⴞᖅл໎࣐ethmac.efuseⲴmacൠ൰Ⓚ᮷Ԧ.TF✗ᖅ䝽㖞᮷Ԧtimeholdconfidentialfactory_update_param.amlethmac.flash,⇿✗ᖅањmacൠ൰ਾ,ቡՊࡽ䶒࣐$timeholdconfidentialUSB-Burning-tool⭼䶒म䘹efuse䟼䶒macൠ൰Macˈmac_bt઼mac_wifiⲴlicenseⴞᖅл᮷ԦࡋᔪሩᓄⲴiniṬᔿⲴ᮷Ԧˈ᮷Ԧ〠࠶࡛Ѫmac_ether.iniˈmac_bt.ini઼mac_wifi.iniDŽ䘉йњlicense᮷ԦⲴᇩ઼ѹլˈԕmac_wifiⲴlicenseѪֻ˖[Group1]start=0f:0f:a3:45:a0:12end=0f:0f:a3:45:a1:34ਜ਼ѹ [Group1]˖㺘⽪ㅜа㓴ᮠᦞDŽҏਟԕᴹ[Group2]ˈ[Group3]ˈㅹㅹDŽ start˖㺘⽪߶༷✗ᖅⲴㅜањmac_wifiⲴkeyˈ↔ֻᱟ0f:0f:a3:45:a0:12DŽ end˖㺘⽪߶༷✗ᖅⲴᴰਾањmac_wifiⲴkey+1ˈ↔ֻᇎ䱵ᴹ᭸keyᱟ0f:0f:a3:45:a1:33DŽ mac_wifiⲴᆼᮤkey㤳തᱟ0f:0f:a3:45:a0:12 0f:0f:a3:45:a1:33ˈޡ290њDŽUSB-Burning-tool✗ᖅᐕާtimeholdconfidential⌘:↔ᐕާਟԕ᭟ᤱ✗ᖅࡠefuse/nandѝ,н䗷нᱟ൘ᐕާㄟ䝽㖞.ᱟ䴰㾱؞᭩uImage_usb_burningᶕߣᇊ.؞᭩ൠᯩbootable/recovery/usb_burning.hѝਟԕ䘹ᤙ✗ᖅ䘋efuse䘈ᱟnandMXᱟ唈䇔ѪNANDѝ//#defineWRITE_TO_EFUSE_ENABLE#defineWRITE_TO_NAND_ENABLEconfig_progress.xmlѝᴹcommandsn=11burn_efuse/commandUSB-Burning-tool✗ᖅᐕާtimeholdconfidentialMXMACൠ൰߉ޕnand/emmcuboot–ભԔ㹼–m6_mbx_v1#secukeysecukey-securityKEYsub-systemUsage:secukeylist[addr]-showavailablesecuritykeynamesecukeydevice(nandoremmcorauto)-initkeyindevicesecukeywritekeynamedata-wirtekeydatatonand/emmcsecukeyreadkeyname[addr]-readthekeydatasecukeyinkeynamekeyaddrkeylensecukeyoutkeynamekeyaddrkeylensecukeystorerread--readkeydatafromstorertomemorysecukeystorerwrite--writekeydatafrommemorytostorer–ᬖ䲔ભԔNandkeyNandscrubtimeholdconfidentialuboot–㾱ݸ䘹ᤙ䇮༷secukeynandᡆ㘵secukeyemmc–secukeywritemac38383A38383A38383A38383A38383A3838m6_mbx_v1#secukeywritemac38383A38383A38383A38383A38383A3838writekeycodeversion3_flush:708,prov-write:9fe27114write:addr:0xff090000,phy_blk_addr:2040,phy_page_addr:72,aml_nand_save_key:400write:addr:0xff290000,phy_blk_addr:2041,phy_page_addr:72,aml_nand_save_key:400write:addr:0xff490000,phy_blk_addr:2042,phy_page_addr:72,aml_nand_save_key:400write:addr:0xff690000,phy_blk_addr:2043,phy_page_addr:72,aml_nand_save_key:400writekeyok!!m6_mbx_v1#䘉䟼㾱߉ascii٬.䘋㌫㔏ਾ,busyboxifconfigeth0Linkencap:EthernetHWaddr88:88:88:88:88:88inet6addr:fe80::Scope:LinkUPBROADCASTMULTIC8a88:88ff:fe88:8888/64ASTMTU:1500Metric:1RXpackets:0errors:0dropped:0overruns:0frame:0TXpackets:0errors:0droppe
本文标题:amlogic S802 S812 mac烧录
链接地址:https://www.777doc.com/doc-5012408 .html