RISC-V BSP: a clock driver

Denis Obrezkov denisobrezkov at gmail.com
Sun Jun 25 11:13:32 UTC 2017


2017-06-25 13:04 GMT+02:00 Hesham Almatary <heshamelmatary at gmail.com>:

> Hi Denis,
>
> Good to know you're making progress this far. There's no clock driver for
> Spike BSP (the one my port is based on), it just used simulated tick.
> You'll have to implement both console and click driver for your board. I'd
> suggest you start with the console driver.
>
> Cheers,
> Hesham
>
> On Sun, 25 Jun 2017 at 8:49 pm, Denis Obrezkov <denisobrezkov at gmail.com>
> wrote:
>
>> Hello all,
>> I was able to proceed till the rtems_io_initialize function,
>> so it seems to me that now I need to initialize a clock driver.
>>
>> I tried to find the current implementation of the driver in RISC-V BSP,
>> but wasn't able to do it. Hesham, could you clarify the current state of
>> the clock driver in the BSP?
>>
>> --
>> Regards, Denis Obrezkov
>>
> --
> Hesham
>

Could you expand, how it works? I have read a RTEMS Driver Manual and found
there some information
about drivers initialization, but I can't find in your BSP any IRQ handlers
or clock initialization routine
(in the manual it is written that a simple tick driver also needs some
initialization )


-- 
Regards, Denis Obrezkov
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rtems.org/pipermail/devel/attachments/20170625/74830259/attachment-0002.html>


More information about the devel mailing list