Skip to content

Conversation

@enkerewpo
Copy link
Member

@enkerewpo enkerewpo commented Mar 12, 2025

@enkerewpo enkerewpo changed the title add support for platform folder for each board add platform folder for each board with improved programming abstraction Mar 12, 2025
@enkerewpo enkerewpo changed the title add platform folder for each board with improved programming abstraction [platform] add platform folder for each board with better abstraction Mar 12, 2025
@enkerewpo enkerewpo added feature New feature or request aarch64 riscv64 loongarch64 ci Github CI labels Mar 12, 2025
@enkerewpo enkerewpo added this to the hvisor-v0.1.1 milestone Mar 12, 2025
@enkerewpo enkerewpo requested a review from ZhongkaiXu March 12, 2025 14:12
Copy link
Contributor

@KouweiLee KouweiLee left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

1e5cf66cd272bb91b91e03f41a744a9
When I run hvisor on nxp imx8mp, it had some errors and would pause for two seconds. But then hvisor and root-linux can boot successfully, I am not sure if it is a problem. @ZhongkaiXu

@enkerewpo
Copy link
Member Author

enkerewpo commented Mar 13, 2025

https://github.com/syswonder/hvisor/blob/dev-board-abstract/platform/aarch64/imx8mp/cargo/features

gicv3
imx_uart
iommu

I added iommu feature to imx8mp just like qemu-* board, but is imx8mp board not using iommu? Maybe we should remove the iommu feature in platform/aarch64/imx8mp/cargo/features then.

@enkerewpo enkerewpo requested a review from KouweiLee March 13, 2025 01:45
@enkerewpo
Copy link
Member Author

removed iommu: e2fb253

@enkerewpo enkerewpo force-pushed the dev-board-abstract branch from 4353d9f to 724fa90 Compare March 13, 2025 02:04
@dallasxy
Copy link
Contributor

aarch64 may need to add features to distinguish a55 from other CPUs so that it can distinguish the mpidr2cpuid mode when merging rk35*8 code later

@enkerewpo
Copy link
Member Author

enkerewpo commented Mar 13, 2025

UPDATE:

  1. updated riscv64 dts
  2. removed iommu feature from zcu102 and updated the variables in zcu102 platform.mk
  3. add Makefile for all image/dts for dtb generation

TEST UPDATE:

  1. qemu-gicv3 and qemu-gicv2 root linux (6.14.0-rc4-gac9c34d1e45a) boot tested
  2. qemu-gicv3 and qemu-gicv2 unittest passed
  3. imx8mp root and nonroot tested
  4. riscv64 all board tested
  5. loongson 3A5000: to be tested

@enkerewpo enkerewpo merged commit 77247c3 into dev Mar 13, 2025
11 checks passed
@enkerewpo enkerewpo deleted the dev-board-abstract branch March 13, 2025 11:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants