[PATCH 00/26] leon: various fixes and TN0018 errata workaround
Daniel Hellstrom
daniel at gaisler.com
Mon Jun 29 11:27:47 UTC 2020
Hi,
The GRLIB-TN-0018 errata (gaisler.com/notes) was recently published and
affecting the LEON3FT devices like UT699, UT700 and GR712RC. RTEMS SW
workarounds were released in May/June in the RCC dists so now I would
like to request to upstream that work and other differences between the
RTEMS5 code base for RCC-1.3.
Apart from fixes there is also driver support for the new CAN-FD in
GRLIB: GRCANFD. The restructuring of the CAN code is also an improvement
for GR712RC and GR740 by sharing more common code.
The patches are also found in the submit/20200629 branch of rcc.git:
https://git.rtems.org/danielh/rcc.git/log/?h=submit/20200629
Please let me know if I should separate the patches in smaller chunks
and resend or any other comments. As most are fixes I didn't do that
initially.
I've just learn that RTEMS5 branched! It would be great if the patches
could go on both master and 5.
Kind Regards,
Daniel Hellstrom
---
create mode 100644 bsps/include/grlib/canbtrs.h
create mode 100644 bsps/shared/grlib/can/canbtrs.c
create mode 100644 bsps/shared/grlib/can/grcan_internal.h
create mode 100644 bsps/shared/grlib/can/grcanfd.c
create mode 100644 bsps/shared/grlib/can/grcanstd.c
create mode 100644 bsps/sparc/leon3/start/drvmgr_def_drivers.c
create mode 100644 cpukit/score/cpu/sparc/include/libcpu/grlib-tn-0018.h
bsps/headers.am | 1 +
bsps/include/grlib/ahbstat.h | 2 +
bsps/include/grlib/ambapp_ids.h | 19 +
bsps/include/grlib/canbtrs.h | 62 ++
bsps/include/grlib/grcan.h | 129 +++-
bsps/include/grlib/greth.h | 1 +
bsps/include/grlib/grlib_impl.h | 10 +
bsps/include/grlib/grspw_pkt.h | 4 +-
bsps/include/grlib/grspw_router.h | 1 +
bsps/shared/grlib-sources.am | 3 +
bsps/shared/grlib/1553/gr1553b.c | 4 +
bsps/shared/grlib/1553/gr1553bc.c | 76 ++-
bsps/shared/grlib/1553/gr1553bm.c | 49 +-
bsps/shared/grlib/1553/gr1553rt.c | 123 ++--
bsps/shared/grlib/amba/ahbstat.c | 8 +
bsps/shared/grlib/amba/ambapp_names.c | 21 +-
bsps/shared/grlib/btimer/tlib_ckinit.c | 7 +-
bsps/shared/grlib/can/canbtrs.c | 116 ++++
bsps/shared/grlib/can/grcan.c | 719 +++------------------
bsps/shared/grlib/can/grcan_internal.h | 140 ++++
bsps/shared/grlib/can/grcanfd.c | 535 +++++++++++++++
bsps/shared/grlib/can/grcanstd.c | 435 +++++++++++++
bsps/shared/grlib/can/occan.c | 151 ++---
bsps/shared/grlib/l2c/l2c.c | 4 +-
bsps/shared/grlib/net/greth.c | 22 +-
bsps/shared/grlib/spw/grspw.c | 7 +
bsps/shared/grlib/spw/grspw_router.c | 5 +
bsps/sparc/leon3/config/gr712rc.cfg | 5 +-
bsps/sparc/leon3/config/ut699.cfg | 3 +-
bsps/sparc/leon3/config/ut700.cfg | 3 +-
bsps/sparc/leon3/start/amba.c | 12 -
bsps/sparc/leon3/start/cpucounter.c | 5 +-
bsps/sparc/leon3/start/drvmgr_def_drivers.c | 28 +
c/src/lib/libbsp/sparc/leon3/Makefile.am | 1 +
cpukit/score/cpu/sparc/cpu_asm.S | 14 +-
cpukit/score/cpu/sparc/headers.am | 1 +
.../score/cpu/sparc/include/libcpu/grlib-tn-0018.h | 58 ++
cpukit/score/cpu/sparc/include/rtems/score/sparc.h | 4 +
cpukit/score/cpu/sparc/sparc-access.S | 4 +-
cpukit/score/cpu/sparc/sparc-counter-asm.S | 7 +-
cpukit/score/cpu/sparc/syscall.S | 3 +-
cpukit/score/cpu/sparc/window.S | 9 +-
42 files changed, 1927 insertions(+), 884 deletions(-)
--
2.7.4
More information about the devel
mailing list