Re: rtems-boot-image tool: Raspberry Pi

2020-03-22 Thread Christian Mauderer
Hello Niteesh, thanks for the (private) remainder. This thread really stopped quite some time ago. A lot of us are quite busy right now but that shouldn't happen. If you don't get a response for some question: Please give it about a week of time and then just ping the thread. On 05/03/2020 11:06,

Re: [PATCH v2] bsp/beagle: Update console to new Termios device API.

2020-03-22 Thread Christian Mauderer
Hello Niteesh, On 15/03/2020 20:44, G S Niteesh Babu wrote: > This patch updates the console to use new Termios device API. > Update #3034 > --- > bsps/arm/beagle/console/console-config.c | 66 +++- > 1 file changed, 41 insertions(+), 25 deletions(-) > > diff --git a/bsps/ar

Re: [PATCH] MAINTAINERS: Add myself to Write After Approval

2020-03-25 Thread Christian Mauderer
MAINTAINERS > > index 437b55418b..29e22357a5 100644 > > --- a/MAINTAINERS > > +++ b/MAINTAINERS > > @@ -52,6 +52,7 @@ Pavel Pisa                 pp...@pikron.com > <mailto:pp...@pikron.com> > >  Christian Mauderer   

Re: Problem about porting TCP/IP Stack

2020-03-27 Thread Christian Mauderer
nables quite a lot of run time checks like a heap protection. That can help finding the bug. Note that you have to re-build all libraries after you enable or disable rtems-debug because some data structures change with that. Best regards Christian -- ----

[PATCH libbsd] mmcsd: Fix missing MMCBUS_RELEASE_BUS.

2020-04-01 Thread Christian Mauderer
The rtems_bsd_mmcsd_attach_worker acquired the bus without releasing it. Fix that by only acquire the bus if necessary (during initialization and during read / writes). --- freebsd/sys/dev/mmc/mmcsd.c | 8 ++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/freebsd/sys/dev/mmc/m

Re: [PATCH libbsd] mmcsd: Fix missing MMCBUS_RELEASE_BUS.

2020-04-01 Thread Christian Mauderer
Hello Sebastian, thanks for the review. On 01/04/2020 10:41, Sebastian Huber wrote: > On 01/04/2020 10:03, Christian Mauderer wrote: > >> The rtems_bsd_mmcsd_attach_worker acquired the bus without releasing it. >> Fix that by only acquire the bus if necessary (during

[PATCH libbsd v2] mmcsd: Don't handle multiple hardware partitions.

2020-04-01 Thread Christian Mauderer
The rtems_bsd_mmcsd_attach_worker acquired the bus without releasing it. If a MMC device has multiple hardware partitions (like eMMC which typically has at least one boot partition) the rtems_bsd_mmcsd_attach_worker would try to acquire the bus multiple times. This doesn't work. Doing it right wou

Re: [PATCH libbsd v2] mmcsd: Don't handle multiple hardware partitions.

2020-04-01 Thread Christian Mauderer
On 01/04/2020 11:55, Sebastian Huber wrote: > On 01/04/2020 11:45, Christian Mauderer wrote: >> The rtems_bsd_mmcsd_attach_worker acquired the bus without releasing it. >> If a MMC device has multiple hardware partitions (like eMMC which >> typically has at least on

Re: [PATCH libbsd v2] mmcsd: Don't handle multiple hardware partitions.

2020-04-01 Thread Christian Mauderer
On 01/04/2020 14:10, Sebastian Huber wrote: > On 01/04/2020 14:09, Christian Mauderer wrote: > >> On 01/04/2020 11:55, Sebastian Huber wrote: >>> On 01/04/2020 11:45, Christian Mauderer wrote: >>>> The rtems_bsd_mmcsd_attach_worker acquired the bus without relea

Re: RTEMS 5 release status

2020-04-02 Thread Christian Mauderer
gt; You help is needed and welcomed. > > Thanks > Chris > > ___ > devel mailing list > devel@rtems.org > http://lists.rtems.org/mailman/listinfo/devel -- ---- embedded brains GmbH Herr Christian Ma

Re: RTEMS 5 release status

2020-04-02 Thread Christian Mauderer
anks for letting us know. > > I am not sure littlevgl is in the release. Maybe it should be? > > I am picking up packages via the RSB. > > Chris > > On 2020-04-02 19:03, Christian Mauderer wrote: >> Hello Chris, >> >> sorry, I missed that mail this morni

Re: RTEMS 5 release status

2020-04-02 Thread Christian Mauderer
On 02/04/2020 11:10, Chris Johns wrote: > On 2020-04-02 20:02, Christian Mauderer wrote: >> Hello Chris, >> >> I don't think that littlevgl is such an essential or stable package yet. > > Sure. > >> Currently I know of exactly one project using this repo

[PATCH] bsp/imx: Add an extra ecspi clock.

2020-04-02 Thread Christian Mauderer
Some imx chips or boards don't use the same frequency for ECSPI and IPG. Update #3869 --- bsps/arm/imx/include/arm/freescale/imx/imx_ccmvar.h | 3 +++ bsps/arm/imx/spi/imx-ecspi.c| 2 +- bsps/arm/imx/start/ccm.c| 5 + c/src/lib/libbsp/arm/im

[PATCHES] Add more i.MX6UL/ULL support

2020-04-02 Thread Christian Mauderer
Hello, this set of patches for RTEMS, libbsd and docs extend the i.MX6UL/ULL support. Best regards Christian ___ devel mailing list devel@rtems.org http://lists.rtems.org/mailman/listinfo/devel

[PATCH libbsd 02/11] imx6_ccm: Port to RTEMS

2020-04-02 Thread Christian Mauderer
From: Sebastian Huber Update #3869. --- buildset/default.ini | 1 + freebsd/sys/arm/freescale/imx/imx6_ccm.c | 7 +++ libbsd.py| 21 + rtemsbsd/include/bsp/nexus-devices.h | 2 ++ 4 files changed, 31 insertions(+)

[PATCH libbsd 06/11] Add support for i.mx cache.

2020-04-02 Thread Christian Mauderer
Update #3869. --- rtemsbsd/include/machine/rtems-bsd-cache.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rtemsbsd/include/machine/rtems-bsd-cache.h b/rtemsbsd/include/machine/rtems-bsd-cache.h index bd496f9d..73b55e25 100755 --- a/rtemsbsd/include/machine/rtems-bsd-cache.h

[PATCH libbsd 07/11] bus-dma, imx: Don't sync nocache area.

2020-04-02 Thread Christian Mauderer
This area doesn't support all cache operations. Update #3869. --- rtemsbsd/rtems/rtems-kernel-bus-dma.c | 7 +++ 1 file changed, 7 insertions(+) diff --git a/rtemsbsd/rtems/rtems-kernel-bus-dma.c b/rtemsbsd/rtems/rtems-kernel-bus-dma.c index 8c15e92b..8674bef1 100644 --- a/rtemsbsd/rtems/rt

[PATCH libbsd 11/11] freebsd/imx6_usbphy: Add regulator (vbus-supply).

2020-04-02 Thread Christian Mauderer
Update #3869. --- freebsd/sys/arm/freescale/imx/imx6_usbphy.c | 31 + 1 file changed, 31 insertions(+) diff --git a/freebsd/sys/arm/freescale/imx/imx6_usbphy.c b/freebsd/sys/arm/freescale/imx/imx6_usbphy.c index ad545601..7df2e124 100644 --- a/freebsd/sys/arm/freescal

[PATCH libbsd 04/11] regulator: Import from FreeBSD.

2020-04-02 Thread Christian Mauderer
Update #3869. --- freebsd/sys/dev/extres/regulator/regulator.c | 1196 freebsd/sys/dev/extres/regulator/regulator.h | 150 +++ freebsd/sys/dev/extres/regulator/regulator_bus.c | 89 ++ freebsd/sys/dev/extres/regulator/regulator_fixed.c | 501 freebsd

[PATCH libbsd 08/11] ehci_imx: Import from FreeBSD

2020-04-02 Thread Christian Mauderer
From: Sebastian Huber Update #3869. --- freebsd/sys/arm/freescale/imx/imx6_anatopreg.h | 193 + freebsd/sys/arm/freescale/imx/imx6_anatopvar.h | 49 +++ freebsd/sys/arm/freescale/imx/imx6_usbphy.c| 212 ++ freebsd/sys/dev/usb/controller/ehci_imx.c | 516

[PATCH rtems-docs] user/imx: Add i.MX6UL/ULL.

2020-04-02 Thread Christian Mauderer
Update #3869 --- user/bsps/arm/imx.rst | 49 ++--- 1 file changed, 46 insertions(+), 3 deletions(-) diff --git a/user/bsps/arm/imx.rst b/user/bsps/arm/imx.rst index bc93ae3..51c3b7e 100644 --- a/user/bsps/arm/imx.rst +++ b/user/bsps/arm/imx.rst @@ -7,9

[PATCH libbsd 09/11] ehci_imx.c: Port to RTEMS

2020-04-02 Thread Christian Mauderer
From: Sebastian Huber Update #3869. --- freebsd/sys/arm/freescale/imx/imx6_usbphy.c | 11 ++ freebsd/sys/dev/usb/controller/ehci_imx.c | 12 +++ freebsd/sys/dev/usb/usb_busdma.c| 54 + libbsd.py | 4 +++ rtemsbs

[PATCH libbsd 10/11] ehci_imx: Set/clear ENHOSTDISCONNECT in USB PHY.

2020-04-02 Thread Christian Mauderer
This is not a nice solution but it should work on all chips. As soon as FreeBSD has a nice solution via the USB PHY driver, this should be replaced. Update #3869. --- freebsd/sys/dev/usb/controller/ehci_imx.c | 59 +++ 1 file changed, 59 insertions(+) diff --git a/fre

[PATCH libbsd 05/11] regulator: Port to RTEMS.

2020-04-02 Thread Christian Mauderer
Update #3869. --- Makefile.todo | 26 +++ buildset/default.ini | 1 + libbsd.py | 30 rtemsbsd/include/bsp/nexus-devices.h | 3 + rtemsbsd/include/rtems/bsd/local/regdev_if.h |

[PATCH libbsd 03/11] imx gpio port

2020-04-02 Thread Christian Mauderer
From: Sebastian Huber Update #3869. --- freebsd/sys/arm/freescale/imx/imx_gpio.c | 1 + 1 file changed, 1 insertion(+) diff --git a/freebsd/sys/arm/freescale/imx/imx_gpio.c b/freebsd/sys/arm/freescale/imx/imx_gpio.c index f5b476d7..7dd49e3f 100644 --- a/freebsd/sys/arm/freescale/imx/imx_gpio.c

[PATCH libbsd 01/11] imx6_ccm: Import from FreeBSD

2020-04-02 Thread Christian Mauderer
From: Sebastian Huber Update #3869. --- freebsd/sys/arm/freescale/imx/imx6_ccm.c | 468 +++ freebsd/sys/arm/freescale/imx/imx6_ccmreg.h | 149 + freebsd/sys/arm/freescale/imx/imx6_machdep.h | 38 +++ freebsd/sys/arm/freescale/imx/imx_machdep.h | 72 +

Re: [PATCH libbsd 09/11] ehci_imx.c: Port to RTEMS

2020-04-02 Thread Christian Mauderer
Hello, just noted: This patch now contains more from my code than from Sebastian. I'll discuss with him whether we change the author before commiting it. Best regards Christian On 02/04/2020 16:42, Christian Mauderer wrote: > From: Sebastian Huber > > Update #3869. > --- &

Re: [PATCHES] Add more i.MX6UL/ULL support

2020-04-02 Thread Christian Mauderer
Hello, just noted another bug that happened during rebase: Not all steps in libbsd are compileable. Please see the libbsd stuff as a draft version. The content won't change but the order of the patches has to. Best regards Christian On 02/04/2020 16:41, Christian Mauderer wrote: &g

Re: [PATCH rtems-docs] user/imx: Add i.MX6UL/ULL.

2020-04-02 Thread Christian Mauderer
On 02/04/2020 16:51, Gedare Bloom wrote: > On Thu, Apr 2, 2020 at 8:43 AM Christian Mauderer > wrote: >> >> Update #3869 >> --- >> user/bsps/arm/imx.rst | 49 ++--- >> 1 file changed, 46 insertions(+), 3 deletions

Re: [PATCH rtems-docs] user/imx: Add i.MX6UL/ULL.

2020-04-02 Thread Christian Mauderer
good method yet to set it automatically to the repo name. But With the growing number of repositories in RTEMS I try to add the prefixes when not comiting to the core. > > On Thu, Apr 2, 2020 at 8:51 AM Gedare Bloom wrote: >> >> On Thu, Apr 2, 2020 at 8:43 AM Christian Mauderer >>

[PATCH rtems-docs v2] user/imx: Add i.MX6UL/ULL.

2020-04-02 Thread Christian Mauderer
Update #3869 --- user/bsps/arm/imx.rst | 47 --- 1 file changed, 44 insertions(+), 3 deletions(-) diff --git a/user/bsps/arm/imx.rst b/user/bsps/arm/imx.rst index bc93ae3..ee98f0b 100644 --- a/user/bsps/arm/imx.rst +++ b/user/bsps/arm/imx.rst @@ -7,9 +7

Re: [PATCH libbsd 09/11] ehci_imx.c: Port to RTEMS

2020-04-02 Thread Christian Mauderer
On 02/04/2020 17:00, Sebastian Huber wrote: > On 02/04/2020 16:42, Christian Mauderer wrote: > >> diff --git a/freebsd/sys/dev/usb/usb_busdma.c >> b/freebsd/sys/dev/usb/usb_busdma.c >> index 9a70c687..c8000170 100644 >> --- a/freebsd/sys/dev/usb/usb_busdma.

Re: [PATCH libbsd 10/11] ehci_imx: Set/clear ENHOSTDISCONNECT in USB PHY.

2020-04-02 Thread Christian Mauderer
u_long base, size; >> + if (fdt_regsize(phynode, &base, &size) == 0) { >> + sc->phy_regs = (void*)base; >> + esc->sc_vendor_get_port_speed = >> +

Re: [PATCH libbsd 10/11] ehci_imx: Set/clear ENHOSTDISCONNECT in USB PHY.

2020-04-02 Thread Christian Mauderer
On 02/04/2020 17:20, Gedare Bloom wrote: > On Thu, Apr 2, 2020 at 9:18 AM Christian Mauderer > wrote: >> >> On 02/04/2020 17:13, Gedare Bloom wrote: >>> Maybe file a ticket against this for the future. >> >> Problematic point is: I'm not sure when o

[PATCH] bsp/raspberry: Add a bsp_fdt_map_intr().

2020-04-04 Thread Christian Mauderer
From: Christian Mauderer Fixes #3903 --- bsps/arm/raspberrypi/include/bsp/irq.h | 2 ++ bsps/arm/raspberrypi/start/bspstart.c | 23 +++ 2 files changed, 25 insertions(+) diff --git a/bsps/arm/raspberrypi/include/bsp/irq.h b/bsps/arm/raspberrypi/include/bsp/irq.h index

Re: [PATCH] bsp/raspberry: Add a bsp_fdt_map_intr().

2020-04-04 Thread Christian Mauderer
On 04/04/2020 17:04, Gedare Bloom wrote: > On Sat, Apr 4, 2020 at 4:57 AM Christian Mauderer wrote: >> >> From: Christian Mauderer >> >> Fixes #3903 >> --- >> bsps/arm/raspberrypi/include/bsp/irq.h | 2 ++ >> bsps/arm/raspberrypi/start/bspstar

[PATCH v2] bsp/raspberry: Add a bsp_fdt_map_intr().

2020-04-04 Thread Christian Mauderer
From: Christian Mauderer Fixes #3903 --- bsps/arm/raspberrypi/include/bsp/irq.h | 3 +++ bsps/arm/raspberrypi/start/bspstart.c | 24 2 files changed, 27 insertions(+) diff --git a/bsps/arm/raspberrypi/include/bsp/irq.h b/bsps/arm/raspberrypi/include/bsp/irq.h index

Re: [PATCH v2] bsp/raspberry: Add a bsp_fdt_map_intr().

2020-04-04 Thread Christian Mauderer
On 04/04/2020 19:10, Gedare Bloom wrote: > Looks good, go ahead; thanks. Thanks for the review. Pushed it. > > On Sat, Apr 4, 2020 at 10:39 AM Christian Mauderer wrote: >> >> From: Christian Mauderer >> >> Fixes #3903 >> --- >> bsps/arm/raspbe

Re: Failures on Overnight build sweep

2020-04-05 Thread Christian Mauderer
Hello Joel, libbsd on raspberry should work again since yesterday (if you refer to that ticket: https://devel.rtems.org/ticket/3903). Did your build already include the revert here: https://git.rtems.org/rtems/commit/?id=d582d0e130a463842e27070a2e85ebc1acc7b71f Sebastian reverted it after Chris

Re: Failures on Overnight build sweep

2020-04-06 Thread Christian Mauderer
On 06/04/2020 01:40, Chris Johns wrote: > On 2020-04-06 09:11, Joel Sherrill wrote: >> On Sun, Apr 5, 2020, 5:55 PM Chris Johns > <mailto:chr...@rtems.org>> wrote: >> >>     On 2020-04-06 05:04, Christian Mauderer wrote: >> > libbsd on raspberry

Re: Failures on Overnight build sweep

2020-04-06 Thread Christian Mauderer
On 06/04/2020 13:59, Christian Mauderer wrote: > On 06/04/2020 01:40, Chris Johns wrote: >> On 2020-04-06 09:11, Joel Sherrill wrote: >>> On Sun, Apr 5, 2020, 5:55 PM Chris Johns >> <mailto:chr...@rtems.org>> wrote: >>> >>>     On 2020-04-06 05

[PATCH rtems-source-builder 0/1] dtc: Update to 1.6.0

2020-04-06 Thread Christian Mauderer
Hello, Joel mentioned in the following thread that the DTC build with RSB is a bit old: https://lists.rtems.org/pipermail/devel/2020-April/059026.html This patch updates it to the latest V1.6.0. I tested it only with Linux. So we should definitively not merge it without further feedback. Joel:

[PATCH rtems-source-builder] dtc: Update to 1.6.0.

2020-04-06 Thread Christian Mauderer
--- bare/config/devel/dtc-1.6.0-1.cfg | 18 ++ bare/config/devel/dtc.bset| 2 +- 2 files changed, 19 insertions(+), 1 deletion(-) create mode 100644 bare/config/devel/dtc-1.6.0-1.cfg diff --git a/bare/config/devel/dtc-1.6.0-1.cfg b/bare/config/devel/dtc-1.6.0-1.cfg new

Re: [PATCH rtems-source-builder] dtc: Update to 1.6.0.

2020-04-06 Thread Christian Mauderer
.org>> wrote: > > Before I test it, what about the spike.bset? It still references dtc > 1.4? > > On Mon, Apr 6, 2020 at 10:54 AM Christian Mauderer > mailto:o...@c-mauderer.de>> wrote: > > --- >  bare/config/devel/dtc-1.6.0-1.

Re: [PATCH] rsb: Fix Spike build

2020-04-08 Thread Christian Mauderer
Hello Hesham and Joel, On 07/04/2020 16:01, Joel Sherrill wrote: > Please apply your Christian's and your patch. I haven't created a patch for 1.4 yet. But it's quite straightforward. So maybe just create one instead of applying mine. Best regards Christian > > Also bump the dtc base package

Re: [PATCH v3] bsp/beagle: Update console to new Termios API.

2020-04-10 Thread Christian Mauderer
Hello Niteesh, sorry for the late review. It somehow slipped my attention. Although I'm generally OK with it, my suggestion would be to move it after the release. It's a not strictly necessary change and therefore I don't want to potentially break stuff with it now. I added some comments below:

Re: [PATCH v3] bsp/beagle: Update console to new Termios API.

2020-04-11 Thread Christian Mauderer
On 10/04/2020 20:53, Niteesh G. S. wrote: > On Fri, Apr 10, 2020 at 9:18 PM Christian Mauderer <mailto:o...@c-mauderer.de>> wrote: > > Hello Niteesh, > > sorry for the late review. It somehow slipped my attention. > > Although I'm generally OK

Re: RTEMS Timeline Update and 25th Anniversary of First Public Commit

2020-04-13 Thread Christian Mauderer
Best regards Christian -- embedded brains GmbH Herr Christian Mauderer Dornierstr. 4 D-82178 Puchheim Germany email: christian.maude...@embedded-brains.de Phone: +49-89-18 94 741 - 18 Fax: +49-89-18 94 741 - 08 PGP: Public ke

Re: [PATCH rtems-docs] user/imx: Add i.MX6UL/ULL.

2020-04-14 Thread Christian Mauderer
On 02/04/2020 16:56, Christian Mauderer wrote: > On 02/04/2020 16:53, Gedare Bloom wrote: >> PS: how do you get the repo inlined to the [PATCH xxx] subject line? It's >> handy. > > git format patch supports to set the prefix with: > > git format-patch HEA

[PATCH rtems v2] bsp/imx: Add an extra ecspi clock.

2020-04-14 Thread Christian Mauderer
Some imx chips or boards don't use the same frequency for ECSPI and IPG. Update #3869 --- bsps/arm/imx/include/arm/freescale/imx/imx_ccmvar.h | 3 +++ bsps/arm/imx/spi/imx-ecspi.c| 2 +- bsps/arm/imx/start/ccm.c| 5 + c/src/lib/libbsp/arm/im

[PATCHES v2] Add more i.MX6UL/ULL support

2020-04-14 Thread Christian Mauderer
Hello, this patches are an update for https://lists.rtems.org/pipermail/devel/2020-April/058863.html The RTEMS and docs patch is rebased to the current master. The libbsd patches are adapted to have the right order and include the changes like discussed. This version is for the 5-freebsd-12 bra

[PATCH rtems-libbsd v2 02/14] imx6_ccm: Import from FreeBSD

2020-04-14 Thread Christian Mauderer
From: Sebastian Huber Update #3869. --- freebsd/sys/arm/freescale/imx/imx6_anatopreg.h | 193 ++ freebsd/sys/arm/freescale/imx/imx6_anatopvar.h | 49 +++ freebsd/sys/arm/freescale/imx/imx6_ccm.c | 468 + freebsd/sys/arm/freescale/imx/imx6_ccmreg.h| 149

[PATCH rtems-libbsd v2 12/14] ehci_imx: Add to build.

2020-04-14 Thread Christian Mauderer
--- libbsd.py| 2 ++ rtemsbsd/include/bsp/nexus-devices.h | 5 + 2 files changed, 7 insertions(+) diff --git a/libbsd.py b/libbsd.py index 4f8fb4d2..ed6493b2 100644 --- a/libbsd.py +++ b/libbsd.py @@ -5028,6 +5028,8 @@ class imx(builder.Module): self.addKe

[PATCH rtems-libbsd v2 13/14] ehci_imx: Set/clear ENHOSTDISCONNECT in USB PHY.

2020-04-14 Thread Christian Mauderer
This is not a nice solution but it should work on all chips. As soon as FreeBSD has a nice solution via the USB PHY driver, this should be replaced. Update #3869. --- freebsd/sys/dev/usb/controller/ehci_imx.c | 59 +++ 1 file changed, 59 insertions(+) diff --git a/fre

[PATCH rtems-libbsd v2 10/14] ehci_imx: Import from FreeBSD

2020-04-14 Thread Christian Mauderer
From: Sebastian Huber Update #3869. --- freebsd/sys/arm/freescale/imx/imx6_usbphy.c | 212 freebsd/sys/dev/usb/controller/ehci_imx.c | 516 2 files changed, 728 insertions(+) create mode 100644 freebsd/sys/arm/freescale/imx/imx6_usbphy.c create mode

[PATCH rtems-libbsd v2 07/14] regulator: Add to build.

2020-04-14 Thread Christian Mauderer
Update #3869. --- Makefile.todo | 26 ++ buildset/default.ini | 1 + libbsd.py | 30 +++ rtemsbsd/include/bsp/nexus-devices.h | 3 + rtemsbsd/include/rtems/bsd/local/regdev_if.h |

[PATCH rtems-libbsd v2 03/14] imx6_ccm: Port to RTEMS

2020-04-14 Thread Christian Mauderer
From: Sebastian Huber Update #3869. --- freebsd/sys/arm/freescale/imx/imx6_ccm.c | 7 +++ 1 file changed, 7 insertions(+) diff --git a/freebsd/sys/arm/freescale/imx/imx6_ccm.c b/freebsd/sys/arm/freescale/imx/imx6_ccm.c index 2993f1d6..cef79933 100644 --- a/freebsd/sys/arm/freescale/imx/imx

[PATCH rtems-libbsd v2 06/14] regulator: Import from FreeBSD.

2020-04-14 Thread Christian Mauderer
Update #3869. --- freebsd/sys/dev/extres/regulator/regulator.c | 1321 freebsd/sys/dev/extres/regulator/regulator.h | 156 +++ freebsd/sys/dev/extres/regulator/regulator_bus.c | 89 ++ freebsd/sys/dev/extres/regulator/regulator_fixed.c | 502 freebsd

[PATCH rtems-libbsd v2 09/14] bus-dma, imx: Don't sync nocache area.

2020-04-14 Thread Christian Mauderer
This area doesn't support all cache operations. Update #3869. --- rtemsbsd/rtems/rtems-kernel-bus-dma.c | 7 +++ 1 file changed, 7 insertions(+) diff --git a/rtemsbsd/rtems/rtems-kernel-bus-dma.c b/rtemsbsd/rtems/rtems-kernel-bus-dma.c index 8c15e92b..8674bef1 100644 --- a/rtemsbsd/rtems/rt

[PATCH rtems-libbsd v2 08/14] Add support for i.mx cache.

2020-04-14 Thread Christian Mauderer
Update #3869. --- rtemsbsd/include/machine/rtems-bsd-cache.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rtemsbsd/include/machine/rtems-bsd-cache.h b/rtemsbsd/include/machine/rtems-bsd-cache.h index bd496f9d..73b55e25 100755 --- a/rtemsbsd/include/machine/rtems-bsd-cache.h

[PATCH rtems-libbsd v2 11/14] ehci_imx: Port to RTEMS

2020-04-14 Thread Christian Mauderer
Update #3869. --- freebsd/sys/arm/freescale/imx/imx6_usbphy.c | 11 +++ freebsd/sys/dev/usb/controller/ehci_imx.c | 12 2 files changed, 23 insertions(+) diff --git a/freebsd/sys/arm/freescale/imx/imx6_usbphy.c b/freebsd/sys/arm/freescale/imx/imx6_usbphy.c index 8f47507b..

[PATCH rtems-libbsd v2 01/14] usb_busdma: Add USB_NEED_BUSDMA_COHERENT_ALLOC

2020-04-14 Thread Christian Mauderer
From: Sebastian Huber Some BSPs have a cache-coherent memory area, however, it should not be used for the USB controller. --- freebsd/sys/dev/usb/usb_busdma.c | 4 rtemsbsd/include/rtems/bsd/local/opt_usb.h | 5 + 2 files changed, 9 insertions(+) diff --git a/freebsd/sys/dev/

[PATCH rtems-libbsd v2 05/14] imx gpio port

2020-04-14 Thread Christian Mauderer
From: Sebastian Huber Update #3869. --- freebsd/sys/arm/freescale/imx/imx_gpio.c | 1 + 1 file changed, 1 insertion(+) diff --git a/freebsd/sys/arm/freescale/imx/imx_gpio.c b/freebsd/sys/arm/freescale/imx/imx_gpio.c index f5b476d7..7dd49e3f 100644 --- a/freebsd/sys/arm/freescale/imx/imx_gpio.c

[PATCH rtems-docs v2] user/imx: Add i.MX6UL/ULL.

2020-04-14 Thread Christian Mauderer
Update #3869 --- user/bsps/arm/imx.rst | 47 --- 1 file changed, 44 insertions(+), 3 deletions(-) diff --git a/user/bsps/arm/imx.rst b/user/bsps/arm/imx.rst index bc93ae3..ee98f0b 100644 --- a/user/bsps/arm/imx.rst +++ b/user/bsps/arm/imx.rst @@ -7,9 +7

[PATCH rtems-libbsd v2 04/14] imx6_ccm: Add and build module.

2020-04-14 Thread Christian Mauderer
Update #3869. --- buildset/default.ini | 1 + libbsd.py| 23 +++ rtemsbsd/include/bsp/nexus-devices.h | 2 ++ 3 files changed, 26 insertions(+) diff --git a/buildset/default.ini b/buildset/default.ini index 43ea82a3..ac8c9c48 10064

Re: [PATCH rtems-libbsd v2 09/14] bus-dma, imx: Don't sync nocache area.

2020-04-14 Thread Christian Mauderer
On 15/04/2020 07:02, Sebastian Huber wrote: > Is this patch still necessary? > Thanks for the hint. I missed to remove it. It's not necessary any more and I'll just skip it when pushing. -- embedded brains GmbH Herr Christian Mauder

Re: [PATCHES v2] Add more i.MX6UL/ULL support

2020-04-14 Thread Christian Mauderer
ore the release? Best regards Christian -- ---- embedded brains GmbH Herr Christian Mauderer Dornierstr. 4 D-82178 Puchheim Germany email: christian.maude...@embedded-brains.de Phone: +49-89-18 94 741 - 18 Fax: +49-89-18 94 741 - 08 PGP: Public key availabl

Re: RTEMS Timeline Update and 25th Anniversary of First Public Commit

2020-04-14 Thread Christian Mauderer
On 14/04/2020 15:40, Joel Sherrill wrote: > > > On Tue, Apr 14, 2020 at 1:47 AM Christian Mauderer > <mailto:christian.maude...@embedded-brains.de>> wrote: > > Hello Joel, > > On 07/04/2020 22:44, Joel Sherrill wrote: > > Hi > > >

[PATCH rtems-docs] user/imxrt: Add notes about problems with EVB

2021-07-15 Thread Christian Mauderer
There are some possible problems with the i.MXRT1050 evaluation board. Make some notes about that in the BSP manual. --- user/bsps/arm/imxrt.rst | 9 + 1 file changed, 9 insertions(+) diff --git a/user/bsps/arm/imxrt.rst b/user/bsps/arm/imxrt.rst index 3f8b270..f8d9731 100644 --- a/user/b

Re: [PATCH rtems-libbsd 2/4] usb_template: Configure template driver only for CDC Ethernet

2021-07-15 Thread Christian Mauderer
Hello Husni, On 06/07/2021 19:00, Husni Faiz wrote: Add the conditional macro to prevent the driver from referencing the templates which are not imported yet. Include functions which adds the hw.usb.template sysctl variable. Signed-off-by: Husni Faiz --- freebsd/sys/dev/usb/template/usb_tem

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

2021-07-15 Thread Christian Mauderer
Hello Husni, On 14/07/2021 20:18, Ahamed Husni wrote: Hi, Ping :) Sorry for the late reply. I hoped that someone else would review the patches. I already had a look at them before you sent them. I only found two small points. Otherwise the patches look fine. Can you fix the two points and

Re: [PATCH rtems-libbsd 3/4] nexus-devices: Include CDC Ethernet for Beagle

2021-07-15 Thread Christian Mauderer
On 06/07/2021 19:00, Husni Faiz wrote: Configure bus for CDC Ethernet Include CDC Ethernet in Beagle BSP Signed-off-by: Husni Faiz --- rtemsbsd/include/bsp/nexus-devices.h | 5 + rtemsbsd/include/machine/rtems-bsd-nexus-bus.h | 17 + 2 files changed, 22 insert

[PATCH rtems] bsps/imxrt: Add attribution in file headers

2021-07-20 Thread Christian Mauderer
Onto Innovations Incorporated originally sponsored the development of this BSP. This patch adds the attribution for it. The patch also fixes an old license header in bspstarthooks.c that was accidentally copied into that file. --- bsps/arm/imxrt/console/console.c | 1 + bsps/arm/imx

Re: [PATCH rtems] bsps/imxrt: Add attribution in file headers

2021-07-21 Thread Christian MAUDERER
ure. We could add "User Applications" in a similar section. At the moment these are in a TBR wiki area: https://devel.rtems.org/wiki/TBR/UserApp Best regards Christian -- embedded brains GmbH Herr Christian MAUDERER Dornierstr. 4 82178 Puch

Re: [PATCH rtems] bsps/imxrt: Add attribution in file headers

2021-07-21 Thread Christian MAUDERER
Hello Chris, Am 21.07.21 um 09:22 schrieb Chris Johns: On 21/7/21 5:05 pm, Christian MAUDERER wrote: Hello, I don't object to clear rules. At the moment it's a bit of a mix. Yes I understand and I think the line you posted in the patch is fine as is, it just needs to be separat

Re: [PATCH rtems] bsps/imxrt: Add attribution in file headers

2021-07-21 Thread Christian MAUDERER
Am 21.07.21 um 09:34 schrieb Christian MAUDERER: Hello Chris, Am 21.07.21 um 09:22 schrieb Chris Johns: On 21/7/21 5:05 pm, Christian MAUDERER wrote: Hello, I don't object to clear rules. At the moment it's a bit of a mix. Yes I understand and I think the line you posted in th

Re: [PATCH rtems] bsps/imxrt: Add attribution in file headers

2021-07-21 Thread Christian MAUDERER
Am 21.07.21 um 10:31 schrieb Chris Johns: On 21/7/21 5:34 pm, Christian MAUDERER wrote: Hello Chris, Am 21.07.21 um 09:22 schrieb Chris Johns: On 21/7/21 5:05 pm, Christian MAUDERER wrote: Hello, I don't object to clear rules. At the moment it's a bit of a mix. Yes I unders

ttcp only on 6-freebsd-12 and not on master of libbsd

2021-07-24 Thread Christian Mauderer
Hello, in a discussion with Husni I noted that the patches adding ttcp are only on the 6-freebsd-12 branch of libbsd. Is there a reason that they are not on master too? https://git.rtems.org/rtems-libbsd/commit/?h=6-freebsd-12&id=af06b267c5ce04e8a4a7719cb0c723ee4a27f4b4 https://git.rtems.org/

Re: ttcp only on 6-freebsd-12 and not on master of libbsd

2021-07-24 Thread Christian Mauderer
Hello Joel, On 24/07/2021 18:18, Joel Sherrill wrote: On Sat, Jul 24, 2021, 10:19 AM Christian Mauderer <mailto:o...@c-mauderer.de>> wrote: Hello, in a discussion with Husni I noted that the patches adding ttcp are only on the 6-freebsd-12 branch of libbsd. I

Re: ttcp only on 6-freebsd-12 and not on master of libbsd

2021-07-24 Thread Christian Mauderer
18:40, Joel Sherrill wrote: On Sat, Jul 24, 2021, 11:30 AM Christian Mauderer <mailto:o...@c-mauderer.de>> wrote: Hello Joel, On 24/07/2021 18:18, Joel Sherrill wrote: > > > On Sat, Jul 24, 2021, 10:19 AM Christian Mauderer mailto:o...@c-mauderer.de

Re: ttcp only on 6-freebsd-12 and not on master of libbsd

2021-07-24 Thread Christian Mauderer
Hello Joel, On 24/07/2021 22:02, Joel Sherrill wrote: On Sat, Jul 24, 2021, 1:55 PM Christian Mauderer <mailto:o...@c-mauderer.de>> wrote: Hello Joel, I wrote a short script to find different commits based on author and subject (see attached python-script). It seems t

Re: [PATCH rtems-libbsd 3/4] nexus-devices: Include CDC Ethernet for Beagle

2021-07-27 Thread Christian Mauderer
Hello Husni, On 27/07/2021 17:04, Ahamed Husni wrote: On Fri, Jul 16, 2021 at 1:25 AM Christian Mauderer <mailto:o...@c-mauderer.de>> wrote: On 06/07/2021 19:00, Husni Faiz wrote: > Configure bus for CDC Ethernet > Include CDC Ethernet in Beagle BSP >

Re: [PATCH rtems-libbsd 3/4] nexus-devices: Include CDC Ethernet for Beagle

2021-07-27 Thread Christian MAUDERER
Hello Husni, Am 27.07.21 um 22:37 schrieb Ahamed Husni: Hello Christian, On Wed, Jul 28, 2021 at 12:34 AM Christian Mauderer <mailto:o...@c-mauderer.de>> wrote: Hello Husni, On 27/07/2021 17:04, Ahamed Husni wrote: > > > On Fri, Jul 16, 2021 at

Re: [PATCH rtems-libbsd v2 2/5] usb_template: Configure template driver only for CDC Ethernet

2021-07-28 Thread Christian MAUDERER
DEV_USB_TEMPLATE */ Ah, a typo here (rtmes). Should I send a new set of patches? Yes it needs to be correct for the script to work but I would check the freebsd-to-rtems.py script works with these guard comments. Chris ___ devel mailing list devel@rtems.org http://li

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

2021-08-01 Thread Christian Mauderer
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 addressed, I think the patches could be merged. Please al

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

2021-08-01 Thread Christian MAUDERER
Hello Husni, Am 01.08.21 um 19:59 schrieb Ahamed Husni: Hi Christian, On Sun, Aug 1, 2021 at 4:57 PM Christian Mauderer <mailto:o...@c-mauderer.de>> wrote: Hello Husni, just tested that and it works fine. With a simple curl I can reach about 8.5 MByte/s sending to t

Re: [PATCH rtems-libbsd 0/5] RTEMS LibBSD Documentation

2021-08-01 Thread Christian MAUDERER
create mode 100644 libbsd/wscript -- embedded brains GmbH Herr Christian MAUDERER Dornierstr. 4 82178 Puchheim Germany email: christian.maude...@embedded-brains.de phone: +49-89-18 94 741 - 18 fax: +49-89-18 94 741 - 08 Registergericht:

Re: [PATCH rtems-libbsd 0/5] RTEMS LibBSD Documentation

2021-08-02 Thread Christian MAUDERER
Am 02.08.21 um 10:38 schrieb Chris Johns: On 2/8/21 4:58 pm, Christian MAUDERER wrote: Hello Husni, thanks for the patches. I'm sure that this will start a discussion about the right place for that documentation. libbsd documentation is a long overdue topic that has been neglected by all

Re: [PATCH rtems-libbsd 0/5] RTEMS LibBSD Documentation

2021-08-03 Thread Christian MAUDERER
Hello, Am 03.08.21 um 04:07 schrieb Chris Johns: On 3/8/21 3:24 am, Sebastian Huber wrote: On 02/08/2021 18:37, Vijay Kumar Banerjee wrote: I think there should be a high-level user manual subsection for networking that describes how the selection of the network stack works. We can then add an

Re: [PATCH rtems-libbsd 0/5] RTEMS LibBSD Documentation

2021-08-04 Thread Christian MAUDERER
Hello Chris, Am 04.08.21 um 09:28 schrieb Chris Johns: On 3/8/21 5:00 pm, Christian MAUDERER wrote: Hello, Am 03.08.21 um 04:07 schrieb Chris Johns: On 3/8/21 3:24 am, Sebastian Huber wrote: On 02/08/2021 18:37, Vijay Kumar Banerjee wrote: I think there should be a high-level user manual

Re: [PATCH rtems-libbsd 0/5] RTEMS LibBSD Documentation

2021-08-04 Thread Christian MAUDERER
Hello Chris, Am 04.08.21 um 11:17 schrieb Chris Johns: On 4/8/21 6:34 pm, Christian MAUDERER wrote: Hello Chris, Am 04.08.21 um 09:28 schrieb Chris Johns: On 3/8/21 5:00 pm, Christian MAUDERER wrote: Hello, Am 03.08.21 um 04:07 schrieb Chris Johns: On 3/8/21 3:24 am, Sebastian Huber

Re: [PATCH rtems-libbsd 0/5] RTEMS LibBSD Documentation

2021-08-04 Thread Christian MAUDERER
Hello Gedare, Am 04.08.21 um 16:55 schrieb Gedare Bloom: On Wed, Aug 4, 2021 at 4:18 AM Christian MAUDERER wrote: Hello Chris, Am 04.08.21 um 11:17 schrieb Chris Johns: On 4/8/21 6:34 pm, Christian MAUDERER wrote: Hello Chris, Am 04.08.21 um 09:28 schrieb Chris Johns: On 3/8/21 5:00

Re: [PATCH rtems-libbsd 0/5] RTEMS LibBSD Documentation

2021-08-04 Thread Christian Mauderer
On 04/08/2021 18:09, Gedare Bloom wrote: On Wed, Aug 4, 2021 at 9:05 AM Christian MAUDERER wrote: Hello Gedare, Am 04.08.21 um 16:55 schrieb Gedare Bloom: On Wed, Aug 4, 2021 at 4:18 AM Christian MAUDERER wrote: Hello Chris, Am 04.08.21 um 11:17 schrieb Chris Johns: On 4/8/21 6:34 pm

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

2021-08-08 Thread Christian Mauderer
. If they are generated: Please keep them. Basically keep everything that is in one of the files that you touch, except if you have a good reason why the symbol should _not_ be added. If they are not generated: Please clearly say that. Best regards Christian On Mon, Aug 2, 2021 at 12

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 <mailto:o...@c-mauderer.de>> wrote: Hello Husni, On 07/08/2021 21:56, Ahamed Husni wrote: > Hi Christian, > > Are there any issues I

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 <mailto:o...@c-mauderer.de>&

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

2021-08-09 Thread Christian MAUDERER
Hello Chris, Am 09.08.21 um 02:34 schrieb 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

[PATCHES] Fix PPP in libbsd and optimize ATSAM console

2021-08-12 Thread Christian Mauderer
Hello, this set of patches fixes PPP. Basically the current implementation in libbsd can't work with console drivers that can't buffer a lot of characters. The pppstart() function just assumes that the low level console write can send an arbitrary number of characters without checking how many cha

[PATCH rtems 1/2] bsps/atsam: Improve UART / USART tx performance

2021-08-12 Thread Christian Mauderer
Put the next character into the send buffer if the buffer is empty and not when the last character has been sent out to the line. This improves the performance slightly. Before that patch, the receive path was faster than the transmit path. Therefore a simple echo could drop characters on a busy c

[PATCH rtems 2/2] termios: Pass number of sent chars to l_start

2021-08-12 Thread Christian Mauderer
At the moment the line discipline start function (l_start) has no possibility to get feedback about the number of characters that have been sent. This patch passes that information via an additional parameter. The change might trigger a warning on existing code because of a pointer mismatch but it

<    2   3   4   5   6   7   8   9   10   11   >