[ELDK] EBC error

Dave Cogley dcogley at uslinc.com
Thu Sep 3 17:33:07 CEST 2009


You can not use address 0xC0000000 it is mapped to the kernel.

Dave

On Thu, 2009-09-03 at 21:08 +0900, Zaahir Khan wrote:
> Hello All,
> 
> 
> I am using customized board based on sequoia(ppc440epx).
> 
> 
> FPGA is connected EBC @C0000000 on board.
> 
> at CS2
> 
> 
> #define CFG_EBC_PB2AP         0x24814580
> #define CFG_EBC_PB2CR          (CFG_FPGA_BASE | 0x9C000) //16MB & 32-bit Bus
> 
> In uboot when I tried
> 
> #md C0000000
> 
> getting some data and CS2 pulsating.
> 
> I written the driver for FPGA in kernel.
> 
> Did request_mem_region and ioremap.
> 
> When trying to access the remapped address getting traces(below).
> 
> Did I missed some thing?
> 
> 
> In the same driver,
> 
> FLASH base address ioremap instead of FPGA,
> 
> FLASH Connected on EBC @FFA00000 8MB CS0
> 
> When accessed virtual address getting some thing but no crash and CS0
> pulsating.
> 
> 
> Please suggest !!
> 
> Thanks & regards,
> 
> Zaahir Khan
> 
> 
> Trace:::
> 
> 
> bash-3.2# ./VLOG_APP
> [VLogic] open
> Remap address e1900000
> VLOGIC_DEV_READ
> Machine check in kernel mode.
> Instruction 0xa0000000
> Data Read PLB Error
> OPB to PLB3: BSTAT= 0x00000000
> PLB3 to PLB4: BEAR=0xdff7ffffffffeefb BESR0=0x00000000 BESR1=0x00000000
> PLB4 to PLB3: BEAR=0x44662a7a17fbfdd3 BESR0=0x00000000 BESR1=0x00000000
> PLB3 to OPB: BEAR=0xd7fffeff BESR0=0x00000000 BESR1=0x00000000
> PLB3 arbiter: BEAR=0x57e7efff ACR=0x90000000 BESR=0x00000000
> PLB4 to OPB1: BEAR=0x0000000fffbfffef BESR0=0x00000000 BESR1=0x00000000
> PLB40 Arbiter: BEAR=0x00000000c0000028 ACR=0xde000000 BESR0=0x0f000000
> PLB41 Arbiter: BEAR=0xff7fefffd7f7fffe ACR=0xdf000000 BESR0=0x00000000
> POB0: BEAR=0xc27e3194d7fffeff BESR0=0x00000000 BESR1=0x00000000
> OPB0: BEAR=0x0000000000000000 BSTAT=0x00000000
> Oops: machine check, sig: 7 [#1]
> NIP: c001a034 LR: c016087c CTR: c0165be8
> REGS: c034cf50 TRAP: 0202   Not tainted  (2.6.24.2)
> MSR: 00029000 <EE,ME>  CR: 20000022  XER: 00000004
> TASK = df869090[271] 'VLOG_APP' THREAD: df876000
> GPR00: df877eb8 df877e70 df869090 c02cce28 df877e78 00000000 c0168790
> 0000000d
> GPR08: 00000000 df877e88 0000157d c0165be8 249020e7 10048b00 100f0000
> 00000000
> GPR16: 101103f8 1009e4f0 100f0000 100f7998 00000000 1010a3f0 101103e8
> 00000000
> GPR24: 3000e870 00000001 7fc20e44 c0350000 c02cce14 c02cce28 0000000a
> 00000028
> NIP [c001a034] printk+0x34/0x60
> LR [c016087c] VLogic_Ioctl+0x74/0xdc
> Call Trace:
> [df877e70] [c001a050] printk+0x50/0x60 (unreliable)
> [df877eb0] [c016087c] VLogic_Ioctl+0x74/0xdc
> [df877ed0] [c0072794] do_ioctl+0x94/0x98
> [df877ee0] [c0072a54] vfs_ioctl+0x2bc/0x420
> [df877f10] [c0072bf8] sys_ioctl+0x40/0x74
> [df877f40] [c0001a80] ret_from_syscall+0x0/0x3c
> Instruction dump:
> 7c0802a6 91210030 90010044 39200000 38000001 9081001c 98010008 99210009
> 38010048 39210018 38810008 9001000c <90a10020> 90c10024 90e10028 9101002c
> _______________________________________________
> eldk mailing list
> eldk at lists.denx.de
> http://lists.denx.de/mailman/listinfo/eldk



More information about the eldk mailing list