-
Notifications
You must be signed in to change notification settings - Fork 1.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
risc-v/k230: initial Asymmetric Multi-Processing support #11673
Conversation
f15055e
to
e4411bb
Compare
rpmsg_ping.c is blocking CI checks for RPTUN related patches like apache#11673. this patch simply fix the compilation issue of rpmsg_ping.c: - line 191: overflow conversion from "long unsigned int" to "unsigned int" - line 226: "sendlen" used uninitialized Signed-off-by: Yanfeng Liu <yfliu2008@qq.com>
rpmsg_ping.c is blocking CI checks for RPTUN related patches like #11673. this patch simply fix the compilation issue of rpmsg_ping.c: - line 191: overflow conversion from "long unsigned int" to "unsigned int" - line 226: "sendlen" used uninitialized Signed-off-by: Yanfeng Liu <yfliu2008@qq.com>
e4411bb
to
4125998
Compare
@yf13 suggestion: please extent this Testing and create an entry at https://nuttx.apache.org/docs/latest/platforms/risc-v/k230/boards/canmv230/index.html explain how to use it. So more people could test it easily and also it will avoid another hidden feature. |
4125998
to
e4d00b9
Compare
@acassis thanks for reminding, the doc has been updated and passed documentation checks. |
e4d00b9
to
a7e03c8
Compare
a7e03c8
to
43d63bc
Compare
43d63bc
to
a802aea
Compare
K230 chip has two T-Head C908 RiscV cores, previously we run NuttX on either little or big cores. This patch runs NuttX on both cores with OpenAMP support via the RPTUN driver. New additions: - in arch/risc-v/src/k230 - k230_rptun.c K230 RPTUN driver - k230_rptun.h K230 RPTUN driver header file - in baords/risc-v/k230/canmv230 - configs/master Build config for master node - configs/remote Build config for remote node - scripts/ld-rptun.script Build script for RPTUN Major changes: - arch/risc-v/Kconfig Select NUTTSBI_LATE_INIT upon NUTTSBI - in arch/risc-v/include - k230/irq.h Add UART3 IRQ defs - in arch/risc-v/src/k230 - Kconfig Add RPTUN related config items - Make.defs Add k230-rptun.c to sources - hardware/k230_memorymap.h Add K230 device and CSR defs - k230_hart.c Add hart ctrl for RPTUN - k230_hart.h Add hart ctrl for RPTUN - k230_mm_init.c Add Svpmbt to support RPTUN - k230_start.c Revised to support RPMsg UART - in boards/risc-v/k230/canmv230 - scripts/Make.defs Add RPTUN script selection - src/canmv_init.c Add RPTUN and RPMsg_UART initialization - in Documentation/platforms/risc-v/k230/boards/canmv230 - index.rst Add AMP usage information. Signed-off-by: Yanfeng Liu <yfliu2008@qq.com>
a802aea
to
0ecd623
Compare
@xiaoxiang781216 and @acassis it seems that
|
rpmsg_ping.c is blocking CI checks for RPTUN related patches like apache#11673. this patch simply fix the compilation issue of rpmsg_ping.c: - line 191: overflow conversion from "long unsigned int" to "unsigned int" - line 226: "sendlen" used uninitialized Signed-off-by: Yanfeng Liu <yfliu2008@qq.com>
rpmsg_ping.c is blocking CI checks for RPTUN related patches like apache#11673. this patch simply fix the compilation issue of rpmsg_ping.c: - line 191: overflow conversion from "long unsigned int" to "unsigned int" - line 226: "sendlen" used uninitialized Signed-off-by: Yanfeng Liu <yfliu2008@qq.com>
Summary
K230 chip has two T-Head C908 RiscV cores, previously we run NuttX either on little or big cores. This patch runs NuttX on both cores with OpenAMP support via the RPTUN driver and the Svpbmt extension of T-Head C908.
New additions:
in arch/risc-v/src/k230
in boards/risc-v/k230/canmv230
Major changes:
Impact
CanMV230 device
Testing
Checked with CanMV230 device:
Thanks