Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1605894
| From | Alexandre Belloni <alexandre.belloni@free-electrons.com> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | Re: Question: Linux changes required for off control board RTC |
| Date | 2017-03-21 19:40 +0100 |
| Message-ID | <tnwRj-779-21@gated-at.bofh.it> (permalink) |
| References | <tnwxY-6Zw-15@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
Hi, On 21/03/2017 at 13:08:54 -0500, Tracy Smith wrote: > Hi, not sure if this is the correct venue to post a question, so > please forgive and direct me to the correct board or list if not. > Lee is probably not the one to ask :) > A custom board implementation using a ARM-8 Cortex A53 NXP LS1043ardb > is considering moving the RTC from the control board to an FPGA. > Reason is for accuracy of time/date and efficiency for their FPGA/DSP > application. > > 1) What kernel changes would be required to support such an > implementation and these would need to be pushed to the community > under the GPL? > You'll have to write a proper driver. It will have to be licensed under the GPLv2 but you don't necessarily have to push it anywhere (that is not how the GPL is working). > 2) Is it a trivial task to make such changes in the kernel to support > an RTC not located on the control board/SoC itself? > RTC drivers are not so complicated. I'd say that the difficulty mainly depends on how the SoC can access the FPGA. > 3) What is the expected behavior of the kernel with no changes added > to accommodate such an architecture? > The kernel will work, the RTC is not required. > 4) Is there a configurable kernel option to allow for such a change, > or have these or similar changes already been added to the kernel? > More details are needed to answer that but basically if your FPGa emulates an RTC that is already supported, you don't need to write much. -- Alexandre Belloni, Free Electrons Embedded Linux and Kernel engineering http://free-electrons.com
Back to linux.kernel | Previous | Next — Previous in thread | Find similar | Unroll thread
Question: Linux changes required for off control board RTC Tracy Smith <tlsmith3777@gmail.com> - 2017-03-21 19:20 +0100 Re: Question: Linux changes required for off control board RTC Alexandre Belloni <alexandre.belloni@free-electrons.com> - 2017-03-21 19:40 +0100
csiph-web