From e6382dccd41541551bebc1d78cee953bb4b4a85e Mon Sep 17 00:00:00 2001 From: Florian Boor Date: Fri, 17 Jul 2009 17:26:38 +0200 Subject: linux: add patch to a get rid of the horribly broken default TX25 video mode --- .../tx25/stk5-baseboard_c_vesa640.patch | 40 ++++++++++++++++++++++ recipes/linux/linux_2.6.29+2.6.30-rc4.bb | 6 ++-- 2 files changed, 43 insertions(+), 3 deletions(-) create mode 100644 recipes/linux/linux-2.6.29+2.6.30-rc4/tx25/stk5-baseboard_c_vesa640.patch (limited to 'recipes/linux') diff --git a/recipes/linux/linux-2.6.29+2.6.30-rc4/tx25/stk5-baseboard_c_vesa640.patch b/recipes/linux/linux-2.6.29+2.6.30-rc4/tx25/stk5-baseboard_c_vesa640.patch new file mode 100644 index 0000000000..c3eb357dda --- /dev/null +++ b/recipes/linux/linux-2.6.29+2.6.30-rc4/tx25/stk5-baseboard_c_vesa640.patch @@ -0,0 +1,40 @@ +--- a/arch/arm/mach-mx2/stk5-baseboard.c.orig 2009-07-17 00:57:10.000000000 +0200 ++++ b/arch/arm/mach-mx2/stk5-baseboard.c 2009-07-16 13:02:20.000000000 +0200 +@@ -613,6 +613,37 @@ + + static struct imx_fb_platform_data stk5_fb_data[] __initdata = { + { ++ /* VESA 640x480@60 */ ++ .init = stk5_gpio_lcdc_active, ++ .exit = stk5_gpio_lcdc_inactive, ++ .lcd_power = NULL, ++ .backlight_power = NULL, ++ ++ .pixclock = 39721, ++ ++ .xres = 640, ++ .yres = 480, ++ ++ .bpp = 16, ++ ++ .hsync_len = 64, ++ .right_margin = 24, ++ .left_margin = 40, ++ ++ .vsync_len = 2, ++ .lower_margin = 11, ++ .upper_margin = 32, ++ ++ .pcr = PCR_TFT | PCR_COLOR | PCR_PBSIZ_8 | ++ PCR_BPIX_16 | PCR_FLMPOL | PCR_LPPOL | PCR_SCLK_SEL, ++ .dmacr = 0x80040060, ++ ++ .cmap_greyscale = 0, ++ .cmap_inverse = 0, ++ .cmap_static = 0, ++ ++ .fixed_screen_cpu = NULL, ++ }, { + #if 1 + //.fb_mode = "Xenarc_700_Y-18", + .init = stk5_gpio_lcdc_active, diff --git a/recipes/linux/linux_2.6.29+2.6.30-rc4.bb b/recipes/linux/linux_2.6.29+2.6.30-rc4.bb index d014298dc2..0217587661 100644 --- a/recipes/linux/linux_2.6.29+2.6.30-rc4.bb +++ b/recipes/linux/linux_2.6.29+2.6.30-rc4.bb @@ -3,7 +3,7 @@ require linux.inc KERNEL_RELEASE = "2.6.30-rc4" OLD_KERNEL_RELEASE = "2.6.29" PV = "${OLD_KERNEL_RELEASE}+${KERNEL_RELEASE}" -PR = "r4" +PR = "r5" S = "${WORKDIR}/linux-${OLD_KERNEL_RELEASE}" @@ -32,5 +32,5 @@ SRC_URI_append_afeb9260 = " \ " SRC_URI_append_tx25 = " file://linux-2.6.30-rc4-git.patch;patch=1 \ - file://linux-2.6.30-rc4-karo3.diff;patch=1" - + file://linux-2.6.30-rc4-karo3.diff;patch=1 \ + file://stk5-baseboard_c_vesa640.patch;patch=1" -- cgit 1.2.3-korg