[PATCH v5 6/7] i386: Delete old machine dependent files

2020-04-17 Thread Jan Sommer
- The files in the i386 directory have been moved to common x86 directories by FreeBSD: - freebsd/sys/x86/x86/legacy.c - freebsd/sys/x86/include/machine/legacyvar.h - freebsd/sys/x86/include/machine/specialreg.h - Add header files in rtemsbsd directory to direct compiler to new files ---

[PATCH v5 2/7] waf: Add path-mappings feature

2020-04-17 Thread Jan Sommer
- path-mappings allow to fix autogenerated include paths for some corner cases of target platforms without the need to change the build system - Currently used for i386 based bsps --- libbsd.py | 8 waf_libbsd.py | 13 +++-- 2 files changed, 19 insertions(+), 2 deletions(-)

[PATCH v5 3/7] i386: Add missing files to build system

2020-04-17 Thread Jan Sommer
- Update FreeBSD files in libbsd.py to required by i386 based BSPs - Some machine specific header files have moved to different directories in FreeBSD - Add missing files e1000 network driver (iflib*) --- libbsd.py | 12 +--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git

[PATCH v5 5/7] iflib.c: Deactivate use of ifc_cpus

2020-04-17 Thread Jan Sommer
- cpusets and SMP are currently not supported in libbsd for RTEMS - Disable the ifc_cpus context variable and replace its usage, essentially hard-coding for cpu 0 --- freebsd/sys/net/iflib.c | 24 1 file changed, 24 insertions(+) diff --git a/freebsd/sys/net/iflib.c

[PATCH v4 2/3] i386: Update build system

2020-04-09 Thread Jan Sommer
- Update FreeBSD files in libbsd.py - Introduce path-mappings in waf_libsd.py and libbsd.py for include path fixes --- libbsd.py | 17 +++-- waf_libbsd.py | 13 +++-- 2 files changed, 26 insertions(+), 4 deletions(-) diff --git a/libbsd.py b/libbsd.py index

[PATCH v4 3/3] i386: Port to RTEMS

2020-04-09 Thread Jan Sommer
- Update imported files to compile rtems-libbsd for i386 based BSPs --- freebsd-org |2 +- freebsd/sbin/sysctl/sysctl.c |8 + freebsd/sys/dev/pci/pci_pci.c|2 + freebsd/sys/i386/i386/legacy.c | 381

[PATCH v4 0/3] [5-freebsd-12] Fix compilation for i386

2020-04-09 Thread Jan Sommer
the changed one Happy Easter, Jan Jan Sommer (3): i386: Add missing files from FreeBSD i386: Update build system i386: Port to RTEMS freebsd-org|2 +- freebsd/sbin/sysctl/sysctl.c |8 + freebsd/sys/dev/pci/pci_pci.c

[PATCH 1/2] tester: Allow telnet tty devices for run.cfg

2020-04-08 Thread Jan Sommer
- Only set console_stdio as default if no bsp_tty_dev has been defined --- tester/rtems/testing/run.cfg | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/tester/rtems/testing/run.cfg b/tester/rtems/testing/run.cfg index f7b21d7..e472ba8 100644 ---

[PATCH 2/2] tester: Add configuration pc-run.ini

2020-04-08 Thread Jan Sommer
--- tester/rtems/testing/bsps/pc-run.ini | 41 1 file changed, 41 insertions(+) create mode 100644 tester/rtems/testing/bsps/pc-run.ini diff --git a/tester/rtems/testing/bsps/pc-run.ini b/tester/rtems/testing/bsps/pc-run.ini new file mode 100644 index

[PATCH 0/2] [rtems-tools] Allow telnet tty devices for run.cfg

2020-04-08 Thread Jan Sommer
Here are the changes I did for our local setup. The first patch enableds telnet tty devices for run.cfg setups The second add a run configuration for the pc BSP Jan Sommer (2): tester: Allow telnet tty devices for run.cfg tester: Add configuration pc-run.ini tester/rtems/testing/bsps/pc

[PATCH 0/1] [rtems-tools] Add configuration pc-qemu

2020-04-03 Thread Jan Sommer
I don't mind to maintain that configuration locally, but I think it is generic enough that it might help others too. Jan Sommer (1): tester: Add configuration pc-qemu.ini tester/rtems/testing/bsps/pc-qemu.ini | 39 +++ 1 file changed, 39 insertions(+) create

[PATCH 1/1] tester: Add configuration pc-qemu.ini

2020-04-03 Thread Jan Sommer
--- tester/rtems/testing/bsps/pc-qemu.ini | 39 +++ 1 file changed, 39 insertions(+) create mode 100644 tester/rtems/testing/bsps/pc-qemu.ini diff --git a/tester/rtems/testing/bsps/pc-qemu.ini b/tester/rtems/testing/bsps/pc-qemu.ini new file mode 100644 index

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

[PATCH v3 2/3] i386: Update build system

2020-03-23 Thread Jan Sommer
- Update FreeBSD files in libbsd.py - Introduce path-mappings in waf_libsd.py and libbsd.py for include path fixes --- libbsd.py | 17 +++-- waf_libbsd.py | 13 +++-- 2 files changed, 26 insertions(+), 4 deletions(-) diff --git a/libbsd.py b/libbsd.py index

[PATCH v3 3/3] i386: Port to RTEMS

2020-03-23 Thread Jan Sommer
- Update imported files to compile rtems-libbsd for i386 based BSPs --- freebsd-org |2 +- freebsd/sbin/sysctl/sysctl.c |8 + freebsd/sys/dev/pci/pci_pci.c|2 + freebsd/sys/i386/i386/legacy.c | 381

[PATCH v3 0/3] [5-freebsd-12] Fix compilation for i386

2020-03-23 Thread Jan Sommer
the callout_reset_on macro - iflib.c: Do not use different callout* macro, but use the changed one Best regards, Jan Jan Sommer (3): i386: Add missing files from FreeBSD i386: Update build system i386: Port to RTEMS freebsd-org|2 +- freebsd/sbin/sysctl

[PATCH v2 3/3] i386: Port to RTEMS

2020-03-09 Thread Jan Sommer
- Update imported files to compile rtems-libbsd for i386 based BSPs --- freebsd/sbin/sysctl/sysctl.c |8 + freebsd/sys/dev/pci/pci_pci.c|2 + freebsd/sys/i386/i386/legacy.c | 381 --- freebsd/sys/i386/include/machine/cpufunc.h |2 +

[PATCH v2 2/3] i386: Update build system

2020-03-09 Thread Jan Sommer
- Update FreeBSD files in libbsd.py - Introduce path-mappings in waf_libsd.py and libbsd.py for include path fixes --- libbsd.py | 17 +++-- waf_libbsd.py | 13 +++-- 2 files changed, 26 insertions(+), 4 deletions(-) diff --git a/libbsd.py b/libbsd.py index

[PATCH v2 0/3] [5-freebsd-12] Fix compilation for i386

2020-03-09 Thread Jan Sommer
This is the backport for the 5-freebsd-12 branch to make rtems-libbsd compile for i386 again: - It also introduces path-mappings to waf_libbsd.py as introduced here: https://lists.rtems.org/pipermail/devel/2020-February/057457.html Best regards, Jan Jan Sommer (3): i386: Add missing

[PATCH 0/3] [rtems-libbsd] [backport] Fix compilation issue for

2020-03-06 Thread Jan Sommer
regards, Jan Jan Sommer (3): i386: Add missing files from FreeBSD i386: Update build system i386: Port to RTEMS freebsd/sbin/sysctl/sysctl.c |8 + freebsd/sys/dev/pci/pci_pci.c |2 + freebsd/sys/i386/include/machine/cpufunc.h|2

[PATCH 1/3] i386: Add missing files from FreeBSD

2020-03-06 Thread Jan Sommer
- Files needed to make rtems-libbsd build again for i386 --- .../sys/x86/include/machine/intr_machdep.h| 180 freebsd/sys/x86/include/machine/legacyvar.h | 73 freebsd/sys/x86/x86/legacy.c | 404 ++ 3 files changed, 657 insertions(+) create

[PATCH 3/3] i386: Port to RTEMS

2020-03-06 Thread Jan Sommer
- Update imported files to compile rtems-libbsd for i386 based BSPs - Currently does not support the option "dev_nic_e1000 = on" --- freebsd/sbin/sysctl/sysctl.c |8 + freebsd/sys/dev/pci/pci_pci.c|2 + freebsd/sys/i386/i386/legacy.c | 381

[PATCH 2/3] i386: Update build system

2020-03-06 Thread Jan Sommer
- Include update FreeBSD files in libbsd.py - Introduce path-mappings in waf_libsd.py and libbsd.py for include path fixes --- libbsd.py | 14 -- waf_libbsd.py | 13 +++-- 2 files changed, 23 insertions(+), 4 deletions(-) diff --git a/libbsd.py b/libbsd.py index

[PATCH 1/1] bsp/pc386: Fix interrupt enable to make debug option work again

2020-02-25 Thread Jan Sommer
--- bsps/i386/pc386/clock/ckinit.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bsps/i386/pc386/clock/ckinit.c b/bsps/i386/pc386/clock/ckinit.c index 478a37f5d7..d6e4b4 100644 --- a/bsps/i386/pc386/clock/ckinit.c +++ b/bsps/i386/pc386/clock/ckinit.c @@ -170,7 +170,7 @@

[PATCH 0/1] [bsp/pc386] Fix --enable-rtems-debug

2020-02-25 Thread Jan Sommer
Hello, I just noticed that the patch with the suggestions from Joel (https://lists.rtems.org/pipermail/users/2019-April/033151.html) never made it into the repository. Since I have now git send-email configured, here it is again. Cheers, Jan Jan Sommer (1): bsp/pc386: Fix interrupt

[PATCH v4 1/3] amd64: Add missing files from FreeBSD

2020-02-18 Thread Jan Sommer
--- freebsd/sys/amd64/amd64/in_cksum.c| 245 freebsd/sys/amd64/include/machine/_bus.h | 48 + freebsd/sys/amd64/include/machine/cpufunc.h | 1047 + freebsd/sys/amd64/include/machine/efi.h | 78 ++ freebsd/sys/amd64/include/machine/in_cksum.h |

[PATCH v4 3/3] amd64: Port to RTEMS

2020-02-18 Thread Jan Sommer
--- freebsd/sys/amd64/include/machine/cpufunc.h | 6 ++ rtemsbsd/amd64/include/machine/clock.h | 2 ++ 2 files changed, 8 insertions(+) create mode 100644 rtemsbsd/amd64/include/machine/clock.h diff --git a/freebsd/sys/amd64/include/machine/cpufunc.h

[PATCH v4 0/3] [rtems-libbsd] Fix compilation for amd64

2020-02-18 Thread Jan Sommer
d.py Best regards, Jan Jan Sommer (3): amd64: Add missing files from FreeBSD amd64: Add to build amd64: Port to RTEMS freebsd/sys/amd64/amd64/in_cksum.c| 245 freebsd/sys/amd64/include/machine/_bus.h | 48 + freebsd/sys/amd64/include/machine/cpufunc.

[PATCH v4 2/3] amd64: Add to build

2020-02-18 Thread Jan Sommer
--- libbsd.py | 25 + waf_libbsd.py | 13 +++-- 2 files changed, 36 insertions(+), 2 deletions(-) diff --git a/libbsd.py b/libbsd.py index 3823c03f..db4b4c63 100644 --- a/libbsd.py +++ b/libbsd.py @@ -90,6 +90,17 @@ _defaults = { 'cpu-include-paths':

[PATCH] drvmgr: Fix determination of prefix in grlib uart driver

2020-02-12 Thread Jan Sommer
From: Dennis Pfau drvmgr_get_dev_prefix returns 0 if a prefix was found. Therefore the if condition needs to check for 0, i.e. DRVMGR_OK. --- bsps/shared/grlib/uart/apbuart_cons.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bsps/shared/grlib/uart/apbuart_cons.c

[PATCH v3 3/3] amd64: Port to RTEMS

2020-02-11 Thread Jan Sommer
--- freebsd/sys/amd64/include/machine/cpufunc.h | 6 ++ rtemsbsd/amd64/include/machine/clock.h | 2 ++ 2 files changed, 8 insertions(+) create mode 100644 rtemsbsd/amd64/include/machine/clock.h diff --git a/freebsd/sys/amd64/include/machine/cpufunc.h

[PATCH v3 2/3] amd64: Add to build

2020-02-11 Thread Jan Sommer
--- libbsd.py | 14 ++ waf_libbsd.py | 4 2 files changed, 18 insertions(+) diff --git a/libbsd.py b/libbsd.py index 3823c03f..15d3da86 100644 --- a/libbsd.py +++ b/libbsd.py @@ -1548,6 +1548,7 @@ class dev_nic(builder.Module): 'sys/sys/buf.h',

[PATCH v3 1/3] amd64: Add missing files from FreeBSD

2020-02-11 Thread Jan Sommer
--- freebsd/sys/amd64/amd64/in_cksum.c| 245 freebsd/sys/amd64/include/machine/_bus.h | 48 + freebsd/sys/amd64/include/machine/cpufunc.h | 1047 + freebsd/sys/amd64/include/machine/efi.h | 78 ++ freebsd/sys/amd64/include/machine/in_cksum.h |

[PATCH v3 0/3] [rtems-libbsd] Fix compilation for amd64

2020-02-11 Thread Jan Sommer
. It does not seem to affect arm, sparc and i386 compilation. Best regards, Jan Jan Sommer (3): amd64: Add missing files from FreeBSD amd64: Add to build amd64: Port to RTEMS freebsd/sys/amd64/amd64/in_cksum.c| 245 freebsd/sys/amd64/include/machine/_bus.h | 48

[PATCH v3 3/3] i386: Port to RTEMS

2020-02-07 Thread Jan Sommer
- Update imported files to compile rtems-libbsd for i386 based BSPs - Currently does not support the option "dev_nic_e1000 = on" --- freebsd/sbin/sysctl/sysctl.c | 10 +- freebsd/sys/dev/pci/pci_pci.c |2 + freebsd/sys/i386/i386/legacy.c | 381 ---

[PATCH v3 1/3] i386: Add missing files from FreeBSD

2020-02-07 Thread Jan Sommer
- Files needed to make rtems-libbsd build again for i386 --- freebsd/sys/i386/include/machine/bus.h| 6 + .../sys/x86/include/machine/intr_machdep.h| 175 freebsd/sys/x86/include/machine/legacyvar.h | 73 freebsd/sys/x86/include/machine/metadata.h| 57 +++

[PATCH v3 0/3] [rtems-libbsd] Fix compilation fo i386

2020-02-07 Thread Jan Sommer
: - Updated ifdef in mbuf.h to remove "pad" only if __rtems__ && __i386__ - Added missing ifdef in legacy.c Best regards, Jan Jan Sommer (3): i386: Add missing files from FreeBSD i386: Add to build i386: Port to RTEMS freebsd/sbin/sysctl/sysctl.c | 10 +

[PATCH v3 2/3] i386: Add to build

2020-02-07 Thread Jan Sommer
--- libbsd.py | 7 +-- waf_libbsd.py | 2 +- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/libbsd.py b/libbsd.py index bd24cd61..3823c03f 100644 --- a/libbsd.py +++ b/libbsd.py @@ -1556,6 +1556,8 @@ class dev_nic(builder.Module):

[PATCH v2 2/3] i386: Add to build

2020-02-05 Thread Jan Sommer
--- libbsd.py | 7 +-- waf_libbsd.py | 2 +- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/libbsd.py b/libbsd.py index bd24cd61..3823c03f 100644 --- a/libbsd.py +++ b/libbsd.py @@ -1556,6 +1556,8 @@ class dev_nic(builder.Module):

[PATCH v2 1/3] i386: Add missing files from FreeBSD

2020-02-05 Thread Jan Sommer
- Files needed to make rtems-libbsd build again for i386 --- freebsd/sys/i386/include/machine/bus.h| 6 + .../sys/x86/include/machine/intr_machdep.h| 175 freebsd/sys/x86/include/machine/legacyvar.h | 73 freebsd/sys/x86/include/machine/metadata.h| 57 +++

[PATCH v2 0/3] [rtems-libbsd] Fix compilation for i386

2020-02-05 Thread Jan Sommer
in preparation which I can finalize after this one has been merged. Changes in Version 2: - Updated ifdef in mbuf.h to remove "pad" only if __rtems__ && __i386__ - Added missing ifdef in legacy.c Best regards, Jan Jan Sommer (3): i386: Add missing files from FreeBSD

[PATCH v2 3/3] i386: Port to RTEMS

2020-02-05 Thread Jan Sommer
- Update imported files to compile rtems-libbsd for i386 based BSPs - Currently does not support the option "dev_nic_e1000 = on" --- freebsd/sbin/sysctl/sysctl.c | 10 +- freebsd/sys/dev/pci/pci_pci.c |2 + freebsd/sys/i386/i386/legacy.c | 381 ---

[PATCH 0/3] [rtems-libbsd] Fix compilation for i386

2020-01-31 Thread Jan Sommer
in preparation which I can finalize after this one has been merged. Best regards, Jan Jan Sommer (3): i386: Add missing files from FreeBSD i386: Add to build i386: Port to RTEMS freebsd/sbin/sysctl/sysctl.c | 10 +- freebsd/sys/dev/pci/pci_pci.c |2

[PATCH 1/3] i386: Add missing files from FreeBSD

2020-01-31 Thread Jan Sommer
- Files needed to make rtems-libbsd build again for i386 --- freebsd/sys/i386/include/machine/bus.h| 6 + .../sys/x86/include/machine/intr_machdep.h| 175 freebsd/sys/x86/include/machine/legacyvar.h | 73 freebsd/sys/x86/include/machine/metadata.h| 57 +++

[PATCH 2/3] i386: Add to build

2020-01-31 Thread Jan Sommer
--- libbsd.py | 7 +-- waf_libbsd.py | 2 +- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/libbsd.py b/libbsd.py index bd24cd61..3823c03f 100644 --- a/libbsd.py +++ b/libbsd.py @@ -1556,6 +1556,8 @@ class dev_nic(builder.Module):

[PATCH 3/3] i386: Port to RTEMS

2020-01-31 Thread Jan Sommer
- Update imported files to compile rtems-libbsd for i386 based BSPs - Currently does not support the option "dev_nic_e1000 = on" --- freebsd/sbin/sysctl/sysctl.c | 10 +- freebsd/sys/dev/pci/pci_pci.c |2 + freebsd/sys/i386/i386/legacy.c | 381 ---

Re: __sync_-builtins cause undefined references on some sparc targets

2017-02-27 Thread Jan Sommer
On Montag, 27. Februar 2017 22:07:56 CET Eric Botcazou wrote: > > "This __sync_() stuff seems to be used in several places in GCC. So, > > changing libbacktrace is probably not enough. We need a general solution > > for the __sync_() builtins on RTEMS. I don't think GCC can be changed to > > emit

Re: x86_64 support?

2017-02-10 Thread Jan Sommer
Am 2017-02-09 22:07, schrieb Chris Johns: On 10/02/2017 02:22, Joel Sherrill wrote: On Feb 9, 2017 7:29 AM, "Jan Sommer" <soja-li...@aries.uberspace.de <mailto:soja-li...@aries.uberspace.de>> wrote: Hello, As far as I see there is no support f

x86_64 support?

2017-02-09 Thread Jan Sommer
Hello, As far as I see there is no support for x86_64 yet. I found that there was a GSoC proposal to add BSP for the architecture, but I am not sure if it was accepted. Does someone know what is the current status of 64bit support and what would be missing for a working BSP with a PCI and

[PATCH] Move gcc-version to gcc-6-20160609 for rtems-4.12 to fix gnat

2016-06-12 Thread Jan Sommer
--- rtems/config/4.12/rtems-default.bset | 2 +- ...tems-gcc-6-20160609-newlib-2.4.0.20160527-1.cfg | 23 ++ 2 files changed, 24 insertions(+), 1 deletion(-) create mode 100644 rtems/config/tools/rtems-gcc-6-20160609-newlib-2.4.0.20160527-1.cfg diff --git

[PATCH 2/3] [raspberrypi] Fix issues in SPI driver

2016-06-12 Thread Jan Sommer
Closes PR #2733 - Add defined bitmasks for access to bits of control register - Use the whole FIFO buffer - Fix lsb-first mode - 3-wire mode might work - Fix deadlock if multiple tasks access the driver - Add support for simultaneous read-write-operation ---

Re: Errors while building USB DWC OTG driver

2016-06-03 Thread Jan Sommer
Am 2016-06-03 11:37, schrieb Deval Shah: [...] Now for the debugging what are the methods with qemu? As in how to get step by step analysis of the running program ? If you run qemu with the options -s -S it will break at the beginning of the program and allow a gdb connection. You can

Re: Ada support on gcc-6 broken again

2016-06-01 Thread Jan Sommer
TOFU: Ok the patch is now in trunk, gcc-6 and gcc-5. If possible, it would be good to move to the next gcc-6 snapshot when it comes available. Then, gnat should compile again with the rsb-4.12 tools. Cheers, Jan On Fri, May 27, 2016 at 9:08 AM, Jan Sommer <soja-li...@aries.uberspace

Re: Ada support on gcc-6 broken again

2016-05-27 Thread Jan Sommer
Am 2016-05-27 14:44, schrieb Joel Sherrill: On May 27, 2016 7:17 AM, "Jan Sommer" <soja-li...@aries.uberspace.de> wrote: Hello, building the current tools (gcc-6) from master with Ada support fails. I will try to post the patch for that to gcc over the weekend (@Joel I hope y

Ada support on gcc-6 broken again

2016-05-27 Thread Jan Sommer
Hello, building the current tools (gcc-6) from master with Ada support fails. I will try to post the patch for that to gcc over the weekend (@Joel I hope you don't mind me putting you CC for that). However as gcc-6.1 was just released a month ago, I guess it won't be part of an official

Re: arm/raspberrypi: VideoCore and U-boot testing

2016-05-11 Thread Jan Sommer
Am Montag, 2. Mai 2016, 00:15:31 CEST schrieb Pavel Pisa: [...] > So this is result of my actual testing. It would be great if somebody > else checks boot process with U-boot as well and checks if > arm_cp15_set_domain_access_control() causes problem as well. > I built everything from scratch

Re: Require help with running Xilinx Zynq Qemu BSP

2016-05-10 Thread Jan Sommer
Am 2016-05-10 11:22, schrieb vivek kukreja: Hello all, I have compiled the RTEMS 4.12 to generate BSP for Xilinx Zynq Qemu. However, I am unable to find any documents on how to run the BSP. I tried using this document https://devel.rtems.org/wiki/Developer/Simulators/QEMU but this does not

Re: Participation in GSoC 2016

2016-02-29 Thread Jan Sommer
Hi, If you take a look here: https://devel.rtems.org/wiki/GSoC/2015#StudentsSummerofCodeTrackingTable you can find the links to the reports and repositories of the previous GSoC. Yurii Shevtsov was doing the work on the Ethernet/USB part for the pi. Andre Marques worked on the SPI and SD-Card

Re: Update gcc-version rsb for 4.11

2016-01-15 Thread Jan Sommer
Am Friday 15 January 2016, 11:24:00 schrieb Marcos Díaz: > Hi, > You can try if the latest snapshot of gcc works: > Check this patch, in this case I made a modification for the arm bset, if > you use another architecture you have to make the same change in your bset. > Thank you, that seems to

[PATCH] bsp/raspberrypi: Move assignment outside if-condition

2015-12-29 Thread Jan Sommer
Assignment was misplaced by one line. --- c/src/lib/libbsp/arm/raspberrypi/i2c/i2c.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/c/src/lib/libbsp/arm/raspberrypi/i2c/i2c.c b/c/src/lib/libbsp/arm/raspberrypi/i2c/i2c.c index 6d9a2cd..9bf90ec 100644 ---

Re: [PATCH] Store task_id of the current thread for the ISR before waiting for the transient event

2015-12-11 Thread Jan Sommer
bump. Am Thursday 03 December 2015, 21:56:31 schrieb Jan Sommer: > The ISR will send a transient event to the task specified in bus->taskid. > Make sure that the correct task_id is written to this field before waiting > for the transient event to arrive. > > Fixes #2483 > --

[PATCH] Store task_id of the current thread for the ISR before waiting for the transient event

2015-12-03 Thread Jan Sommer
The ISR will send a transient event to the task specified in bus->taskid. Make sure that the correct task_id is written to this field before waiting for the transient event to arrive. Fixes #2483 --- c/src/lib/libbsp/arm/raspberrypi/i2c/i2c.c | 1 + 1 file changed, 1 insertion(+) diff --git

Re: [PATCH] Fix declaration of pthread-structs in s-osinte-rtems.ads (ada/68169)

2015-12-02 Thread Jan Sommer
Am Wednesday 02 December 2015, 08:13:20 schrieb Joel Sherrill: > > On December 2, 2015 2:14:22 AM EST, Jeff Law <l...@redhat.com> wrote: > >On 12/01/2015 12:56 PM, Jan Sommer wrote: > >> Am Monday 30 November 2015, 16:19:30 schrieb Jeff Law: > >>> O

Re: [PATCH] Fix declaration of pthread-structs in s-osinte-rtems.ads (ada/68169)

2015-12-01 Thread Jan Sommer
Am Monday 30 November 2015, 16:19:30 schrieb Jeff Law: > On 11/30/2015 03:06 PM, Jan Sommer wrote: > > Could someone with write access please commit the patch? > > The paperwork with the FSF has gone through. If something else is missing, > > please tell me. > > I w

Re: [PATCH] Fix declaration of pthread-structs in s-osinte-rtems.ads (ada/68169)

2015-11-30 Thread Jan Sommer
Could someone with write access please commit the patch? The paperwork with the FSF has gone through. If something else is missing, please tell me. I won't be available next week. Best regards, Jan Am Tuesday 24 November 2015, 08:47:49 schrieb Jan Sommer: > It has gone thro

[PATCH] bsp/raspberrypi: Store the current taskid before waiting for the transient event in i2c-driver

2015-11-30 Thread Jan Sommer
Before having the i2c device as an shared resource will create a deadlock because the taskid for the transient_event is only stored during device registration. --- c/src/lib/libbsp/arm/raspberrypi/i2c/i2c.c | 1 + 1 file changed, 1 insertion(+) diff --git

[PATCH] Fix declaration of pthread-structs in s-osinte-rtems.ads (ada/68169)

2015-11-23 Thread Jan Sommer
) +++ gcc/ada/ChangeLog (Arbeitskopie) @@ -1,3 +1,9 @@ +2015-11-18 Jan Sommer <soja-li...@aries.uberspace.de> + + * s-oscons-tmplt.c: Generate pthread constants for RTEMS + * s-osinte-rtems.ads: Declare pthread structs as opaque types in Ada + Fixes PR ada/68169 + 2015-10-09 Eric Botcazou &

Re: [PATCH] Fix declaration of pthread-structs in s-osinte-rtems.ads (ada/68169)

2015-11-23 Thread Jan Sommer
It has gone through. That was why I resubmitted the patch. Joel can confirm. Apparently he is on a respective list and saw my paperwork being cleared. Best regards, Jan Am Tuesday 24 November 2015, 07:45:30 schrieb Sebastian Huber: > Hello Jan, > > On 23/11/15 23:15, Jan Som

Re: [PATCH] Fix declaration of pthread-structs in s-osinte-rtems.ads

2015-11-04 Thread Jan Sommer
ed to commit it. Thanks, JanIndex: gcc/ada/ChangeLog === --- gcc/ada/ChangeLog (Revision 229739) +++ gcc/ada/ChangeLog (Arbeitskopie) @@ -1,3 +1,9 @@ +2015-11-03 Jan Sommer <soja-li...@aries.uberspace.de> + + * s-oscons-tmplt.c: Generate pthread cons

Re: [PATCH] Fix declaration of pthread-structs in s-osinte-rtems.ads

2015-11-03 Thread Jan Sommer
Am Monday 02 November 2015, 12:39:57 schrieb Sebastian Huber: > > On 31/10/15 16:47, Jan Sommer wrote: > > Hi, > > > > This patch changes the Ada-declaration of the pthread-related structs such > > as pthread_attr_t from a field-equivalent declaration to just r

Re: [PATCH] Fix declaration of pthread-structs in s-osinte-rtems.ads

2015-11-03 Thread Jan Sommer
--- gcc/ada/ChangeLog (Revision 229715) +++ gcc/ada/ChangeLog (Arbeitskopie) @@ -1,3 +1,8 @@ +2015-11-03 Jan Sommer <soja-li...@aries.uberspace.de> + + * s-oscons-tmplt.c: Generate pthread constants for RTEMS + * s-osinte-rtems.ads: Declare pthr

[PATCH] Fix declaration of pthread-structs in s-osinte-rtems.ads

2015-11-03 Thread Jan Sommer
=== --- ChangeLog (Revision 229709) +++ ChangeLog (Arbeitskopie) @@ -1,3 +1,10 @@ + +2015-11-03 Jan Sommer <soja-li...@aries.uberspace.de> + + Use opaque types for Ada-declaration of pthread types + in Gnat for Rtems. + PR ada/68169 + 2015-10-23

Re: [PATCH] Fix declaration of pthread-structs in s-osinte-rtems.ads

2015-10-31 Thread Jan Sommer
Am Saturday 31 October 2015, 16:47:35 schrieb Jan Sommer: > Hi, > > This patch changes the Ada-declaration of the pthread-related structs such as > pthread_attr_t from a field-equivalent declaration to just reserving the > right amount of memory. > It is only rtems relat

[PATCH] Fix declaration of pthread-structs in s-osinte-rtems.ads

2015-10-31 Thread Jan Sommer
the declarations independent of a particular newlib-version and fixes the bug I filed here: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68169 CC are the rtems developers for discussion. Best regards, Jan>From 1092dda339a12d3f7d437335e93dcdea540051c8 Mon Sep 17 00:00:00 2001 From: Jan Som

Re: [PATCH 2/2] Export _NCPUWORDS for Ada

2015-10-30 Thread Jan Sommer
anges values of the fields only using the corresponding pthread_set functions. If no one objects I would try to change the osinte-rtems.ads in the same manner. > On 29/10/15 22:10, Jan Sommer wrote: > > _NCPUWORDS is defined in newlib in newlib/libc/sys/rtems/sys/cpuset.h and > &

Re: [PATCH] Export _NCPUWORDS as variable for access from within the gnat-rts

2015-10-29 Thread Jan Sommer
Am Thursday 29 October 2015, 08:45:57 schrieb Joel Sherrill: > > On 10/29/2015 8:14 AM, Jan Sommer wrote: > > Hi, > > > > This patch will make the define _NCPUWORDS accessible for the ada runtime. > > It is necessary to model the pthread_attr_t implementation for

[PATCH 1/2] Include stackimpl.h otherwise PTHREAD_MINIMUM_STACK_SIZE cannot be evaluated

2015-10-29 Thread Jan Sommer
--- cpukit/libgnat/adasupp.c | 1 + 1 file changed, 1 insertion(+) diff --git a/cpukit/libgnat/adasupp.c b/cpukit/libgnat/adasupp.c index a6e1f38..662b1cc 100644 --- a/cpukit/libgnat/adasupp.c +++ b/cpukit/libgnat/adasupp.c @@ -8,6 +8,7 @@ #include #include #include +#include /* *

Re: [PATCH] Fix missing include for PTHREAD_MINIMUM_STACK_SIZE

2015-08-05 Thread Jan Sommer
/rtems-4.11/tests, but they don't seem to be ada-related. I need to look at the gnat source to see why it is off by one for RTEMS. --joel On 08/02/2015 10:20 AM, Joel Sherrill wrote: On 08/01/2015 12:48 PM, Jan Sommer wrote: Am Samstag, 1. August 2015, 12:31:53 schrieb Joel Sherrill

Re: [PATCH] Fix missing include for PTHREAD_MINIMUM_STACK_SIZE

2015-08-02 Thread Jan Sommer
wrote: On 08/01/2015 12:48 PM, Jan Sommer wrote: Am Samstag, 1. August 2015, 12:31:53 schrieb Joel Sherrill: On 08/01/2015 12:24 PM, Jan Sommer wrote: Yes, I needed to add it to make the ada-examples compile. Did it need to be included anywhere other than libgnat/adasupp.c? Well, so

[PATCH] Fix missing include for PTHREAD_MINIMUM_STACK_SIZE

2015-08-01 Thread Jan Sommer
--- cpukit/posix/include/rtems/posix/pthreadimpl.h | 1 + 1 file changed, 1 insertion(+) diff --git a/cpukit/posix/include/rtems/posix/pthreadimpl.h b/cpukit/posix/include/rtems/posix/pthreadimpl.h index f95ac9c..33fa33d 100644 --- a/cpukit/posix/include/rtems/posix/pthreadimpl.h +++

[PATCH] Add __synch_synchronize function for arm

2015-08-01 Thread Jan Sommer
From: Jan Sommer summers...@web.de Fixes link failure when linking Ada programs on the raspberry pi --- cpukit/score/cpu/arm/Makefile.am | 1 + cpukit/score/cpu/arm/armv4-sync-synchronize.c | 9 + 2 files changed, 10 insertions(+) create mode 100644 cpukit/score/cpu/arm

Patch: RaspberryPi clock driver

2015-07-07 Thread Jan Sommer
-From 57e7ce5554a64ee69c424f1bd55af2f89f9e4061 Mon Sep 17 00:00:00 2001 From: Jan Sommer summers...@web.de Date: Tue, 7 Jul 2015 22:33:51 +0200 Subject: [PATCH] RaspberryPi: Use rtems_configuration_get_microseconds_per_tick to set clock counter timer interrupt was hard coded to 10 ms per tick

<    1   2