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

Utkarsh Verma utkarsh at bitbanged.com
Tue Aug 8 03:10:28 UTC 2023


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 <utkarsh at bitbanged.com> wrote:

> This patch series refactors the BSP and build spec for Raspberry Pi 4B
> with the following goals in mind:
>
> - IWYU(include what you use) includes
> - Modularity in BSP and the build spec
> - Strict MMU mapping
>
> This is my first code contribution to RTEMS, therefore suggestions of
> any kind would be 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    |  39 +-
>  bsps/aarch64/raspberrypi/include/bsp.h        |  37 +-
>  .../aarch64/raspberrypi/include/bsp/bcm2711.h |  96 ++++
>  bsps/aarch64/raspberrypi/include/bsp/irq.h    | 102 ++--
>  .../raspberrypi/include/bsp/raspberrypi.h     | 471 ------------------
>  .../include/bsp/start/bspstartmmu.h           |  45 ++
>  bsps/aarch64/raspberrypi/include/tm27.h       |   5 +-
>  bsps/aarch64/raspberrypi/start/bspstart.c     |  16 +-
>  .../aarch64/raspberrypi/start/bspstarthooks.c |  26 +-
>  bsps/aarch64/raspberrypi/start/bspstartmmu.c  |  66 +--
>  spec/build/bsps/aarch64/raspberrypi/abi.yml   |  39 +-
>  spec/build/bsps/aarch64/raspberrypi/bsp4b.yml |  23 +
>  .../aarch64/raspberrypi/bspraspberrypi4.yml   |  72 ---
>  spec/build/bsps/aarch64/raspberrypi/grp.yml   |  25 +
>  spec/build/bsps/aarch64/raspberrypi/grp4b.yml |  26 +
>  .../{linkercmds.yml => linkcmds.yml}          |  27 +-
>  spec/build/bsps/aarch64/raspberrypi/obj.yml   |  40 ++
>  .../bsps/aarch64/raspberrypi/objcache.yml     |  23 +
>  .../bsps/aarch64/raspberrypi/objclock.yml     |  24 +
>  .../bsps/aarch64/raspberrypi/objconsole.yml   |  20 +
>  .../build/bsps/aarch64/raspberrypi/objirq.yml |  27 +
>  .../bsps/aarch64/raspberrypi/objstart.yml     |  35 ++
>  23 files changed, 557 insertions(+), 731 deletions(-)
>  create mode 100644 bsps/aarch64/raspberrypi/include/bsp/bcm2711.h
>  delete mode 100644 bsps/aarch64/raspberrypi/include/bsp/raspberrypi.h
>  create mode 100644
> bsps/aarch64/raspberrypi/include/bsp/start/bspstartmmu.h
>  create mode 100644 spec/build/bsps/aarch64/raspberrypi/bsp4b.yml
>  delete mode 100644 spec/build/bsps/aarch64/raspberrypi/bspraspberrypi4.yml
>  create mode 100644 spec/build/bsps/aarch64/raspberrypi/grp.yml
>  create mode 100644 spec/build/bsps/aarch64/raspberrypi/grp4b.yml
>  rename spec/build/bsps/aarch64/raspberrypi/{linkercmds.yml =>
> linkcmds.yml} (88%)
>  create mode 100644 spec/build/bsps/aarch64/raspberrypi/obj.yml
>  create mode 100644 spec/build/bsps/aarch64/raspberrypi/objcache.yml
>  create mode 100644 spec/build/bsps/aarch64/raspberrypi/objclock.yml
>  create mode 100644 spec/build/bsps/aarch64/raspberrypi/objconsole.yml
>  create mode 100644 spec/build/bsps/aarch64/raspberrypi/objirq.yml
>  create mode 100644 spec/build/bsps/aarch64/raspberrypi/objstart.yml
>
> --
> 2.41.0
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rtems.org/pipermail/devel/attachments/20230808/fd3441f6/attachment.htm>


More information about the devel mailing list