PPC8247 booting error
Scott Wood
scottwood at freescale.com
Wed May 6 02:26:49 EST 2009
On Mon, May 04, 2009 at 10:23:50PM -0700, Sauce.Cheng wrote:
> i want to mapping FIFO memory to bank 3 by configure br3 and or3
> the boot info as following.
>
> in my code, i have mapped FIFO to 0xD0000000, then i red the value from this
> address.
>
> the prompts as following
>
> there is some wrong with BRx and ORx set? or something others?
You need to pass your physical address (0xd0000000) to ioremap() to
obtain a virtual address that you can dereference.
> scheduling while atomic: swapper/0x00000002/0
>
> Call trace: [c015fe20] [c0003fe0] [c01a09b4] [c0194614] [000035fc]
You've got another problem here that you'll want to look into.
-Scott
More information about the Linuxppc-dev
mailing list