Ticket #11068: Disable-frame-buffer-for-now-2.patch

File Disable-frame-buffer-for-now-2.patch, 1.4 KB (added by arvindsraj, 5 years ago)
  • src/system/boot/platform/u-boot/video.cpp

    From 91bc9af186eb67730afb7431224772e0f5f2a241 Mon Sep 17 00:00:00 2001
    From: Arvind S Raj <sraj.arvind@gmail.com>
    Date: Mon, 28 Jul 2014 19:28:41 +0530
    Subject: [PATCH] Disable frame buffer for now since it's not essential. Fix
     involves correcting fault when writing to CM_CLKSEL_DSS during frame buffer
     initialisation.
    
    ---
     src/system/boot/platform/u-boot/video.cpp | 6 +++++-
     1 file changed, 5 insertions(+), 1 deletion(-)
    
    diff --git a/src/system/boot/platform/u-boot/video.cpp b/src/system/boot/platform/u-boot/video.cpp
    index f7c4c72..1faabe1 100644
    a b platform_init_video(void)  
    110110        gFramebuffer = arch_get_fb_arm_920(0x88000000);
    111111    #elif defined(BOARD_CPU_OMAP3)
    112112        extern ArchFramebuffer *arch_get_fb_arm_omap3(addr_t base);
    113         gFramebuffer = arch_get_fb_arm_omap3(0x88000000);
     113        //FIXME: This is disabled because writing to CM_CLKSEL_DSS during the initialisation
     114        //of the framebuffer driver on OMAP3 triggers a floating point exception
     115        //(tested in qemu-linaro from git at commit ac0bfdb9c310276521e5b089d7f36c1f610ca60b)
     116        //gFramebuffer = arch_get_fb_arm_omap3(FB_BASE);
     117        gFramebuffer = NULL;
    114118    #elif defined(BOARD_CPU_PXA270)
    115119        ArchFramebuffer *arch_get_fb_arm_pxa270(addr_t base);
    116120        gFramebuffer = arch_get_fb_arm_pxa270(0xA3000000);