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.

AM335x starter kit

Hi,

I am trying to display image (header stripped 480 X 272 ) on AM335x starter kit using cat image > /dev/fb0 command. I have observed offset in display. Image will clarify things in detail.

am335x-evmsk.dts

panel {
compatible = "ti,tilcdc,panel";
pinctrl-names = "default", "sleep";
pinctrl-0 = <&lcd_pins_default>;
pinctrl-1 = <&lcd_pins_sleep>;
status = "okay";
panel-info {
ac-bias = <255>;
ac-bias-intrpt = <0>;
dma-burst-sz = <16>;
bpp = <24>;
fdd = <0x80>;
sync-edge = <0>;
sync-ctrl = <1>;
raster-order = <0>;
fifo-th = <0>;
};
display-timings {
480x272 {
hactive = <480>;
vactive = <272>;
hback-porch = <43>;
hfront-porch = <8>;
hsync-len = <4>;
vback-porch = <12>;
vfront-porch = <4>;
vsync-len = <10>;
clock-frequency = <9000000>;
hsync-active = <0>;
vsync-active = <0>;
};
};
};

target board details

Linux (uname -r) : - 4.1.13

ti sdk :- ti-processor-sdk-linux-am335x-evm-02.00.01.07

I have configured starter kit not to start matrix launcher on bootup and console data is routed to LCD.

Can someone tell me how to remove this offset. 

  • Hi Amey,

    Amey Ghanekar said:
    bpp = <24>;

    Make sure your image is bpp 24.

    Amey Ghanekar said:
    I have configured starter kit not to start matrix launcher on bootup and console data is routed to LCD.

    If you use the default SDK (without any modifications) will you be able to display the image properly?

    See also if the below pointers will help:

    Regards,
    Pavel