IIM on iMX27 "how-to" needed

Igor Trevisan igt1972 at gmail.com
Fri Feb 10 09:13:00 EST 2012


Sorry,

I replied to Sasha privately and not to the list!


On Fri, Feb 10, 2012 at 2:05 PM, Igor Trevisan <igt1972 at gmail.com> wrote:
>>
>> You could try imx_iim0.explicit_sense_enable=0, maybe this helps.
>>
>
> Again... This helps!
> Sorry, I misunderstood the logic of the sense flag!
> (I think I owe you at least a beer...;)
>
> By the way, now I can read the first two banks:
>
> barebox:/  md -b -s /dev/imx_iim_bank1
> 00000000: 41 ce 3c ad 4d 89 93 00 00 00 00 00 00 00 00 00    A.<.M...........
> 00000010: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00    ................
> barebox:/
> barebox:/
> barebox:/  md -b -s /dev/imx_iim_bank0
> 00000000: 59 20 81 40 20 00 00 00 00 00 00 00 00 00 00 00    Y .@ ...........
> 00000010: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00    ................
>
> Now I would like to go further and try to program some fuse bits
> (I need to store some codes...).
> I think I need first of all to set:
> imx_iim0.permanent_write_enable=1
>
> I did this, then I tried to write with
>
> mw -b 0x10028814 0xbb
>
> but reading back I still find:
> barebox:/  md -b -s /dev/imx_iim_bank0
> 00000000: 59 20 81 40 20 00 00 00 00 00 00 00 00 00 00 00    Y .@ ...........
> 00000010: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00    ................
>
> Which is the right way to write the fuse bits?
> Thanks in advance,
> I.
>
>
>
>
> --
> "Don't find fault, find a remedy."
> (Henry Ford)



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



More information about the barebox mailing list