Skip to content
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

[HELP] How to get the more cpu status when NuttX is running #14484

Closed
1 task done
lzc1001 opened this issue Oct 23, 2024 · 5 comments
Closed
1 task done

[HELP] How to get the more cpu status when NuttX is running #14484

lzc1001 opened this issue Oct 23, 2024 · 5 comments
Labels
Community: Question Further information is requested

Comments

@lzc1001
Copy link

lzc1001 commented Oct 23, 2024

Description

Hi everyone,
I have boot NuttX on FVP multi-core, and those cores are armv8a arch, but I don't know how to get the status of each core.
I found "coredump" command in NuttX documentation, but I don't know how to use it on FVP. It seem that this command isn't support FVP
Thank you every much!

Verification

  • I have verified before submitting the report.
@lzc1001 lzc1001 added the Community: Question Further information is requested label Oct 23, 2024
@xiaoxiang781216
Copy link
Contributor

which state do you want to get?

@lzc1001 lzc1001 changed the title [HELP] How to get the more status when NuttX is running [HELP] How to get the more cpu status when NuttX is running Oct 24, 2024
@lzc1001
Copy link
Author

lzc1001 commented Oct 24, 2024

@xiaoxiang781216 I want to get each core ID by /proc/cpuinfo on FVP A510, But the related code isn't implemented for ARMV8A. I want get these information to verify multi-core are both active. I am also trying to write a simple multi-task code for verifing this.

@lzc1001
Copy link
Author

lzc1001 commented Oct 24, 2024

@xiaoxiang781216 hhh, I have run apps/testing/smp_main.c to verify each core is activity. Thank you very much, I wonder if there's another way to check or prove this?😄

@xiaoxiang781216
Copy link
Contributor

ps could also show multiple idle thread, and testing/cpuload could simulate the loading on the specific cpu core.

@lzc1001
Copy link
Author

lzc1001 commented Oct 24, 2024

@xiaoxiang781216 Thank you very much!

@lzc1001 lzc1001 closed this as completed Oct 24, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Community: Question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants