Oops accessing BCSR on 8272ADS

Vitaly Bordug vbordug at ru.mvista.com
Sat Oct 8 01:47:29 EST 2005


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 at ozlabs.org
> https://ozlabs.org/mailman/listinfo/linuxppc-embedded
> 
> 


-- 
Sincerely,
Vitaly



More information about the Linuxppc-embedded mailing list