libbsd failures- atsamv bsp bset

2020-04-02 Thread Joel Sherrill
Hi The atsamv BSP bset fails with this: [1846/1914] Linking build/arm-rtems5-atsamv-default/epoch01.exe /home/joel/rtems-cron-5/rtems-source-builder/rtems/build/tmp/sb-1001-staging/bin/../lib/gcc/arm-rtems5/7.5.0/../../../../arm-rtems5/bin/ld:linkcmds.base:326 cannot move location counter

[PATCH docs] start/gsoc: GSoC Getting started instructions.

2020-04-02 Thread G S Niteesh Babu
Added instructions to setup development environment for students interested in GSoC. --- user/index.rst | 1 + user/start/gsoc.rst | 132 +++ user/start/index.rst | 1 + 3 files changed, 134 insertions(+) create mode 100644 user/start/gsoc.rst

Re: [PATCH] sb/setbuilder: do not include remotes in mailed reports

2020-04-02 Thread Gedare Bloom
On Wed, Apr 1, 2020 at 10:52 PM Chris Johns wrote: > > Hi Gedare, > > Thanks for taking a look at this ticket. Comments below.. > > On 2020-04-02 15:33, Gedare Bloom wrote: > > Closes #3887. > > --- > > source-builder/sb/reports.py| 47 - > >

Re: RTEMS Release Snapshot: 5.0.0-m2004 (02 Apr 2020)

2020-04-02 Thread Gedare Bloom
On Thu, Apr 2, 2020 at 4:17 AM Sebastian Huber wrote: > > Hello, > > in the readme file: > > cd > mkdir -p development/rtems > wget > https://ftp.rtems.org/pub/rtems/releases/sources/rtems-source-builder-5.0.0-m2004.tar.xz > tar jxf rtems-source-builder-5.0.0-m2004.tar.xz And this j

[PATCH v3] sb/setbuilder: do not include remotes in mailed reports

2020-04-02 Thread Gedare Bloom
Closes #3887. --- source-builder/sb/reports.py| 47 - source-builder/sb/setbuilder.py | 2 +- 2 files changed, 29 insertions(+), 20 deletions(-) diff --git a/source-builder/sb/reports.py b/source-builder/sb/reports.py index ab20671..fe6c093 100644 ---

Re: applying a patch

2020-04-02 Thread Vaibhav Gupta
> At #2 I also have the option to download a file. Then you can skip to > 4 and provide the filename on the git-am command line and be done. Yeah! Its just that I got used to copying to clipboard and providing it to git-am via stdin. We can of course do it both the ways. -- Vaibhav Gupta

Re: [PATCH v5] doc: Moving M68K BSP Content to User Manual (#3905)

2020-04-02 Thread Chris Johns
Pushed and again thank you for doing this. Chris On 2020-04-02 19:49, Mritunjay wrote: Fixed trailing spaces. --- user/bsps/bsps-m68k.rst | 190 +++- 1 file changed, 188 insertions(+), 2 deletions(-) diff --git a/user/bsps/bsps-m68k.rst

Re: [PATCH v2] Tests for inttype.h methods

2020-04-02 Thread Joel Sherrill
You added a few test cases so they need to be added to the .doc file in the same directory. I don't think you changed the test output so the .scn (screen) file should be OK. --joel On Thu, Apr 2, 2020 at 5:30 AM Eshan dhawan wrote: > --- > testsuites/psxtests/psxinttypes01/init.c | 25

Re: sqlite build failure on BSP bsets

2020-04-02 Thread Joel Sherrill
Thank you for the detailed feedback. I am torn between: + deleting sqlite from the BSP bset's + requiring tclsh to be installed + updating the RSB recipe for sqlite. Given the desire to get a release out the door. I am prone to the first option with a ticket for 5.2 to update sqlite and re-add

Re: sqlite build failure on BSP bsets

2020-04-02 Thread Jonathan Brandmeyer
Try this. I changed the logic which avoids building the sqlite3 shell. Something about the way it uses libtool made the old `touch`-based method fail. There's also a bunch of configuration notes that really ought to be more visible. On Thu, Apr 2, 2020 at 2:26 PM Joel Sherrill wrote: > > > On

Re: sqlite build failure on BSP bsets

2020-04-02 Thread Gedare Bloom
On Thu, Apr 2, 2020 at 1:57 PM Jonathan Brandmeyer wrote: > > > On Thu, Apr 2, 2020 at 1:43 PM Joel Sherrill wrote: >> >> Thank you for the detailed feedback. >> >> I am torn between: >> >> + deleting sqlite from the BSP bset's >> + requiring tclsh to be installed >> + updating the RSB recipe

Re: [PATCH] bsps/console: Support device file system

2020-04-02 Thread Joel Sherrill
On Thu, Apr 2, 2020 at 9:47 AM Sebastian Huber < sebastian.hu...@embedded-brains.de> wrote: > On 02/04/2020 16:45, Gedare Bloom wrote: > > > Can we hold this until 6? > Joel complained that the CONFIGURE_USE_DEVFS_AS_BASE_FILESYSTEM is > broken. For me it is not important. > If this fixes that,

Re: applying a patch

2020-04-02 Thread Gedare Bloom
On Thu, Apr 2, 2020 at 3:08 PM Vaibhav Gupta wrote: > > On Sun, 22 Mar 2020 at 01:23, Eshan Dhawan wrote: > > > > Hello everyone > > I tried to apply this patch but it fails. > > Since I have done this before so I might be doing something wrong. > > if you all could guide me > > > > patch :

Re: [PATCH v2] Chapter-on-need-for-RTEMS-specific-cross-compiler

2020-04-02 Thread Utkarsh Rai
This patch seems to have gone unnoticed, can somemone please review it? On Fri, Mar 27, 2020 at 6:48 PM utkarsh.ra...@gmail.com < utkarsh.ra...@gmail.com> wrote: > --- > user/start/tools.rst | 34 ++ > 1 file changed, 34 insertions(+) > > diff --git

[PATCH v2] sb/setbuilder: do not include remotes in mailed reports

2020-04-02 Thread Gedare Bloom
Closes #3887. --- source-builder/sb/reports.py| 47 - source-builder/sb/setbuilder.py | 2 +- 2 files changed, 29 insertions(+), 20 deletions(-) diff --git a/source-builder/sb/reports.py b/source-builder/sb/reports.py index ab20671..aa01b61 100644 ---

Re: RTEMS Release Snapshot: 5.0.0-m2004 (02 Apr 2020)

2020-04-02 Thread Chris Johns
On 2020-04-03 01:19, Gedare Bloom wrote: On Thu, Apr 2, 2020 at 4:17 AM Sebastian Huber wrote: Hello, in the readme file: cd mkdir -p development/rtems wget https://ftp.rtems.org/pub/rtems/releases/sources/rtems-source-builder-5.0.0-m2004.tar.xz tar jxf

Re: applying a patch

2020-04-02 Thread Eshan Dhawan
Thanks -Eshan > On 03-Apr-2020, at 2:55 AM, Vaibhav Gupta wrote: > >  >> >> At #2 I also have the option to download a file. Then you can skip to >> 4 and provide the filename on the git-am command line and be done. > > Yeah! Its just that I got used to copying to clipboard > and providing

Re: sqlite build failure on BSP bsets

2020-04-02 Thread Joel Sherrill
Thank you so much Jonathon! I have pushed this. We are really trying to close all issues and get things ready for a release. All help and user testing is appreciated. --joel On Thu, Apr 2, 2020 at 5:47 PM Jonathan Brandmeyer wrote: > Try this. > > I changed the logic which avoids building

Re: sqlite build failure on BSP bsets

2020-04-02 Thread Jonathan Brandmeyer
On Thu, Apr 2, 2020 at 1:43 PM Joel Sherrill wrote: > Thank you for the detailed feedback. > > I am torn between: > > + deleting sqlite from the BSP bset's > + requiring tclsh to be installed > + updating the RSB recipe for sqlite. > > Given the desire to get a release out the door. I am prone

Re: sqlite build failure on BSP bsets

2020-04-02 Thread Joel Sherrill
On Thu, Apr 2, 2020 at 3:00 PM Gedare Bloom wrote: > On Thu, Apr 2, 2020 at 1:57 PM Jonathan Brandmeyer > wrote: > > > > > > On Thu, Apr 2, 2020 at 1:43 PM Joel Sherrill wrote: > >> > >> Thank you for the detailed feedback. > >> > >> I am torn between: > >> > >> + deleting sqlite from the BSP

Re: [PATCH v5] doc: Moving M68K BSP Content to User Manual (#3905)

2020-04-02 Thread Joel Sherrill
Is there now a list of wiki pages that need to be deleted? Thank you and I'm glad to see this patch. :) --joel On Thu, Apr 2, 2020 at 4:54 PM Chris Johns wrote: > Pushed and again thank you for doing this. > > Chris > > On 2020-04-02 19:49, Mritunjay wrote: > > Fixed trailing spaces. > > ---

Re: applying a patch

2020-04-02 Thread Vaibhav Gupta
On Sun, 22 Mar 2020 at 01:23, Eshan Dhawan wrote: > > Hello everyone > I tried to apply this patch but it fails. > Since I have done this before so I might be doing something wrong. > if you all could guide me > > patch : https://lists.rtems.org/pipermail/devel/2020-March/058516.html > Its just

Re: [PATCH v2] Chapter-on-need-for-RTEMS-specific-cross-compiler

2020-04-02 Thread Utkarsh Rai
On Fri, Apr 3, 2020 at 8:15 AM Chris Johns wrote: > On 2020-03-28 00:13, utkarsh.ra...@gmail.com wrote: > > --- > > user/start/tools.rst | 34 ++ > > 1 file changed, 34 insertions(+) > > > > diff --git a/user/start/tools.rst b/user/start/tools.rst > > index

Re: [PATCH v2] Chapter-on-need-for-RTEMS-specific-cross-compiler

2020-04-02 Thread Chris Johns
On 2020-03-28 00:13, utkarsh.ra...@gmail.com wrote: --- user/start/tools.rst | 34 ++ 1 file changed, 34 insertions(+) diff --git a/user/start/tools.rst b/user/start/tools.rst index c3f039b..8ea1f64 100644 --- a/user/start/tools.rst +++ b/user/start/tools.rst

Re: [PATCH] libdebugger: Fix ARMv7-M with -O0

2020-04-02 Thread Chris Johns
On 2020-04-02 16:53, Sebastian Huber wrote: Hallo Chris, On 21/03/2020 07:45, Sebastian Huber wrote: On 20/03/2020 22:23, Chris Johns wrote: On 20 Mar 2020, at 4:49 pm, Sebastian Huber wrote: On 20/03/2020 05:15, Chris Johns wrote: On 19/3/20 7:52 pm, Sebastian Huber wrote: The ARMv7-M

Re: [PATCH] libdebugger: Fix ARMv7-M with -O0

2020-04-02 Thread Sebastian Huber
On 02/04/2020 08:46, Chris Johns wrote: On 2020-04-02 16:53, Sebastian Huber wrote: Hallo Chris, On 21/03/2020 07:45, Sebastian Huber wrote: On 20/03/2020 22:23, Chris Johns wrote: On 20 Mar 2020, at 4:49 pm, Sebastian Huber wrote: On 20/03/2020 05:15, Chris Johns wrote: On 19/3/20 7:52

[PATCH] arm: ARMv7-M statically initialized vector table

2020-04-02 Thread Sebastian Huber
Statically initialize the ARMv7-M vector table to allow a placement in ROM with read-only MPU settings. Change licence to BSD-2-Clause in some files. --- bsps/arm/shared/clock/clock-armv7m.c | 39 -- bsps/arm/shared/irq/irq-armv7m.c | 50

[PATCH] bsps/arm: Add support for MPU region alignment

2020-04-02 Thread Sebastian Huber
--- bsps/arm/shared/start/linkcmds.base | 21 + 1 file changed, 21 insertions(+) diff --git a/bsps/arm/shared/start/linkcmds.base b/bsps/arm/shared/start/linkcmds.base index 1f5f1ef959..d0663cf97e 100644 --- a/bsps/arm/shared/start/linkcmds.base +++

[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 +++

[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 ---

[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

[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

[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 ---

[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] bsps/arm: Add support for MPU region alignment

2020-04-02 Thread Gedare Bloom
On Thu, Apr 2, 2020 at 12:15 AM Sebastian Huber wrote: > > --- > bsps/arm/shared/start/linkcmds.base | 21 + > 1 file changed, 21 insertions(+) > > diff --git a/bsps/arm/shared/start/linkcmds.base > b/bsps/arm/shared/start/linkcmds.base > index 1f5f1ef959..d0663cf97e 100644

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

2020-04-02 Thread Gedare Bloom
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(-) > > diff --git a/user/bsps/arm/imx.rst b/user/bsps/arm/imx.rst > index

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

2020-04-02 Thread Christian Mauderer
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 HEAD^ --subject-prefix="PATCH rtems-docs" I haven't found a good method yet to set it

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

2020-04-02 Thread Sebastian Huber
On 02/04/2020 16:47, Christian Mauderer wrote: 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. Just change the author if it makes sense. ___

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

2020-04-02 Thread Gedare Bloom
Maybe file a ticket against this for the future. On Thu, Apr 2, 2020 at 8:43 AM Christian Mauderer wrote: > > 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. > --- >

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

2020-04-02 Thread Sebastian Huber
On 02/04/2020 17:15, Christian Mauderer wrote: 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.c

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 or if FreeBSD ever will have the >> necessary

Re: [PATCH docs] start/gsoc: GSoC Getting started instructions.

2020-04-02 Thread Gedare Bloom
Thanks for this, I pushed it, but changed the location in the index to the end of the Getting Started Guide. On Thu, Apr 2, 2020 at 8:05 AM G S Niteesh Babu wrote: > > Added instructions to setup development environment for students > interested in GSoC. > --- > user/index.rst | 1 + >

Re: [PATCH docs] user/bsp-build: Fix broken cross references.

2020-04-02 Thread Gedare Bloom
pushed On Thu, Apr 2, 2020 at 5:07 AM G S Niteesh Babu wrote: > > The QuickStartBSPBuild_Manual and QuickStartBSPBuild_RSB are > missing the underscore in front. This breaks any reference to > them from other sections. > --- > user/start/bsp-build.rst | 4 ++-- > 1 file changed, 2

[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 +

[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

[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 ---

[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 ---

Re: [PATCH] bsps/arm: Add support for MPU region alignment

2020-04-02 Thread Sebastian Huber
On 02/04/2020 16:44, Gedare Bloom wrote: On Thu, Apr 2, 2020 at 12:15 AM Sebastian Huber wrote: --- bsps/arm/shared/start/linkcmds.base | 21 + 1 file changed, 21 insertions(+) diff --git a/bsps/arm/shared/start/linkcmds.base b/bsps/arm/shared/start/linkcmds.base

Re: [PATCH] bsps/console: Support device file system

2020-04-02 Thread Gedare Bloom
On Thu, Apr 2, 2020 at 8:45 AM Gedare Bloom wrote: > > Can we hold this until 6? > Trying to avoid anything that might break random BSPs in subtle ways. > On Thu, Apr 2, 2020 at 4:02 AM Sebastian Huber > wrote: > > > > Update #3926. > > --- > > bsps/include/bsp/fatal.h |

[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

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

2020-04-02 Thread Gedare Bloom
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 or if FreeBSD ever will have the > necessary functions. So that ticket would be a candidate for

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: [PATCH] bsps/console: Support device file system

2020-04-02 Thread Sebastian Huber
On 02/04/2020 16:45, Gedare Bloom wrote: Can we hold this until 6? Joel complained that the CONFIGURE_USE_DEVFS_AS_BASE_FILESYSTEM is broken. For me it is not important. ___ devel mailing list devel@rtems.org

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

2020-04-02 Thread Sebastian Huber
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.c +++ b/freebsd/sys/dev/usb/usb_busdma.c @@ -78,6 +78,52 @@ static void usb_pc_common_mem_cb(void

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

2020-04-02 Thread Christian Mauderer
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 or if FreeBSD ever will have the necessary functions. So that ticket would be a candidate for being open forever. > > On Thu, Apr 2, 2020 at 8:43 AM Christian

Re: [PATCH] arm: ARMv7-M statically initialized vector table

2020-04-02 Thread Gedare Bloom
Ok On Thu, Apr 2, 2020 at 12:14 AM Sebastian Huber wrote: > > Statically initialize the ARMv7-M vector table to allow a placement in > ROM with read-only MPU settings. > > Change licence to BSD-2-Clause in some files. > --- > bsps/arm/shared/clock/clock-armv7m.c | 39

Re: [PATCH] bsps/console: Support device file system

2020-04-02 Thread Gedare Bloom
Can we hold this until 6? On Thu, Apr 2, 2020 at 4:02 AM Sebastian Huber wrote: > > Update #3926. > --- > bsps/include/bsp/fatal.h | 2 -- > bsps/shared/dev/serial/console-termios-init.c | 28 > +++ > 2 files changed, 16 insertions(+), 14

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

2020-04-02 Thread Gedare Bloom
Looks good to me On Thu, Apr 2, 2020 at 8:42 AM Christian Mauderer wrote: > > 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

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: > Hello, > >

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(-) >> >> diff --git

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

2020-04-02 Thread Gedare Bloom
PS: how do you get the repo inlined to the [PATCH xxx] subject line? It's handy. On Thu, Apr 2, 2020 at 8:51 AM Gedare Bloom wrote: > > On Thu, Apr 2, 2020 at 8:43 AM Christian Mauderer > wrote: > > > > Update #3869 > > --- > > user/bsps/arm/imx.rst | 49 > >

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.c >> +++

Re: [PATCH] start/user: describe version numbers and releases

2020-04-02 Thread Gedare Bloom
I pushed this. On Wed, Apr 1, 2020 at 9:35 PM Gedare Bloom wrote: > > Closes #2562. > --- > user/start/preparation.rst | 49 ++ > 1 file changed, 49 insertions(+) > > diff --git a/user/start/preparation.rst b/user/start/preparation.rst > index

[PATCH rtems-docs] user/rsb: Fix typos (#3922)

2020-04-02 Thread Mritunjay
Closes #3922 --- user/rsb/configuration.rst| 14 +++--- user/rsb/cross-canadian-cross.rst | 2 +- user/rsb/project-sets.rst | 2 +- user/rsb/third-party-packages.rst | 2 +- 4 files changed, 10 insertions(+), 10 deletions(-) diff --git a/user/rsb/configuration.rst

[PATCH v5] doc: Moving M68K BSP Content to User Manual (#3905)

2020-04-02 Thread Mritunjay
Fixed trailing spaces. --- user/bsps/bsps-m68k.rst | 190 +++- 1 file changed, 188 insertions(+), 2 deletions(-) diff --git a/user/bsps/bsps-m68k.rst b/user/bsps/bsps-m68k.rst index 60882fb..bdb516b 100644 --- a/user/bsps/bsps-m68k.rst +++

Re: [PATCH rtems-docs] user/rsb: Fix typos (#3922)

2020-04-02 Thread Chris Johns
Pushed. Thanks. Chris On 2020-04-02 19:18, Mritunjay wrote: Closes #3922 --- user/rsb/configuration.rst| 14 +++--- user/rsb/cross-canadian-cross.rst | 2 +- user/rsb/project-sets.rst | 2 +- user/rsb/third-party-packages.rst | 2 +- 4 files changed, 10

Re: [PATCH] config: Remove filesystem entry config options

2020-04-02 Thread Sebastian Huber
On 31/03/2020 12:48, Sebastian Huber wrote: Remove the following undocumented configuration options: * CONFIGURE_FILESYSTEM_ENTRY_DEVFS * CONFIGURE_FILESYSTEM_ENTRY_DOSFS * CONFIGURE_FILESYSTEM_ENTRY_FTPFS * CONFIGURE_FILESYSTEM_ENTRY_IMFS * CONFIGURE_FILESYSTEM_ENTRY_JFFS2 *

Re: RTEMS 5 release status

2020-04-02 Thread Christian Mauderer
Hello Chris, I don't think that littlevgl is such an essential or stable package yet. Currently I know of exactly one project using this repository and that's only because I added it. Best regards Christian On 02/04/2020 11:00, Chris Johns wrote: > Hi, > > All OK and thanks for letting us

Re: [PATCH] config: Remove filesystem entry config options

2020-04-02 Thread Chris Johns
On 2020-04-02 18:39, Sebastian Huber wrote: On 31/03/2020 12:48, Sebastian Huber wrote: Remove the following undocumented configuration options: * CONFIGURE_FILESYSTEM_ENTRY_DEVFS * CONFIGURE_FILESYSTEM_ENTRY_DOSFS * CONFIGURE_FILESYSTEM_ENTRY_FTPFS * CONFIGURE_FILESYSTEM_ENTRY_IMFS *

Re: [PATCH] eng: Add documentation guidelines

2020-04-02 Thread Chris Johns
On 2020-04-02 19:25, Sebastian Huber wrote: Start with templates for the application configuration options. Remove "Format to be followed for making changes in this file" from c-user. Update #3910. OK. Chris --- c-user/config/intro.rst | 44 ---

Re: RTEMS 5 release status

2020-04-02 Thread Chris Johns
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 repository and that's only because I added it. I have used it successfully however not on RTEMS. It

Documentation of Application Configuration Options

2020-04-02 Thread Sebastian Huber
Hello, I reworked the documentation of the application configuration options in the last weeks. All 149 options are now documented. Several options are obsolete in RTEMS 5.1. The documentation is generated via a script from these specification items:

Re: RTEMS 5 release status

2020-04-02 Thread Christian Mauderer
Hello Chris, sorry, I missed that mail this morning. I pushed a small patch to rtems-littlevgl that fixes a build problem with python3. I hope I didn't make problems with that. Best regards Christian On 02/04/2020 01:31, Chris Johns wrote: > Hello, > > Please read if you have commit access.

[PATCH] eng: Add documentation guidelines

2020-04-02 Thread Sebastian Huber
Start with templates for the application configuration options. Remove "Format to be followed for making changes in this file" from c-user. Update #3910. --- c-user/config/intro.rst | 44 --- eng/doc-guide.rst | 79 +

Re: RTEMS 5 release status

2020-04-02 Thread Chris Johns
Hi, All OK and thanks 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 morning. I pushed a small patch to

Re: [PATCH] config: Remove filesystem entry config options

2020-04-02 Thread Sebastian Huber
On 02/04/2020 11:11, Chris Johns wrote: On 2020-04-02 18:39, Sebastian Huber wrote: On 31/03/2020 12:48, Sebastian Huber wrote: Remove the following undocumented configuration options: * CONFIGURE_FILESYSTEM_ENTRY_DEVFS * CONFIGURE_FILESYSTEM_ENTRY_DOSFS * CONFIGURE_FILESYSTEM_ENTRY_FTPFS

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 repository and that's >> only because I added

Re: Documentation of Application Configuration Options

2020-04-02 Thread Chris Johns
On 2020-04-02 18:57, Sebastian Huber wrote: Hello, I reworked the documentation of the application configuration options in the last weeks. All 149 options are now documented. Several options are obsolete in RTEMS 5.1. The documentation is generated via a script from these specification

sqlite build failure on BSP bsets

2020-04-02 Thread Joel Sherrill
Hi It looks like tclsh is required to build sqlite. I filed this as a ticket since it is a bit of a broad issue. Added host dependency (docs, sb-check), no BSP bset builds without it installed, etc. + make -j 8 sqlite3.h libsqlite3.la tclsh

Re: sqlite build failure on BSP bsets

2020-04-02 Thread Jonathan Brandmeyer
It depends on how you build it. If you use the amalgamation, you aren't running the test suite, and you aren't building any of the other command-line tools that ship with sqlite, then I don't think you have to have TCL. On Thu, Apr 2, 2020 at 11:01 AM Joel Sherrill wrote: > Hi > > It looks

[PATCH] bsps/console: Support device file system

2020-04-02 Thread Sebastian Huber
Update #3926. --- bsps/include/bsp/fatal.h | 2 -- bsps/shared/dev/serial/console-termios-init.c | 28 +++ 2 files changed, 16 insertions(+), 14 deletions(-) diff --git a/bsps/include/bsp/fatal.h b/bsps/include/bsp/fatal.h index

Re: RTEMS Release Snapshot: 5.0.0-m2004 (02 Apr 2020)

2020-04-02 Thread Sebastian Huber
Hello, in the readme file: cd mkdir -p development/rtems wget https://ftp.rtems.org/pub/rtems/releases/sources/rtems-source-builder-5.0.0-m2004.tar.xz tar jxf rtems-source-builder-5.0.0-m2004.tar.xz cd rtems-source-builder-5.0.0-m2004/rtems there is probably a cd

RTEMS Release Snapshot: 5.0.0-m2004 (02 Apr 2020)

2020-04-02 Thread chrisj
RTEMS Release Build - 5.0.0-m2004 RTEMS 5 Release snapshot m2004 is avaliable for testing. It can be found at: https://ftp.rtems.org/pub/rtems/releases/5/5.0.0/5.0.0-m2004 Please test and report any issues to the u...@rtems.org or devel@rtems.org mailing lists or please raise a ticket. If you

[PATCH v2] Tests for inttype.h methods

2020-04-02 Thread Eshan dhawan
--- testsuites/psxtests/psxinttypes01/init.c | 25 +--- 1 file changed, 22 insertions(+), 3 deletions(-) diff --git a/testsuites/psxtests/psxinttypes01/init.c b/testsuites/psxtests/psxinttypes01/init.c index 030aa2aa57..d86313b251 100644 ---

[PATCH docs] user/bsp-build: Fix broken cross references.

2020-04-02 Thread G S Niteesh Babu
The QuickStartBSPBuild_Manual and QuickStartBSPBuild_RSB are missing the underscore in front. This breaks any reference to them from other sections. --- user/start/bsp-build.rst | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/user/start/bsp-build.rst

Re: sqlite build failure on BSP bsets

2020-04-02 Thread Joel Sherrill
On Thu, Apr 2, 2020, 12:09 PM Jonathan Brandmeyer wrote: > It depends on how you build it. If you use the amalgamation, you aren't > running the test suite, and you aren't building any of the other > command-line tools that ship with sqlite, then I don't think you have to > have TCL. > If the

Re: [rtems-docs commit] user/start/gsoc: fix unicode error and grammar typo

2020-04-02 Thread Gedare Bloom
There was a problem with building latex pdf docs, it turned out to be some invisible unicode that slipped in the GSoC Getting Started patch. On Thu, Apr 2, 2020 at 12:15 PM Gedare Bloom wrote: > > Module:rtems-docs > Branch:master > Commit:d4d30673d094e1e7c796c5a6d3de3e12ccaa1b9e >

Re: sqlite build failure on BSP bsets

2020-04-02 Thread Jonathan Brandmeyer
We just copied the amalgamation's single .c and .h file into our repository and built it as a single object into our application. So the following recommendations come only from an amateur reading of the sources on current rtems-source-builder master. 3.8.8 is pretty old. I'd just jump straight

[PATCH] bsp/shared/clock: Reset Clock_driver_isrs to correct value

2020-04-02 Thread Jan Sommer
CLOCK_DRIVER_ISRS_PER_TICK is the configuration define, CLOCK_DRIVER_ISRS_PER_TICK_VALUE is the actual value of ISRS per clock tick, therefore use this one to reset the Clock_driver_isrs after each tick. --- bsps/shared/dev/clock/clockimpl.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)