Re: [rtems commit] sp13: Update configuration to account for messages on fourth message queue

2015-04-14 Thread Sebastian Huber
Two message queues get deleted before the forth is created. Why did this work before and what is the root cause for this failure? We will never know after this patch. On 14/04/15 21:08, Joel Sherril wrote: Module:rtems Branch:master Commit:351858d75327d5bbda7e720157dced706bbe5688 C

Re: crypt01 execution time

2015-04-14 Thread Joel Sherrill
On 11/26/2014 1:12 AM, Sebastian Huber wrote: > On 25/11/14 23:25, Joel Sherrill wrote: >> How long is this test supposed to run? >> >> It takes 4:42 using sis on my computer which is a 2.9 Ghz i7 . > SIS is a slow simulator. On Qemu it runs much faster. To repeat a statement by Jiri, SIS is an

Re: [RFC] Renaming or1ksim BSP

2015-04-14 Thread Emil
Hey, I agree with the renaming of or1ksim, it seems the bsp is capable of more than a sim-bsp would be. It would be beneficial to keep the bsp a generic or1k rather than specialize it to a board (if possible), since that way it might better serve as a starting point for new board ports. Regar

Re: [RFC] Renaming or1ksim BSP

2015-04-14 Thread Hesham ALMatary
On Tue, Apr 14, 2015 at 5:53 PM, Joel Sherrill wrote: > > > On 4/14/2015 11:41 AM, Hesham ALMatary wrote: >> Hi all, >> >> Currently or1ksim BSP images can run on or1ksim, QEMU, jor1k, and/or >> any or1k based hardware running on FPGAs. The differences maybe with >> some boards running or1k on dif

Re: [RFC] Renaming or1ksim BSP

2015-04-14 Thread Joel Sherrill
On 4/14/2015 11:41 AM, Hesham ALMatary wrote: > Hi all, > > Currently or1ksim BSP images can run on or1ksim, QEMU, jor1k, and/or > any or1k based hardware running on FPGAs. The differences maybe with > some boards running or1k on different frequencies, but almost all of > them run at 50 MHz. > >

[RFC] Renaming or1ksim BSP

2015-04-14 Thread Hesham ALMatary
Hi all, Currently or1ksim BSP images can run on or1ksim, QEMU, jor1k, and/or any or1k based hardware running on FPGAs. The differences maybe with some boards running or1k on different frequencies, but almost all of them run at 50 MHz. I was thinking of renaming or1ksim to something more generic a

sp13 fails on leon3

2015-04-14 Thread Joel Sherrill
Hi sp13 is failing for me on leon3: TA1 - create message queue of 20 bytes on queue 1 rtems_message_queue_create of Q1; 20 bytes each FAILED -- expected (RTEMS_SUCCESSFUL) got (RTEMS_UNSATISFIED) Any ideas? This didn't fail recently. -- Joel Sherrill, Ph.D. Director of Research &

[PATCH] or1ksim: Fix bug at UART driver.

2015-04-14 Thread Hesham ALMatary
Fix some UART register addresses and implementation bugs that were causing malfunction of console driver on real hardware. hello and ticker samples are tested and working fine now on mor1kx based SoC on Atlys FPGA board. BSP_OR1K_OR1KSIM_PERIPHCLK has been changed to 50MHz as with mor1kx/atlys SoC

Re: [PATCH] or1ksim: Fix bug at UART driver.

2015-04-14 Thread Joel Sherrill
I don't know why but this didn't apply for me. Some error at line 97 of the patch. Can you try again? On 4/14/2015 8:11 AM, Hesham ALMatary wrote: > Fix some UART register addresses and implementation bugs that > were causing malfunction of console driver on real hardware. > > hello and ticker sa

[PATCH] or1ksim: Fix bug at UART driver.

2015-04-14 Thread Hesham ALMatary
Fix some UART register addresses and implementation bugs that were causing malfunction of console driver on real hardware. hello and ticker samples are tested and working fine now on mor1kx based SoC on Atlys FPGA board. BSP_OR1K_OR1KSIM_PERIPHCLK has been changed to 50MHz as with mor1kx/atlys SoC

[PATCH 32/42] DRVMGR: renamed private drv_mgr and its struct name

2015-04-14 Thread Daniel Hellstrom
--- cpukit/libdrvmgr/drvmgr.c | 26 +- cpukit/libdrvmgr/drvmgr_by_id.c|2 +- cpukit/libdrvmgr/drvmgr_by_name.c |2 +- cpukit/libdrvmgr/drvmgr_for_each_dev.c |8 cpukit/libdrvmgr/drvmgr_internal.h |4 ++-- cpukit/libdr

[PATCH 34/42] DRVMGR: renamed info_dev to get_info_dev

2015-04-14 Thread Daniel Hellstrom
--- c/src/lib/libbsp/sparc/shared/drvmgr/ambapp_bus.c |2 +- cpukit/libdrvmgr/drvmgr.h |3 ++- cpukit/libdrvmgr/drvmgr_print.c |6 +++--- cpukit/libpci/pci_bus.c |2 +- 4 files changed, 7 insertions(+), 6 deletions

[PATCH 35/42] DRVMGR: KEY_TYPE now a enum drvmgr_kt

2015-04-14 Thread Daniel Hellstrom
--- c/src/lib/libbsp/sparc/leon2/pci/at697_pci.c |8 ++-- c/src/lib/libbsp/sparc/shared/1553/b1553brm.c |8 ++-- c/src/lib/libbsp/sparc/shared/1553/b1553rt.c |4 +- c/src/lib/libbsp/sparc/shared/can/grcan.c |8 ++-- .../libbsp/sparc/shared/drvmgr/ambapp_bu

[PATCH 38/42] DRVMGR: remove struct driver registration func

2015-04-14 Thread Daniel Hellstrom
--- .../lib/libbsp/sparc/leon2/startup/bsppredriver.c |4 +- c/src/lib/libbsp/sparc/leon3/amba/amba.c |8 +- cpukit/libdrvmgr/drvmgr.c |6 +- cpukit/libdrvmgr/drvmgr.h |4 +- cpukit/libdrvmgr/drvmgr_confdefs.h

[PATCH 30/42] DRVMGR: only build on SPARC platform

2015-04-14 Thread Daniel Hellstrom
--- cpukit/Makefile.am |2 ++ cpukit/configure.ac | 12 cpukit/libdrvmgr/Makefile.am |4 cpukit/preinstall.am |3 ++- 4 files changed, 20 insertions(+), 1 deletions(-) diff --git a/cpukit/Makefile.am b/cpukit/Makefile.am index faae9b2..c9

[PATCH 36/42] DRVMGR: renamed RES_EMPTY to DRVMGR_RES_EMPTY

2015-04-14 Thread Daniel Hellstrom
--- .../lib/libbsp/sparc/leon2/startup/bsppredriver.c |2 +- c/src/lib/libbsp/sparc/leon3/amba/amba.c |2 +- cpukit/libdrvmgr/drvmgr.h |2 +- cpukit/libpci/pci_bus.c|2 +- 4 files changed, 4 insertions(+), 4 deletions(

[PATCH 33/42] DRVMGR: change name of freq_get to get_freq

2015-04-14 Thread Daniel Hellstrom
--- c/src/lib/libbsp/sparc/shared/drvmgr/ambapp_bus.c |2 +- cpukit/libdrvmgr/drvmgr.h |2 +- cpukit/libdrvmgr/drvmgr_drvinf.c |4 ++-- cpukit/libpci/pci_bus.c |6 +++--- 4 files changed, 7 insertions(+), 7 deletion

[PATCH 31/42] DRVMGR: updated README

2015-04-14 Thread Daniel Hellstrom
--- cpukit/libdrvmgr/README |7 --- 1 files changed, 4 insertions(+), 3 deletions(-) diff --git a/cpukit/libdrvmgr/README b/cpukit/libdrvmgr/README index 6e55370..0f7dde6 100644 --- a/cpukit/libdrvmgr/README +++ b/cpukit/libdrvmgr/README @@ -1,7 +1,8 @@ DRIVER MANAGER == -

[PATCH 40/42] LEON3: simplify amba initialization

2015-04-14 Thread Daniel Hellstrom
--- c/src/lib/libbsp/sparc/leon3/amba/amba.c |9 ++--- 1 files changed, 2 insertions(+), 7 deletions(-) diff --git a/c/src/lib/libbsp/sparc/leon3/amba/amba.c b/c/src/lib/libbsp/sparc/leon3/amba/amba.c index 60a236c..7f55a24 100644 --- a/c/src/lib/libbsp/sparc/leon3/amba/amba.c +++ b/c/sr

[PATCH 41/42] LEON3: move timer variable to where initialized

2015-04-14 Thread Daniel Hellstrom
--- c/src/lib/libbsp/sparc/leon3/amba/amba.c|1 + c/src/lib/libbsp/sparc/leon3/clock/ckinit.c |6 +- 2 files changed, 2 insertions(+), 5 deletions(-) diff --git a/c/src/lib/libbsp/sparc/leon3/amba/amba.c b/c/src/lib/libbsp/sparc/leon3/amba/amba.c index 7f55a24..988aeda 100644 ---

[PATCH 29/42] sparc bsps: updated license to rtems.org

2015-04-14 Thread Daniel Hellstrom
--- c/src/lib/libbsp/sparc/leon2/include/at697_pci.h |2 +- c/src/lib/libbsp/sparc/leon2/pci/at697_pci.c |2 +- c/src/lib/libbsp/sparc/leon3/include/watchdog.h|2 +- c/src/lib/libbsp/sparc/leon3/timer/watchdog.c |2 +- c/src/lib/libbsp/sparc/shared/1553/b1553rt.c

[PATCH 25/42] LIBPCI: corrected documentation

2015-04-14 Thread Daniel Hellstrom
--- doc/user/conf.t | 12 ++-- doc/user/libpci.t | 50 +- 2 files changed, 31 insertions(+), 31 deletions(-) diff --git a/doc/user/conf.t b/doc/user/conf.t index ae2d966..7a0ae4c 100644 --- a/doc/user/conf.t +++ b/doc/user/conf.t @@ -5

[PATCH 26/42] DRVMGR: removed a goto and added comments

2015-04-14 Thread Daniel Hellstrom
--- cpukit/libdrvmgr/drvmgr.c |8 +--- 1 files changed, 5 insertions(+), 3 deletions(-) diff --git a/cpukit/libdrvmgr/drvmgr.c b/cpukit/libdrvmgr/drvmgr.c index ab3d54e..a8d7c6d 100644 --- a/cpukit/libdrvmgr/drvmgr.c +++ b/cpukit/libdrvmgr/drvmgr.c @@ -119,7 +119,6 @@ void drvmgr_init_upd

[PATCH 28/42] LIBPCI: updated license to rtems.org

2015-04-14 Thread Daniel Hellstrom
--- cpukit/libpci/pci.h|2 +- cpukit/libpci/pci/access.h |2 +- cpukit/libpci/pci/cfg.h|2 +- cpukit/libpci/pci/cfg_auto.h |2 +- cpukit/libpci/pci/cfg_peripheral.h |2 +- cpukit/libpci/pci/cfg_read.h |2 +- cpukit/libpci/pci/

[PATCH 22/42] LIBPCI: use enum with pci_system_type

2015-04-14 Thread Daniel Hellstrom
--- cpukit/libpci/pci.h |4 ++-- cpukit/libpci/pci_cfg.c |2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/cpukit/libpci/pci.h b/cpukit/libpci/pci.h index fc33bbb..efefcec 100644 --- a/cpukit/libpci/pci.h +++ b/cpukit/libpci/pci.h @@ -53,12 +53,12 @@ enum { * *

[PATCH 24/42] LIBPCI: new implementation private header file

2015-04-14 Thread Daniel Hellstrom
- new implementation private header file - moved double implementation of pci_dev_create used by read & auto cfg libraries to common pci_dev_create.c - moved declaration of pci_bus_cnt to private header file so avoid extern in .c files --- cpukit/libpci/Makefile.am |1 + cpuk

[PATCH 23/42] LIBPCI: various comment/unsed clean-ups

2015-04-14 Thread Daniel Hellstrom
--- cpukit/libpci/pci_cfg_auto.c | 23 +-- 1 files changed, 9 insertions(+), 14 deletions(-) diff --git a/cpukit/libpci/pci_cfg_auto.c b/cpukit/libpci/pci_cfg_auto.c index 2afc861..b23c0bc 100644 --- a/cpukit/libpci/pci_cfg_auto.c +++ b/cpukit/libpci/pci_cfg_auto.c @@ -19,11

[PATCH 27/42] DRVMGR: updated license to rtems.org

2015-04-14 Thread Daniel Hellstrom
--- cpukit/libdrvmgr/drvmgr.c |2 +- cpukit/libdrvmgr/drvmgr.h |2 +- cpukit/libdrvmgr/drvmgr_by_id.c |2 +- cpukit/libdrvmgr/drvmgr_by_name.c |2 +- cpukit/libdrvmgr/drvmgr_confdefs.h |2 +- cpukit/libdrvmgr/dr

[PATCH 19/42] PCI BUS: moved comment out of license header

2015-04-14 Thread Daniel Hellstrom
--- cpukit/libpci/pci_bus.c | 25 +++-- cpukit/libpci/pci_bus.h | 21 +++-- 2 files changed, 22 insertions(+), 24 deletions(-) diff --git a/cpukit/libpci/pci_bus.c b/cpukit/libpci/pci_bus.c index 654d311..ef0a068 100644 --- a/cpukit/libpci/pci_bus.c +++ b/c

[PATCH 21/42] LIBPCI: use RTEMS_INLINE_ROUTINE

2015-04-14 Thread Daniel Hellstrom
--- cpukit/libpci/pci/access.h | 53 ++- cpukit/libpci/pci/irq.h| 22 ++--- 2 files changed, 40 insertions(+), 35 deletions(-) diff --git a/cpukit/libpci/pci/access.h b/cpukit/libpci/pci/access.h index 7755b7a..f7df9e9 100644 --- a/cpuki

[PATCH 15/42] LIBPCI: clean-up pci_for_each_child() search arg

2015-04-14 Thread Daniel Hellstrom
--- cpukit/libpci/pci/cfg.h |5 - 1 files changed, 4 insertions(+), 1 deletions(-) diff --git a/cpukit/libpci/pci/cfg.h b/cpukit/libpci/pci/cfg.h index 592f364..e0cb125 100644 --- a/cpukit/libpci/pci/cfg.h +++ b/cpukit/libpci/pci/cfg.h @@ -69,6 +69,10 @@ struct pci_res; /* Resource: BAR,

[PATCH 18/42] DRVMGR: clean-up Makefile.am

2015-04-14 Thread Daniel Hellstrom
--- cpukit/libdrvmgr/Makefile.am |4 1 files changed, 0 insertions(+), 4 deletions(-) diff --git a/cpukit/libdrvmgr/Makefile.am b/cpukit/libdrvmgr/Makefile.am index d93854a..641c544 100644 --- a/cpukit/libdrvmgr/Makefile.am +++ b/cpukit/libdrvmgr/Makefile.am @@ -1,7 +1,3 @@ -## -## $Id:

[PATCH 10/42] LEON: converted PCI peripherals to BSD header

2015-04-14 Thread Daniel Hellstrom
--- c/src/lib/libbsp/sparc/shared/pci/gr_701.c |6 +++--- .../lib/libbsp/sparc/shared/pci/gr_rasta_adcdac.c |6 +++--- c/src/lib/libbsp/sparc/shared/pci/gr_rasta_io.c| 14 +++--- .../libbsp/sparc/shared/pci/gr_rasta_spw_router.c |8 c/src/lib/libbsp/spa

[PATCH 09/42] LEON: converted AT697,GRPCi,GRPCI2,PCIF to BSD header

2015-04-14 Thread Daniel Hellstrom
--- c/src/lib/libbsp/sparc/leon2/pci/at697_pci.c |3 -- c/src/lib/libbsp/sparc/shared/pci/grpci.c| 27 +++-- c/src/lib/libbsp/sparc/shared/pci/grpci2.c | 17 ++- c/src/lib/libbsp/sparc/shared/pci/pcif.c | 24 +++--- 4 files change

[PATCH 20/42] LIBPCI: moved comment out of license header

2015-04-14 Thread Daniel Hellstrom
--- cpukit/libpci/pci/cfg.h | 13 + 1 files changed, 9 insertions(+), 4 deletions(-) diff --git a/cpukit/libpci/pci/cfg.h b/cpukit/libpci/pci/cfg.h index e0cb125..46a4170 100644 --- a/cpukit/libpci/pci/cfg.h +++ b/cpukit/libpci/pci/cfg.h @@ -1,7 +1,4 @@ -/* PCI Configuration Library

[PATCH 12/42] leon3: timer config updated to use proper naming

2015-04-14 Thread Daniel Hellstrom
To be merged with "leon3: make timer initialization configurable" --- c/src/lib/libbsp/sparc/leon3/amba/amba.c| 10 +- c/src/lib/libbsp/sparc/leon3/include/leon.h |4 ++-- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/c/src/lib/libbsp/sparc/leon3/amba/amba.c b/c

[PATCH 06/42] LIBPCI: moved pci_bus copyright into a single line

2015-04-14 Thread Daniel Hellstrom
--- cpukit/libpci/pci_bus.c |3 +-- cpukit/libpci/pci_bus.h |3 +-- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/cpukit/libpci/pci_bus.c b/cpukit/libpci/pci_bus.c index ea30dfa..2bdf5dc 100644 --- a/cpukit/libpci/pci_bus.c +++ b/cpukit/libpci/pci_bus.c @@ -1,7 +1,6 @@ /*

[PATCH 13/42] leon3,ngmp: cpucounter initialization use proper names

2015-04-14 Thread Daniel Hellstrom
To be merged with "leon3,ngmp: simplify cpucounter initialization" .. as an affect of previous patch, the next must be updated too. --- c/src/lib/libbsp/sparc/leon3/startup/cpucounter.c |5 +++-- 1 files changed, 3 insertions(+), 2 deletions(-) diff --git a/c/src/lib/libbsp/sparc/leon3/start

[PATCH 16/42] LIBPCI: added license and auto-gen comment to pci/ids.h

2015-04-14 Thread Daniel Hellstrom
To be Merged. --- cpukit/libpci/pci/ids.h | 27 ++- 1 files changed, 26 insertions(+), 1 deletions(-) diff --git a/cpukit/libpci/pci/ids.h b/cpukit/libpci/pci/ids.h index d4ce5f5..88e1ad5 100644 --- a/cpukit/libpci/pci/ids.h +++ b/cpukit/libpci/pci/ids.h @@ -1,4 +1,29 @@

[PATCH 08/42] LIBPCI: converted to BSD header

2015-04-14 Thread Daniel Hellstrom
--- cpukit/libpci/Makefile.am |3 +- cpukit/libpci/pci.h| 279 +--- cpukit/libpci/pci/access.h | 12 +- cpukit/libpci/pci/ids.h| 1566 cpukit/libpci/pci/pcireg.h | 931 cpukit/libpci/pci_

[PATCH 11/42] LEON: converted LEON4-N2X to BSD header

2015-04-14 Thread Daniel Hellstrom
--- c/src/lib/libbsp/sparc/shared/pci/gr_leon4_n2x.c |8 1 files changed, 4 insertions(+), 4 deletions(-) diff --git a/c/src/lib/libbsp/sparc/shared/pci/gr_leon4_n2x.c b/c/src/lib/libbsp/sparc/shared/pci/gr_leon4_n2x.c index 2423248..dd4de03 100644 --- a/c/src/lib/libbsp/sparc/share

[PATCH 07/42] DRVMGR: PCI BUS converted to BSD header

2015-04-14 Thread Daniel Hellstrom
--- cpukit/libpci/pci_bus.c | 16 1 files changed, 8 insertions(+), 8 deletions(-) diff --git a/cpukit/libpci/pci_bus.c b/cpukit/libpci/pci_bus.c index 2bdf5dc..654d311 100644 --- a/cpukit/libpci/pci_bus.c +++ b/cpukit/libpci/pci_bus.c @@ -297,7 +297,7 @@ void pcibus_dev_info(

[PATCH 14/42] LIBPCI: remove $Id in makefile.am

2015-04-14 Thread Daniel Hellstrom
--- cpukit/libpci/Makefile.am |4 1 files changed, 0 insertions(+), 4 deletions(-) diff --git a/cpukit/libpci/Makefile.am b/cpukit/libpci/Makefile.am index b9e5fd2..cff25b3 100644 --- a/cpukit/libpci/Makefile.am +++ b/cpukit/libpci/Makefile.am @@ -1,7 +1,3 @@ -## -## $Id: Makefile.am -#

[PATCH 17/42] DRVMGR: use RTEMS_INLINE_ROUTINE

2015-04-14 Thread Daniel Hellstrom
--- cpukit/libdrvmgr/drvmgr.h |6 -- 1 files changed, 4 insertions(+), 2 deletions(-) diff --git a/cpukit/libdrvmgr/drvmgr.h b/cpukit/libdrvmgr/drvmgr.h index b6eaeb0..d9a42b8 100644 --- a/cpukit/libdrvmgr/drvmgr.h +++ b/cpukit/libdrvmgr/drvmgr.h @@ -13,6 +13,7 @@ #include #include #

[PATCH 05/42] LIBPCI: moved copyright into a single line

2015-04-14 Thread Daniel Hellstrom
--- cpukit/libpci/pci/access.h |3 +-- cpukit/libpci/pci/cfg.h|3 +-- cpukit/libpci/pci/cfg_auto.h |3 +-- cpukit/libpci/pci/cfg_peripheral.h |3 +-- cpukit/libpci/pci/cfg_read.h |3 +-- cpukit/libpci/pci/cfg_static.h |3 +-- cpukit/libpc

[PATCH 04/42] LIBPCI: removed unused changes file

2015-04-14 Thread Daniel Hellstrom
--- cpukit/libpci/CHANGES | 46 -- 1 files changed, 0 insertions(+), 46 deletions(-) delete mode 100644 cpukit/libpci/CHANGES diff --git a/cpukit/libpci/CHANGES b/cpukit/libpci/CHANGES deleted file mode 100644 index 46064f0..000 --- a/cpukit/libp

[PATCH 02/42] DRVMGR: updated copyright into one line only

2015-04-14 Thread Daniel Hellstrom
--- cpukit/libdrvmgr/drvmgr.c |3 +-- cpukit/libdrvmgr/drvmgr.h |3 +-- cpukit/libdrvmgr/drvmgr_by_id.c |3 +-- cpukit/libdrvmgr/drvmgr_by_name.c |3 +-- cpukit/libdrvmgr/drvmgr_confdefs.h |3 +-- cpukit/libdrvm

[PATCH 01/42] LEON: move driver headers to bsp/ directory

2015-04-14 Thread Daniel Hellstrom
--- c/src/lib/libbsp/sparc/leon2/Makefile.am | 82 +++--- c/src/lib/libbsp/sparc/leon2/pci/at697_pci.c |2 +- c/src/lib/libbsp/sparc/leon2/preinstall.am | 240 c/src/lib/libbsp/sparc/leon3/Makefile.am | 96 c/src/lib/libbsp/sparc

[PATCH 03/42] LIBPCI: fixed RES2DEV in pci/cfg.h

2015-04-14 Thread Daniel Hellstrom
--- cpukit/libpci/pci/cfg.h |7 +-- 1 files changed, 5 insertions(+), 2 deletions(-) diff --git a/cpukit/libpci/pci/cfg.h b/cpukit/libpci/pci/cfg.h index 18c48db..8869a51 100644 --- a/cpukit/libpci/pci/cfg.h +++ b/cpukit/libpci/pci/cfg.h @@ -146,9 +146,12 @@ struct pci_res { uint3

[PATCH 000/042] LIBPCI/DRVMGR clean-ups

2015-04-14 Thread Daniel Hellstrom
Hello, I have gone through your comments and addressed most of them, however not the last email about the drvmgr. I left the ones that required larger restructuring and testing. It turned out to be more work than I expected even so. The patches have been applied on top of the previous patch set.