-
Notifications
You must be signed in to change notification settings - Fork 559
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
[WIP] Debug Output Patch for 1.0.0-6.2.0 #182
Conversation
Might be a good first candidate for the patcher module |
I can test that when possible.
Yeah maybe its time for patching things to get their own module, but you never know what happens next, it may still fit. |
Indeed |
So after fixing the few clumsy mistakes, this now boots. But it doesn't seem to work - at least on 6.2.0. There's no output beyond Hekate's "hello". The test is being done using a modded right joycon rail. I wonder if the DEBUG_OUTPUT_UART_CONF patch is broken somehow 🤔 . Otherwise, there's a good chance the right joycon rail isn't powered on unless the system detects a joycon or something along those lines. I'm thinking of changing my strategy - implementing an exosphere SMC that prints to UART, and have the kernel patch just forward there. It would also make the patch much more compact, and easier to port to new versions. |
What about the line inversions happening for Joy-cons? |
This reference I guess is superseded by meso uart printing. |
Implementation of https://gist.github.com/roblabla/440f3ceaa0b2d3ca530c2a43fe258420#file-03-wip-enabledebugoutput-md for 1.0.0 to 6.2.0.
Untested, as I still lack the hardware necessary. If anyone has a modded joycon rail and could make sure both the UART configuration and the OutputDebugString patches work, I'd be grateful.
To configure UART output, you should compile hekate with
-DDEBUG_OUTPUT_PORT=1
(or 2, based on whether you want right or left joycon to output uart).Note that this PR makes Hekate too fat to fit the RCM payload. You'll want to remove
-DMENU_LOGO_ENABLE
from the makefile for now if you want to test.