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] ARMv8r FVP (fvp-armv8r) does not shows boot up logs and telnet to UART 1 port does not prompt to nuttx shell #13765

Closed
1 task done
govindsi opened this issue Sep 30, 2024 · 14 comments · Fixed by #14476
Assignees
Labels
blocker Release Blocker

Comments

@govindsi
Copy link
Contributor

Description

I am running fvp-armv8r Fixed Virtual Platforms (FVP) with nuttx.
Reference: https://nuttx.apache.org/docs/12.5.0/platforms/arm64/fvp-v8r/boards/fvp-armv8r/index.html

While running fvp, i don't see any boot logs and telnet to UART1 ( port 5001) does not prompts to nuttx shell.
Is the last working FVP model archived somewhere?
ARM current release has only FVP_Base_AEMv8R_11.27_19_Linux64, i am wondering if some mismatch in load address or other configurations.

FVP_Base_AEMv8R_11.27_19_Linux64/AEMv8R_base_pkg/models/Linux64_GCC-9.3/FVP_BaseR_AEMv8R -f boards/arm64/fvp-v8r/fvp-armv8r/scripts/fvp_cfg.txt -a ./nuttx
terminal_0: Listening for serial connection on port 5000
terminal_1: Listening for serial connection on port 5001
terminal_2: Listening for serial connection on port 5002
terminal_3: Listening for serial connection on port 5003

Verification

  • I have verified before submitting the report.
@govindsi govindsi changed the title [HELP] <title> ARMv8r FVP (fvp-armv8r) does not shows boot up logs and also telenet to UART 1 port does not prompt to nuttx shell [HELP] <title> ARMv8r FVP (fvp-armv8r) does not shows boot up logs and telnet to UART 1 port does not prompt to nuttx shell Sep 30, 2024
@govindsi govindsi changed the title [HELP] <title> ARMv8r FVP (fvp-armv8r) does not shows boot up logs and telnet to UART 1 port does not prompt to nuttx shell [HELP] ARMv8r FVP (fvp-armv8r) does not shows boot up logs and telnet to UART 1 port does not prompt to nuttx shell Sep 30, 2024
@acassis
Copy link
Contributor

acassis commented Oct 3, 2024

@jkivilin @pussuw @lupyuen please take a look ^

@pussuw
Copy link
Contributor

pussuw commented Oct 3, 2024

Never used FVP so no help from here

@xiaoxiang781216
Copy link
Contributor

@GUIDINGLI please take a look

@jerpelea
Copy link
Contributor

@GUIDINGLI updates?

@jerpelea
Copy link
Contributor

@xiaoxiang781216 updates?

@jerpelea
Copy link
Contributor

@raiden00pl can you help?

@jasonbu
Copy link
Contributor

jasonbu commented Oct 21, 2024

@jerpelea @govindsi I tried get newest FVP, and master of nuttx, master of nuttx-apps.
just work all right with my environment.

# nuttx dir
./tools/configure.sh -l fvp-armv8r:nsh
make -j
~/AEMv8R_base_pkg/models/Linux64_GCC-9.3/FVP_BaseR_AEMv8R -f boards/arm64/fvp-v8r/fvp-armv8r/scripts/fvp_cfg_smp.txt -a ./nuttx
# in new terminal
telnet 127.0.0.1 5001 
ostest

please let met know if the problem is already solved.

@govindsi
Copy link
Contributor Author

@jerpelea @govindsi I tried get newest FVP, and master of nuttx, master of nuttx-apps. just work all right with my environment.

# nuttx dir
./tools/configure.sh -l fvp-armv8r:nsh
make -j
~/AEMv8R_base_pkg/models/Linux64_GCC-9.3/FVP_BaseR_AEMv8R -f boards/arm64/fvp-v8r/fvp-armv8r/scripts/fvp_cfg_smp.txt -a ./nuttx
# in new terminal
telnet 127.0.0.1 5001 
ostest

please let met know if the problem is already solved.

Thank you @jasonbu for trying at ur end. Seems the problem with my setup was invalid fvp-armv8r-aarch32:nsh configuration , i was trying with aarch32 configuration as mentioned in https://nuttx.apache.org/docs/latest/platforms/arm/fvp-v8r-aarch32/boards/fvp-armv8r-aarch32/index.html. fvp-armv8r:nsh target configuration is working fine with latest ARMv8r FVP.

@jerpelea
Copy link
Contributor

@jasonbu

please try the same on releases/12.7 branch

Thanks
Alin

@jasonbu
Copy link
Contributor

jasonbu commented Oct 22, 2024

@jasonbu

please try the same on releases/12.7 branch

Thanks Alin

it means you can confirm in your environment, the releases/12.7 can still re-produce the problem? if you can provide these information, we can speed up the local re-produce and code diff. or if you can provide from which commit problem happened or since which commit problem disappear, will be very appreciate.

@jerpelea
Copy link
Contributor

@jasonbu
please try the same on releases/12.7 branch
Thanks Alin

it means you can confirm in your environment, the releases/12.7 can still re-produce the problem? if you can provide these information, we can speed up the local re-produce and code diff. or if you can provide from which commit problem happened or since which commit problem disappear, will be very appreciate.

I can't test now and I was asking you to test the release branch
Thanks
Alin

@XuNeo
Copy link
Contributor

XuNeo commented Oct 22, 2024

Tested on master branch, the fvp-armv8r:nsh_smp config is still broke.
It's related to #13640
@hujun260 Could you please check?

@hujun260
Copy link
Contributor

Tested on master branch, the fvp-armv8r:nsh_smp config is still broke. It's related to #13640 @hujun260 Could you please check?

#14476 fix this issue

@jerpelea
Copy link
Contributor

backport #14493

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
blocker Release Blocker
Projects
None yet
Development

Successfully merging a pull request may close this issue.

9 participants