Re: [PATCH 0/4] New UART drivers for PL011 and Mini UART

2023-09-11 Thread Utkarsh Verma
A gentle reminder. On Wed, Sep 6, 2023 at 8:31 AM Utkarsh Verma wrote: > A gentle reminder. > > Regards, > Utkarsh > > On Thu, Aug 31, 2023 at 10:02 AM Utkarsh Verma > wrote: > >> A gentle reminder for this patch. Please have a look at this and let me >>

Re: [PATCH 0/4] New UART drivers for PL011 and Mini UART

2023-09-05 Thread Utkarsh Verma
A gentle reminder. Regards, Utkarsh On Thu, Aug 31, 2023 at 10:02 AM Utkarsh Verma wrote: > A gentle reminder for this patch. Please have a look at this and let me > know what changes are required. Once this is merged, I have a few more > patches building upon this. > > Reg

Re: [PATCH 0/4] New UART drivers for PL011 and Mini UART

2023-08-30 Thread Utkarsh Verma
A gentle reminder for this patch. Please have a look at this and let me know what changes are required. Once this is merged, I have a few more patches building upon this. Regards, Utkarsh On Wed, Aug 30, 2023 at 9:47 AM Utkarsh Verma wrote: > This patch series adds two drivers, PL011 and M

[PATCH 4/4] bsps: Update BSPs to use the new PL011 driver

2023-08-29 Thread Utkarsh Verma
This commit updates the existing BSPs to use the new PL011 driver. --- bsps/aarch64/a53/console/console.c| 15 +- bsps/aarch64/a72/console/console.c| 15 +- bsps/aarch64/raspberrypi/console/console.c| 29 --- bsps/arm/raspberrypi/console/

[PATCH 1/4] bsps/shared: Add new PL011 driver with IRQ support

2023-08-29 Thread Utkarsh Verma
X-License-Identifier: BSD-2-Clause */ -/** - * @file - * - * @ingroup RTEMSBSPsARMShared - * - * @brief ARM PL011 Support Package - */ - /* - * Copyright (C) 2013, 2014 embedded brains GmbH & Co. KG + * Copyright (C) 2023 Utkarsh Verma + * * * Redistribution and use in source and binar

[PATCH 3/4] spec: Add Mini UART and PL011 drivers to build spec

2023-08-29 Thread Utkarsh Verma
This commit updates the build spec to include the new UART drivers for PL011 and Mini UART. --- spec/build/bsps/aarch64/raspberrypi/bspraspberrypi4.yml | 1 - spec/build/bsps/obj.yml | 7 --- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/spec/bu

[PATCH 0/4] New UART drivers for PL011 and Mini UART

2023-08-29 Thread Utkarsh Verma
a/rtems/tree/uart-drivers Utkarsh Verma (4): bsps/shared: Add new PL011 driver with IRQ support bsps/shared: Add new Mini UART driver spec: Add Mini UART and PL011 drivers to build spec bsps: Update BSPs to use the new PL011 driver bsps/aarch64/a53/console/console.c| 15 +-

[PATCH 2/4] bsps/shared: Add new Mini UART driver

2023-08-29 Thread Utkarsh Verma
mode 100644 index 00..7fce5d0d97 --- /dev/null +++ b/bsps/include/dev/serial/mini-uart.h @@ -0,0 +1,54 @@ +/* SPDX-License-Identifier: BSD-2-Clause */ + +/* + * Copyright (C) 2023 Utkarsh Verma + * + * + * Redistribution and use in source and binary forms, with or without + * modification

[PATCH 4/4] spec: Add Mini UART and PL011 drivers to build spec

2023-08-28 Thread Utkarsh Verma
This commit updates the build spec to include the new UART drivers for PL011 and Mini UART. --- spec/build/bsps/aarch64/raspberrypi/bspraspberrypi4.yml | 1 - spec/build/bsps/obj.yml | 7 --- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/spec/bu

[PATCH 3/4] bsps: Update BSPs to use the new PL011 driver

2023-08-28 Thread Utkarsh Verma
This commit updates the existing BSPs to use the new PL011 driver. --- bsps/aarch64/a53/console/console.c| 14 +- bsps/aarch64/a72/console/console.c| 14 +- bsps/aarch64/raspberrypi/console/console.c| 14 +- bsps/arm/raspberrypi/console/console-c

[PATCH 2/4] bsps/shared: Add new Mini UART driver

2023-08-28 Thread Utkarsh Verma
mode 100644 index 00..7fce5d0d97 --- /dev/null +++ b/bsps/include/dev/serial/mini-uart.h @@ -0,0 +1,54 @@ +/* SPDX-License-Identifier: BSD-2-Clause */ + +/* + * Copyright (C) 2023 Utkarsh Verma + * + * + * Redistribution and use in source and binary forms, with or without + * modification

[PATCH 1/4] bsps/shared: Add new PL011 driver with IRQ support

2023-08-28 Thread Utkarsh Verma
X-License-Identifier: BSD-2-Clause */ -/** - * @file - * - * @ingroup RTEMSBSPsARMShared - * - * @brief ARM PL011 Support Package - */ - /* - * Copyright (C) 2013, 2014 embedded brains GmbH & Co. KG + * Copyright (C) 2023 Utkarsh Verma + * * * Redistribution and use in source and binar

[PATCH 0/4] New UART drivers for PL011 and Mini UART

2023-08-28 Thread Utkarsh Verma
a/rtems/tree/uart-drivers Utkarsh Verma (4): bsps/shared: Add new PL011 driver with IRQ support bsps/shared: Add new Mini UART driver bsps: Update BSPs to use the new PL011 driver spec: Add Mini UART and PL011 drivers to build spec bsps/aarch64/a53/console/console.c| 14 +-

Re: [PATCH 0/2 v3] Refactor the aarch64/raspberryp4b BSP

2023-08-16 Thread Utkarsh Verma
A gentle reminder for this patch. On Thu, Aug 10, 2023 at 11:45 AM Utkarsh Verma wrote: > A gentle reminder for this. Please let me know which changes are required > so that I can send the next set of patches as well. > > On Wed, Aug 9, 2023 at 9:20 AM Utkarsh Verma > wrote: &

Re: [PATCH 0/2 v3] Refactor the aarch64/raspberryp4b BSP

2023-08-09 Thread Utkarsh Verma
A gentle reminder for this. Please let me know which changes are required so that I can send the next set of patches as well. On Wed, Aug 9, 2023 at 9:20 AM Utkarsh Verma wrote: > Changes can also be seen on my fork: > https://github.com/UtkarshVerma/rtems/tree/refactor > > On Wed,

Re: [PATCH 0/2 v3] Refactor the aarch64/raspberryp4b BSP

2023-08-08 Thread Utkarsh Verma
Changes can also be seen on my fork: https://github.com/UtkarshVerma/rtems/tree/refactor On Wed, Aug 9, 2023 at 9:18 AM Utkarsh Verma wrote: > This patch series refactors the BSP and build spec for Raspberry Pi 4B > with the following goals in mind: > > - IWYU(include what you u

[PATCH 2/2] build: Modularize the aarch64/raspberrypi spec

2023-08-08 Thread Utkarsh Verma
rmv8-a -description: | - ABI flags + - Copyright (C) 2022 Mohd Noor Aman + - Copyright (C) 2023 Utkarsh Verma + +type: build enabled-by: true -links: [] + +build-type: option name: ABI_FLAGS -type: build +description: ABI flags + +actions: + - get-string: null + - split: null + - env-append: null + +d

[PATCH 1/2] bsps/aarch64/raspberrypi: Refactor the BSP

2023-08-08 Thread Utkarsh Verma
*/ /* * Copyright (C) 2022 Mohd Noor Aman + * Copyright (C) 2023 Utkarsh Verma * * * Redistribution and use in source and binary forms, with or without @@ -34,36 +35,32 @@ * POSSIBILITY OF SUCH DAMAGE. */ -#include - -#include -#include #include +#include +#include -#include

[PATCH 0/2 v3] Refactor the aarch64/raspberryp4b BSP

2023-08-08 Thread Utkarsh Verma
highly appreciated. Regards, Utkarsh Utkarsh Verma (2): bsps/aarch64/raspberrypi: Refactor the BSP build: Modularize the aarch64/raspberrypi spec bsps/aarch64/raspberrypi/console/console.c| 39 +- bsps/aarch64/raspberrypi/include/bsp.h| 37 +- .../aarch64/raspberrypi/include/bsp

Re: [PATCH 1/3] gitignore: Ignore clangd and clang-format files

2023-08-08 Thread Utkarsh Verma
You're correct. I'll remove this commit. Regards, Utkarsh On Tue, Aug 8, 2023 at 11:39 AM Chris Johns wrote: > On 8/8/2023 4:07 pm, Chris Johns wrote: > > On 8/8/2023 1:05 pm, Utkarsh Verma wrote: > >> --- > >> .gitignore | 4 > >> 1 file c

Re: [PATCH 0/3] Refactor the aarch64/raspberryp4b BSP

2023-08-07 Thread Utkarsh Verma
Changes are also on my GitHub fork: https://github.com/UtkarshVerma/rtems/tree/refactor. Regards, Utkarsh On Tue, Aug 8, 2023 at 8:35 AM Utkarsh Verma wrote: > This patch series refactors the BSP and build spec for Raspberry Pi 4B > with the following goals in mind: > > - IWYU(incl

[PATCH 3/3] build: Modularize the aarch64/raspberrypi spec

2023-08-07 Thread Utkarsh Verma
rmv8-a -description: | - ABI flags + - Copyright (C) 2022 Mohd Noor Aman + - Copyright (C) 2023 Utkarsh Verma + +type: build enabled-by: true -links: [] + +build-type: option name: ABI_FLAGS -type: build +description: ABI flags + +actions: + - get-string: null + - split: null + - env-append: null + +d

[PATCH 2/3] bsps/aarch64/raspberrypi: Refactor the BSP

2023-08-07 Thread Utkarsh Verma
*/ /* * Copyright (C) 2022 Mohd Noor Aman + * Copyright (C) 2023 Utkarsh Verma * * * Redistribution and use in source and binary forms, with or without @@ -34,36 +35,32 @@ * POSSIBILITY OF SUCH DAMAGE. */ -#include - -#include -#include #include +#include +#include -#include

[PATCH 1/3] gitignore: Ignore clangd and clang-format files

2023-08-07 Thread Utkarsh Verma
--- .gitignore | 4 1 file changed, 4 insertions(+) diff --git a/.gitignore b/.gitignore index 8b28b186e1..d0144f6737 100644 --- a/.gitignore +++ b/.gitignore @@ -12,3 +12,7 @@ Makefile.in /testsuites/build/build /testsuites/build/wscript .waf* +.clangd +.clang-format +compile_commands.js

[PATCH 0/3] Refactor the aarch64/raspberryp4b BSP

2023-08-07 Thread Utkarsh Verma
highly appreciated. Regards, Utkarsh Utkarsh Verma (3): gitignore: Ignore clangd and clang-format files bsps/aarch64/raspberrypi: Refactor the BSP build: Modularize the aarch64/raspberrypi spec .gitignore| 4 + bsps/aarch64/raspberrypi/console/console.c

Re: [PATCH 1/2] bsps/aarch64/raspberrypi: Refactor code base

2023-08-07 Thread Utkarsh Verma
t; > On Sun, Aug 6, 2023 at 11:49 PM Utkarsh Verma > wrote: > >> From: Utkarsh Verma >> >> Refactor the code base for better organization to facilitate future >> patches. >> --- >> .gitignore| 4 + >> bsps/aarch

Re: [PATCH 0/2] Refactor aarch64/raspberrypi4b BSP

2023-08-06 Thread Utkarsh Verma
Forgot to add that these changes are there on my GitHub fork on the " rpi4b-refactor <https://github.com/UtkarshVerma/rtems/tree/rpi4b-refactor>" branch. Please have a look at it and let me know what could be improved. On Mon, Aug 7, 2023 at 10:19 AM Utkarsh Verma wrote: > T

[PATCH 2/2] bsps/aarch64/raspberrypi: Refactor code base

2023-08-06 Thread Utkarsh Verma
From: Utkarsh Verma Refactor the code base for better organization to facilitate future patches. --- .gitignore| 4 + bsps/aarch64/raspberrypi/console/console.c| 41 +- bsps/aarch64/raspberrypi/include/bsp.h| 33 +- .../aarch64/raspberrypi

[PATCH 1/2] bsps/aarch64/raspberrypi: Refactor code base

2023-08-06 Thread Utkarsh Verma
From: Utkarsh Verma Refactor the code base for better organization to facilitate future patches. --- .gitignore| 4 + bsps/aarch64/raspberrypi/console/console.c| 42 +- bsps/aarch64/raspberrypi/include/bsp.h| 33 +- .../aarch64/raspberrypi

[PATCH 0/2] Refactor aarch64/raspberrypi4b BSP

2023-08-06 Thread Utkarsh Verma
This patch refactors the Raspberry Pi 4B BSP with the following changes: - Build spec organization - IWYU(include what you use) includes - Self contained sources and headers - More specific MMU mapping - A basic API to allow extending this BSP to other variants of the RPi family Utkarsh Verma

Need community suggestions for a new generic GPIO API

2023-07-07 Thread Utkarsh Verma
Dear all, While working on the Raspberry Pi 4 BSP, I realized that the GPIO API could be improved. It seems that last year, a GSoC student worked on introducing a new GPIO API, called GPIO2 to RTEMS. However, it did not get merged. Discussing this topic with my mentor and on RTEMS Discord revealed

[PATCH 1/1] user/bsp/raspberrypi4: Fix incorrect config.txt typo

2023-06-13 Thread Utkarsh Verma
This commit removes spaces in config.txt which made it invalid. --- user/bsps/aarch64/raspberrypi4.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/user/bsps/aarch64/raspberrypi4.rst b/user/bsps/aarch64/raspberrypi4.rst index efb09b6..ad817aa 100644 --- a/user/bsps/aarch64/

[PATCH 0/1] Fix Raspberry Pi 4B's UART setup's config.txt

2023-06-13 Thread Utkarsh Verma
This is a simple patch fixing a typo made in the config.txt Utkarsh Verma (1): user/bsp/raspberrypi4: Fix incorrect config.txt typo user/bsps/aarch64/raspberrypi4.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) -- 2.41.0 ___ devel

[PATCH 0/1] Fix config.txt for Raspberry Pi 4B's UART setup

2023-06-13 Thread Utkarsh Verma
The config.txt included in the docs is invalid as it includes spaces in the parameter assignment. This patch fixes that typo by removing the spaces. Utkarsh Verma (1): user/bsps/raspberrypi4: Fix config.txt for UART setup user/bsps/aarch64/raspberrypi4.rst | 2 +- 1 file changed, 1 insertion

[PATCH 1/1] eng: Fix builds for newer Sphinx versions (>=7)

2023-06-13 Thread Utkarsh Verma
The current Sphinx theme depends on the `style` parameter which got deprecated in v5.1 and finally got removed in v7. Now, the `styles` key should be preferred which is a list of stylesheets. This commit implements this change. --- common/sphinx_rtd_theme_rtems/layout.html | 2 ++ 1 file changed,

[PATCH 0/1] eng: Fix builds for newer Sphinx versions (>=7)

2023-06-13 Thread Utkarsh Verma
The current Sphinx theme depends on the `style` parameter which got deprecated in v5.1 and finally got removed in v7. Now, the `styles` key should be preferred which is a list of stylesheets. This commit implements this change. Utkarsh Verma (1): eng: Fix builds for newer Sphinx versions (>

Re: [PATCH 0/1] Improve coherence of user/start docs

2023-04-06 Thread Utkarsh Verma
Hi, This is just a gentle reminder for this patch. Please let me know if I could improve anything. Regards, Utkarsh On Wed, Mar 29, 2023 at 6:08 AM Utkarsh Verma wrote: > This patch improves consistency of the documentation in the user/start > section. In app.rst, absolute path ha

GSoC Proposal Draft - Improve Raspberry Pi 4 BSP

2023-04-03 Thread Utkarsh Verma
I have drafted my GSoC proposal and uploaded it to Google Docs. You can leave suggestions as comments in the document. https://docs.google.com/document/d/1dL5zl_iSYeyx6ZoOpKjy-CkLh_OvgGDJvblrPH5q6rg/edit?usp=sharing I apologize for not giving you much time for this review. Regards, Utkarsh _

[PATCH 1/1] bsp-howto: Fix grammar and improve coherence.

2023-03-28 Thread Utkarsh Verma
--- user/start/app.rst | 2 +- user/start/bsp-build.rst | 17 + 2 files changed, 6 insertions(+), 13 deletions(-) diff --git a/user/start/app.rst b/user/start/app.rst index ce9a44d..0599305 100644 --- a/user/start/app.rst +++ b/user/start/app.rst @@ -209,7 +209,7 @@ Run the

[PATCH 0/1] Improve coherence of user/start docs

2023-03-28 Thread Utkarsh Verma
directory as it is unnecessary. Apart from that, minor grammatical fixes have been made. Utkarsh Verma (1): bsp-howto: Fix grammar and improve coherence. user/start/app.rst | 2 +- user/start/bsp-build.rst | 17 + 2 files changed, 6 insertions(+), 13 deletions(-) -- 2.40.0

Improve docs for quickstart guide

2023-03-22 Thread Utkarsh Verma
00:00:00 2001 From: Utkarsh Verma Date: Thu, 23 Mar 2023 09:13:09 +0530 Subject: [PATCH 0/1] *** Improve coherence of user/start docs *** This patch improves consistency of the documentation in the user/start section. In app.rst, absolute path has been removed because the PATH had already been

GSoC Contributor Introduction

2023-03-22 Thread Utkarsh Verma
asks I could contribute, and so on. Regards, Utkarsh Verma https://utkarshverma.me RTEMS Testing - Run, 6.0.not_released Command Line: /home/subaru/gsoc/rtems/rtems/6/bin//rtems-run --rtems-bsp=erc32-sis build/sparc-rtems6-erc32/hello.exe Host: Linux metia 6.2.7-arch1-1 #1 SMP PREEMPT_DYNAMIC Sat,