在线时间12 小时
UID2047641
注册时间2013-10-12
NXP金币0
该用户从未签到
注册会员

- 积分
- 129
- 最后登录
- 1970-1-1
|
发表于 2013-10-23 21:28:26
|
显示全部楼层
回复:怎么烧写imx6里的efuse?
回复第 5 楼 于2013-10-21 10:31:45发表:
//芯片的eFUSE没烧写的话,如果是NAND_FLASH 或者SD卡启动的话,u-boot根本没法启动啊,这个时候貌似也无法利用u-boot来烧写eFUSE吧
//可以通過u-boot命令去燒寫. 在Linux BSP文檔包里面, i.MX_6Dual6Quad_Sabre-SD_Linux_User_Guide.pdf 中提到imxotp命令:
10.1 How to Fuse in U-Boot
U-Boot contains a tool, imxotp, which is used for fusing.
U-Boot > imxotp
imxotp - One-Time Programable sub-system
Usage:
imxotp imxotp read
- read fuse at 'index'
imxotp blow [--force]
- blow fuse at 'index' with hex value 'value'
Tips:
'addr' to 'index':
convert 'index' from 'address'
index = (addr - otp_base) / 0x10
eg, addr is 0x021bc410, otp_base is 0x021bc400, the index = 1
• '--force' must be present in order to blow the fuse. Command will abort if '--force' is missing.
• index = (addr - otp_base) / 0x10, where the addr is the address of the fuse you want to operate, the otp_base is the base address of the fuse block.
• 'value' should correspond to fuse settings according to the fuse map and desired fuse configuration.
|
|