How to enable LCD04 cape on Kernel 3.13.x

I do see the example line

cape=lcd04-01

in uEnv.txt

and based on that I thought I could get the LCD to work.

Here’s what I did:

I copied

BB-BONE-LCD4-01-00A0.dtbo

to

/boot/uboot/dtbs/am335x-boneblack-lcd4-01.dtb

and rebooted.

the system does not boot, I guess the cause is that in the LCD4 def there’s only the devicetree part for LCD4.

I also tried the same with BB-BONE-LCD4-01-00A1.dtbo, same result.

Can anybody help?

Is there a way to make thre LCD4 work on BBB and Kernel 3.13?

Do I need to merge the default dtb with the lcd4 dtb? if yes, how do I do that?

DOH!

Blame me for having a "broken" default for an example..

I don't have the "lcd04-01" static cape done for v3.13.x/v3.14.x yet.

Regards,

Sniff, too bad.

So what are the steps to do it? Take default and merge it with lcd04 or is there more magic involved?

For simple things: (usarts/spi/i2c) we can do:

https://github.com/RobertCNelson/linux-dev/blob/am33x-v3.14/patches/dts-bone-capes/0001-capes-ttyO1-ttyO2-ttyO4.patch

For the lcd, something like this
https://github.com/RobertCNelson/linux-dev/blob/am33x-v3.14/patches/static-capes/0002-Added-Argus-UPS-cape-support-BBW.patch

essentially creating another "board" dtb..

Regards,