Modifying CFG_IMMR in a MPC885
Hello Everybody,
I'm developing a project that uses a MPC885 processor, that has a embedded security processor. The MPC885 Reference Manual
(http://www.freescale.com/files/32bit/doc/ref_manual/MPC885RM.pdf
- Section 10.4.1) and a Application Note
(http://www.freescale.com/files/32bit/doc/app_note/AN2800.pdf)
say that bits D14-D15 of the IMMR register should be set to '10' to enable the access of the security processor (SEC Lite) registers. I tried to change my define CFG_IMMR from 0xFF000000 to 0xFF020000, but as result the U-boot hanged.
I searched the source codes of another boards (NETVIA, NETTAx) that also use the MPC885 but all of them set the IMMR to 0xFF000000.
So, I ask: someone here uses the Security Processor of MPC885? How to set the IMMR register to achieve the access of the SEC Lite registers??
Thanks in advance and Best Regards,
Bruno
_______________________________________________________
Yahoo! Acesso Gr?tis - Instale o discador do Yahoo! agora. http://br.acesso.yahoo.com/ - Internet r?pida e gr?tis
Quoted 4 lines · In message <[email protected]> you wrote:
say that bits D14-D15 of the IMMR register should be set to '10' to enable the access of the security processor (SEC Lite) registers. I tried to change my
What do you intend to do with these registers in U-Boot?
Quoted 2 lines
So, I ask: someone here uses the Security Processor of MPC885? How to set the IMMR register to achieve the
In U-Boot? No.
Best regards,
Wolfgang Denk
Signature · 4 lines
Software Engineering: Embedded and Realtime Systems, Embedded Linux Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de Technology is dominated by those who manage what they do not under- stand.
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Bruno writes:
Bruno> I'm developing a project that uses a MPC885 processor, that Bruno> has a embedded security processor. The MPC885 Reference Bruno> Manual
Bruno> (http://www.freescale.com/files/32bit/doc/ref_manual/MPC885RM.pdf
Bruno> - Section 10.4.1) and a Application Note
Bruno> (http://www.freescale.com/files/32bit/doc/app_note/AN2800.pdf)
Bruno> say that bits D14-D15 of the IMMR register should be set to Bruno> '10' to enable the access of the security processor (SEC Bruno> Lite) registers.
No, they say that SEC Lite registers are accessed at addresses having bits 14-15 set to 10, i.e. if IMMR is 0xFF000000 SEC Lite memory space is mapped to 0xFF020000.
Bruno> I tried to change my define CFG_IMMR from 0xFF000000 to
Bruno> 0xFF020000, but as result the U-boot hanged.
Bruno> I searched the source codes of another boards (NETVIA,
Bruno> NETTAx) that also use the MPC885 but all of them set the IMMR
Bruno> to 0xFF000000.
Bruno> So, I ask: someone here uses the Security Processor of
Bruno> MPC885?We use it in Linux. Do you really want to use SEC in the U-Boot?
Bruno> How to set the IMMR register to achieve the access of the SEC Bruno> Lite registers??
Signature · 4 lines
======================================================================== Yuli Barcohen | Phone +972-9-765-1788 | Software Project Leader yuli at arabellasw.com | Fax +972-9-765-7494 | Arabella Software, Israel ========================================================================
--- Yuli Barcohen <[email protected]> escreveu:
Quoted 11 lines
Bruno> I tried to change my define
CFG_IMMRfrom0xFF000000toBruno> 0xFF020000, but as result the U-boothanged.
Bruno> I searched the source codes of another
boards (NETVIA,
Bruno> NETTAx) that also use the MPC885 but all
of them set the IMMR
Bruno> to0xFF000000.
Quoted 7 lines
Bruno> So, I ask: someone here uses the Security
Processor ofBruno> MPC885?We use it in Linux. Do you really want to use SEC in the U-Boot?
No, I just thought that I should initialize the IMMR since U-Boot to use it in Linux. But I discovered that is no reason to modify the IMMR (even in U-Boot or Linux), just add an offset of 0x20000 to access those registers (The Freescale Reference Manual of MPC885 isn't too clear about that...).
Thanks for the replies and your patience!
Best Regards,
Bruno
__________________________________________________
Converse com seus amigos em tempo real com o Yahoo! Messenger
http://br.download.yahoo.com/messenger/