-
Notifications
You must be signed in to change notification settings - Fork 6
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
Enable EE UART #68
Comments
Yes, a serial console can be helpful if one has soldered its pins. I suppose it’s a fairly straight-forward, although I’m unable to test it myself. |
You can test serial output in PCSX2. The emulator will handle Also, currently, the GS debug console is hardcoded to some values: linux/arch/mips/boot/compressed/dbg.c Lines 626 to 648 in de37b46
Can you comment on how to calculate these values? If I want to switch from 1920x1080 to some low res mode? |
Good to know, thanks!
Well, the UART isn’t implemented yet. This issue is about doing it. I think it’s a reasonable good first issue for a newcomer trying out kernel programming. :-)
Sure, I set an appropriate video mode using the I thought this GS console would never be merged, but Maciej W. Rozycki suggested it might be, in the post [PATCH 094/120] MIPS: PS2: FB: Frame buffer driver for the PlayStation 2. My responses are slow due to travelling. |
@AKuHAK, I could mention that when examining GS registers their values are impossible to read from the GS hardware itself, as these are write-only by hardware design. To solve this, the Linux kernel maintains a set of software shadow-registers that are readable by sysfs in the |
For the records here low level EE SIO description in u-boot project: |
@AKuHAK, thanks! I believe the IDE is a standard parallel ATA interface, although I’m unsure about its exact variant. The main complication is its DMA, needing bounce buffers, detailed in issue #18. |
Be able to debug via a real serial link is vital. We need to port the old driver :
https://github.com/rickgaiser/linux/blob/75027f334badf119f707e3b037c7df3698702ad5/drivers/tty/serial/ps2_uart.c
and eventually add support to get early printk, in :
https://github.com/frno7/linux/blob/ps2-main/arch/mips/boot/compressed/dbg.c
The video driver will never give us the ability to have a console. besides the fact that it requires a high resolution screen.
The text was updated successfully, but these errors were encountered: