This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

Increase video memory on Sitara AM335x Starter Kit

Hi everyone,

We are experimenting with Sitara AM335x Starter Kit and swapped the touchscreen for a 5 inch (800x480) model. We can't seem to render the screen in the correct resolution. When setting the frame buffer with fbset the correct resolution isn't accepted. Only when using 16bit pixel depth, the resolution is correct, but of course the colors are all messed up. It looks like there is not enough video memory allocated. 

How can I increase the vram on this board? We are booting from a TFTP server as described in the TI tutorials.

Kind regards,

Martijn Tijsma

  • Hi Martijn,

    Could you specify which sdk do you use 6 or 7. But usually memory allocation and dimension of display are defined in driver/video/displaydriver.c file in a ...probe() function. There are structure where you can define the correct display settings as height, width, bpp, ...

    BR
    Ivan
  • Hi Ivan

    Thanks for the reply.

    We are using SDK version 7.  Just did a quick search, but can't seem to find the correct file.

    Martijn

  • Hi Martijn,

    Please see in the <>/linux-3.12.10-ti2013.12.01/arch/arm/boot/dts/am335x-evmsk.dts and <>/linux-3.12.10-ti2013.12.01/arch/arm/boot/dts/am33xx.dtsi files for initialization of LCD. Also I use for my board <>/linux-3.12.10-ti2013.12.01/drivers/video/da8xx-fb.c driver. There are not any enabled prints, but you can put some printk to see if this is your driver.

    BR
    Ivan