Date:2012-02-23 07:16:52 (7 years 3 months ago)
Author:Xiangfu
Commit:91da747d7fedf1ba4b92baead54a3c1fde85244c
Message:m1 patches: add fix-vga-vsync-pulses.patch

Files: m1/patches/rtems/fix-the-vga-vsync-pulses.patch (1 diff)
m1/patches/rtems/series (1 diff)

Change Details

m1/patches/rtems/fix-the-vga-vsync-pulses.patch
1Index: rtems/c/src/lib/libbsp/lm32/shared/milkymist_framebuffer/framebuffer.c
2===================================================================
3--- rtems.orig/c/src/lib/libbsp/lm32/shared/milkymist_framebuffer/framebuffer.c 2012-02-23 14:09:03.000000000 +0800
4@@ -98,9 +98,9 @@
5       MM_WRITE(MM_VGA_HSYNC_START, 656);
6       MM_WRITE(MM_VGA_HSYNC_END, 752);
7       MM_WRITE(MM_VGA_HSCAN, 799);
8- MM_WRITE(MM_VGA_VSYNC_START, 491);
9- MM_WRITE(MM_VGA_VSYNC_END, 493);
10- MM_WRITE(MM_VGA_VSCAN, 523);
11+ MM_WRITE(MM_VGA_VSYNC_START, 492);
12+ MM_WRITE(MM_VGA_VSYNC_END, 494);
13+ MM_WRITE(MM_VGA_VSCAN, 524);
14       MM_WRITE(MM_VGA_CLKSEL, 0);
15       break;
16     case 1: // 800x600, pixel clock: 50MHz
17@@ -109,9 +109,9 @@
18       MM_WRITE(MM_VGA_HSYNC_START, 848);
19       MM_WRITE(MM_VGA_HSYNC_END, 976);
20       MM_WRITE(MM_VGA_HSCAN, 1040);
21- MM_WRITE(MM_VGA_VSYNC_START, 637);
22- MM_WRITE(MM_VGA_VSYNC_END, 643);
23- MM_WRITE(MM_VGA_VSCAN, 666);
24+ MM_WRITE(MM_VGA_VSYNC_START, 636);
25+ MM_WRITE(MM_VGA_VSYNC_END, 642);
26+ MM_WRITE(MM_VGA_VSCAN, 665);
27       MM_WRITE(MM_VGA_CLKSEL, 1);
28       break;
29     case 2: // 1024x768, pixel clock: 65MHz
30@@ -120,9 +120,9 @@
31       MM_WRITE(MM_VGA_HSYNC_START, 1048);
32       MM_WRITE(MM_VGA_HSYNC_END, 1184);
33       MM_WRITE(MM_VGA_HSCAN, 1344);
34- MM_WRITE(MM_VGA_VSYNC_START, 771);
35- MM_WRITE(MM_VGA_VSYNC_END, 777);
36- MM_WRITE(MM_VGA_VSCAN, 806);
37+ MM_WRITE(MM_VGA_VSYNC_START, 772);
38+ MM_WRITE(MM_VGA_VSYNC_END, 778);
39+ MM_WRITE(MM_VGA_VSCAN, 807);
40       MM_WRITE(MM_VGA_CLKSEL, 2);
41       break;
42   }
m1/patches/rtems/series
1818milkymist-midi-opt.patch # - applied 2011-12-06
1919fix-ftpd-root.patch # - applied 2012-02-02 796bb3f51cc2a1f7789a3371
2020mem-fixes.patch # - fixed 2012-02-02
21fix-the-vga-vsync-pulses.patch

Archive Download the corresponding diff file

Branches:
master



interactive