-
Notifications
You must be signed in to change notification settings - Fork 45
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
resources: Add scripts to make npb image for riscv #59
base: stable
Are you sure you want to change the base?
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lgtm
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I tried building this on Amarillo and encountered a timeout after an hour. The following error message may be relevant:
2024/10/15 13:31:12 packer-plugin-qemu_v1.1.0_x5.0_linux_arm64 plugin: 2024/10/15 13:31:12 Started Qemu. Pid: 2279202
2024/10/15 13:31:12 packer-plugin-qemu_v1.1.0_x5.0_linux_arm64 plugin: 2024/10/15 13:31:12 Qemu stderr: [W][94655.775624] pw.conf | [ conf.c: 1031 try_lo
ad_conf()] can't load config client.conf: No such file or directory
2024/10/15 13:31:12 packer-plugin-qemu_v1.1.0_x5.0_linux_arm64 plugin: 2024/10/15 13:31:12 Qemu stderr: [E][94655.775730] pw.conf | [ conf.c: 1060 pw_con
f_load_conf_for_context()] can't load config client.conf: No such file or directory
==> qemu.initialize: Waiting 10s for boot...
I also tried building a RISCV GAPBS disk image that had successfully built in the past, but encountered the same error message and timeout. This may indicate that the timeout is due to updating to Ubuntu 24.04 on the host machine.
It looks like for some reason the pipewire audio drivers need to be installed and enabled to have the qemu vm set up. I have added a dockerfile that setup an ubuntu 24.04 environment and gets all the dependencies required to build the riscv image. |
This PR adds scripts to make the npb disk image for the RISC-V isa.
hooks.c
file as the riscv image will need a non address version of the m5 exit events.