This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

DLP2000: updating Device tree overlay DLPDLCR2000

Part Number: DLP2000
Other Parts Discussed in Thread: DLPDLCR2000EVM

Hello, 

We are attempting to update the device tree overlay DLPDLCR2000-00A0.dtbo. I ended up locating the dts file at /opt/source/bb.org-overlays/src/arm/DLPDLCR2000-OOAO.dts. However, when I attempt to compile the file to the dtbo file I get an error. 

dtc -O dtb -o DLPDLCR2000-00A0.dtbo -b 0 -@DLPDLCR2000-00A0.dts

causes the following error

PDLCR2000-00A0.dts
Error: DLPDLCR2000-00A0.dts:11.1-9 syntax error
FATAL ERROR: Unable to parse input tree

I can't seem to find a solution for this error. 

Also, I dug around to find where the overlay needs to be placed. I found three different locations where DLPDLCR2000-00A0.dtbo is located. 

    /lib/firmware/DLPDLCR2000-00A0.dtbo
    /var/tmp/mkinitramfs_hnr78y/lib/firmware/DLPDLCR2000-00A0.dtbo
    /var/tmp/mkinitramfs_UPVFx2/lib/firmware/DLPDLCR2000-00A0.dtbo

What I am having difficulties understanding is the role of each of these files. I decompiled each of them and compared them. The first two files are exactly the same. However, file three is different from the first two significantly. 

once I'm able to update the device tree. Where does the new dtbo file need to go?

Michael

  • Michael,

    Thanks for your question. Are you doing this on a standard BeagleBone Black or a custom distro?

    Typically, when I manually install the cape overlay drivers for the DLPDLCR2000EVM I refer to this github page:

    https://github.com/beagleboard/bb.org-overlays

    This page has tools which will install the compiled .dtbo files to the right place. Have you tried using this tool yet?

    Regards,

    Philippe Dollo

  • Thanks this pointed me in the right direction. Using make to build the device tree overlay worked just fine. However, there was one glich. It built the device tree overlay, but not insert the overlay into the correct directory after building. So I'm assuming, as two of the other directories are only temporary directors, I should transfer this newly built blob into the /lib/firmware directory. Is that correct?

  • Michael,

    In my experience the compiled .dtbo file should not need to manually be moved to the right folder. Did you run the install script after putting your uncompiled overlay into the overlays folder?

    You may want to verify all your BBB software is up to date. Hope this helps.

    Regards,

    Philippe Dollo