[PATCH] bsps/aarch64/raspberrypi: Add system timer support

2024-04-16 Thread Ning Yang
/include/bsp/irq.h index 1ff6ae80de..d493e83707 100644 --- a/bsps/aarch64/raspberrypi/include/bsp/irq.h +++ b/bsps/aarch64/raspberrypi/include/bsp/irq.h @@ -9,6 +9,7 @@ /** * Copyright (c) 2013 Alan Cudmore * Copyright (c) 2022 Mohd Noor Aman + * Copyright (c) 2024 Ning Yang * * The license

[PATCH] bsps/aarch64/raspberrypi: Add system timer support

2024-04-13 Thread Ning Yang
/include/bsp/irq.h index 1ff6ae80de..d493e83707 100644 --- a/bsps/aarch64/raspberrypi/include/bsp/irq.h +++ b/bsps/aarch64/raspberrypi/include/bsp/irq.h @@ -9,6 +9,7 @@ /** * Copyright (c) 2013 Alan Cudmore * Copyright (c) 2022 Mohd Noor Aman + * Copyright (c) 2024 Ning Yang * * The license

[PATCH] bsps/aarch64/raspberrypi: Add system timer support

2024-04-13 Thread Ning Yang
/include/bsp/irq.h index 1ff6ae80de..f2dd2f6c14 100644 --- a/bsps/aarch64/raspberrypi/include/bsp/irq.h +++ b/bsps/aarch64/raspberrypi/include/bsp/irq.h @@ -9,6 +9,7 @@ /** * Copyright (c) 2013 Alan Cudmore * Copyright (c) 2022 Mohd Noor Aman + * Copyright (c) 2024 Ning Yang * * The license

[PATCH] bsps/aarch64/raspberrypi: Add system timer support

2024-04-12 Thread Ning Yang
/raspberrypi/include/bsp/irq.h index 1ff6ae80de..f2dd2f6c14 100644 --- a/bsps/aarch64/raspberrypi/include/bsp/irq.h +++ b/bsps/aarch64/raspberrypi/include/bsp/irq.h @@ -9,6 +9,7 @@ /** * Copyright (c) 2013 Alan Cudmore * Copyright (c) 2022 Mohd Noor Aman + * Copyright (c) 2024 Ning Yang

Re: [PATCH] bsps/aarch64/raspberrypi: Add system timer support

2024-04-11 Thread Ning Yang
SoC projects) right now to get > it into good condition for merging into RTEMS. > > Kinsey > > On Thu, Apr 11, 2024 at 10:59 AM Ning Yang wrote: > Hi Mr. Kinsey Moore: > > I am using the RPi4 BSP (project of GSOC2023) written by Utkarsh Verma. For > some reason it wasn

Re: [PATCH] bsps/aarch64/raspberrypi: Add system timer support

2024-04-11 Thread Ning Yang
11日 23:22,Kinsey Moore 写道: > > I couldn't get this patch to apply. Are you sure it came from the right > branch and has no merge commits ahead of it? > > Kinsey > > On Wed, Apr 10, 2024 at 9:24 AM Ning Yang wrote: > The clock from the ARM timer is derived from the s

[PATCH] bsps/aarch64/raspberrypi: Add system timer support

2024-04-10 Thread Ning Yang
Verma + * Copyright (C) 2024 Ning Yang * * * Redistribution and use in source and binary forms, with or without @@ -91,6 +92,27 @@ #define BCM2711_UART5_BASE (BCM2711_PL011_BASE + 0xa00) #define BCM2711_UART5_SIZE BCM2711_PL011_DEVICE_SIZE +/* System Timer */ +/** + * NOTE: The GPU uses

[PATCH] dev/clock: Move bcm2835-system-timer driver to shared space

2024-04-10 Thread Ning Yang
This patch moves the bcm2835 system timer driver in the arm/raspberrypi directory to the shared directory and adjusts arm/raspberrypi BSP. --- .../clockdrv.c => shared/dev/clock/bcm2835-system-timer.c} | 0 spec/build/bsps/arm/raspberrypi/obj.yml | 2 +- 2 files

[PATCH 2/2] bsps/aarch64/raspberrypi: Add system timer support

2024-04-09 Thread Ning Yang
/raspberrypi/include/bsp/bcm2711.h @@ -11,6 +11,7 @@ /* * Copyright (C) 2022 Mohd Noor Aman * Copyright (C) 2023 Utkarsh Verma + * Copyright (C) 2024 Ning Yang * * * Redistribution and use in source and binary forms, with or without @@ -91,6 +92,28 @@ #define BCM2711_UART5_BASE

[PATCH 1/2] dev/clock: Move bcm2835-system-timer driver to shared space

2024-04-09 Thread Ning Yang
This patch moves the bcm2835 system timer driver in the arm/raspberrypi directory to the shared directory. Made some changes in the include section to adapt to rpi4 BSP. --- .../clockdrv.c => shared/dev/clock/bcm2835-system-timer.c} | 7 +++ spec/build/bsps/arm/raspberrypi/obj.yml

[PATCH 1/2] dev/clock: add bcm2835-system-timer driver

2024-04-07 Thread Ning Yang
This patch ports the bcm2835 system timer driver in the arm/raspberrypi directory to the shared directory. Made some changes in the include section to adapt to rpi4 BSP. --- bsps/shared/dev/clock/bcm2835-system-timer.c | 114 +++ 1 file changed, 114 insertions(+) create mode

[PATCH 2/2] bsps/aarch64/raspberrypi: Add system timer support

2024-04-07 Thread Ning Yang
2 Mohd Noor Aman - Copyright (C) 2023 Utkarsh Verma + - Copyright (C) 2024 Ning Yang type: build -enabled-by: true +enabled-by: + not: BSP_CLOCK_USE_SYSTEMTIMER build-type: objects cflags: [] @@ -24,3 +26,5 @@ links: uid: ../optgtuseps - role: build-dependency uid: obj

GSOC2024_Yang_Adding SPI, Watchdog and SD card support to Raspberry Pi 4B BSP

2024-03-15 Thread Ning Yang
Hello everyone, I have included the SD card support part in my proposal, please let me know how I can continue to improve it. The SD card support is complex, any suggestions would be very appreciated.

GSOC proposal: GSOC2024_Yang_Adding SPI and Watchdog support to Raspberry Pi4B BSP

2024-03-08 Thread Ning Yang
Hello everyone, I've prepared a draft for my proposal. Please let me know how I could improve it. Thank you inadvance. https://docs.google.com/document/d/1NjlUSWhqwUvrsQPBISU05ah0I0IGkEuq6BIThrkMBsg/edit?usp=sharing___ devel mailing list

GSOC: GSOC2024_Yang_Adding SPI and Watchdog support to Raspberry Pi 4B BSP

2024-03-06 Thread Ning Yang
I've prepared a draft for my proposal. Please let me know how I could improve it. Thank you in advance. https://docs.google.com/document/d/1NjlUSWhqwUvrsQPBISU05ah0I0IGkEuq6BIThrkMBsg/edit___ devel mailing list devel@rtems.org

[PATCH 0/2] GSOC: ​Hello World exercise

2024-02-28 Thread Ning Yang
: @yangn0 github: https://github.com/yangn0 blog: https://blog.csdn.net/qq_41058067 Ning Yang (2): hello world exercise helloworld & gdb screen snapshot hello/gdb.png | Bin 0 -> 414373 bytes hello/hello.c | 2 +- hello/hello.png | Bin 0 -> 37259 bytes 3 files changed, 1 inser

[PATCH 1/2] hello world exercise

2024-02-28 Thread Ning Yang
--- hello/hello.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hello/hello.c b/hello/hello.c index d2321d8..e074563 100644 --- a/hello/hello.c +++ b/hello/hello.c @@ -8,6 +8,6 @@ rtems_task Init( rtems_task_argument ignored) { - puts("hello, world!"); +