Tianma TM035

From ArmadeusWiki
Revision as of 16:27, 13 July 2015 by JulienB (Talk | contribs) (Description)

Jump to: navigation, search

Description

This Tianma's LCD module allow you to add a display and a touchscreen to your APF28Dev.

Module flat cable can be used to directly connect the TM035 to the APF28Dev. LCD resolution: 320x240.

How to enable Tianma TM035 support on recent kernel (3.19+)

You have to edit the APF28Dev's device tree file. The file is buildroot/output/build/linux-XXX/arch/arm/boot/dts/imx28-apf28dev.dts .

  • Find the following lines and modify them as the comment says:
...

lcdif@80030000 {
pinctrl-names = "default";
pinctrl-0 = <&lcdif_16bit_pins_a
                 &lcdif_pins_apf28dev>;
//display = <&st0700>;
/*
* To use the Tianma TM035 LCD comment the line above
* and uncomment the line below.
*/
display = <&tm035>;
status = "okay";

...
  • Rebuild the device tree
$ make linux-rebuild
  • Copy the new dtb file (located in buildroot/output/images) in your tftpboot directory and update it on your board. In U-Boot:
BIOS> run update_dtb

Features

Resources