Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
tsrrocha committed Feb 10, 2014
1 parent 35aea2f commit a5f69fa
Showing 1 changed file with 19 additions and 13 deletions.
32 changes: 19 additions & 13 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,35 +7,41 @@ Module Driver for LCD 16x2 and 16x4

Install in Beaglebone Black:
-----------------
-**1 - Copy the folder "lcd" to path [source-code-kernel-beaglebone]/drivers/misc/**
**1 - Copy the folder "lcd" to path [source-code-kernel-beaglebone]/drivers/misc/**

-**2 - Edit the file [source-code-kernel-beaglebone]/drivers/misc/Makefile**
-Add in new line the folder name of lcd folder: 'obj-y += lcd/'
**2 - Edit the file [source-code-kernel-beaglebone]/drivers/misc/Makefile**

- Add in new line the folder name of lcd folder: 'obj-y += lcd/'

> Save the ..../misc/Makefile
- Save the ..../misc/Makefile

-3 - Edit the file [source-code-kernel-beaglebone]/drivers/misc/Kconfig
**3 - Edit the file [source-code-kernel-beaglebone]/drivers/misc/Kconfig**

> Add in new line in the end of file: 'source "drivers/misc/lcd/Kconfig"'
- Add in new line in the end of file: 'source "drivers/misc/lcd/Kconfig"'

> Save the ..../misc/Kconfig
- Save the ..../misc/Kconfig

-4 - Edit the file [source-code-kernel-beaglebone]/arch/arm/boot/dts/am335x-bone-common.dtsi
**4 - Edit the file [source-code-kernel-beaglebone]/arch/arm/boot/dts/am335x-bone-common.dtsi**

- Add the following code before the SLOT@3:
slot@4 {

lcd16x2 = <&cape_lcd16x2_1>;

};

> Add the following code before the CAPE_EEPROM3:
'cape_lcd16x2_1: cape_lcd16x2_1@27 {
- Add the following code before the CAPE_EEPROM3:

cape_lcd16x2_1: cape_lcd16x2_1@27 {

compatible = "at,lcd16x2";

reg = <0x27>;
};'

>
};


5 -
**5 - **

6 - Compile the kernel source.

Expand Down

0 comments on commit a5f69fa

Please sign in to comment.