Personal tools

Log in

Changes

From IGEP - ISEE Wiki

Jump to: navigation, search

Mux instructions

594 bytes removed, 17:48, 15 February 2012
no edit summary
Configure kernel sources. Configuration will be permanent. There are many ways to edit source code, this method is focused for igep0020 RC without igep0022 support. <br> Go to [http://git.igep.es/?p=pub/scm/linux-omap-2.6.git;a=blob_plain;f=arch/arm/mach-omap2/board-igep0020.c;hb=db3cb47adf10504d3847d54927de50b2fa94c008 $(kernel path)/arch/arm/mach-omap2/board-igep0020.c] and search next line: <br>
<pre> static inline void igep0020_display_init(void)
static int igep0020_enable_dvi(struct omap_dss_device *dssdev)
{
if ((gpio_request(GPIO_DVI_PUP, "DVI PUP") == 0) &amp;&amp; (gpio_direction_output(GPIO_DVI_PUP, 1) == 0)) gpio_export(GPIO_DVI_PUP, 0); else pr_err("IGEP: Could not obtain gpio DVI PUP\n");
igep00x0_dvi_device.platform_enable = igep0020_enable_dvi; igep00x0_dvi_device.platform_disable = igep0020_disable_dvi;  platform_device_register(&amp;igep0020_dss_device)return 0;
}
</pre>
"static inline void igep0020_display_init(void)int igep0020_enable_dvi" initialize displayDVI. Edit to disable it: <pre>static inline void igep0020_display_initint igep0020_enable_dvi(voidstruct omap_dss_device *dssdev)
{
if ((gpio_request(GPIO_DVI_PUP, "DVI PUP") == 0) &amp;&amp; (gpio_direction_output(GPIO_DVI_PUP, 0) == 0)) gpio_export(GPIO_DVI_PUP, 0); else pr_err("IGEP: Could not obtain gpio DVI PUP\n");  igep00x0_dvi_device.platform_enable = igep0020_enable_dvi; igep00x0_dvi_device.platform_disable = igep0020_disable_dvi;
platform_device_register(&amp;igep0020_dss_device)return 0;
}
</pre>
'''Compile kernel source code'''
Use this [[Linux Kernel 2.6.35.y|tutorial]] (Kernel) and this [http://labs.igep.es/index.php/The_IGEP_X-loader other] (IGEPxloader) to install Linaro Headless (or Poky) with your custom kernel in SD card.&nbsp; You can compile the IGEPxloader, but is not necessary.<br>
= Edit mux =
4,199
edits