OpenRISC patch series...

2016-02-19 Thread Jakob Viketoft
Hello! I have a number of bug fixes for the OpenRISC/or1k implementation in RTEMS that I would like to contribute. This is taken from our internal development tree and is spread out over several commits. For what I contribute here, I have grouped the commits based on files which are interdepend

[PATCH 1/7] Patches for the OR1k CPU handling and definitions

2016-02-19 Thread Jakob Viketoft
diff --git a/cpukit/score/cpu/or1k/rtems/score/or1k-utility.h b/cpukit/score/cpu/or1k/rtems/score/or1k-utility.h index 98bbe41..78f2468 100644 --- a/cpukit/score/cpu/or1k/rtems/score/or1k-utility.h +++ b/cpukit/score/cpu/or1k/rtems/score/or1k-utility.h @@ -4,8 +4,12 @@ * @brief OR1K utility */

[PATCH 2/7] Exception handling and start code

2016-02-19 Thread Jakob Viketoft
diff --git a/c/src/lib/libbsp/or1k/generic_or1k/start/start.S b/c/src/lib/libbsp/or1k/generic_or1k/start/start.S index d951a55..0afad8f 100644 --- a/c/src/lib/libbsp/or1k/generic_or1k/start/start.S +++ b/c/src/lib/libbsp/or1k/generic_or1k/start/start.S @@ -1,11 +1,16 @@ /* * Copyright (c) 2014-

[PATCH 3/7] OR1k context handling

2016-02-19 Thread Jakob Viketoft
diff --git a/cpukit/score/cpu/or1k/or1k-context-initialize.c b/cpukit/score/cpu/or1k/or1k-context-initialize.c index a7205e3..d37458e 100644 --- a/cpukit/score/cpu/or1k/or1k-context-initialize.c +++ b/cpukit/score/cpu/or1k/or1k-context-initialize.c @@ -29,13 +29,22 @@ void _CPU_Context_Initialize(

[PATCH 4/7] generic_or1k BSP clock driver correction

2016-02-19 Thread Jakob Viketoft
diff --git a/c/src/lib/libbsp/or1k/generic_or1k/clock/clockdrv.c b/c/src/lib/libbsp/or1k/generic_or1k/clock/clockdrv.c index e01d2e5..2dc914a 100644 --- a/c/src/lib/libbsp/or1k/generic_or1k/clock/clockdrv.c +++ b/c/src/lib/libbsp/or1k/generic_or1k/clock/clockdrv.c @@ -3,13 +3,15 @@ * * @ingrou

[PATCH 5/7] OR1k shared and generic_or1k BSP link script rewrite

2016-02-19 Thread Jakob Viketoft
diff --git a/c/src/lib/libbsp/or1k/generic_or1k/startup/linkcmds b/c/src/lib/libbsp/or1k/generic_or1k/startup/linkcmds index cef99d3..3a34186 100644 --- a/c/src/lib/libbsp/or1k/generic_or1k/startup/linkcmds +++ b/c/src/lib/libbsp/or1k/generic_or1k/startup/linkcmds @@ -8,16 +8,22 @@ /* * COPYR

[PATCH 6/7] OR1k cache invalidate additions

2016-02-19 Thread Jakob Viketoft
diff --git a/c/src/lib/libcpu/or1k/shared/cache/cache.c b/c/src/lib/libcpu/or1k/shared/cache/cache.c index d17fec2..49f5ca9 100644 --- a/c/src/lib/libcpu/or1k/shared/cache/cache.c +++ b/c/src/lib/libcpu/or1k/shared/cache/cache.c @@ -4,9 +4,14 @@ * COPYRIGHT (c) 1989-2006 * On-Line Applications

[PATCH 7/7] Add more OR1k machine types and correct OR1k configure subdir

2016-02-19 Thread Jakob Viketoft
diff --git a/c/src/lib/libbsp/or1k/configure.ac b/c/src/lib/libbsp/or1k/configure.ac index e809e40..6bb9c13 100644 --- a/c/src/lib/libbsp/or1k/configure.ac +++ b/c/src/lib/libbsp/or1k/configure.ac @@ -2,7 +2,7 @@ AC_PREREQ([2.69]) AC_INIT([rtems-c-src-lib-libbsp-or1k],[_RTEMS_VERSION],[https:

[PATCH] Correct telnetd uint declaration

2016-02-19 Thread Jakob Viketoft
Hello! We came across this when running part of the network tests. I don't know if it's completely unused since it's been there for a while or we misunderstood how this declaration is supposed to happen, but here's a patch anyway. Best regards, /Jakob diff --git a/cpukit/telnetd/des.c

Re: [PATCH 7/7] Add more OR1k machine types and correct OR1k configure subdir

2016-02-19 Thread Sebastian Huber
On 19/02/16 10:34, Jakob Viketoft wrote: diff --git a/config.sub b/config.sub index 8b612ab..fbeac69 100755 --- a/config.sub +++ b/config.sub @@ -296,7 +296,7 @@ case $basic_machine in | nios | nios2 | nios2eb | nios2el \ | ns16k | ns32k \ | open8 \ - | or1k | or32

Re: OpenRISC patch series...

2016-02-19 Thread Sebastian Huber
Are these patches relative to the 4.11 branch or the master? -- Sebastian Huber, embedded brains GmbH Address : Dornierstr. 4, D-82178 Puchheim, Germany Phone : +49 89 189 47 41-16 Fax : +49 89 189 47 41-09 E-Mail : sebastian.hu...@embedded-brains.de PGP : Public key available on requ

RE: OpenRISC patch series...

2016-02-19 Thread Jakob Viketoft
From: devel [devel-boun...@rtems.org] on behalf of Sebastian Huber [sebastian.hu...@embedded-brains.de] Sent: Friday, February 19, 2016 13:37 To: devel@rtems.org Subject: Re: OpenRISC patch series... > Are these patches relative to the 4.11 branch or the m

Re: OpenRISC patch series...

2016-02-19 Thread Sebastian Huber
On 19/02/16 13:40, Jakob Viketoft wrote: From: devel [devel-boun...@rtems.org] on behalf of Sebastian Huber [sebastian.hu...@embedded-brains.de] Sent: Friday, February 19, 2016 13:37 To:devel@rtems.org Subject: Re: OpenRISC patch series... >Are these

RE: [PATCH 7/7] Add more OR1k machine types and correct OR1k configure subdir

2016-02-19 Thread Jakob Viketoft
From: Sebastian Huber [sebastian.hu...@embedded-brains.de] Sent: Friday, February 19, 2016 13:36 To: Jakob Viketoft; devel@rtems.org Subject: Re: [PATCH 7/7] Add more OR1k machine types and correct OR1k configure subdir >On 19/02/16 10:34, Jakob Viketoft w

RE: OpenRISC patch series...

2016-02-19 Thread Jakob Viketoft
From: Sebastian Huber [sebastian.hu...@embedded-brains.de] Sent: Friday, February 19, 2016 13:44 To: Jakob Viketoft; devel@rtems.org Subject: Re: OpenRISC patch series... >On 19/02/16 13:40, Jakob Viketoft wrote: >>

Re: [PATCH 7/7] Add more OR1k machine types and correct OR1k configure subdir

2016-02-19 Thread Sebastian Huber
On 19/02/16 13:52, Jakob Viketoft wrote: From: Sebastian Huber [sebastian.hu...@embedded-brains.de] Sent: Friday, February 19, 2016 13:36 To: Jakob Viketoft;devel@rtems.org Subject: Re: [PATCH 7/7] Add more OR1k machine types and correct OR1k configure su

[PATCH 1/2] Add option to limit bootstrap to a single arch

2016-02-19 Thread Martin Erik Werner
Using the -o|--only option, it is now possible to limit the bootstrapping operation of arch-specific libbsp, libcpu and cpukit paths to a single arch, for example: $ bootstrap -p -o or1k and $ bootstrap -o or1k This is a somewhat ugly implementation, but may be sufficient for the intended

[PATCH 2/2] Add option to run bootstrap in parallel

2016-02-19 Thread Martin Erik Werner
Using the -t|--threads option, it is now possible to specify the amount of threads to use when running autoreconf, for example: $ bootstrap -t 5 Since each file is autoreconf'd individually, this should not cause any sequencing issues. This reduces bootstrap runtime to about a half when using

[PATCH] _ARMV7M_Is_vector_an_irq: Use ARMV7M_VECTOR_SYSTICK instead of hardcoded 16

2016-02-19 Thread Martin Galvan
Also add a comment explaining why we use that value. --- cpukit/score/cpu/arm/rtems/score/armv7m.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/cpukit/score/cpu/arm/rtems/score/armv7m.h b/cpukit/score/cpu/arm/rtems/score/armv7m.h index 251ecdc..0a69363 100644 --- a/cpukit

Re: [PATCH 1/2] Add option to limit bootstrap to a single arch

2016-02-19 Thread Gedare Bloom
You may want to use the sb-bootstrap in RSB. You can invoke bootstrap from any directory with config.ac to avoid rebootstrapping the whole tree.. On Fri, Feb 19, 2016 at 8:07 AM, Martin Erik Werner wrote: > Using the -o|--only option, it is now possible to limit the > bootstrapping operation of

Re: OpenRISC patch series...

2016-02-19 Thread Hesham Almatary
Hi Jakob, On Fri, Feb 19, 2016 at 11:59 PM, Jakob Viketoft wrote: > > > From: Sebastian Huber [sebastian.hu...@embedded-brains.de] > Sent: Friday, February 19, 2016 13:44 > To: Jakob Viketoft; devel@rtems.org > Subject: Re: OpenRISC patch series... > > >On

Re: OpenRISC patch series...

2016-02-19 Thread Gedare Bloom
On Fri, Feb 19, 2016 at 7:59 AM, Jakob Viketoft wrote: > > From: Sebastian Huber [sebastian.hu...@embedded-brains.de] > Sent: Friday, February 19, 2016 13:44 > To: Jakob Viketoft; devel@rtems.org > Subject: Re: OpenRISC patch series... > >>On 19/02/16 13:40

RE: OpenRISC patch series...

2016-02-19 Thread Jakob Viketoft
Hello Hesham, From: Hesham Almatary [heshamelmat...@gmail.com] Sent: Friday, February 19, 2016 15:51 To: Jakob Viketoft Cc: devel@rtems.org Subject: Re: OpenRISC patch series... >Hi Jakob, > >On Fri, Feb 19, 2016 at 11:59 PM, Jakob Viketoft > wrote: >> >>

Re: OpenRISC patch series...

2016-02-19 Thread Hesham Almatary
Hi Jakob, On Sat, Feb 20, 2016 at 2:12 AM, Jakob Viketoft wrote: > Hello Hesham, > > > From: Hesham Almatary [heshamelmat...@gmail.com] > Sent: Friday, February 19, 2016 15:51 > To: Jakob Viketoft > Cc: devel@rtems.org > Subject: Re: OpenRISC patch serie

RE: OpenRISC patch series...

2016-02-19 Thread Jakob Viketoft
From: Hesham Almatary [heshamelmat...@gmail.com] Sent: Friday, February 19, 2016 16:28 To: Jakob Viketoft Cc: devel@rtems.org Subject: Re: OpenRISC patch series... >On Sat, Feb 20, 2016 at 2:12 AM, Jakob Viketoft > wrote: >> Hello Hesham, >> >>

RE: OpenRISC patch series...

2016-02-19 Thread Jakob Viketoft
From: ged...@gwmail.gwu.edu [ged...@gwmail.gwu.edu] on behalf of Gedare Bloom [ged...@rtems.org] Sent: Friday, February 19, 2016 15:58 To: Jakob Viketoft Cc: devel@rtems.org Subject: Re: OpenRISC patch series... >On Fri, Feb 19, 2016 at 7:59 AM, Jakob Vike

Re: OpenRISC patch series...

2016-02-19 Thread Gedare Bloom
On Fri, Feb 19, 2016 at 10:48 AM, Jakob Viketoft wrote: > > From: ged...@gwmail.gwu.edu [ged...@gwmail.gwu.edu] on behalf of Gedare Bloom > [ged...@rtems.org] > Sent: Friday, February 19, 2016 15:58 > To: Jakob Viketoft > Cc: devel@rtems.org > Subject: Re:

Re: Regarding GSOC 2016 BSP for BBB

2016-02-19 Thread punit vara
On Thu, Feb 18, 2016 at 12:09 PM, punit vara wrote: > According to final report > https://devel.rtems.org/wiki/GSoC/2015/Final_Report , Ketul shah's > work can be extended to develop PWM driver and it seems i2c driver is > not yet done correctly or have some problem. What would you suggest me > to

Re: Regarding GSOC 2016 BSP for BBB

2016-02-19 Thread Martin Galvan
CAN, USB and I2C still need to be developed. We're currently using the AM335x StarterWare code and it works fine; you may want to base your work on it. Keep an eye open for licensing issues, though. ___ devel mailing list devel@rtems.org http://lists.rtem

[PATCH] arm: Fixed typo in file bbb-gpio.c

2016-02-19 Thread punitvara
This patch fixes typo "moode". Signed-off: Punit Vara --- c/src/lib/libbsp/arm/beagle/gpio/bbb-gpio.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/c/src/lib/libbsp/arm/beagle/gpio/bbb-gpio.c b/c/src/lib/libbsp/arm/beagle/gpio/bbb-gpio.c index 2a3f7e8..8532

Re: [PATCH] _ARMV7M_Is_vector_an_irq: Use ARMV7M_VECTOR_SYSTICK instead of hardcoded 16

2016-02-19 Thread Joel Sherrill
This should be committed now. Thanks. On Fri, Feb 19, 2016 at 8:32 AM, Martin Galvan < martin.gal...@tallertechnologies.com> wrote: > Also add a comment explaining why we use that value. > --- > cpukit/score/cpu/arm/rtems/score/armv7m.h | 3 ++- > 1 file changed, 2 insertions(+), 1 deletion(-) >

Re: [PATCH] arm: Fixed typo in file bbb-gpio.c

2016-02-19 Thread Joel Sherrill
This should be committed now. Thanks. On Fri, Feb 19, 2016 at 12:24 PM, punitvara wrote: > This patch fixes typo "moode". > > Signed-off: Punit Vara > --- > c/src/lib/libbsp/arm/beagle/gpio/bbb-gpio.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/c/sr

Re: [PATCH 1/2] Add option to limit bootstrap to a single arch

2016-02-19 Thread Chris Johns
On 20/02/2016 12:07 AM, Martin Erik Werner wrote: > Using the -o|--only option, it is now possible to limit the > bootstrapping operation of arch-specific libbsp, libcpu and cpukit paths > to a single arch, for example: > > $ bootstrap -p -o or1k > > This is a somewhat ugly implementation, but

[PATCH] testsuits: Fixed typo in fileio.doc

2016-02-19 Thread punitvara
This patch basically fixes some typo in document file. Signed-off: Punit Vara --- testsuites/samples/fileio/fileio.doc | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/testsuites/samples/fileio/fileio.doc b/testsuites/samples/fileio/fileio.doc index 0a43

Re: [PATCH] arm: Fixed typo in file bbb-gpio.c

2016-02-19 Thread punit vara
Your welcome Joel :-) On Sat, Feb 20, 2016 at 3:44 AM, Joel Sherrill wrote: > This should be committed now. Thanks. > > On Fri, Feb 19, 2016 at 12:24 PM, punitvara wrote: >> >> This patch fixes typo "moode". >> >> Signed-off: Punit Vara >> --- >> c/src/lib/libbsp/arm/beagle/gpi