-
Notifications
You must be signed in to change notification settings - Fork 7.8k
board: arm64: Add suport for ROC-RK3588-PC #94288
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
base: main
Are you sure you want to change the base?
Conversation
Hello @KouweiLee, and thank you very much for your first pull request to the Zephyr project! |
14073d7
to
d625540
Compare
ab77320
to
d625540
Compare
(apologies for the misclick and inadvertent merge) |
d625540
to
899c90a
Compare
I have fixed problems reported by CI |
899c90a
to
14c3ae7
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Documentation can be tidied up and, more importantly, would really recommend going for "ROC-RK3588-PC" since it doesn't look like "ROC-RK3588" is an actual product, but I might have missed something. Thanks for the PR!
|
||
This will build an image with the synchronization sample app, boot it and | ||
display the following ram console output: | ||
|
||
.. code-block:: console | ||
|
||
*** Booting Zephyr OS build v4.1.0-2356-gfe6366b8045a *** | ||
thread_a: Hello World from cpu 0 on roc_rk3588! | ||
thread_b: Hello World from cpu 0 on roc_rk3588! | ||
thread_a: Hello World from cpu 0 on roc_rk3588! | ||
thread_b: Hello World from cpu 0 on roc_rk3588! | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
drop as this can easily become stale
This will build an image with the synchronization sample app, boot it and | |
display the following ram console output: | |
.. code-block:: console | |
*** Booting Zephyr OS build v4.1.0-2356-gfe6366b8045a *** | |
thread_a: Hello World from cpu 0 on roc_rk3588! | |
thread_b: Hello World from cpu 0 on roc_rk3588! | |
thread_a: Hello World from cpu 0 on roc_rk3588! | |
thread_b: Hello World from cpu 0 on roc_rk3588! |
|
||
This will build an image with the shell_module sample app, boot it and | ||
display the following ram console output: | ||
|
||
.. code-block:: console | ||
|
||
*** Booting Zephyr OS build v4.1.0-2356-gfe6366b8045a *** | ||
I/TC: Secondary CPU 1 initializing | ||
I/TC: Secondary CPU 1 switching to normal world boot | ||
Secondary CPU core 1 (MPID:0x100) is up | ||
I/TC: Secondary CPU 2 initializing | ||
I/TC: Secondary CPU 2 switching to normal world boot | ||
Secondary CPU core 2 (MPID:0x200) is up | ||
I/TC: Secondary CPU 3 initializing | ||
I/TC: Secondary CPU 3 switching to normal world boot | ||
Secondary CPU core 3 (MPID:0x300) is up | ||
thread_a: Hello World from cpu 0 on roc_rk3588! | ||
thread_b: Hello World from cpu 1 on roc_rk3588! | ||
thread_a: Hello World from cpu 0 on roc_rk3588! | ||
thread_b: Hello World from cpu 1 on roc_rk3588! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ditto (in this case it's actually referring to shell_module app, too...)
boards/firefly/roc_rk3588/board.yml
Outdated
@@ -0,0 +1,8 @@ | |||
board: | |||
name: roc_rk3588 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think it should be roc_rk3588_pc?? (and reflected everywhere, folder names, full name of the board ("ROC-RK3588-PC"), documentation page, etc.)
You don't want to have a board that's not exactly reflecting the name of your product imo, especially when we're talking about only 3 additional letters to type
Add initial device tree support for the Rockchip RK3588 SoC. The DTS describes: - Four Cortex-A55 cores with PSCI enable-method - GICv3 interrupt controller - ARMv8 timer - UART2 and UART3 (disabled by default) Signed-off-by: Guowei Li <[email protected]>
14c3ae7
to
f254b1f
Compare
ok, I have changed ROC-RK3588 to ROC-RK3588-PC in all related files and removed the contents you mentioned in doc. Thanks for advise! |
Add initial support for the ROC-RK3588-PC AArch64 board. It features a quad-core Cortex-A55 CPU based on the ARMv8.2 architecture. This commit also enables SMP, allowing all four cores to run the synchronization sample. Signed-off-by: Guowei Li <[email protected]>
f254b1f
to
e44656e
Compare
|
FWIW you may want to add a board image but this can be done as a follow up |
ok, in next pr I will do it. |
Add initial support for the ROC-RK3588-PC AArch64 board.
It features a quad-core Cortex-A55 CPU based on the ARMv8.2 architecture.
This commit also enables SMP, allowing all four cores to run the synchronization sample.
In future, we will add support for the AArch32-mode zephyr on RK3588-PC. Zephyr will run as an aarch32 guest vm on the aarch64 hypervisor.