Oops accessing BCSR on 8272ADS

2 messages, 2 authors, 2005-10-07 · open the first message on its own page

Oops accessing BCSR on 8272ADS

From: Alex Zeffertt <hidden>
Date: 2005-10-07 15:37:39

Hi list,

I've just downloaded linux-2.4.31 from kernel.org and compiled it for
the mpc8272ads board.

When I boot the kernel it oopses in fcc_enet.c:init_fcc_startup() at
the point where it tries to write to the BCSR.

Does anybody know why writing to the BCSR should cause a machine
check?

TIA,

Alex

Re: Oops accessing BCSR on 8272ADS

From: Vitaly Bordug <hidden>
Date: 2005-10-07 15:47:31

Alex Zeffertt wrote:
Hi list,

I've just downloaded linux-2.4.31 from kernel.org and compiled it for
the mpc8272ads board.

When I boot the kernel it oopses in fcc_enet.c:init_fcc_startup() at
the point where it tries to write to the BCSR.

Does anybody know why writing to the BCSR should cause a machine
check?
I guess I was not ioremapped/io_block_mapped properly.
Take a look into arch/ppc/kernel/m8260_setup.c m8260_map_io() function.
Anyway BCSR is better to be ioremapped in the place it is required.
TIA,

Alex
_______________________________________________
Linuxppc-embedded mailing list
Linuxppc-embedded@ozlabs.org
https://ozlabs.org/mailman/listinfo/linuxppc-embedded

-- 
Sincerely,
Vitaly
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help