This is the mail archive of the ecos-discuss@sources.redhat.com mailing list for the eCos project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: MBX860 super I/O chip


>  port2=(PORT*) 0x800002f8;
>  qspan=(QSPANREG*) 0xfa210000;
>  qspanPCI_CLASS=(volatile unsigned long*) 0xfa210000;
> 
> When I try to reach the qspan registers with the pointer to the struct
> QSPANREG my debugger says that every register in the struct just
> contains 0. This doesn't match the values that should be there after
> power up. When I'm trying to reach the qspan registers with the pointer
> qspanPCI_CLASS and trying to put the register value in the variable
> value the debugger tells me "Program received signal SIGSEGV,
> Segmentation fault".
> The adresses to this pheripheral is outside of the ram. But how will I
> reach them????? What shall I change in the configuration of eCos. The
> default settings using the template for mbx860 board is for an
> entry-level board and it has no 37C672 I/O device.....

This all sounds like MMU problems. I have a quick look the MBX
code. In packages/hal/powerpc/mbx/current/src/hal_aux.c there is a
memory map table used to configure the MMU. I think you need to add
some more entires to this table.

        Andrew

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]