3 Replies Latest reply on Mar 27, 2018 10:35 AM by alager

    Beaglebone Black and LCD bb-cape-disp-ct43 and Debian 9.3

    alager

      Hi I'm having trouble getting my 4.3" LCD to work with Debian 9.x (Stretch).  The LCD works with the Debian 8.x image (jessie) provided by element14, so I know the hardware is good and connected correctly.

      From my understanding, with version 8 the LCD is loaded via kernel overlays, whereas with version 9 it's been migrated to uBoot overlays.

      Also from my reading, it sounds like uBoot should detect the LCD and add the overlay automatically.  I've tried both the IOT image and the full desktop image, neither one activates the LCD.

      Below are my uEnv.txt and syslog files

       

      /boot/uEnv.txt:

      #Docs: http://elinux.org/Beagleboard:U-boot_partitioning_layout_2.0

       

      uname_r=4.9.45-ti-r57

      #uuid=

      #dtb=

       

      ###U-Boot Overlays###

      ###Documentation: http://elinux.org/Beagleboard:BeagleBoneBlack_Debian#U-Boot_Overlays

      ###Master Enable

      enable_uboot_overlays=1

      ###

      ###Overide capes with eeprom

      #uboot_overlay_addr0=/lib/firmware/<file0>.dtbo

      #uboot_overlay_addr1=/lib/firmware/<file1>.dtbo

      #uboot_overlay_addr2=/lib/firmware/<file2>.dtbo

      #uboot_overlay_addr3=/lib/firmware/<file3>.dtbo

      ###

      ###Additional custom capes

      #uboot_overlay_addr4=/lib/firmware/<file4>.dtbo

      #uboot_overlay_addr5=/lib/firmware/<file5>.dtbo

      #uboot_overlay_addr6=/lib/firmware/<file6>.dtbo

      #uboot_overlay_addr7=/lib/firmware/<file7>.dtbo

      ###

      ###Custom Cape

      #dtb_overlay=/lib/firmware/<file8>.dtbo

      ###

      ###Disable auto loading of virtual capes (emmc/video/wireless/adc)

      #disable_uboot_overlay_emmc=1

      #disable_uboot_overlay_video=1

      #disable_uboot_overlay_audio=1

      #disable_uboot_overlay_wireless=1

      #disable_uboot_overlay_adc=1

      ###

      ###PRUSS OPTIONS

      ###pru_rproc (4.4.x-ti kernel)

      #uboot_overlay_pru=/lib/firmware/AM335X-PRU-RPROC-4-4-TI-00A0.dtbo

      ###pru_uio (4.4.x-ti & mainline/bone kernel)

      uboot_overlay_pru=/lib/firmware/AM335X-PRU-UIO-00A0.dtbo

      ###

      ###Cape Universal Enable

      enable_uboot_cape_universal=1

      ###

      ###Debug: disable uboot autoload of Cape

      #disable_uboot_overlay_addr0=1

      #disable_uboot_overlay_addr1=1

      #disable_uboot_overlay_addr2=1

      #disable_uboot_overlay_addr3=1

      ###

      ###U-Boot fdt tweaks...

      #uboot_fdt_buffer=0x60000

      ###U-Boot Overlays###

       

      cmdline=coherent_pool=1M net.ifnames=0 quiet

       

      #In the event of edid real failures, uncomment this next line:

      #cmdline=coherent_pool=1M net.ifnames=0 quiet video=HDMI-A-1:1024x768@60e

       

      ##Example v3.8.x

      #cape_disable=capemgr.disable_partno=

      #cape_enable=capemgr.enable_partno=

       

       

       

      syslog:

      Mar  6 23:32:09 beaglebone kernel: [    2.839586] bone_capemgr bone_capemgr: slot #0: 'BB-CAPE-DISP-CT43,00A0,Embest,BB-CAPE-DISP-CT4'

      Mar  6 23:32:09 beaglebone kernel: [    2.876830] bone_capemgr bone_capemgr: slot #1: No cape found

      Mar  6 23:32:09 beaglebone kernel: [    2.907839] bone_capemgr bone_capemgr: slot #2: No cape found

      Mar  6 23:32:09 beaglebone kernel: [    2.913668] usb 1-1: new high-speed USB device number 2 using musb-hdrc

      Mar  6 23:32:09 beaglebone kernel: [    2.940330] bone_capemgr bone_capemgr: slot #3: No cape found

      Mar  6 23:32:09 beaglebone kernel: [    2.946424] bone_capemgr bone_capemgr: initialized OK.

      Mar  6 23:32:09 beaglebone kernel: [    2.949063] PM: bootloader does not support rtc-only!

      Mar  6 23:32:09 beaglebone kernel: [    2.950110] omap_rtc 44e3e000.rtc: setting system clock to 2000-01-01 00:00:00 UTC (946684800)

      Mar  6 23:32:09 beaglebone kernel: [    2.950126] of_cfs_init

      Mar  6 23:32:09 beaglebone kernel: [    2.950273] of_cfs_init: OK

      Mar  6 23:32:09 beaglebone kernel: [    2.950808] PM: Hibernation image not present or could not be loaded.

      Mar  6 23:32:09 beaglebone kernel: [    2.953234] Freeing unused kernel memory: 1024K

      Mar  6 23:32:09 beaglebone kernel: [    3.064704] usb 1-1: New USB device found, idVendor=05e3, idProduct=0610

      Mar  6 23:32:09 beaglebone kernel: [    3.064723] usb 1-1: New USB device strings: Mfr=1, Product=2, SerialNumber=0

      Mar  6 23:32:09 beaglebone kernel: [    3.064731] usb 1-1: Product: USB2.0 Hub

      Mar  6 23:32:09 beaglebone kernel: [    3.064739] usb 1-1: Manufacturer: GenesysLogic

      Mar  6 23:32:09 beaglebone kernel: [    3.066260] hub 1-1:1.0: USB hub found

      Mar  6 23:32:09 beaglebone kernel: [    3.067388] hub 1-1:1.0: 4 ports detected

      Mar  6 23:32:09 beaglebone kernel: [    3.316415] input: EP0510M09 as /devices/platform/ocp/4819c000.i2c/i2c-2/2-0038/input/input1

      Mar  6 23:32:09 beaglebone kernel: [    3.320633] backlight supply power not found, using dummy regulator

      Mar  6 23:32:09 beaglebone kernel: [    3.324847] pinctrl-single 44e10800.pinmux: pin PIN40 already requested by 0-0070; cannot claim for panel

      Mar  6 23:32:09 beaglebone kernel: [    3.357723] pinctrl-single 44e10800.pinmux: pin-40 (panel) status -22

      Mar  6 23:32:09 beaglebone kernel: [    3.367739] usb 1-1.4: new high-speed USB device number 3 using musb-hdrc

      Mar  6 23:32:09 beaglebone kernel: [    3.379759] pinctrl-single 44e10800.pinmux: could not request pin 40 (PIN40) from group pinmux_bb_lcd_lcd_pins  on device pinctrl-single

      Mar  6 23:32:09 beaglebone kernel: [    3.414625] panel panel: Error applying setting, reverse things back

      Mar  6 23:32:09 beaglebone kernel: [    3.427708] panel: probe of panel failed with error -22

      Mar  6 23:32:09 beaglebone kernel: [    3.428201] bone_capemgr bone_capemgr: slot #0: dtbo 'BB-CAPE-DISP-CT4-00A0.dtbo' loaded; overlay id #0

       

       

      Any help in getting this going would be greatly appreciated.

       

      Thanks,

      Aaron

        • Re: Beaglebone Black and LCD bb-cape-disp-ct43 and Debian 9.3
          alager

          working on this a bit more I  still have no LCD display working.

           

          I added to the top of the /boot/uEnv.txt file

          dtb=am335x-boneblack-overlay.dtb

          which according to https://elinux.org/Beagleboard:BeagleBone_Debian_Image_Migration#Disabling_eMMC_or_HDMI should turn off HDMI.  But maybe it's turning off too much?  See syslog below.

          All virtual overlay commands are commented out.

           

          I can change the dip switches on the cape and the LCD will load to the assigned slot.

          debian@beaglebone:~$ cat /sys/devices/platform/bone_capemgr/slots

          0: PF----  -1

          1: PF----  -1

          2: PF----  -1

          3: P---L-   0 BB-CAPE-DISP-CT43,00A0,Embest,BB-CAPE-DISP-CT4

           

          syslog:

          Mar  9 22:11:00 beaglebone kernel: [    1.821695] bone_capemgr bone_capemgr: slot #3: 'BB-CAPE-DISP-CT43,00A0,Embest,BB-CAPE-DISP-CT4'

          Mar  9 22:11:00 beaglebone kernel: [    1.830940] bone_capemgr bone_capemgr: initialized OK.

          Mar  9 22:11:00 beaglebone kernel: [    1.833495] PM: bootloader does not support rtc-only!

          Mar  9 22:11:00 beaglebone kernel: [    1.834546] omap_rtc 44e3e000.rtc: setting system clock to 2018-03-09 22:10:49 UTC (1520633449)

          Mar  9 22:11:00 beaglebone kernel: [    1.834560] of_cfs_init

          Mar  9 22:11:00 beaglebone kernel: [    1.834697] of_cfs_init: OK

          Mar  9 22:11:00 beaglebone kernel: [    1.835448] PM: Hibernation image not present or could not be loaded.

          Mar  9 22:11:00 beaglebone kernel: [    1.835590] ALSA device list:

          Mar  9 22:11:00 beaglebone kernel: [    1.835596]   No soundcards found.

          Mar  9 22:11:00 beaglebone kernel: [    1.837749] Freeing unused kernel memory: 1024K

          Mar  9 22:11:00 beaglebone kernel: [    1.855591] tilcdc 4830e000.lcdc: no encoders/connectors found

          Mar  9 22:11:00 beaglebone kernel: [    1.991337] usb 1-1: new high-speed USB device number 2 using musb-hdrc

          Mar  9 22:11:00 beaglebone kernel: [    2.143004] usb 1-1: New USB device found, idVendor=05e3, idProduct=0610

          Mar  9 22:11:00 beaglebone kernel: [    2.143023] usb 1-1: New USB device strings: Mfr=1, Product=2, SerialNumber=0

          Mar  9 22:11:00 beaglebone kernel: [    2.143031] usb 1-1: Product: USB2.0 Hub

          Mar  9 22:11:00 beaglebone kernel: [    2.143038] usb 1-1: Manufacturer: GenesysLogic

          Mar  9 22:11:00 beaglebone kernel: [    2.147406] hub 1-1:1.0: USB hub found

          Mar  9 22:11:00 beaglebone kernel: [    2.148016] hub 1-1:1.0: 4 ports detected

          Mar  9 22:11:00 beaglebone kernel: [    2.195974] input: EP0510M09 as /devices/platform/ocp/4819c000.i2c/i2c-2/2-0038/input/input1

          Mar  9 22:11:00 beaglebone kernel: [    2.196919] backlight supply power not found, using dummy regulator

          Mar  9 22:11:00 beaglebone kernel: [    2.198432] bone_capemgr bone_capemgr: slot #3: dtbo 'BB-CAPE-DISP-CT4-00A0.dtbo' loaded; overlay id #0

           

           

          still looking for advice

          Thanks,

          Aaron