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

qemu error while building #12

Open
Momen-MKadry opened this issue Oct 13, 2023 · 4 comments
Open

qemu error while building #12

Momen-MKadry opened this issue Oct 13, 2023 · 4 comments

Comments

@Momen-MKadry
Copy link
Contributor

While building and also running the command directly from the terminal I get this error:

qemu: Bad ram pointer 0x7fbe6150002e 
make: *** [GNUmakefile:72: qemu] Aborted (core dumped)

The terminal process "/usr/bin/bash '-c', 'make qemu'" terminated with exit code: 2.
@Shehapp
Copy link

Shehapp commented Oct 13, 2023

did you solve it

@Momen-MKadry
Copy link
Contributor Author

No :/

@josefnagy1999
Copy link

If you setup your environment correctly and see this error, Then you should modify the "GNUmakefile" file inside fos-v2 folder

TOOLPREFIX := /opt/cross/bin/i386-elf-

This way it can allocate the file correctly

@Momen-MKadry
Copy link
Contributor Author

Momen-MKadry commented Oct 5, 2024

Thanks for your reply, this fixed this problem.

There is an issue with QEMU not supporting scrolling and the output for some tests in coming milestones will be unreadable because of this, I found a solution for it and added it to a fork I made, https://github.com/Momen-MKadry/fos-v2.git.

I also added you solution to it.

You jut replace the serial in the same GNUmakefile with parallel. This will mirror the QEMU terminal to the VSCode terminal where you can zoom and scroll freely.

Again thanks a lot for your help.

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

3 participants