Re: [PATCH 2/5] iicbus: port to RTEMS

2019-06-08 Thread Christian Mauderer
On 05/06/2019 20:43, Christian Mauderer wrote: >> +#define global_epoch _bsd_global_epoch >> +#define global_epoch_preempt _bsd_global_epoch_preempt > I'm really not sure why these have been added during the iicbus patches. > I'll have to have a look at that before I can give a go to these.

[PATCH v2 4/5] i2c tool : Import from FreeBSD

2019-06-08 Thread Vijay Kumar Banerjee
--- freebsd/usr.sbin/i2c/i2c.c | 733 + 1 file changed, 733 insertions(+) create mode 100644 freebsd/usr.sbin/i2c/i2c.c diff --git a/freebsd/usr.sbin/i2c/i2c.c b/freebsd/usr.sbin/i2c/i2c.c new file mode 100644 index ..084682a1 --- /dev/null +++ b/freeb

[PATCH v2 5/5] i2c tool : port to RTEMS

2019-06-08 Thread Vijay Kumar Banerjee
--- freebsd/usr.sbin/i2c/i2c.c| 35 +++ libbsd.py | 2 ++ rtemsbsd/include/machine/rtems-bsd-commands.h | 2 ++ rtemsbsd/include/rtems/netcmds-config.h | 2 ++ rtemsbsd/rtems/rtems-bsd-shell-i2c.c | 35 ++

[PATCH v2 1/5] iicbus: Import from FreeBSD

2019-06-08 Thread Vijay Kumar Banerjee
--- freebsd/sys/dev/iicbus/iic.c| 506 ++ freebsd/sys/dev/iicbus/iic.h| 72 freebsd/sys/dev/iicbus/iicbus.c | 378 freebsd/sys/dev/iicbus/iicbus.h | 83 + freebsd/sys/dev/iicbus/iiconf.c | 527 +

[PATCH v2 3/5] Add rtems i2c adaptation layer

2019-06-08 Thread Vijay Kumar Banerjee
--- libbsd.py | 1 + rtemsbsd/sys/dev/iicbus/rtems-i2c.c | 215 2 files changed, 216 insertions(+) create mode 100644 rtemsbsd/sys/dev/iicbus/rtems-i2c.c diff --git a/libbsd.py b/libbsd.py index a25d3a8a..6ad046b8 100644 --- a/libbsd.py ++

[PATCH v2 2/5] iicbus: port to RTEMS

2019-06-08 Thread Vijay Kumar Banerjee
--- Makefile.todo | 11 ++ buildset/default.ini | 1 + libbsd.py | 35 rtemsbsd/include/bsp/nexus-devices.h | 4 + .../machine/rtems-bsd-kernel-namespace.h | 29 +++ rtemsbsd/incl

[PATCH 1/7] rtemstoolkit/check: Optionally check exe silently.

2019-06-08 Thread chrisj
From: Chris Johns --- rtemstoolkit/check.py | 8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/rtemstoolkit/check.py b/rtemstoolkit/check.py index 8d4a35c..1f18f72 100644 --- a/rtemstoolkit/check.py +++ b/rtemstoolkit/check.py @@ -143,12 +143,12 @@ def host_setup(opts):

[PATCH 2/7] rtemstoolkit/host: Make the load() public.

2019-06-08 Thread chrisj
From: Chris Johns --- rtemstoolkit/host.py | 8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/rtemstoolkit/host.py b/rtemstoolkit/host.py index 5319c92..01aae07 100644 --- a/rtemstoolkit/host.py +++ b/rtemstoolkit/host.py @@ -42,7 +42,7 @@ is_windows = False platform =

[PATCH 4/7] rtemstoolkit/path: Merge RSB changes.

2019-06-08 Thread chrisj
From: Chris Johns --- rtemstoolkit/path.py | 294 ++- 1 file changed, 233 insertions(+), 61 deletions(-) diff --git a/rtemstoolkit/path.py b/rtemstoolkit/path.py index 845dfe8..9401e99 100644 --- a/rtemstoolkit/path.py +++ b/rtemstoolkit/path.py @@ -40,37

[PATCH 3/7] rtemstoolkit/log: Add info().

2019-06-08 Thread chrisj
From: Chris Johns --- rtemstoolkit/log.py | 14 ++ rtemstoolkit/options.py | 3 +-- 2 files changed, 15 insertions(+), 2 deletions(-) diff --git a/rtemstoolkit/log.py b/rtemstoolkit/log.py index a06c8c1..00fdb05 100755 --- a/rtemstoolkit/log.py +++ b/rtemstoolkit/log.py @@ -61,

[PATCH] RTEMS Boot Image, tool to create SD card images

2019-06-08 Thread chrisj
Hi, These patches add a new command to rtems-tool called rtems-boot-image. This tool creates boot images for SD cards on FreeBSD, MacOS and Linux. The tool lets you boot an RTEMS executable from u-boot from an SD card, or you can support networking options and have u-boot perform a net boot. The

[PATCH 5/7] rtemstoolkit/configuration: Add get_sections() to get the sections.

2019-06-08 Thread chrisj
From: Chris Johns - Fix module access when catching exceptions. --- rtemstoolkit/configuration.py | 28 1 file changed, 20 insertions(+), 8 deletions(-) diff --git a/rtemstoolkit/configuration.py b/rtemstoolkit/configuration.py index 3b03296..bc3ec93 100644 --- a/rt

[PATCH 7/7] misc/boot-image: Add a tool to create boot images.

2019-06-08 Thread chrisj
From: Chris Johns - FreeBSD support. - MacOS support. - Linux support. - Support for 1st and 2nd loaders. - Support uenv templates and uenv.txt support. --- misc/rtems-boot-image| 42 ++ misc/tools/boot.py | 1050 ++ misc/tools/cmd-boot-image.p