Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1605876 > unrolled thread
| Started by | Tracy Smith <tlsmith3777@gmail.com> |
|---|---|
| First post | 2017-03-21 19:20 +0100 |
| Last post | 2017-03-21 19:40 +0100 |
| Articles | 2 — 2 participants |
Back to article view | Back to linux.kernel
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
| From | Tracy Smith <tlsmith3777@gmail.com> |
|---|---|
| Date | 2017-03-21 19:20 +0100 |
| Subject | Question: Linux changes required for off control board RTC |
| Message-ID | <tnwxY-6Zw-15@gated-at.bofh.it> |
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. 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? 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? 3) What is the expected behavior of the kernel with no changes added to accommodate such an architecture? 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? thx, Tracy
[toc] | [next] | [standalone]
| From | Alexandre Belloni <alexandre.belloni@free-electrons.com> |
|---|---|
| Date | 2017-03-21 19:40 +0100 |
| Message-ID | <tnwRj-779-21@gated-at.bofh.it> |
| In reply to | #1605876 |
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
[toc] | [prev] | [standalone]
Back to top | Article view | linux.kernel
csiph-web