
Hi,
We have ported U-boot and Linux to a custom 8280 board. For this board, the LED base has been set at 0x2200A000. I am able to write to this base from U-boot using mw command and control the LED display. But if I try to access the same memory from Linux, the kernel is raising an exception. I even tried to map this memory area by calling ioremap in MMU_init but the result was same. Do I have to do any other configuration in the Linx kernel to access this memory area? Following is the log:
regards, Sudhakar.
======================================================= Oops: kernel access of bad area, sig: 11
NIP: C0139034 XER: 00000000 LR: C0139024 SP: C05B9F90 REGS: c05b9ee0 TRAP: 0300 Not tainted
MSR: 00009032 EE: 1 PR: 0 FP: 0 ME: 1 IR/DR: 11
DAR: 2200A000, DSISR: 22000000
TASK = c05b8000[1] 'swapper' Last syscall: -1
last math 00000000 last altivec 00000000
GPR00: FFFFFFFF C05B9F90 C05B8000 C0110000 00001032 00000001 00000001 00000000
GPR08: F0000088 2200A000 C012D417 C05B9EA0 C0170000 00000000 10000000 00000000 GPR24: 00000000 00000000 40000000 007FFF7E 007FFF00 00000000 C0170000 007FFEB0 Call backtrace: =======================================================
__________________________________ Do you Yahoo!? Yahoo! Mail SpamGuard - Read only the mail you want. http://antispam.yahoo.com/tools