Re: GSoC 2020: [rtems/rsb]: Error while adding ptp support. This time building for xilinx_zynq_a9_qemu

2020-06-04 Thread Sebastian Huber
On 04/06/2020 20:29, Mritunjay Sharma wrote: On Thu, Jun 4, 2020 at 11:07 PM Sebastian Huber > wrote: On 04/06/2020 16:22, Gedare Bloom wrote: >>> In the github version this code is conditional on sys/cpuset.h being present. >>>

Re: [PATCH rtems-libbsd] libbsd.py: Install the evdev header files

2020-06-04 Thread Sebastian Huber
Ok. ___ devel mailing list devel@rtems.org http://lists.rtems.org/mailman/listinfo/devel

Re: GSoC 2020: [rtems/rsb]: Error while adding ptp support. This time building for xilinx_zynq_a9_qemu

2020-06-04 Thread Gedare Bloom
On Thu, Jun 4, 2020 at 1:38 PM junkes wrote: > > Hallo Mritunjay, > > You can't just take the github ptpd sources and make them work in RTEMS. You > have to make some configuration > and sources changes before you can build the with the rsb. > > Some things like the sys/cpuset.h seems not to be f

Re: GSoC 2020: [rtems/rsb]: Error while adding ptp support. This time building for xilinx_zynq_a9_qemu

2020-06-04 Thread junkes
Hallo Mritunjay, You can't just take the github ptpd sources and make them work in RTEMS. You have to make some configuration and sources changes before you can build the with the rsb. Some things like the sys/cpuset.h seems not to be fully compatible yet and so the configure simply makes "wr

LVGL applications with mouse

2020-06-04 Thread Vijay Kumar Banerjee
Hi! I had been looking for an opportunity to do this for a long time and I'm excited to post that LVGL apps on RTEMS can now use input devices through the evdev interface! I prepared some BSD evdev patches for lvgl repository and managed to get them merged upstream. The patchset that I recently s

[PATCH rtems-libbsd] libbsd.py: Install the evdev header files

2020-06-04 Thread Vijay Kumar Banerjee
--- libbsd.py | 1 + 1 file changed, 1 insertion(+) diff --git a/libbsd.py b/libbsd.py index 6997aefd..812674a6 100644 --- a/libbsd.py +++ b/libbsd.py @@ -128,6 +128,7 @@ _defaults = { ('freebsd/sys/dev/mii','**/*.h', 'dev/mii'), ('freebsd

[PATCH rtems-littlevgl 3/4] lvgl: Get lv_drivers source list directly from the directory

2020-06-04 Thread Vijay Kumar Banerjee
--- lvgl.py | 13 + 1 file changed, 9 insertions(+), 4 deletions(-) diff --git a/lvgl.py b/lvgl.py index b91a265..08c7c84 100644 --- a/lvgl.py +++ b/lvgl.py @@ -31,6 +31,8 @@ import re import rtems_waf.rtems as rtems def source_list(bld): +sources = [] +cflags = [] mk

[PATCH rtems-littlevgl 4/4] lv_drv_conf: Enable USE_BSD_EVDEV option

2020-06-04 Thread Vijay Kumar Banerjee
--- lv_drv_conf.h | 6 +- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/lv_drv_conf.h b/lv_drv_conf.h index 697ceaf..e8d2c40 100644 --- a/lv_drv_conf.h +++ b/lv_drv_conf.h @@ -322,7 +322,11 @@ # define USE_EVDEV 0 #endif -#if USE_EVDEV +#ifndef USE_BSD_EVDEV +# d

[PATCH rtems-littlevgl 2/4] update lv_drivers

2020-06-04 Thread Vijay Kumar Banerjee
--- lv_drivers | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lv_drivers b/lv_drivers index ae69299..21bfe43 16 --- a/lv_drivers +++ b/lv_drivers @@ -1 +1 @@ -Subproject commit ae69299c1fadb459d0438575d285f1ccf95bc8e6 +Subproject commit 21bfe432a36ea9a80b622f1268c44dd205da

[PATCH rtems-littlevgl 1/4] update lv_drivers submodule url

2020-06-04 Thread Vijay Kumar Banerjee
--- .gitmodules | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.gitmodules b/.gitmodules index 5bf0006..69d2d5c 100644 --- a/.gitmodules +++ b/.gitmodules @@ -1,6 +1,6 @@ [submodule "lv_drivers"] path = lv_drivers - url = https://github.com/littlevgl/lv_drivers.

Re: GSoC 2020: [rtems/rsb]: Error while adding ptp support. This time building for xilinx_zynq_a9_qemu

2020-06-04 Thread Mritunjay Sharma
On Thu, Jun 4, 2020 at 11:07 PM Sebastian Huber < sebastian.hu...@embedded-brains.de> wrote: > On 04/06/2020 16:22, Gedare Bloom wrote: > > >>> In the github version this code is conditional on sys/cpuset.h being > present. > >>> > > Well, we do have a sys/cpuset.h in newlib. It doesn't have these

[PATCH 4/5] libfreebsd: Port OFW to RTEMS

2020-06-04 Thread G S Niteesh Babu
The following files have been ported to RTEMS 1) openfirm.h 2) openfirm.c 3) ofw_fdt.c --- cpukit/libfreebsd/dev/ofw/ofw_fdt.c | 117 ++- cpukit/libfreebsd/dev/ofw/openfirm.c | 59 +- cpukit/libfreebsd/dev/ofw/openfirm.h | 18 + 3 files changed, 191 inser

[PATCH 1/5] libfreebsd: Import OFW files from FreeBSD.

2020-06-04 Thread G S Niteesh Babu
freebsd head: b8c57b4 The following files have been imported from FreeBSD to implement OF_* functions into RTEMS. 1) openfirm.h 2) openfirm.c 3) ofw_fdt.c --- cpukit/libfreebsd/dev/ofw/ofw_fdt.c | 479 +++ cpukit/libfreebsd/dev/ofw/openfirm.c | 848 +++ cpukit

[PATCH 3/5] libfreebsd: FreeBSD porting helper header

2020-06-04 Thread G S Niteesh Babu
This file serve the purpose as rtems-bsd-kernel-space.h in the rtems-libbsd. This file is intended to be included in every source file that is to imported from FreeBSD. This is to reduce the number of redefinitions for commonly used functions like malloc, free and KASSERT. --- cpukit/libfreebsd/rt

[PATCH 2/5] libfreebsd: Added ofw_if.h

2020-06-04 Thread G S Niteesh Babu
This file is the RTEMS implementation of ofw_if.h in FreeBSD. The ofw_if.h in FreeBSD is an autogenerated header file that maps the OF_function calls to their respective implementation. But in RTEMS this file maps the OF_functions directly to their FDT implementation. --- cpukit/libfreebsd/dev/ofw

[PATCH 5/5] cpukit/Makefile: Add libfreebsd source files.

2020-06-04 Thread G S Niteesh Babu
--- cpukit/Makefile.am | 2 ++ 1 file changed, 2 insertions(+) diff --git a/cpukit/Makefile.am b/cpukit/Makefile.am index 51f38c84c7..1335d41038 100644 --- a/cpukit/Makefile.am +++ b/cpukit/Makefile.am @@ -342,6 +342,8 @@ librtemscpu_a_SOURCES += libmisc/uuid/uuid_time.c librtemscpu_a_SOURCES +=

[PATCH 0/5] OFW port to RTEMS

2020-06-04 Thread G S Niteesh Babu
Hello, The following series of patches port OFW from FreeBSD to RTEMS. This patch has been tested on a Raspberry Pi 3 with a small test application which retrives basic node properties. G S Niteesh Babu (5): libfreebsd: Import OFW files from FreeBSD. libfreebsd: Added ofw_if.h libfreebsd: F

Re: GSoC 2020: [rtems/rsb]: Error while adding ptp support. This time building for xilinx_zynq_a9_qemu

2020-06-04 Thread Sebastian Huber
On 04/06/2020 16:22, Gedare Bloom wrote: In the github version this code is conditional on sys/cpuset.h being present. Well, we do have a sys/cpuset.h in newlib. It doesn't have these BSD definitions though. Probably either: 1. Add more stuff to sys/cpuset.h to make it support BSDisms. This wo

Re: GSoC 2020: [rtems/rsb]: Error while adding ptp support. This time building for xilinx_zynq_a9_qemu

2020-06-04 Thread junkes
On 2020-06-04 16:22, Gedare Bloom wrote: On Thu, Jun 4, 2020 at 7:58 AM Mritunjay Sharma wrote: On Thu, Jun 4, 2020 at 10:39 AM Chris Johns wrote: On 4/6/20 2:31 pm, Gedare Bloom wrote: > On Wed, Jun 3, 2020 at 1:53 PM Mritunjay Sharma > wrote: >> >> Hello everyone, >> >> As suggested by

Re: GSoC 2020: [rtems/rsb]: Error while adding ptp support. This time building for xilinx_zynq_a9_qemu

2020-06-04 Thread Gedare Bloom
On Thu, Jun 4, 2020 at 7:58 AM Mritunjay Sharma wrote: > > > > On Thu, Jun 4, 2020 at 10:39 AM Chris Johns wrote: >> >> On 4/6/20 2:31 pm, Gedare Bloom wrote: >> > On Wed, Jun 3, 2020 at 1:53 PM Mritunjay Sharma >> > wrote: >> >> >> >> Hello everyone, >> >> >> >> As suggested by Heinz, I started

Re: GSoC 2020: [rtems/rsb]: Error while adding ptp support. This time building for xilinx_zynq_a9_qemu

2020-06-04 Thread Mritunjay Sharma
On Thu, Jun 4, 2020 at 10:39 AM Chris Johns wrote: > On 4/6/20 2:31 pm, Gedare Bloom wrote: > > On Wed, Jun 3, 2020 at 1:53 PM Mritunjay Sharma > > wrote: > >> > >> Hello everyone, > >> > >> As suggested by Heinz, I started building for xilinx_zynq_a9_qemu > >> with a little modification in ptp

Re: [PATCH 1/5] bsps/shared/freebsd: Import OFW files from FreeBSD.

2020-06-04 Thread Sebastian Huber
On 04/06/2020 14:53, Niteesh G. S. wrote: I have a few questions which I would like to resolve before sending in the patch. 1) Will the definitions for the wrapper functions go under cpukit/libtest like it is currently done for printf, puts, etc.? No, the wrapper function should be defined

[PATCH v2 4/4] eng: Update specification how-to section

2020-06-04 Thread Sebastian Huber
Update #3715. --- v2: Fix license of glossary item. eng/req/howto.rst | 75 +++ 1 file changed, 75 insertions(+) diff --git a/eng/req/howto.rst b/eng/req/howto.rst index de9b145..9a28427 100644 --- a/eng/req/howto.rst +++ b/eng/req/howto.rst @@ -5,6 +

[PATCH 1/4] eng: Simplify wording for specification items

2020-06-04 Thread Sebastian Huber
Update #3715. --- eng/req/items.rst | 464 ++ 1 file changed, 217 insertions(+), 247 deletions(-) diff --git a/eng/req/items.rst b/eng/req/items.rst index 05104a6..6bf992f 100644 --- a/eng/req/items.rst +++ b/eng/req/items.rst @@ -127,9 +127,8 @@ attrib

[PATCH 4/4] eng: Update specification how-to section

2020-06-04 Thread Sebastian Huber
Update #3715. --- eng/req/howto.rst | 75 +++ 1 file changed, 75 insertions(+) diff --git a/eng/req/howto.rst b/eng/req/howto.rst index de9b145..849cd56 100644 --- a/eng/req/howto.rst +++ b/eng/req/howto.rst @@ -5,6 +5,81 @@ How-To == +Getting S

[PATCH 2/4] eng: Add generic attribute key types

2020-06-04 Thread Sebastian Huber
Update #3715. --- eng/req/items.rst | 63 --- 1 file changed, 37 insertions(+), 26 deletions(-) diff --git a/eng/req/items.rst b/eng/req/items.rst index 6bf992f..cf0805d 100644 --- a/eng/req/items.rst +++ b/eng/req/items.rst @@ -2447,8 +2447,8 @@ Build

[PATCH 3/4] eng: Add a specification type for directives

2020-06-04 Thread Sebastian Huber
Add support to specify functional requirements for directives (functions or macros) via a transition map of pre-conditions to post-conditions. This will be the work horse for functional requirements. Generation of corresponding validation tests is supported. Update #3715. --- eng/req/items.rst |

[PATCH] Use a complete sentence for acronym definitions

2020-06-04 Thread Sebastian Huber
--- c-user/glossary.rst | 71 +++-- eng/glossary.rst| 20 ++--- 2 files changed, 46 insertions(+), 45 deletions(-) diff --git a/c-user/glossary.rst b/c-user/glossary.rst index dfbda11..86350a8 100644 --- a/c-user/glossary.rst +++ b/c-user/glossa

Re: [PATCH 1/5] bsps/shared/freebsd: Import OFW files from FreeBSD.

2020-06-04 Thread Niteesh G. S.
I have a few questions which I would like to resolve before sending in the patch. 1) Will the definitions for the wrapper functions go under cpukit/libtest like it is currently done for printf, puts, etc.? And also why are we wrapping printf and puts? Is it to provide definitions for BSPs that don

Setting up the TTBR0 and TTBR1 register for thread stack protection in ARMv7-A MMU

2020-06-04 Thread Utkarsh Rai
Hello, Section B3.3.3 of the ARMv7-A Reference manual says that we can have TTBR0 and 1 split up the address space into two parts, where each register has the address of the translation table base of the divid