DART-6UL 128MB DRAM

From Variscite Wiki
Revision as of 09:02, 22 December 2016 by Admin (talk | contribs) (Initial version)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Using LCD display

Apply the following patch to the Linux kernel source to fix framebuffer memory allocation:

<syntaxhighlight lang="diff"> diff --git a/drivers/video/fbdev/mxsfb.c b/drivers/video/fbdev/mxsfb.c index deec998..dd2f481 100644 --- a/drivers/video/fbdev/mxsfb.c +++ b/drivers/video/fbdev/mxsfb.c @@ -1249,7 +1249,7 @@ static int mxsfb_init_fbinfo(struct mxsfb_info *host)

       fb_info->fix.line_length =
               fb_info->var.xres * (fb_info->var.bits_per_pixel >> 3);

- fb_info->fix.smem_len = SZ_32M; + fb_info->fix.smem_len = SZ_16M;

       /* Memory allocation for framebuffer */
       if (mxsfb_map_videomem(fb_info) < 0)