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

Are there any possible tools to analysis domain configuration without having to manually debug by putting logs #380

Open
pascalApple opened this issue Nov 10, 2024 · 0 comments

Comments

@pascalApple
Copy link

Hi guys,
I am porting opensbi/uboot/linux to my fpga based rocket "chip",and trying to make it can run with Xilinx's IPs,such as eth/dma/spi,
However when i try to add domain dts for opensbi, opensbi just halt on
sbi_domain_finalize: platform domains_init() failed (error -3) init_coldboot: domain finalize failed (error -3)
By using logs to debug,i found that it just because there is something wrong with my domain configuration,
For example i found my sbi halts on
Non-root domains cannot add a region with only M-mode,access permissions. M-mode regions can only be part of,root domain.SU permission bits can't be all zeroes when M-mode permission,bits have at least one bit set.
It seems that there re some rules which must be obeyed when writing domain dts configurations,so are there some possible tools that can be used to analysis domain configuration in advance or some manuals that can teach me how to design them?
Many thanks

@pascalApple pascalApple changed the title Is there any possible tools to analysis domain configuration without having to manually debug by putting logs Are there any possible tools to analysis domain configuration without having to manually debug by putting logs Nov 10, 2024
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

1 participant