uboot: out of range, how to fix?

Hello,

I have problem with u-boot logo, instead of it monitor
say something like:
OUT OF RANGE
INPUT: DVI-D
11.4kHZ/14Hz

but from linux (I have dvimode=640x480MR-16@60),
monitor works,

as I see in code (board/ti/beagle/beagle.h) of u-boot something like
this:
static const struct panel_config dvid_cfg = {
        .timing_h = 0x0ff03f31, /* Horizantal timing */
        .timing_v = 0x01400504, /* Vertical timing */
        .pol_freq = 0x00007028, /* Pol Freq */
        .divisor = 0x00010006, /* 72Mhz Pixel Clock */
        .lcd_size = 0x02ff03ff, /* 1024x768 */
        .panel_type = 0x01, /* TFT */
        .data_lines = 0x03, /* 24 Bit RGB */
        .load_mode = 0x02, /* Frame Mode */
        .panel_color = DVI_BEAGLE_ORANGE_COL /* ORANGE */
};

any manual what magic number should I use above to implement the same
signal structure as on linux with dvimode=640x480MR-16@60?

Hello,

I have problem with u-boot logo, instead of it monitor
say something like:
OUT OF RANGE
INPUT: DVI-D
11.4kHZ/14Hz

I made a patch to u-boot to fix this issue:
https://groups.google.com/d/msg/beagleboard/yLMD_ZX3d2M/vWMBoR3QMfIJ

Here are settings that work for me on an xM:
static const struct panel_config dvid_cfg_xm = {
        .timing_h = 0x1a4024c9, /* Horizontal timing */
        .timing_v = 0x02c00509, /* Vertical timing */
        .pol_freq = 0x00007028, /* Pol Freq */
        .divisor = 0x00010001, /* 96MHz Pixel Clock */
        .lcd_size = 0x02ff03ff, /* 1024x768 */
        .panel_type = 0x01, /* TFT */
        .data_lines = 0x03, /* 24 Bit RGB */
        .load_mode = 0x02, /* Frame Mode */
        .panel_color = DVI_BEAGLE_ORANGE_COL /* ORANGE */
};

but from linux (I have dvimode=640x480MR-16@60),
monitor works,

as I see in code (board/ti/beagle/beagle.h) of u-boot something like
this:
static const struct panel_config dvid_cfg = {
.timing_h = 0x0ff03f31, /* Horizantal timing */
.timing_v = 0x01400504, /* Vertical timing */
.pol_freq = 0x00007028, /* Pol Freq */
.divisor = 0x00010006, /* 72Mhz Pixel Clock */
.lcd_size = 0x02ff03ff, /* 1024x768 */
.panel_type = 0x01, /* TFT */
.data_lines = 0x03, /* 24 Bit RGB */
.load_mode = 0x02, /* Frame Mode */
.panel_color = DVI_BEAGLE_ORANGE_COL /* ORANGE */
};

any manual what magic number should I use above to implement the same
signal structure as on linux with dvimode=640x480MR-16@60?

When I tried to figure it out, I attempted to document when I learned
here: https://groups.google.com/d/msg/beagleboard/anfGLxuFWqo/NN0KLgwr9EwJ