[PATCH rtems-libbsd v3 3/3] testsuite: Wait for the link to be UP

2021-08-08 Thread Chris Johns
- Wait for a slow PHY to bring the link UP. If the IP address is static the test can start before the link is up and the test fails. - Make 2 tests wait. Others will need to be added. --- .../include/rtems/bsd/test/default-init.h | 29 +++ .../rtems/bsd/test/default-networ

[PATCH rtems-libbsd v3 1/3] rtemsbsd/bus: Add PCI support to the nexus bus

2021-08-08 Thread Chris Johns
- Add PCI IO region support - Add support map buffers to PCI address space - Add BSP conditional IO space support. Some PC implementations have PCI IO space mapped differently to memory space and this needs to be reflected in the busspace. - Include bsp.h to pick per BSP configuration. Clos

[PATCH rtems-libbsd v3 2/3] rtemsbsd: Add interface support routines

2021-08-08 Thread Chris Johns
- Add the ability to check if an interface is up --- libbsd.py | 1 + rtemsbsd/include/rtems/bsd/iface.h | 62 rtemsbsd/rtems/rtems-bsd-iface.c | 146 + 3 files changed, 209 insertions(+) create mode 100644 rtemsbsd/include/rt

LibBSD - bus space support for PC PCI devices

2021-08-08 Thread Chris Johns
Hello, These patches address 2 issues, PC PCI suport for non-Intel targets and tests with static IP addresses faiing. - PC PCI BSPs like MVME2700 (MVME2307) have PC PCI devices with separate IO and memory bus spaces mapped into separate address spaces. This requires the BSP provides suitable rem

[PATCH v4] Test needed for timer_create with CLOCK_MONOTONIC

2021-08-08 Thread Zacchaeus Leung
the timer_create() method can use CLOCK_MONOTONIC but there was no test for this. Also it implements the functionality to create a CLOCK_MONOTONIC timer and gettime() . Closes #3888 --- cpukit/include/rtems/posix/timer.h| 1 + cpukit/posix/src/psxtimercreate.c | 3 +- c

Re: [PATCH rtems-libbsd v2 0/5] Beagle BSP: USB Template Driver for CDC Ethernet

2021-08-08 Thread Chris Johns
On 9/8/21 6:20 am, Christian Mauderer wrote: > I think all open questions should be answered or did I miss one from your > side? > If not I would like to push the patches. As asked in another thread can they please wait? Chris ___ devel mailing list de

Re: [PATCH rtems-libbsd v2 0/5] Beagle BSP: USB Template Driver for CDC Ethernet

2021-08-08 Thread Chris Johns
On 8/8/21 6:06 pm, Christian Mauderer wrote: > Hello Husni, > > On 07/08/2021 21:56, Ahamed Husni wrote: >> Hi Christian, >> >> Are there any issues I should address in this patch set? > > I think the big open question is the one from Chris: > > https://lists.rtems.org/pipermail/devel/2021-July/

Re: [PATCH rtems-libbsd v2 0/5] Beagle BSP: USB Template Driver for CDC Ethernet

2021-08-08 Thread Chris Johns
On 1/8/21 9:27 pm, Christian Mauderer wrote: > Hello Husni, > > just tested that and it works fine. With a simple curl I can reach about 8.5 > MByte/s sending to the beagle and 19.5 MByte/s receiving from it. > > Please take a look at the points that Chris Johns asked. As soon as these are > addr

Re: [PATCH rtems-libbsd v2 5/5] create-kernel-namespace for USB Template driver

2021-08-08 Thread Chris Johns
On 2/8/21 4:24 am, Ahamed Husni wrote: > Hello Chris, > > On Thu, Jul 29, 2021 at 5:41 AM Chris Johns > wrote: > > On 28/7/21 9:56 pm, Husni Faiz wrote: > > Signed-off-by: Husni Faiz > > > --- > >  rtemsbsd/include/m

Re: [PATCH rtems-libbsd v2 0/5] Beagle BSP: USB Template Driver for CDC Ethernet

2021-08-08 Thread Christian Mauderer
Hello Chris, I think all open questions should be answered or did I miss one from your side? If not I would like to push the patches. Best regards Christian On 08/08/2021 11:46, Ahamed Husni wrote: Hi, On Sun, Aug 8, 2021 at 3:00 PM Christian Mauderer > wrote:

Re: [PATCH rtems-libbsd v2 0/5] Beagle BSP: USB Template Driver for CDC Ethernet

2021-08-08 Thread Ahamed Husni
Hi, On Sun, Aug 8, 2021 at 3:00 PM Christian Mauderer wrote: > Hello Husni, > > On 08/08/2021 11:15, Ahamed Husni wrote: > > Hi Christian, > > > > On Sun, Aug 8, 2021 at 1:36 PM Christian Mauderer > > wrote: > > > > Hello Husni, > > > > On 07/08/2021 21:56, Ah

Re: [PATCH rtems-libbsd v2 0/5] Beagle BSP: USB Template Driver for CDC Ethernet

2021-08-08 Thread Christian Mauderer
Hello Husni, On 08/08/2021 11:15, Ahamed Husni wrote: Hi Christian, On Sun, Aug 8, 2021 at 1:36 PM Christian Mauderer > wrote: Hello Husni, On 07/08/2021 21:56, Ahamed Husni wrote: > Hi Christian, > > Are there any issues I should address in

Re: [PATCH rtems-libbsd v2 0/5] Beagle BSP: USB Template Driver for CDC Ethernet

2021-08-08 Thread Ahamed Husni
Hi Christian, On Sun, Aug 8, 2021 at 1:36 PM Christian Mauderer wrote: > Hello Husni, > > On 07/08/2021 21:56, Ahamed Husni wrote: > > Hi Christian, > > > > Are there any issues I should address in this patch set? > > I think the big open question is the one from Chris: > > https://lists.rtems.o

Re: [PATCH rtems-libbsd v2 0/5] Beagle BSP: USB Template Driver for CDC Ethernet

2021-08-08 Thread Christian Mauderer
Hello Husni, On 07/08/2021 21:56, Ahamed Husni wrote: Hi Christian, Are there any issues I should address in this patch set? I think the big open question is the one from Chris: https://lists.rtems.org/pipermail/devel/2021-July/068634.html You mentioned that you filtered the ones for the im