Re: CAN driver implementation for Xilinx Zynq

2023-03-01 Thread Prashanth S
Hi @carlo.broker...@dlr.de , > the design for the rx data path including the RxFIFO looks promising. If nobody is working on it yet, I would try to implement it. You said it still needs to be approved - > who do I have to contact for this? I saw in discord there was a discussion for the rework

Re: [PATCH rtems-libbsd 3/3] freebsd/cgem: Add weak symbol for riscv

2023-03-01 Thread Padmarao.Begari
Hi will, > On Wed, 2023-03-01 at 08:27 -0600, Will wrote: > > This functionality is ideally implemented in a platform-specific > system level control register (SLCR) driver similar to ZynqMP and > Versal. You could also just leave it as-is since the default does > exactly the same thing. Th

Re: [PATCH rtems-libbsd 2/3] freebsd/cgem: Read clock frequency from device tree

2023-03-01 Thread Padmarao.Begari
Hi will, > On Wed, 2023-03-01 at 08:20 -0600, Will wrote: > > On Tue, Feb 28, 2023 at 11:57 PM Padmarao Begari < > padmarao.beg...@microchip.com> wrote: > > Read the clock frequency from the device tree and use it to > > calculate the mdc clock divider for the MII bus if not found > > then

Re: [PATCH rtems-libbsd 1/3] freebsd/cgem: Add phy address to read it from device tree

2023-03-01 Thread Padmarao.Begari
Hi Will, Thanks for review comments. > On Wed, 2023-03-01 at 08:10 -0600, Will wrote: > > On Tue, Feb 28, 2023 at 11:57 PM Padmarao Begari < > padmarao.beg...@microchip.com> wrote: > > Read the phy address from the device tree and use it to > > find the phy device if not found then search

AW: CAN driver implementation for Xilinx Zynq

2023-03-01 Thread Carlo.Brokering
Hello Prashanth S, the design for the rx data path including the RxFIFO looks promising. If nobody is working on it yet, I would try to implement it. You said it still needs to be approved - who do I have to contact for this? I think you misunderstood me about the ioctl api. My main quest

Re: Project Discussion for GSoC 2023

2023-03-01 Thread Joel Sherrill
Gabriel.. can you at least file a ticket and put your source on it for others to start from? I suspect that if it works, it is likely OK to merge unless you have other concerns.Posting it as a patch would be great. Viraj.. there isn't a leon3 network controller simulation in qemu. There were free

Re: [PATCH rtems-libbsd 3/3] freebsd/cgem: Add weak symbol for riscv

2023-03-01 Thread Will
This functionality is ideally implemented in a platform-specific system level control register (SLCR) driver similar to ZynqMP and Versal. You could also just leave it as-is since the default does exactly the same thing. This patch should be dropped unless you're going to define an implementation t

Re: [PATCH rtems-libbsd 2/3] freebsd/cgem: Read clock frequency from device tree

2023-03-01 Thread Will
On Tue, Feb 28, 2023 at 11:57 PM Padmarao Begari < padmarao.beg...@microchip.com> wrote: > Read the clock frequency from the device tree and use it to > calculate the mdc clock divider for the MII bus if not found > then use default clock divider. > --- > freebsd/sys/dev/cadence/if_cgem.c | 39 ++

Re: [PATCH rtems-libbsd 1/3] freebsd/cgem: Add phy address to read it from device tree

2023-03-01 Thread Will
On Tue, Feb 28, 2023 at 11:57 PM Padmarao Begari < padmarao.beg...@microchip.com> wrote: > Read the phy address from the device tree and use it to > find the phy device if not found then search in the > range of 0 to 31. > --- > freebsd/sys/dev/cadence/if_cgem.c | 41 -

Re: CAN driver implementation for Xilinx Zynq

2023-03-01 Thread Prashanth S
Hello @Carlo Brokering, > As part of an internship at the German Aerospace Center, I am currently working on the implementation of a CAN driver for a Xilinx > Zynq SoC. For this I used the existing CAN framework /dev/can/can.h. A merge request will follow soon. All the best for your Internship.

CAN driver implementation for Xilinx Zynq

2023-03-01 Thread Carlo.Brokering
Hello, As part of an internship at the German Aerospace Center, I am currently working on the implementation of a CAN driver for a Xilinx Zynq SoC. For this I used the existing CAN framework /dev/can/can.h. A merge request will follow soon. Here's what I'd like to add to the framework if it ha