Re: [Article] NuttX on Ox64 BL808 RISC-V SBC: UART Interrupt and Platform-Level Interrupt Controller (PLIC)

2023-12-02 Thread Alan C. Assis
Very cool!

Your graphics are very didact too!

It could be useful for the Milk-V port as well!

Best Regards,

Alan

On Sat, Dec 2, 2023 at 8:06 PM Lee, Lup Yuen  wrote:

> Our article today is all about RISC-V Interrupts on the tiny adorable
> Pine64 Ox64 BL808 64-bit Single-Board Computer (based on Bouffalo Lab BL808
> SoC)…
>
> (1) What’s inside the Platform-Level Interrupt Controller (PLIC)
> (2) Setting up the PLIC at startup
> (3) Enabling the PLIC Interrupt for Serial Console
> (4) Handling PLIC Interrupts for UART Input
>
> We’ll walk through the steps with our work-in-progress NuttX on Ox64. But
> we’ll hit a bumpy journey…
>
> (5) Leaky Writes seem to affect adjacent PLIC Registers
> (6) Interrupt Claim doesn’t seem to work right
>
> Check out the article: https://lupyuen.codeberg.page/articles/plic2.html
>
> Lup
>


[Article] NuttX on Ox64 BL808 RISC-V SBC: UART Interrupt and Platform-Level Interrupt Controller (PLIC)

2023-12-02 Thread Lee, Lup Yuen
Our article today is all about RISC-V Interrupts on the tiny adorable
Pine64 Ox64 BL808 64-bit Single-Board Computer (based on Bouffalo Lab BL808
SoC)…

(1) What’s inside the Platform-Level Interrupt Controller (PLIC)
(2) Setting up the PLIC at startup
(3) Enabling the PLIC Interrupt for Serial Console
(4) Handling PLIC Interrupts for UART Input

We’ll walk through the steps with our work-in-progress NuttX on Ox64. But
we’ll hit a bumpy journey…

(5) Leaky Writes seem to affect adjacent PLIC Registers
(6) Interrupt Claim doesn’t seem to work right

Check out the article: https://lupyuen.codeberg.page/articles/plic2.html

Lup