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

Running busybear linux on recent qemu #18

Open
wants to merge 34 commits into
base: master
Choose a base branch
from

Conversation

fpetrot
Copy link

@fpetrot fpetrot commented Jul 24, 2020

Commit 087a42467405de45674f76da6a72406764cde6a6 in QEMU leads to a change of behavior when no -bios option is given, which lead to a pretty weird message that I understood only after bisecting QEMU's commits, ...
Having the now proper command line would help, I believe.

fpetrot and others added 30 commits July 24, 2020 18:30
  QEMU now needs the '-bios none' option to run busybear-linux,
  otherwise a memory overlap error is raised
Avoids the need for root priviledges while building the bootable
image for QEMU, thanks to genext2fs.
  Version update for Linux (5.9.6, still dirty hack to allow more
  than 32 riscv instances) and Busybox (1.32.0), and removing
  riscv-pk.
  Miraculously, this "falls" working, as opensbi is by default
  included somewhere and correctly configured.
Since my parsec are compiled for 64-bit, avoid trying to put them on
the disk image.
This is a bit ad-hoc, but not so many will use the parsec anyhow, even
less on 32 bits.
In build.sh using -j tend to lead to a machine failure because the
OOM killer enters the game at some point in time.
At best it kills the shell, at worse kills X11 and freezes the computer.
So remove it for now.
In image.sh the copy from sysroot was not working correctly with the
new linux version, so update that.
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

Successfully merging this pull request may close these issues.

2 participants