Fuses programming on 8ULP - for booting from eMMC

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Fuses programming on 8ULP - for booting from eMMC

183 Views
dimsu
Contributor II

Hello everybody,

Recently I spent some time for trying to program Fuses on an 8ULP board to get it booted from eMMC.

These findings might be helpful for those who need to perform this:

Manual Procedure:

Boot into U-Boot via UUU, stop autoboot, then:

=> fuse prog -y 4 1 0x00400000
=> fuse prog -y 3 7 0x00008000
=> reset

After reboot, verify:

=> fuse read 4 1
Word 0x00000001: 00400000

=> fuse read 3 7
Word 0x00000007: 00008000

Disconnect USB, power cycle - board boots from eMMC.

 

UUU script:

uuu_version 1.2.39

# prog-boot-fuses-evk.lst
# Programs eMMC-boot fuses (Boot Config and BT_FUSE_SEL) on a CLEAN EVK-board 8ULP

#SDPS: boot -f flash.bin
SDPS: boot -f u-boot-imx8ulp-evk-uuu.imx
SDPV: delay 2000
#SDPV: write -f flash.bin -skipspl
SDPV: write -f u-boot-imx8ulp-evk-uuu.imx -skipspl
SDPV: jump

FB: ucmd fuse prog -y 4 1 0x00400000
FB: ucmd fuse prog -y 3 7 0x00008000

Labels (1)
Tags (2)
0 Kudos
Reply
0 Replies
%3CLINGO-SUB%20id%3D%22lingo-sub-2364801%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3EFuses%20programming%20on%208ULP%20-%20for%20booting%20from%20eMMC%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2364801%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EHello%20everybody%2C%3C%2FP%3E%3CP%3ERecently%20I%20spent%20some%20time%20for%20trying%20to%20program%20Fuses%20on%20an%208ULP%20board%20to%20get%20it%20booted%20from%20eMMC.%3C%2FP%3E%3CP%3EThese%20findings%20might%20be%20helpful%20for%20those%20who%20need%20to%20perform%20this%3A%3C%2FP%3E%3CP%3E%3CSTRONG%3EManual%20Procedure%3A%3C%2FSTRONG%3E%3C%2FP%3E%3CP%3EBoot%20into%20U-Boot%20via%20UUU%2C%20stop%20autoboot%2C%20then%3A%3C%2FP%3E%3CP%3E%3CFONT%20face%3D%22terminal%2Cmonaco%22%20color%3D%22%23008000%22%3E%3D%26gt%3B%20fuse%20prog%20-y%204%201%200x00400000%3C%2FFONT%3E%3CBR%20%2F%3E%3CFONT%20face%3D%22terminal%2Cmonaco%22%20color%3D%22%23008000%22%3E%3D%26gt%3B%20fuse%20prog%20-y%203%207%200x00008000%3C%2FFONT%3E%3CBR%20%2F%3E%3CFONT%20face%3D%22terminal%2Cmonaco%22%20color%3D%22%23008000%22%3E%3D%26gt%3B%20reset%3C%2FFONT%3E%3C%2FP%3E%3CP%3EAfter%20reboot%2C%20verify%3A%3C%2FP%3E%3CP%3E%3CFONT%20face%3D%22terminal%2Cmonaco%22%20color%3D%22%23008000%22%3E%3D%26gt%3B%20fuse%20read%204%201%3C%2FFONT%3E%3CBR%20%2F%3E%3CFONT%20face%3D%22terminal%2Cmonaco%22%20color%3D%22%23008000%22%3EWord%200x00000001%3A%2000400000%3C%2FFONT%3E%3C%2FP%3E%3CP%3E%3CFONT%20face%3D%22terminal%2Cmonaco%22%20color%3D%22%23008000%22%3E%3D%26gt%3B%20fuse%20read%203%207%3C%2FFONT%3E%3CBR%20%2F%3E%3CFONT%20face%3D%22terminal%2Cmonaco%22%20color%3D%22%23008000%22%3EWord%200x00000007%3A%2000008000%3C%2FFONT%3E%3C%2FP%3E%3CP%3EDisconnect%20USB%2C%20power%20cycle%20-%20board%20boots%20from%20eMMC.%3C%2FP%3E%3CBR%20%2F%3E%3CP%3E%3CSTRONG%3EUUU%20script%3A%3C%2FSTRONG%3E%3C%2FP%3E%3CP%3E%3CFONT%20face%3D%22terminal%2Cmonaco%22%20color%3D%22%23008000%22%3Euuu_version%201.2.39%3C%2FFONT%3E%3C%2FP%3E%3CP%3E%3CFONT%20face%3D%22terminal%2Cmonaco%22%20color%3D%22%23008000%22%3E%23%20prog-boot-fuses-evk.lst%3C%2FFONT%3E%3CBR%20%2F%3E%3CFONT%20face%3D%22terminal%2Cmonaco%22%20color%3D%22%23008000%22%3E%23%20Programs%20eMMC-boot%20fuses%20(Boot%20Config%20and%20BT_FUSE_SEL)%20on%20a%20CLEAN%20EVK-board%208ULP%3C%2FFONT%3E%3C%2FP%3E%3CP%3E%3CFONT%20face%3D%22terminal%2Cmonaco%22%20color%3D%22%23008000%22%3E%23SDPS%3A%20boot%20-f%20flash.bin%3C%2FFONT%3E%3CBR%20%2F%3E%3CFONT%20face%3D%22terminal%2Cmonaco%22%20color%3D%22%23008000%22%3ESDPS%3A%20boot%20-f%20u-boot-imx8ulp-evk-uuu.imx%3C%2FFONT%3E%3CBR%20%2F%3E%3CFONT%20face%3D%22terminal%2Cmonaco%22%20color%3D%22%23008000%22%3ESDPV%3A%20delay%202000%3C%2FFONT%3E%3CBR%20%2F%3E%3CFONT%20face%3D%22terminal%2Cmonaco%22%20color%3D%22%23008000%22%3E%23SDPV%3A%20write%20-f%20flash.bin%20-skipspl%3C%2FFONT%3E%3CBR%20%2F%3E%3CFONT%20face%3D%22terminal%2Cmonaco%22%20color%3D%22%23008000%22%3ESDPV%3A%20write%20-f%20u-boot-imx8ulp-evk-uuu.imx%20-skipspl%3C%2FFONT%3E%3CBR%20%2F%3E%3CFONT%20face%3D%22terminal%2Cmonaco%22%20color%3D%22%23008000%22%3ESDPV%3A%20jump%3C%2FFONT%3E%3C%2FP%3E%3CP%3E%3CFONT%20face%3D%22terminal%2Cmonaco%22%20color%3D%22%23008000%22%3EFB%3A%20ucmd%20fuse%20prog%20-y%204%201%200x00400000%3C%2FFONT%3E%3CBR%20%2F%3E%3CFONT%20face%3D%22terminal%2Cmonaco%22%20color%3D%22%23008000%22%3EFB%3A%20ucmd%20fuse%20prog%20-y%203%207%200x00008000%3C%2FFONT%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-2364801%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CLINGO-LABEL%3Ei.MX8ULP%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E