We are trying to automate FUSE burn for SRK hash on iMX8QXP SMARC module.
Executed script loads uboot, but does not burn eFUSES and just hangs after loading (OTG usb connection to kontron board). We tried several times with "+FB:" as discribed in DOCS (wrong syntax) and with "FB: ucmd setenv force_ecc_prog y". It changed nothing. SRK HASH Fuses are not burned automatically using UUU script.
Executed script:
uuu_version 1.4.139
SDPS: boot -f flash.signed.bin
FB: ucmd fuse prog -y 0 730 0xd3bc7aa8 FB: ucmd fuse prog -y 0 731 0xcd75e19b FB: ucmd fuse prog -y 0 732 0x9b7ae1f0 FB: ucmd fuse prog -y 0 733 0x94d923c3 FB: ucmd fuse prog -y 0 734 0x1cda4fdc FB: ucmd fuse prog -y 0 735 0x89555840 FB: ucmd fuse prog -y 0 736 0x671da289 FB: ucmd fuse prog -y 0 737 0x0bd94a3b FB: ucmd fuse prog -y 0 738 0xd0870ae1 FB: ucmd fuse prog -y 0 739 0xfc982ea3 FB: ucmd fuse prog -y 0 740 0x71842ac6 FB: ucmd fuse prog -y 0 741 0xcc6623d6 FB: ucmd fuse prog -y 0 742 0x44d89489 FB: ucmd fuse prog -y 0 743 0x57a0e1a8 FB: ucmd fuse prog -y 0 744 0x4917ba6a FB: ucmd fuse prog -y 0 745 0x4db773c2 FB: done
Spoiler (Highlight to read) sudo ~/bin/uuu fu.uuu uuu (Universal Update Utility) for nxp imx chips -- libuuu_1.4.139-0-g1a8f760 Success 0 Failure 0 5:3 1/ 0 [ ] Success 0 Failure 0 5:3 1/ 1 [ ] SDPS: boot -f sd_flash.signed.bin Success 0 Failure 0 5:3 1/ 1 [ 2% ] SDPS: boot -f sd_flash.signed.bin Success 0 Failure 0 5:3 1/ 1 [=> 5% ] SDPS: boot -f sd_flash.signed.bin Success 0 Failure 0 5:3 1/ 1 [==> 7% ] SDPS: boot -f sd_flash.signed.bin Success 0 Failure 0 5:3 1/ 1 [===> 10% ] SDPS: boot -f sd_flash.signed.bin Success 0 Failure 0 5:3 1/ 1 [====> 13% ] SDPS: boot -f sd_flash.signed.bin Success 0 Failure 0 5:3 1/ 1 [=====> 15% ] SDPS: boot -f sd_flash.signed.bin Success 0 Failure 0 5:3 1/ 1 [======> 18% ] SDPS: boot -f sd_flash.signed.bin Success 0 Failure 0 5:3 1/ 1 [=======> 21% ] SDPS: boot -f sd_flash.signed.bin Success 0 Failure 0 5:3 1/ 1 [========> 23% ] SDPS: boot -f sd_flash.signed.bin Success 0 Failure 0 5:3 1/ 1 [=========> 26% ] SDPS: boot -f sd_flash.signed.bin Success 0 Failure 0 5:3 1/ 1 [==========> 29% ] SDPS: boot -f sd_flash.signed.bin Success 0 Failure 0 5:3 1/ 1 [===========> 31% ] SDPS: boot -f sd_flash.signed.bin Success 0 Failure 0 5:3 1/ 1 [============> 34% ] SDPS: boot -f sd_flash.signed.bin Success 0 Failure 0 5:3 1/ 1 [=============> 37% ] SDPS: boot -f sd_flash.signed.bin Success 0 Failure 0 5:3 1/ 1 [==============> 39% ] SDPS: boot -f sd_flash.signed.bin Success 0 Failure 0 5:3 1/ 1 [===============> 42% ] SDPS: boot -f sd_flash.signed.bin Success 0 Failure 0 5:3 1/ 1 [================>45% ] SDPS: boot -f sd_flash.signed.bin Success 0 Failure 0 5:3 1/ 1 [=================47% ] SDPS: boot -f sd_flash.signed.bin Success 0 Failure 0 5:3 1/ 1 [=================50% ] SDPS: boot -f sd_flash.signed.bin Success 0 Failure 0 5:3 1/ 1 [=================53% ] SDPS: boot -f sd_flash.signed.bin Success 0 Failure 0 5:3 1/ 1 [=================55% > ] SDPS: boot -f sd_flash.signed.bin Success 0 Failure 0 5:3 1/ 1 [=================58% => ] SDPS: boot -f sd_flash.signed.bin Success 0 Failure 0 5:3 1/ 1 [=================61% ==> ] SDPS: boot -f sd_flash.signed.bin Success 0 Failure 0 5:3 1/ 1 [=================63% ===> ] SDPS: boot -f sd_flash.signed.bin Success 0 Failure 0 5:3 1/ 1 [=================66% ====> ] SDPS: boot -f sd_flash.signed.bin Success 0 Failure 0 5:3 1/ 1 [=================69% =====> ] SDPS: boot -f sd_flash.signed.bin Success 0 Failure 0 5:3 1/ 1 [=================71% ======> ] SDPS: boot -f sd_flash.signed.bin Success 0 Failure 0 5:3 1/ 1 [=================74% =======> ] SDPS: boot -f sd_flash.signed.bin Success 0 Failure 0 5:3 1/ 1 [=================76% ========> ] SDPS: boot -f sd_flash.signed.bin Success 0 Failure 0 5:3 1/ 1 [=================79% =========> ] SDPS: boot -f sd_flash.signed.bin Success 0 Failure 0 5:3 1/ 1 [=================82% ==========> ] SDPS: boot -f sd_flash.signed.bin Success 0 Failure 0 5:3 1/ 1 [=================84% ===========> ] SDPS: boot -f sd_flash.signed.bin Success 0 Failure 0 5:3 1/ 1 [=================87% ============> ] SDPS: boot -f sd_flash.signed.bin Success 0 Failure 0 5:3 1/ 1 [=================90% =============> ] SDPS: boot -f sd_flash.signed.bin Success 0 Failure 0 5:3 1/ 1 [=================92% ==============> ] SDPS: boot -f sd_flash.signed.bin Success 0 Failure 0 5:3 1/ 1 [=================95% ===============> ] SDPS: boot -f sd_flash.signed.bin Success 0 Failure 0 5:3 1/ 1 [=================98% ================> ] SDPS: boot -f sd_flash.signed.bin Success 0 Failure 0 5:3 1/ 1 [=================100% =================] SDPS: boot -f sd_flash.signed.bin Success 0 Failure 0 5:3 1/ 1 [=================100% =================] SDPS: boot -f sd_flash.signed.bin Success 0 Failure 0 5:3 1/ 1 [=================100% =================] SDPS: boot -f sd_flash.signed.bin
sudo ~/bin/uuu fu.uuu uuu (Universal Update Utility) for nxp imx chips -- libuuu_1.4.139-0-g1a8f760Success 0 Failure 0 5:3 1/ 0 [ ] Success 0 Failure 0 5:3 1/ 1 [ ] SDPS: boot -f sd_flash.signed.bin Success 0 Failure 0 5:3 1/ 1 [ 2% ] SDPS: boot -f sd_flash.signed.bin Success 0 Failure 0 5:3 1/ 1 [=> 5% ] SDPS: boot -f sd_flash.signed.bin Success 0 Failure 0 5:3 1/ 1 [==> 7% ] SDPS: boot -f sd_flash.signed.bin Success 0 Failure 0 5:3 1/ 1 [===> 10% ] SDPS: boot -f sd_flash.signed.bin Success 0 Failure 0 5:3 1/ 1 [====> 13% ] SDPS: boot -f sd_flash.signed.bin Success 0 Failure 0 5:3 1/ 1 [=====> 15% ] SDPS: boot -f sd_flash.signed.bin Success 0 Failure 0 5:3 1/ 1 [======> 18% ] SDPS: boot -f sd_flash.signed.bin Success 0 Failure 0 5:3 1/ 1 [=======> 21% ] SDPS: boot -f sd_flash.signed.bin Success 0 Failure 0 5:3 1/ 1 [========> 23% ] SDPS: boot -f sd_flash.signed.bin Success 0 Failure 0 5:3 1/ 1 [=========> 26% ] SDPS: boot -f sd_flash.signed.bin Success 0 Failure 0 5:3 1/ 1 [==========> 29% ] SDPS: boot -f sd_flash.signed.bin Success 0 Failure 0 5:3 1/ 1 [===========> 31% ] SDPS: boot -f sd_flash.signed.bin Success 0 Failure 0 5:3 1/ 1 [============> 34% ] SDPS: boot -f sd_flash.signed.bin Success 0 Failure 0 5:3 1/ 1 [=============> 37% ] SDPS: boot -f sd_flash.signed.bin Success 0 Failure 0 5:3 1/ 1 [==============> 39% ] SDPS: boot -f sd_flash.signed.bin Success 0 Failure 0 5:3 1/ 1 [===============> 42% ] SDPS: boot -f sd_flash.signed.bin Success 0 Failure 0 5:3 1/ 1 [================>45% ] SDPS: boot -f sd_flash.signed.bin Success 0 Failure 0 5:3 1/ 1 [=================47% ] SDPS: boot -f sd_flash.signed.bin Success 0 Failure 0 5:3 1/ 1 [=================50% ] SDPS: boot -f sd_flash.signed.bin Success 0 Failure 0 5:3 1/ 1 [=================53% ] SDPS: boot -f sd_flash.signed.bin Success 0 Failure 0 5:3 1/ 1 [=================55%> ] SDPS: boot -f sd_flash.signed.bin Success 0 Failure 0 5:3 1/ 1 [=================58%=> ] SDPS: boot -f sd_flash.signed.bin Success 0 Failure 0 5:3 1/ 1 [=================61%==> ] SDPS: boot -f sd_flash.signed.bin Success 0 Failure 0 5:3 1/ 1 [=================63%===> ] SDPS: boot -f sd_flash.signed.bin Success 0 Failure 0 5:3 1/ 1 [=================66%====> ] SDPS: boot -f sd_flash.signed.bin Success 0 Failure 0 5:3 1/ 1 [=================69%=====> ] SDPS: boot -f sd_flash.signed.bin Success 0 Failure 0 5:3 1/ 1 [=================71%======> ] SDPS: boot -f sd_flash.signed.bin Success 0 Failure 0 5:3 1/ 1 [=================74%=======> ] SDPS: boot -f sd_flash.signed.bin Success 0 Failure 0 5:3 1/ 1 [=================76%========> ] SDPS: boot -f sd_flash.signed.bin Success 0 Failure 0 5:3 1/ 1 [=================79%=========> ] SDPS: boot -f sd_flash.signed.bin Success 0 Failure 0 5:3 1/ 1 [=================82%==========> ] SDPS: boot -f sd_flash.signed.bin Success 0 Failure 0 5:3 1/ 1 [=================84%===========> ] SDPS: boot -f sd_flash.signed.bin Success 0 Failure 0 5:3 1/ 1 [=================87%============> ] SDPS: boot -f sd_flash.signed.bin Success 0 Failure 0 5:3 1/ 1 [=================90%=============> ] SDPS: boot -f sd_flash.signed.bin Success 0 Failure 0 5:3 1/ 1 [=================92%==============> ] SDPS: boot -f sd_flash.signed.bin Success 0 Failure 0 5:3 1/ 1 [=================95%===============> ] SDPS: boot -f sd_flash.signed.bin Success 0 Failure 0 5:3 1/ 1 [=================98%================> ] SDPS: boot -f sd_flash.signed.bin Success 0 Failure 0 5:3 1/ 1 [=================100%=================] SDPS: boot -f sd_flash.signed.bin Success 0 Failure 0 5:3 1/ 1 [=================100%=================] SDPS: boot -f sd_flash.signed.bin Success 0 Failure 0 5:3 1/ 1 [=================100%=================] SDPS: boot -f sd_flash.signed.bin
UBOOT LOG (LOG_LEVEL=7):
Spoiler (Highlight to read) ..... ..... ..... ........ cdns_irq_handler_thread() 0 cdns_irq_handler_thread() 0 cdns_irq_handler_thread() 0 cdns_irq_handler_thread() 0 cdns_irq_handler_thread() 0 cdns_irq_handler_thread() 0 cdns_irq_handler_thread() 0 cdns_irq_handler_thread() 0 cdns_irq_handler_thread() 0 cdns_irq_handler_thread() 0 cdns_irq_handler_thread() 0 cdns_irq_handler_thread() 0 cdns_irq_handler_thread() 0 cdns_irq_handler_thread() 0 cdns_irq_handler_thread() 0 cdns_irq_handler_thread() 0 cdns_irq_handler_thread() 0 cdns_irq_handler_thread() 0
..... ..... ..... ........cdns_irq_handler_thread() 0cdns_irq_handler_thread() 0cdns_irq_handler_thread() 0cdns_irq_handler_thread() 0cdns_irq_handler_thread() 0cdns_irq_handler_thread() 0cdns_irq_handler_thread() 0cdns_irq_handler_thread() 0cdns_irq_handler_thread() 0cdns_irq_handler_thread() 0cdns_irq_handler_thread() 0cdns_irq_handler_thread() 0cdns_irq_handler_thread() 0cdns_irq_handler_thread() 0cdns_irq_handler_thread() 0cdns_irq_handler_thread() 0cdns_irq_handler_thread() 0cdns_irq_handler_thread() 0
infinite - cdns_irq_handler_thread() 0
Any ideas?