From: Igor <igt1972@gmail.com>
To: barebox@lists.infradead.org
Subject: IIM on iMX27 "how-to" needed
Date: Tue, 31 Jan 2012 11:36:51 +0100 [thread overview]
Message-ID: <CALQ+5acXuFBGkeRgv+xR8FE2_ykWxbRggEi-AVaJhZm-ZzLk7g@mail.gmail.com> (raw)
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)
_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox
next reply other threads:[~2012-01-31 10:37 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-01-31 10:36 Igor [this message]
2012-01-31 11:40 ` Sascha Hauer
2012-01-31 12:51 ` Igor Trevisan
2012-01-31 13:12 ` Sascha Hauer
[not found] ` <CALQ+5afyqAu7NP5yks7pJcJzbpm3u2G7USn1MSTnbby1-3r4mw@mail.gmail.com>
2012-02-10 14:13 ` Igor Trevisan
2012-02-10 22:59 ` Sascha Hauer
2012-02-13 9:12 ` Igor Trevisan
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=CALQ+5acXuFBGkeRgv+xR8FE2_ykWxbRggEi-AVaJhZm-ZzLk7g@mail.gmail.com \
--to=igt1972@gmail.com \
--cc=barebox@lists.infradead.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox