linuxppc-embedded help needed:kernel access of bad area

Rune Torgersen runet at innovsys.com
Fri Dec 2 03:45:54 EST 2005


> -----Original Message-----
> From: zengshuai at sogou.com
> Sent: Thursday, December 01, 2005 00:52
> #define BCSRADDR 0x04500000

This address is wrong.
It's the address the manual gives, but the bootloadre usually moves it
because it interferes with the SDRAM when running Linux.
Check the bootloader, or even better, if you know which ChipSelect the
BCSR is on, read the BRn register and use that address.

sort of like:
bcsr_addr = cpm2_immr->im_memctl.memc_br1 & 0xffff8000; // BCSR is on
CS1 on MPC8266ADS board



More information about the Linuxppc-embedded mailing list