[U-Boot-Users] 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

In message 20050121134121.27169.qmail@web51708.mail.yahoo.com 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?
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

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??

--- Yuli Barcohen yuli@arabellasw.com escreveu:
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?
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/
participants (3)
-
Bruno
-
Wolfgang Denk
-
Yuli Barcohen