yf13 opened a new pull request, #11559:
URL: https://github.com/apache/nuttx/pull/11559
## Summary
Previously k230 kernel build needs OpenSBI wrapping for use on target, thus
leading to larger program and memory overheads. This patch adds alternative
small overhead kernel build support.
Changes:
- in arch/risc-v/src/k230:
- k230_head.S entrance renamed for sake of NUTTSBI
- k230_irq.c add M-mode handling for NUTTSBI case
- k230_mm_init.c add L3 table for smaller RAM case
- hardware/k230_plic.h add PLIC_CTRL definition
- Make.defs use CHIP_ASRCS to fix entrance selection
- in boards/risc-v/canmv230/scripts:
- Make.defs add support for NUTTSBI case
Additions:
- in boards/riscv/canmv230/:
- scripts/ld-nuttsbi.script link script for NUTTSBI case
- configs/nsbi/defconfig config for NUTTSBI case
The artifact nuttx.bin from this configuration can be used directly on
target as OpenSBI wrapping is not needed.
## Impact
K230/CanMV230 device
## Testing
Checked with CanMV230 device
## Thanks
- to @lupyuen for discussions on impact of UART IRQ to user app console
access behaviors
- to @pussuw for upstreaming NUTTSBI component
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]