[U-Boot] Unwritable registers on MPC8308

Guy Morand Morand at telecontrol.ch
Mon Dec 20 07:52:04 CET 2010


Thanks for your answer !

I thought it was any IMMR register but actually, after trying  to write into RTCCR, this worked ! However, writing into RTC register has still the same effect ! I'll keep looking and let you know if I can get this working ...

-----Original Message-----
From: u-boot-bounces at lists.denx.de [mailto:u-boot-bounces at lists.denx.de] On Behalf Of Scott Wood
Sent: jeudi 16 décembre 2010 21:51
To: Guy Morand
Cc: u-boot at lists.denx.de
Subject: Re: [U-Boot] Unwritable registers on MPC8308

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

_______________________________________________
U-Boot mailing list
U-Boot at lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot


More information about the U-Boot mailing list