[U-Boot] Unwritable registers on MPC8308
Scott Wood
scottwood at freescale.com
Thu Dec 16 23:28:17 CET 2010
[resending due to mail server problems (on my end) sending directly to
Guy -- trying with another SMTP server, sorry for the duplicate on the
list]
On Thu, 16 Dec 2010 14:03:09 +0100
Guy Morand <Morand at telecontrol.ch> wrote:
> Hello,
>
> I'm working on a board based on MPC8308 and trying to configure the RTC. The problem is that when I try to write into these registers, their value is always 0x0 !!! I've tried a lot of things such as debugging step by step with gdb/JTAG/Peedi, writing to these registers with the Peedi, desabling address translation, using writel/out_le32/..., they are always 0x0 ! However, writing in RAM works perfectly !
Have you reset the RTC using RTCCR?
And you should be using out_be32()/in_be32(). writel()/out_le32() are
for little-endian registers.
> I have the same problem with ANY register !
Any IMMR register at all, or any RTC register?
-Scott
More information about the U-Boot
mailing list