Tianma TM035: Difference between revisions
From ArmadeusWiki
SebastienSz (talk | contribs) mNo edit summary |
SebastienSz (talk | contribs) mNo edit summary |
||
| Line 29: | Line 29: | ||
</pre> | </pre> | ||
* Rebuild the device tree and update it on your board. | * Rebuild the device tree | ||
<pre class="host"> | |||
$ make linux-rebuild | |||
</pre> | |||
* Copy the new dtb file (located in ''buildroot/output/images'') in your [[tftpboot]] directory and update it on your board. In U-Boot: | |||
<pre class="apf"> | |||
BIOS> run update_dtb | |||
</pre> | |||
==Features== | ==Features== | ||
Revision as of 16:25, 13 July 2015
Description
This Tianma's LCD module allowed you to add a display and a touchscreen to your APF28Dev.
Module flat cable can be used to 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