Update doc

This commit is contained in:
Lee Lup Yuen 2023-11-24 20:18:53 +08:00
parent 770d8fc68f
commit 8aed05a109

View file

@ -3047,7 +3047,7 @@ We dump the PLIC and UART Registers in U-Boot...
```bash
## UART Registers
=> md 0x30002000 36
=> md 0x30002000 0x36
30002000: 00001705 00000701 00130013 00000000 ................
30002010: 009f0070 0000006f 0000000f 00000000 p...o..........
30002020: 00000012 00000fff 00000000 00000fff ................
@ -3064,7 +3064,7 @@ We dump the PLIC and UART Registers in U-Boot...
300020d0: 00000000 00000000 ........
## PLIC Interrupt Priority
=> md 0xe0000004 50
=> md 0xe0000004 0x50
e0000004: 00000000 00000000 00000000 00000000 ................
e0000014: 00000000 00000000 00000000 00000000 ................
e0000024: 00000000 00000000 00000000 00000000 ................
@ -3122,6 +3122,19 @@ TODO: Why UART Interrupt not enabled? U-Boot and OpenSBI don't use UART Interrup
TODO: What is Priority Threshold 7?
But after enabling UART IRQ, PLIC Interrupt Priority is 0 and Invalid!
```text
PLIC Interrupt Priority (0xe0000004):
0000 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
0010 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
0020 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
0030 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
0040 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
```
TODO: Set PLIC Interrupt Priority to 1
# Documentation for Ox64 BL808
![Pine64 Ox64 64-bit RISC-V SBC (Sorry for my substandard soldering)](https://lupyuen.github.io/images/ox64-solder.jpg)