-
Notifications
You must be signed in to change notification settings - Fork 5
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
Raspberry PI 3/4 support #7
Comments
#6 is rpi3 support, rpi4 is planned to start once rpi3 support is finished. |
Ok! |
Although since the pull request seems a bit stale, I was wondering if I could continue from where @StaticSaga stopped? |
I merged the pi3 code into master, works in a VM now ( |
|
I too personally own a rpi3 but I also don't have a rpi4. I only asked out of curiosity. As for the testing, I'll start on it tonight. |
With this at the bottom of the config:
Only getting a rainbow screen and a single uart null byte, so no dice yet |
I got the same result with the rainbow screen, but I didn't see anything on the uart. Might be my diy adapter. |
Yeah, something is going wrong. Not working, even with all the EL2 code, relocation etc commented out, and halting on non-bsps, it's still not working. Feels like we're doing something wrong somewhere that only the HW cares about in regards to the uart init. |
Have you tried commenting out the code that inits the uart. |
No, I have not. May be worth a try to see if that lets it continue on to the display. |
Well, I tried that and it didn't do anything. Still getting the same old results... |
Yeah, I don't know what the next step to proceed would be, as I can't get any uart output and I don't have the ability to hook up jtag, so I'm kind of stuck at the moment. I'll take a look at using some existing code and comparing what works and not. |
Sounds good! |
Okay, the uart seems to work now that I have a new adapter, but the bootloader only prints 2 lines |
Sabaton in release modes doesn't print a lot of debugging information, switch build.zig to building with .Debug. You will get some more information about where it is failing. |
I have discord, my username is SirNT (or devlooper) so I'll join the discord. As for building in debug mode, how would I do that (I am not familiar with zig) |
Replace the .ReleaseSmall in build.zig with .Debug |
Why so you can copy/paste the code? 😂👎 |
I am currently working on a kernel of mine that uses sabaton and was wondering if there will be support raspberry pi 3/4.
The text was updated successfully, but these errors were encountered: