Re: BSP Driver not initialized

2015-07-02 Thread Hesham ALMatary
On Thu, Jul 2, 2015 at 10:05 AM, Inderjit Singh wrote: > Hi Hesham, > > We are using the 4.10.99 version with our own bsp so far. It's a new hardware > (with FPGA) and we are creating this new bsp. for it So naturally It it's not > part of RTEMS tree because it's incomplete. > > However, the com

RE: BSP Driver not initialized

2015-07-02 Thread Inderjit Singh
Hi Hesham, We are using the 4.10.99 version with our own bsp so far. It's a new hardware (with FPGA) and we are creating this new bsp. for it So naturally It it's not part of RTEMS tree because it's incomplete. However, the comment from Joel and my 'guessing' has kicked the BSP at boot time.

Re: BSP Driver not initialized

2015-07-02 Thread Hesham ALMatary
Hi, On Wed, Jul 1, 2015 at 4:47 PM, Inderjit Singh wrote: > Hi, > > I'm trying to initialize (get up) my driver for a or1k target. I reused the > the hello sample program to see if the driver ckicks in but nothing in th > console (except the hello msg in Init fiunction. Does anyone know why? > >

RE: BSP Driver not initialized

2015-07-02 Thread Inderjit Singh
Thanks for the response Joel, So do you mean that I need to add something like this in cpukit/sapi/include/condefs.h: #ifdef CONFIGURE_APPLICATION_NEEDS_MY_DRIVER #include #endif ... rtems_driver_address_table _IO_Driver_address_table[ CONFIGURE_MAXIMUM_DRIVERS] = { ... #ifdef CONFIGURE_AP