From 17df9fc7c5e5eda74a5b665b03280cf2c1b8ea7f Mon Sep 17 00:00:00 2001 From: Carsten Emde Date: Thu, 19 Jul 2012 15:54:25 +0000 Subject: [PATCH] --- yaml --- r: 357943 b: refs/heads/master c: bac4b7c3b5c0660c08dc4949fe40e08e20364ee3 h: refs/heads/master i: 357941: 2d9958502ed8c89a83ddd4b8081929accf652b2a 357939: 4d9a0b7a0b9c132f57f31570cea5a19d0cd40454 357935: da5645798f50466d8332a6384e91fbec8f1cc1c9 v: v3 --- [refs] | 2 +- trunk/Documentation/EDID/HOWTO.txt | 27 +++++++++++++++++++++++---- 2 files changed, 24 insertions(+), 5 deletions(-) diff --git a/[refs] b/[refs] index 74d92a807e89..1606b6a511ab 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: b5cc6c0387b2f8d269c1df1e68c97c958dd22fed +refs/heads/master: bac4b7c3b5c0660c08dc4949fe40e08e20364ee3 diff --git a/trunk/Documentation/EDID/HOWTO.txt b/trunk/Documentation/EDID/HOWTO.txt index 75a9f2a0c43d..2d0a8f09475d 100644 --- a/trunk/Documentation/EDID/HOWTO.txt +++ b/trunk/Documentation/EDID/HOWTO.txt @@ -28,11 +28,30 @@ Makefile environment are given here. To create binary EDID and C source code files from the existing data material, simply type "make". -If you want to create your own EDID file, copy the file 1024x768.S and -replace the settings with your own data. The CRC value in the last line +If you want to create your own EDID file, copy the file 1024x768.S, +replace the settings with your own data and add a new target to the +Makefile. Please note that the EDID data structure expects the timing +values in a different way as compared to the standard X11 format. + +X11: +HTimings: hdisp hsyncstart hsyncend htotal +VTimings: vdisp vsyncstart vsyncend vtotal + +EDID: +#define XPIX hdisp +#define XBLANK htotal-hdisp +#define XOFFSET hsyncstart-hdisp +#define XPULSE hsyncend-hsyncstart + +#define YPIX vdisp +#define YBLANK vtotal-vdisp +#define YOFFSET (63+(vsyncstart-vdisp)) +#define YPULSE (63+(vsyncend-vsyncstart)) + +The CRC value in the last line #define CRC 0x55 -is a bit tricky. After a first version of the binary data set is -created, it must be be checked with the "edid-decode" utility which will +also is a bit tricky. After a first version of the binary data set is +created, it must be checked with the "edid-decode" utility which will most probably complain about a wrong CRC. Fortunately, the utility also displays the correct CRC which must then be inserted into the source file. After the make procedure is repeated, the EDID data set is ready