Skip to content

Raxone/Amlogic-efuse

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

25 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

This is scripts and tools is from amlogic uboot source and nothing is changed in scripts.

!!!WARNING!!!!!!!!!
BURNNIG WRONG EFUSE PATTERN CAN DAMAGE FOREVER YOUR BOX AND NOTHING CAN RECOVER BOX!!!!!
!!!WARNING!!!!!!!!!
Screenshot is sram location where s905x3 put usb passwword but half of password.
Password what i use is "passwordpassword" and salt is "salt"

Structure of efuse on s905*2,s905*3 is:

offset  and
0x0     0x4  amlogic header
0x4     0x20 is chipid 
0x20    0x40 is aeskey
0x40    0x50 is aeskey iv
0x50    0x60 is m4 key
0x60    0x80 is usb/jtag password
0xa0    0xc0 is secure level, password enable/disable config set
0x140   0x160 is rsa hash of all rsa keys
0x160   0x180 is m4 rsa hash all rsa keys

L0: 7F 03 00 1E [7F(Secure boot),03(Enable password jtag and usb),00((00)? (20)Disabled USB DL(BL1_Bootrom)),1E(?))]
L1: 03 07 00 00 
L2: 67 80 00 00 
L3: 20 00 00 15

L0:1e00037f 
L1:00000703
L2:00008067
L3:15000020
S1:00000000
B2:202b2060
B1:b2f839b2

./make.sh  #create g12a/g12b 5 efuse pattern 

1. pattern.efuse_debug 		(debug version to see structure)
2. pattern.efuse 		(pattern for burn in efuse)
3. pattern.usb.efuse_debug 	(debug of only usb password)
4. pattern.usb.efuse_debug_EN 	(debug usb passoword and enable usb password in efuse)
5. pattern.usb.efuse		(pattern for burn in efuse)


For use dump.sh need to dump efuse from box.



Licence pattern

1.
--enable-sb true 
--enable-aes true 
--enable-anti-rollback true 

This create 7F on 0xa0


 offset in efuse      
           a0 a1 a2 a3
   		      7F 00 00 00 03 07 00 00 67 80 00 00 20 00 00 15

2.   			
--enable-usb-password true			
This create 02 on offset efuse 0xa1   			

offset in efuse       
           a0 a1 a2 a3
   		      7F 02 00 00 03 07 00 00 67 80 00 00 20 00 00 15
           
           
3.   			
--enable-jtag-password true			
This create 01 on offset efuse 0xa1   			

offset in efuse       
           a0 a1 a2 a3
   		      7F 01 00 00 03 07 00 00 67 80 00 00 20 00 00 15

About

Making efuse pattern for s905x,s905x2,3 etc.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published