Re: microzed board boot from a sd card

2020-12-22 Thread Xiaomin (Jasmine)
Hi, Chris, Thanks for your reply. I will study it more and see if I can figure it out. thanks. Regards, Xiaomin On Tue, Dec 22, 2020 at 1:41 PM Chris Johns wrote: > Hi Xiaomin, > > Welcome to RTEMS. > > On 16/12/20 6:08 am, Xiaomin (Jasmine) wrote: > > Hi, there, > > > > I followed this

RE: [PATCH 00/13] Add BSP for Arm Fixed Virtual Platform

2020-12-22 Thread Kinsey Moore
This patch set looks good though it looks like patch 02 should probably have been merged into patch 11. Kinsey -Original Message- From: devel On Behalf Of Sebastian Huber Sent: Tuesday, December 22, 2020 07:01 To: devel@rtems.org Subject: [PATCH 00/13] Add BSP for Arm Fixed Virtual

Re: microzed board boot from a sd card

2020-12-22 Thread Chris Johns
Hi Xiaomin, Welcome to RTEMS. On 16/12/20 6:08 am, Xiaomin (Jasmine) wrote: > Hi, there, > > I followed this article: > > https://devel.rtems.org/wiki/Boards/Zynq%20-%20Zedboard > > > for development. It basically gets the boot img

Re: [PATCH v1] zynq: Add support for SDHCI devices

2020-12-22 Thread Sebastian Huber
On 21/12/2020 22:27, Kinsey Moore wrote: --- libbsd.py | 1 + rtemsbsd/include/bsp/nexus-devices.h | 3 + .../include/machine/rtems-bsd-nexus-bus.h | 29 ++ rtemsbsd/sys/dev/sdhci/arasan_sdhci.c | 343 ++ 4

Re: [rtems-bsp-builder] 2020-12-21 07:39:31: Profile(s): everything

2020-12-22 Thread Sebastian Huber
On 22/12/2020 18:54, Joel Sherrill wrote: On Tue, Dec 22, 2020, 10:28 AM Sebastian Huber > wrote: On 22/12/2020 17:00, Joel Sherrill wrote: > > On Tue, Dec 22, 2020, 8:14 AM Sebastian Huber >

Re: [PATCH] user: Mention use of LLVM

2020-12-22 Thread Sebastian Huber
On 22/12/2020 16:59, Joel Sherrill wrote: On Tue, Dec 22, 2020, 12:18 AM Sebastian Huber > wrote: ---  user/tracing/eventrecording.rst | 4  1 file changed, 4 insertions(+) diff --git a/user/tracing/eventrecording.rst

Re: [PATCH v3 2/2] libtests/ofw01: Added a test for RTEMS OFW

2020-12-22 Thread Niteesh G. S.
Hello Christian, On Tue, Dec 22, 2020 at 6:33 PM Christian Mauderer wrote: > Hello Niteesh, > > On 19/12/2020 16:57, Niteesh G. S. wrote: > > Hello Christian, > > > > On Sat, Dec 19, 2020 at 7:11 PM Christian Mauderer > > wrote: > > > > Hello Niteesh, > > > >

Re: [rtems-bsp-builder] 2020-12-21 07:39:31: Profile(s): everything

2020-12-22 Thread Joel Sherrill
On Tue, Dec 22, 2020, 10:28 AM Sebastian Huber < sebastian.hu...@embedded-brains.de> wrote: > On 22/12/2020 17:00, Joel Sherrill wrote: > > > > > On Tue, Dec 22, 2020, 8:14 AM Sebastian Huber > > > > wrote: > > > > On 22/12/2020 10:53,

Re: [rtems-bsp-builder] 2020-12-21 07:39:31: Profile(s): everything

2020-12-22 Thread Sebastian Huber
On 22/12/2020 17:00, Joel Sherrill wrote: On Tue, Dec 22, 2020, 8:14 AM Sebastian Huber > wrote: On 22/12/2020 10:53, j...@rtems.org wrote: > Failures Report > === >   No failures Time to

Re: [rtems-bsp-builder] 2020-12-21 07:39:31: Profile(s): everything

2020-12-22 Thread Joel Sherrill
On Tue, Dec 22, 2020, 8:14 AM Sebastian Huber < sebastian.hu...@embedded-brains.de> wrote: > On 22/12/2020 10:53, j...@rtems.org wrote: > > > Failures Report > > === > > No failures > Time to remove the old build system? > If the bsp tester had been converted to waf. This was not

Re: [PATCH] user: Mention use of LLVM

2020-12-22 Thread Joel Sherrill
On Tue, Dec 22, 2020, 12:18 AM Sebastian Huber < sebastian.hu...@embedded-brains.de> wrote: > --- > user/tracing/eventrecording.rst | 4 > 1 file changed, 4 insertions(+) > > diff --git a/user/tracing/eventrecording.rst > b/user/tracing/eventrecording.rst > index 27e929c..4867db8 100644 >

Re: [rtems-bsp-builder] 2020-12-21 07:39:31: Profile(s): everything

2020-12-22 Thread Sebastian Huber
On 22/12/2020 10:53, j...@rtems.org wrote: Failures Report === No failures Time to remove the old build system? -- embedded brains GmbH Herr Sebastian HUBER Dornierstr. 4 82178 Puchheim Germany email: sebastian.hu...@embedded-brains.de phone: +49-89-18 94 741 - 16 fax:

Re: [PATCH v3 2/2] libtests/ofw01: Added a test for RTEMS OFW

2020-12-22 Thread Christian Mauderer
Hello Niteesh, On 19/12/2020 16:57, Niteesh G. S. wrote: Hello Christian, On Sat, Dec 19, 2020 at 7:11 PM Christian Mauderer > wrote: Hello Niteesh, sorry, I somehow forget to check that patch set. I'll do it in the next few days. No problem, please

[PATCH 09/13] bsps/arm: Clear SCTLR[M, I, A, C] in start.S

2020-12-22 Thread Sebastian Huber
Initialize the data and unified cache levels. Invalidate the instruction cache levels. Update #4202. --- .../altera-cyclone-v/start/bspstarthooks.c| 2 - bsps/arm/raspberrypi/start/bspstarthooks.c| 47 +-- bsps/arm/shared/start/start.S | 37

[PATCH 10/13] bsps/arm: Invalidate TLB in start.S

2020-12-22 Thread Sebastian Huber
Update #4202. --- bsps/arm/raspberrypi/start/bspsmp_init.c | 2 -- bsps/arm/raspberrypi/start/bspstarthooks.c | 3 --- bsps/arm/shared/start/start.S| 9 + bsps/arm/xilinx-zynq/start/bspstarthooks.c | 4 bsps/arm/xilinx-zynqmp/start/bspstarthooks.c | 7 +--

[PATCH 13/13] arm/fvp: New BSP

2020-12-22 Thread Sebastian Huber
This BSP supports the Arm Fixed Virtual Platform. Only the Cortex-R52 processor configuration is supported by the BSP. It should be easy to add support for other variants if needed. Update #4202. --- bsps/arm/fvp/console/console.c | 83 +++

[PATCH 11/13] bsps: Use header file for GIC architecture support

2020-12-22 Thread Sebastian Huber
This avoids a function call overhead in the interrupt dispatching. Update #4202. --- .../dev/irq/arm-gic-arch.h} | 20 --- .../dev/irq/arm-gic-arch.h} | 18 ++--- bsps/include/dev/irq/arm-gic-irq.h| 13

[PATCH 04/13] arm: Add support for Arm PMSAv8-32

2020-12-22 Thread Sebastian Huber
Update #4202. --- .../score/cpu/arm/aarch32-psma-init-default.c | 60 cpukit/score/cpu/arm/aarch32-psma-init.c | 194 +++ .../arm/include/rtems/score/aarch32-pmsa.h| 314 ++ spec/build/cpukit/cpuarm.yml | 2 + 4 files changed, 570

[PATCH 12/13] bsps/arm: Rely on initialized vector table

2020-12-22 Thread Sebastian Huber
The arm_cp15_set_exception_handler() is a complicated function which should be avoided if possible. Update #4202. --- bsps/arm/include/dev/irq/arm-gic-arch.h | 9 - 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/bsps/arm/include/dev/irq/arm-gic-arch.h

[PATCH 08/13] bsps/arm: Add arm-data-cache-loop-set-way.h

2020-12-22 Thread Sebastian Huber
This makes it possible to reuse this loop. Update #4202. --- .../dev/cache/arm-data-cache-loop-set-way.h | 96 +++ .../shared/cache/cache-v7ar-disable-data.S| 71 ++ 2 files changed, 105 insertions(+), 62 deletions(-) create mode 100644

[PATCH 05/13] bsps/arm: Set VBAR in start.S

2020-12-22 Thread Sebastian Huber
Set the VBAR to the vector table in the start section before bsp_start_hook_0() is called to ealier handle exceptions in RTEMS. Set the VBAR to the normal vector table in start.S for the main processor. Secondary processors set it in bsp_start_hook_0(). Update #4202. ---

[PATCH 06/13] bsps/arm: Invalidate branch predictors earlier

2020-12-22 Thread Sebastian Huber
Make sure the branch predictors are invalidated before the first branch is executed. Update #4202. --- bsps/arm/include/bsp/arm-a9mpcore-start.h| 2 -- bsps/arm/raspberrypi/start/bspstarthooks.c | 1 - bsps/arm/shared/start/start.S| 11 +++

[PATCH 07/13] bsps/arm: Remove optional start hook arguments

2020-12-22 Thread Sebastian Huber
The start hook arguments are not used by a BSP. Removing them avoids the need for a stack during the very early system initialization. Update #4202. --- bsps/arm/include/bsp/start.h | 13 ++-- bsps/arm/shared/start/start.S | 63 +++ 2 files changed, 28

[PATCH 02/13] bsps: Fix includes

2020-12-22 Thread Sebastian Huber
Update #4202. --- bsps/aarch64/shared/irq/irq-arm-gicvx-aarch64.c | 1 - bsps/shared/dev/irq/arm-gicv3.c | 6 ++ 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/bsps/aarch64/shared/irq/irq-arm-gicvx-aarch64.c b/bsps/aarch64/shared/irq/irq-arm-gicvx-aarch64.c

[PATCH 00/13] Add BSP for Arm Fixed Virtual Platform

2020-12-22 Thread Sebastian Huber
This patch set adds a BSP to support the Arm Fixed Virtual Platform. Only the Cortex-R52 processor configuration is supported by the BSP. It should be easy to add support for other variants if needed. The patch set consolidates the low-level initialization and moves the architecture-specific

[PATCH 01/13] libdebugger: Fix for Armv8-R

2020-12-22 Thread Sebastian Huber
This architecture variant has no MMU. Update #4202. --- cpukit/libdebugger/rtems-debugger-arm.c | 7 +++ 1 file changed, 7 insertions(+) diff --git a/cpukit/libdebugger/rtems-debugger-arm.c b/cpukit/libdebugger/rtems-debugger-arm.c index 106cbe8b8a..ba01a860c8 100644 ---