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 _______________________________________________ Linuxppc-dev mailing list Linuxppc-dev@ozlabs.org https://ozlabs.org/mailman/listinfo/linuxppc-dev