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

MS2109 Horizontal Front Porch adjustment #10

Open
HotelMoted opened this issue Jun 26, 2023 · 8 comments
Open

MS2109 Horizontal Front Porch adjustment #10

HotelMoted opened this issue Jun 26, 2023 · 8 comments

Comments

@HotelMoted
Copy link

Hey I was wondering if there was a way to lessen the "Horizontal Front Porch" with ms-tools? I got this black bar on the left side of the video signal, and I was trying to figure out if I could change the EDID information to move the entire video stream a bit to the left?

@HotelMoted
Copy link
Author

I have already tried to rewrite the edid, but apparently it does not take effect, see how the circles on the right are cut off and there is a black bar on the left edge of the screen, is there a way to fix this?
screen

@BertoldVdb
Copy link
Owner

BertoldVdb commented Sep 6, 2023

Hello,

How did you change the EDID? To change it at runtime on the MS2130 this should work:
./cli --log-level=7 write-file RAM 0xf900 edid.bin
The edid.bin needs to be 256 bytes, you cannot verify the write as you only read zeroes

It is also possible to change it in flash, I now know how to recalculate the checksum and will post this in a few days.

Sincerely,
Bertold

@msbroadf
Copy link

Did you manage to figure out how to recalculate the checksum for the firmware on the MS2130?
I would like to change the serial number of the chip (all seem to report 20210621 as the serial)

@markvdb
Copy link

markvdb commented Sep 12, 2023

@BertoldVdb we'd also be very interested in learning about the ms2130's checksumming algo and/or a ready-to-go implementation. Might come in handy for the new FOSDEM video boxes...

@BertoldVdb
Copy link
Owner

I was a bit busy, here is the checksum calculation code: https://github.com/BertoldVdb/ms-tools/blob/main/mshal/ms213x/csum.go

@FallingSnow
Copy link

Does changing the edid using ./cli --log-level=7 write-file RAM 0xf900 edid.bin work for the ms2109 as well?

@BertoldVdb
Copy link
Owner

I am not sure, you can try it... In any case you can replace the EDID in the EEPROM easily on MS2109.

@FallingSnow
Copy link

It didn't seem to work. I wrote the edid to f900 and tried unplugging and plugging in the hdmi connection. No edid change.

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

5 participants