Re: [PATCH 00/32] LEON

2017-05-12 Thread Daniel Hellstrom

Hi Joel,

I have run the rtems-testsuite different configurations including SMP 
and non-smp with/without driver manager enabled. There are a couple 5-10 
failures since before, where 5 stems from known problem related to our 
toolchain config.
We use a our own scripted test environment so I haven't tested Chris BSP 
tester. Daniel Cederman added recently to our internal Jenkins test 
system that the RTEMS test-suite is run on TSIM when committing to our 
git repository, which is looking really good. This is very promising 
going forward.


I'm away all next week. So if it is okay I will push them on Sunday 
instead? but not patch 32 which had comments of course.


Regards,
Daniel

On 2017-05-11 17:32, Joel Sherrill wrote:
If this touches nothing but LEON BSP code and you have tested it, then 
I am ok with it assuming it has been adequately tested and doesn't 
introduce warnings.


Did you build smp and uniprocessor?

Have you run Chris' BSP tester?

Answer yes to all and give until Monday (to give weekend for comments) 
and then push them. IMO


--joel

On May 11, 2017 9:26 AM, "Daniel Hellstrom" > wrote:


The third set of patches for LEON. In short it contains:
 * GRCAN API changed from I/O system to C functions API, better
error handling,
   other improvements and SMP support.
 * GRETH ethernet reset/autonegotiation improvements for GR740
 * Possible to have LEON3 SMP kernel to boot on other than CPU0.
 * SMP support and warnings fixes in: GRTC, GRTM, PCI peripherals,
   GR1553BM & BC. Still need to update GRSPW and GR1553RT.
 * Removed old unused APBUART RAW driver to reduce code duplication.
 * Patches to make RTEMS build using LLVM Clang for sparc.

Best Regards,
Daniel Hellstrom


---

 c/src/lib/libbsp/sparc/Makefile.am |   1 -
 c/src/lib/libbsp/sparc/leon2/Makefile.am   |   1 -
 c/src/lib/libbsp/sparc/leon3/Makefile.am   |   3 +-
 .../libbsp/sparc/leon3/console/printk_support.c|  34 +-
 c/src/lib/libbsp/sparc/leon3/include/leon.h|   2 +-
 c/src/lib/libbsp/sparc/leon3/startup/bspstart.c|   5 +
 c/src/lib/libbsp/sparc/shared/1553/gr1553bc.c  | 123 +-
 c/src/lib/libbsp/sparc/shared/1553/gr1553bm.c  |  53 +-
 c/src/lib/libbsp/sparc/shared/amba/ahbstat.c   |   4 +-
 c/src/lib/libbsp/sparc/shared/can/grcan.c  | 2206
+++-
 c/src/lib/libbsp/sparc/shared/include/apbuart.h|  33 -
 c/src/lib/libbsp/sparc/shared/include/genirq.h |  47 +-
 c/src/lib/libbsp/sparc/shared/include/grcan.h  | 268 ++-
 c/src/lib/libbsp/sparc/shared/include/greth.h  |  11 +
 c/src/lib/libbsp/sparc/shared/irq/genirq.c |  58 +-
 c/src/lib/libbsp/sparc/shared/irq/irq-shared.c |  11 +-
 c/src/lib/libbsp/sparc/shared/irq_asm.S|  12 +-
 c/src/lib/libbsp/sparc/shared/net/greth.c  | 134 +-
 c/src/lib/libbsp/sparc/shared/pci/gr_701.c |  67 +-
 c/src/lib/libbsp/sparc/shared/pci/gr_cpci_gr740.c  |  76 +-
 c/src/lib/libbsp/sparc/shared/pci/gr_leon4_n2x.c   |  66 +-
 .../lib/libbsp/sparc/shared/pci/gr_rasta_adcdac.c  |  68 +-
 c/src/lib/libbsp/sparc/shared/pci/gr_rasta_io.c|  68 +-
 .../libbsp/sparc/shared/pci/gr_rasta_spw_router.c  |  66 +-
 c/src/lib/libbsp/sparc/shared/pci/gr_rasta_tmtc.c  |  68 +-
 c/src/lib/libbsp/sparc/shared/pci/gr_tmtc_1553.c   |  75 +-
 c/src/lib/libbsp/sparc/shared/start/start.S|  20 +-
 c/src/lib/libbsp/sparc/shared/tmtc/grtc.c  | 135 +-
 c/src/lib/libbsp/sparc/shared/tmtc/grtm.c  | 198 +-
 c/src/lib/libbsp/sparc/shared/uart/apbuart.c   | 897 
 c/src/lib/libbsp/sparc/shared/uart/apbuart_cons.c  |   8 +-
 c/src/lib/libcpu/sparc/access/access.S |   6 +-
 c/src/lib/libcpu/sparc/reg_win/window.S|   2 +-
 c/src/lib/libcpu/sparc/syscall/syscall.S   |   2 +-
 cpukit/score/include/rtems/score/threadqimpl.h |   4 +-
 35 files changed, 2382 insertions(+), 2450 deletions(-)

--
2.7.4
___
devel mailing list
devel@rtems.org 
http://lists.rtems.org/mailman/listinfo/devel




___
devel mailing list
devel@rtems.org
http://lists.rtems.org/mailman/listinfo/devel

Re: [PATCH 00/32] LEON

2017-05-11 Thread Sebastian Huber

Looks good except 32/32.

--
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 request.

Diese Nachricht ist keine geschäftliche Mitteilung im Sinne des EHUG.

___
devel mailing list
devel@rtems.org
http://lists.rtems.org/mailman/listinfo/devel


Re: [PATCH 00/32] LEON

2017-05-11 Thread Joel Sherrill
If this touches nothing but LEON BSP code and you have tested it, then I am
ok with it assuming it has been adequately tested and doesn't introduce
warnings.

Did you build smp and uniprocessor?

Have you run Chris' BSP tester?

Answer yes to all and give until Monday (to give weekend for comments) and
then push them. IMO

--joel

On May 11, 2017 9:26 AM, "Daniel Hellstrom"  wrote:

> The third set of patches for LEON. In short it contains:
>  * GRCAN API changed from I/O system to C functions API, better error
> handling,
>other improvements and SMP support.
>  * GRETH ethernet reset/autonegotiation improvements for GR740
>  * Possible to have LEON3 SMP kernel to boot on other than CPU0.
>  * SMP support and warnings fixes in: GRTC, GRTM, PCI peripherals,
>GR1553BM & BC. Still need to update GRSPW and GR1553RT.
>  * Removed old unused APBUART RAW driver to reduce code duplication.
>  * Patches to make RTEMS build using LLVM Clang for sparc.
>
> Best Regards,
> Daniel Hellstrom
>
>
> ---
>
>  c/src/lib/libbsp/sparc/Makefile.am |1 -
>  c/src/lib/libbsp/sparc/leon2/Makefile.am   |1 -
>  c/src/lib/libbsp/sparc/leon3/Makefile.am   |3 +-
>  .../libbsp/sparc/leon3/console/printk_support.c|   34 +-
>  c/src/lib/libbsp/sparc/leon3/include/leon.h|2 +-
>  c/src/lib/libbsp/sparc/leon3/startup/bspstart.c|5 +
>  c/src/lib/libbsp/sparc/shared/1553/gr1553bc.c  |  123 +-
>  c/src/lib/libbsp/sparc/shared/1553/gr1553bm.c  |   53 +-
>  c/src/lib/libbsp/sparc/shared/amba/ahbstat.c   |4 +-
>  c/src/lib/libbsp/sparc/shared/can/grcan.c  | 2206
> +++-
>  c/src/lib/libbsp/sparc/shared/include/apbuart.h|   33 -
>  c/src/lib/libbsp/sparc/shared/include/genirq.h |   47 +-
>  c/src/lib/libbsp/sparc/shared/include/grcan.h  |  268 ++-
>  c/src/lib/libbsp/sparc/shared/include/greth.h  |   11 +
>  c/src/lib/libbsp/sparc/shared/irq/genirq.c |   58 +-
>  c/src/lib/libbsp/sparc/shared/irq/irq-shared.c |   11 +-
>  c/src/lib/libbsp/sparc/shared/irq_asm.S|   12 +-
>  c/src/lib/libbsp/sparc/shared/net/greth.c  |  134 +-
>  c/src/lib/libbsp/sparc/shared/pci/gr_701.c |   67 +-
>  c/src/lib/libbsp/sparc/shared/pci/gr_cpci_gr740.c  |   76 +-
>  c/src/lib/libbsp/sparc/shared/pci/gr_leon4_n2x.c   |   66 +-
>  .../lib/libbsp/sparc/shared/pci/gr_rasta_adcdac.c  |   68 +-
>  c/src/lib/libbsp/sparc/shared/pci/gr_rasta_io.c|   68 +-
>  .../libbsp/sparc/shared/pci/gr_rasta_spw_router.c  |   66 +-
>  c/src/lib/libbsp/sparc/shared/pci/gr_rasta_tmtc.c  |   68 +-
>  c/src/lib/libbsp/sparc/shared/pci/gr_tmtc_1553.c   |   75 +-
>  c/src/lib/libbsp/sparc/shared/start/start.S|   20 +-
>  c/src/lib/libbsp/sparc/shared/tmtc/grtc.c  |  135 +-
>  c/src/lib/libbsp/sparc/shared/tmtc/grtm.c  |  198 +-
>  c/src/lib/libbsp/sparc/shared/uart/apbuart.c   |  897 
>  c/src/lib/libbsp/sparc/shared/uart/apbuart_cons.c  |8 +-
>  c/src/lib/libcpu/sparc/access/access.S |6 +-
>  c/src/lib/libcpu/sparc/reg_win/window.S|2 +-
>  c/src/lib/libcpu/sparc/syscall/syscall.S   |2 +-
>  cpukit/score/include/rtems/score/threadqimpl.h |4 +-
>  35 files changed, 2382 insertions(+), 2450 deletions(-)
>
> --
> 2.7.4
> ___
> devel mailing list
> devel@rtems.org
> http://lists.rtems.org/mailman/listinfo/devel
>
___
devel mailing list
devel@rtems.org
http://lists.rtems.org/mailman/listinfo/devel

[PATCH 00/32] LEON

2017-05-11 Thread Daniel Hellstrom
The third set of patches for LEON. In short it contains:
 * GRCAN API changed from I/O system to C functions API, better error handling,
   other improvements and SMP support.
 * GRETH ethernet reset/autonegotiation improvements for GR740
 * Possible to have LEON3 SMP kernel to boot on other than CPU0.
 * SMP support and warnings fixes in: GRTC, GRTM, PCI peripherals,
   GR1553BM & BC. Still need to update GRSPW and GR1553RT.
 * Removed old unused APBUART RAW driver to reduce code duplication.
 * Patches to make RTEMS build using LLVM Clang for sparc.

Best Regards,
Daniel Hellstrom


---

 c/src/lib/libbsp/sparc/Makefile.am |1 -
 c/src/lib/libbsp/sparc/leon2/Makefile.am   |1 -
 c/src/lib/libbsp/sparc/leon3/Makefile.am   |3 +-
 .../libbsp/sparc/leon3/console/printk_support.c|   34 +-
 c/src/lib/libbsp/sparc/leon3/include/leon.h|2 +-
 c/src/lib/libbsp/sparc/leon3/startup/bspstart.c|5 +
 c/src/lib/libbsp/sparc/shared/1553/gr1553bc.c  |  123 +-
 c/src/lib/libbsp/sparc/shared/1553/gr1553bm.c  |   53 +-
 c/src/lib/libbsp/sparc/shared/amba/ahbstat.c   |4 +-
 c/src/lib/libbsp/sparc/shared/can/grcan.c  | 2206 +++-
 c/src/lib/libbsp/sparc/shared/include/apbuart.h|   33 -
 c/src/lib/libbsp/sparc/shared/include/genirq.h |   47 +-
 c/src/lib/libbsp/sparc/shared/include/grcan.h  |  268 ++-
 c/src/lib/libbsp/sparc/shared/include/greth.h  |   11 +
 c/src/lib/libbsp/sparc/shared/irq/genirq.c |   58 +-
 c/src/lib/libbsp/sparc/shared/irq/irq-shared.c |   11 +-
 c/src/lib/libbsp/sparc/shared/irq_asm.S|   12 +-
 c/src/lib/libbsp/sparc/shared/net/greth.c  |  134 +-
 c/src/lib/libbsp/sparc/shared/pci/gr_701.c |   67 +-
 c/src/lib/libbsp/sparc/shared/pci/gr_cpci_gr740.c  |   76 +-
 c/src/lib/libbsp/sparc/shared/pci/gr_leon4_n2x.c   |   66 +-
 .../lib/libbsp/sparc/shared/pci/gr_rasta_adcdac.c  |   68 +-
 c/src/lib/libbsp/sparc/shared/pci/gr_rasta_io.c|   68 +-
 .../libbsp/sparc/shared/pci/gr_rasta_spw_router.c  |   66 +-
 c/src/lib/libbsp/sparc/shared/pci/gr_rasta_tmtc.c  |   68 +-
 c/src/lib/libbsp/sparc/shared/pci/gr_tmtc_1553.c   |   75 +-
 c/src/lib/libbsp/sparc/shared/start/start.S|   20 +-
 c/src/lib/libbsp/sparc/shared/tmtc/grtc.c  |  135 +-
 c/src/lib/libbsp/sparc/shared/tmtc/grtm.c  |  198 +-
 c/src/lib/libbsp/sparc/shared/uart/apbuart.c   |  897 
 c/src/lib/libbsp/sparc/shared/uart/apbuart_cons.c  |8 +-
 c/src/lib/libcpu/sparc/access/access.S |6 +-
 c/src/lib/libcpu/sparc/reg_win/window.S|2 +-
 c/src/lib/libcpu/sparc/syscall/syscall.S   |2 +-
 cpukit/score/include/rtems/score/threadqimpl.h |4 +-
 35 files changed, 2382 insertions(+), 2450 deletions(-)

-- 
2.7.4
___
devel mailing list
devel@rtems.org
http://lists.rtems.org/mailman/listinfo/devel