Waveshare LCD 4.3" cape and Linux 4.4.19

Hello all,

I’ve just started working with BBB. I’m trying to build my own OS using buildroot 2016.08 and Beaglebone official kernel https://github.com/beagleboard/linux .
I have so far succeeded in booting my build and getting SSH into it, but now I want to support this Waveshare 4.3" inch LCD cape http://www.waveshare.com/wiki/LCD_CAPE_(4.3inch)

I have enabled Bone Capemgr in kernel configuration.

Then, I compiled dtb of DVK530-LCD4-01-00A0.dts which has been provided by Waveshare into /lib/firmware, but it doesn’t seem to get loaded when I specify it’s name as:

cd /sys/devices/platform/bone_capemgr

cat slots

0: PF---- -1
1: PF---- -1
2: PF---- -1
3: PF---- -1

echo DVK530-LCD4-01-00A0 > slots

[ 41.829893] bone_capemgr bone_capemgr: part_number ‘DVK530-LCD4-01-00A0’, version ‘N/A’
[ 41.841336] bone_capemgr bone_capemgr: slot #4: override
[ 41.849840] bone_capemgr bone_capemgr: Using override eeprom data at slot 4
[ 41.859965] bone_capemgr bone_capemgr: slot #4: ‘Override Board Name,00A0,Override Manuf,DVK530-LCD4-01-0’
-sh: write error: No such file or directory

Waveshare has supplied additional DTS files and they seem to deviate significantly from the official am335x-boneblack dts file provided in tree by beagleboard kernel. But I’m unable to compile it, for instance when I put am335x-boneblack-lcd4.dts inside arch/arm/boot/dts/ I get this:

DTC arch/arm/boot/dts/am335x-boneblack-lcd4.dtb
Error: arch/arm/boot/dts/am33xx.dtsi:11.1-9 syntax error
FATAL ERROR: Unable to parse input tree
scripts/Makefile.lib:293: recipe for target ‘arch/arm/boot/dts/am335x-boneblack-lcd4.dtb’ failed
make[3]: *** [arch/arm/boot/dts/am335x-boneblack-lcd4.dtb] Error 1
arch/arm/Makefile:333: recipe for target ‘am335x-boneblack-lcd4.dtb’ failed
make[2]: *** [am335x-boneblack-lcd4.dtb] Error 2
package/pkg-generic.mk:201: recipe for target ‘/home/nilesh/BBB/buildroot-2016.08/output/build/linux-1e63edb14e49a4360ba05cd12fc6b0e53c66a955/.stamp_built’ failed
make[1]: *** [/home/nilesh/BBB/buildroot-2016.08/output/build/linux-1e63edb14e49a4360ba05cd12fc6b0e53c66a955/.stamp_built] Error 2
Makefile:41: recipe for target ‘_all’ failed
make: *** [_all] Error 2

It seems something is incompatible regarding the DTS file they have supplied vs what is supported by the latest BBB kernel. Can somebody help me understand where I’m going wrong and how do I get this thing working?
I have attached the kernel bootlog and configuration I’m using right now for my image.

bootlog.txt (10.8 KB)

linux.config (62.4 KB)

Use this version:

https://github.com/beagleboard/bb.org-overlays/blob/master/src/arm/DVK530-LCD4-01-00A0.dts

I imported it last January into our bb.org-overlays repo, but i have
no hardware to test..

Regards,

Does it require some different kind of DTC? I'm getting error when trying to
compile it to dtbo using scripts/dtc/dtc inside linux directory as well as
buildroot's dtc.

Just to clear the confusion,

% output/host/usr/bin/dtc --version
Version: DTC 1.4.1-gcc54a7b7-dirty

% output/build/linux-1e63edb14e49a4360ba05cd12fc6b0e53c66a955/scripts/dtc/dtc --version
Version: DTC 1.4.1-g5aaeb52e