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

How to Run Custom U-Boot or Bare-Metal Program on Qbox #19

Open
alpha-beta-user opened this issue Jan 13, 2025 · 1 comment
Open

How to Run Custom U-Boot or Bare-Metal Program on Qbox #19

alpha-beta-user opened this issue Jan 13, 2025 · 1 comment

Comments

@alpha-beta-user
Copy link

alpha-beta-user commented Jan 13, 2025

This work is so handsome.

Now I want to run my own generated U-Boot or bare-metal program on Qbox. Is this feasible? What should I pay attention to when doing this?
Currently, I tried running my custom U-Boot program, and I observed (via QEMU's -d exec option) that after executing the first instruction, it directly jumps to address 0x200. Could you please help explain what might cause this behavior?

@markfoodyburton
Copy link
Contributor

Typically that's an undefined instruction, or your trying to execute e.g. an EL3 instruction while at EL1. If you need EL2 or 3 support, make sure to add has_el2 or has_el3 to your cpu configuration.

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

No branches or pull requests

2 participants