IIM on iMX27 "how-to" needed

Igor igt1972 at gmail.com
Tue Jan 31 05:36:51 EST 2012


Hi,

I'm trying to read and write the e-fuse banks on my iMX27 with Barebox
but still unsuccessfully.

I configured and compiled Barebox with IIM support, so I can see these devices:
barebox:/ ls -l /dev
crw-------         32 imx_iim_bank0
crw-------         32 imx_iim_bank1
crw-------         32 imx_iim_bank2
crw-------         32 imx_iim_bank3
crw-------         32 imx_iim_bank4
crw-------         32 imx_iim_bank5
crw-------         32 imx_iim_bank6
crw-------         32 imx_iim_bank7

and I get:
barebox:/ devinfo
[..]
`---- imx_iim0
     `---- 0x00000000-0x0000001f: /dev/imx_iim_bank0
     `---- 0x00000000-0x0000001f: /dev/imx_iim_bank1
     `---- 0x00000000-0x0000001f: /dev/imx_iim_bank2
     `---- 0x00000000-0x0000001f: /dev/imx_iim_bank3
     `---- 0x00000000-0x0000001f: /dev/imx_iim_bank4
     `---- 0x00000000-0x0000001f: /dev/imx_iim_bank5
     `---- 0x00000000-0x0000001f: /dev/imx_iim_bank6
     `---- 0x00000000-0x0000001f: /dev/imx_iim_bank7

barebox:/ devinfo imx_iim0
resources:
num   : 0
start : 0x10028000
size  : 0x00001000
driver: imx_iim

no info available for imx_iim0
Parameters:
permanent_write_enable = 0
explicit_sense_enable = 1

By the way I don't know how to read and write the fuse banks.

If I try to read them, I get:
barebox:/ md -b /dev/imx_iim_bank0
could not parse: /dev/imx_iim_bank0

Can you give me any suggestions on how to proceed with fuses?

Thanks a lot in advance,
Igor.

-- 
"Don't find fault, find a remedy."
(Henry Ford)



More information about the barebox mailing list