Re: [PATCH 3/6] boot_card: Add attribute weak to override

2017-07-31 Thread Sebastian Huber
On 01/08/17 00:27, andreas.koe...@st.oth-regensburg.de wrote: From: Andreas Kölbl If this is omitted, libtests, where this symbol gets overridden, fail to build. Affected tests: sptimecounter01 spinternalerror01 Why do they fail to build? -- Sebastian Huber, embedded brains GmbH Addre

Re: [PATCH 2/6] jetson-tk1: Add start.S

2017-07-31 Thread Sebastian Huber
On 01/08/17 00:27, andreas.koe...@st.oth-regensburg.de wrote: From: Andreas Kölbl This own implementation allows for modifications like passing a cmdline parameter. Can't you use the shared start.S maybe with some more C pre-processor stuff? Sebastian Huber, embedded brains GmbH Address :

Re: Optimization issue in RISC-V BSP

2017-07-31 Thread Hesham Almatary
On Tue, Aug 1, 2017 at 2:15 PM, Joel Sherrill wrote: > > > On Jul 31, 2017 10:54 PM, "Hesham Almatary" > wrote: > > On Tue, Aug 1, 2017 at 10:13 AM, Denis Obrezkov > wrote: >> 2017-08-01 2:01 GMT+02:00 Hesham Almatary : >>> >>> Hi Denis, >>> >>> If you're not using interrupts (i.e. only using du

Re: Optimization issue in RISC-V BSP

2017-07-31 Thread Joel Sherrill
On Jul 31, 2017 10:54 PM, "Hesham Almatary" wrote: On Tue, Aug 1, 2017 at 10:13 AM, Denis Obrezkov wrote: > 2017-08-01 2:01 GMT+02:00 Hesham Almatary : >> >> Hi Denis, >> >> If you're not using interrupts (i.e. only using dummy clock), then >> trap_entry at start.S shouldn't be executed after bo

Re: Optimization issue in RISC-V BSP

2017-07-31 Thread Hesham Almatary
On Tue, Aug 1, 2017 at 10:13 AM, Denis Obrezkov wrote: > 2017-08-01 2:01 GMT+02:00 Hesham Almatary : >> >> Hi Denis, >> >> If you're not using interrupts (i.e. only using dummy clock), then >> trap_entry at start.S shouldn't be executed after bootstrap. That's >> why I suggested you use dummy cloc

Re: [PATCH 1/3] Import r92_llt.c from FreeBSD.

2017-07-31 Thread Sichen Zhao
Ok, got it. Best Regards Sichen Zhao From: devel on behalf of Christian Mauderer Sent: Tuesday, August 1, 2017 2:02 To: devel@rtems.org Cc: punitv...@gmail.com Subject: Re: [PATCH 1/3] Import r92_llt.c from FreeBSD. Hello Sichen, the patches don't app

Re: Optimization issue in RISC-V BSP

2017-07-31 Thread Denis Obrezkov
2017-08-01 2:01 GMT+02:00 Hesham Almatary : > Hi Denis, > > If you're not using interrupts (i.e. only using dummy clock), then > trap_entry at start.S shouldn't be executed after bootstrap. That's > why I suggested you use dummy clock first to figure out if the problem > is with the context switch

Re: Optimization issue in RISC-V BSP

2017-07-31 Thread Hesham Almatary
Hi Denis, If you're not using interrupts (i.e. only using dummy clock), then trap_entry at start.S shouldn't be executed after bootstrap. That's why I suggested you use dummy clock first to figure out if the problem is with the context switch code or not. I'm not getting the full context/details;

[PATCH 6/6] gpio: Add tegra124 gpio support

2017-07-31 Thread andreas.koelbl
From: Andreas Kölbl Implements the interface definded in libbsp/shared for Tegra124 processors. bsp specific: The bank parameter has to include the port specified by the tegra124 address map In order to set a pin either in input or output mode requires an

[PATCH 1/6] Add Jetson-TK1 board support

2017-07-31 Thread andreas.koelbl
From: Andreas Kölbl Peripheral device drivers: - RTEMS Timercounter API using the ARM Generic Timer. - Benchmark RTEMS with the Nvidia TMRUS Console: - 8250 UART based driver - Devices UART-A and UART-D (Default: UART-D, UART-A is turned off) - Interrupt driven or polled (Defaul

[PATCH 4/6] cmdline: Add cmdline support

2017-07-31 Thread andreas.koelbl
From: Andreas Kölbl --- c/src/lib/libbsp/arm/jetson-tk1/Makefile.am| 2 ++ c/src/lib/libbsp/arm/jetson-tk1/include/cmdline.h | 17 ++ c/src/lib/libbsp/arm/jetson-tk1/misc/cmdline.c | 38 ++ c/src/lib/libbsp/arm/jetson-tk1/start/start.S | 6 +++- ..

[PATCH 5/6] cmdline: Add boot_cpu parser

2017-07-31 Thread andreas.koelbl
From: Andreas Kölbl This adds the boot cpu to get parsed via cmdline on address 0x83FF8000 (by default). This allows the shared arm-gic-irq driver to only redirect irqs to the boot cpu. Running into a hypervisor, irq redirecting to different, not available cpus, may crash RTEMS. --- c/src/lib/li

[PATCH 2/6] jetson-tk1: Add start.S

2017-07-31 Thread andreas.koelbl
From: Andreas Kölbl This own implementation allows for modifications like passing a cmdline parameter. --- c/src/lib/libbsp/arm/jetson-tk1/Makefile.am | 3 +- c/src/lib/libbsp/arm/jetson-tk1/configure.ac | 3 + c/src/lib/libbsp/arm/jetson-tk1/start/start.S | 456 ++

[PATCH 3/6] boot_card: Add attribute weak to override

2017-07-31 Thread andreas.koelbl
From: Andreas Kölbl If this is omitted, libtests, where this symbol gets overridden, fail to build. Affected tests: sptimecounter01 spinternalerror01 --- c/src/lib/libbsp/shared/bootcard.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/c/src/lib/libbsp/shared/bootcard.

RTEMS Jetson-TK1 BSP

2017-07-31 Thread Andreas Kölbl
Hello everybody, I'm happy to announce my RTEMS port to the Jetson-TK1 [1]. The cortex-a15 based board includes a lot of devices and is already supported by the Jailhouse hypervisor. The BSP supports a console driver (termios via the National Semiconducters 8250 serial interface), GPIOs and an tim

Re: [PATCH 1/3] Import r92_llt.c from FreeBSD.

2017-07-31 Thread Christian Mauderer
Hello Sichen, the patches don't apply on the current libbsd master. Please rebase them. I think that this is maybe my fault: I updated some of the rtwn drivers recently during a test for another project. That has lead to some changes that now give a conflict: Patch 1: Should be superfluous now.

Re: [PATCH] RSB: Update gdb-7.12 config to pull in latest sis patches

2017-07-31 Thread Jiri Gaisler
On 07/31/2017 02:21 PM, Sebastian Huber wrote: > On 31/07/17 14:18, Jiri Gaisler wrote: > >> Sorry - previous post had the wrong patch. Here is the correct one. > > Ok, could you please check that it is now all right. > It's perfect - thanks! Jiri. __

Re: [PATCH] RSB: Update gdb-7.12 config to pull in latest sis patches

2017-07-31 Thread Sebastian Huber
On 31/07/17 14:18, Jiri Gaisler wrote: Sorry - previous post had the wrong patch. Here is the correct one. Ok, could you please check that it is now all right. -- Sebastian Huber, embedded brains GmbH Address : Dornierstr. 4, D-82178 Puchheim, Germany Phone : +49 89 189 47 41-16 Fax :

Re: [PATCH] RSB: Update gdb-7.12 config to pull in latest sis patches

2017-07-31 Thread Jiri Gaisler
Sorry - previous post had the wrong patch. Here is the correct one. Jiri. >From a5462f874eef326d47753abeffd2043034bccecf Mon Sep 17 00:00:00 2001 From: Jiri Gaisler Date: Sun, 30 Jul 2017 21:27:38 +0200 Subject: [PATCH] Update gdb-7.12 config to pull in latest sis patches. * Will make sure si

[PATCH] RSB: Update gdb-7.12 config to pull in latest sis patches

2017-07-31 Thread Jiri Gaisler
Please merge. >From b14821b4ac72913139cc1758e9757443f697a642 Mon Sep 17 00:00:00 2001 From: Jiri Gaisler Date: Sun, 30 Jul 2017 21:27:38 +0200 Subject: [PATCH] Update gdb-7.12 config to pull in latest sis patches. * Will make sure sis uses LMA rather than VMA when loading elf files. --- rtems

Re: Optimization issue in RISC-V BSP

2017-07-31 Thread Denis Obrezkov
2017-07-31 11:56 GMT+02:00 Denis Obrezkov : > 2017-07-31 1:08 GMT+02:00 Hesham Almatary : > >> On Mon, Jul 31, 2017 at 5:03 AM, Denis Obrezkov >> wrote: >> > 2017-07-30 20:40 GMT+02:00 Joel Sherrill : >> >> >> >> >> >> >> >> On Jul 30, 2017 12:19 PM, "Denis Obrezkov" >> >> wrote: >> >> >> >> 201

Re: Optimization issue in RISC-V BSP

2017-07-31 Thread Denis Obrezkov
2017-07-31 1:08 GMT+02:00 Hesham Almatary : > On Mon, Jul 31, 2017 at 5:03 AM, Denis Obrezkov > wrote: > > 2017-07-30 20:40 GMT+02:00 Joel Sherrill : > >> > >> > >> > >> On Jul 30, 2017 12:19 PM, "Denis Obrezkov" > >> wrote: > >> > >> 2017-07-30 3:10 GMT+02:00 Joel Sherrill : > >>> > >>> > >>> >