element14 Community
element14 Community
    Register Log In
  • Site
  • Search
  • Log In Register
  • Community Hub
    Community Hub
    • What's New on element14
    • Feedback and Support
    • Benefits of Membership
    • Personal Blogs
    • Members Area
    • Achievement Levels
  • Learn
    Learn
    • Ask an Expert
    • eBooks
    • element14 presents
    • Learning Center
    • Tech Spotlight
    • STEM Academy
    • Webinars, Training and Events
    • Learning Groups
  • Technologies
    Technologies
    • 3D Printing
    • FPGA
    • Industrial Automation
    • Internet of Things
    • Power & Energy
    • Sensors
    • Technology Groups
  • Challenges & Projects
    Challenges & Projects
    • Design Challenges
    • element14 presents Projects
    • Project14
    • Arduino Projects
    • Raspberry Pi Projects
    • Project Groups
  • Products
    Products
    • Arduino
    • Avnet Boards Community
    • Dev Tools
    • Manufacturers
    • Multicomp Pro
    • Product Groups
    • Raspberry Pi
    • RoadTests & Reviews
  • About Us
  • Store
    Store
    • Visit Your Store
    • Choose another store...
      • Europe
      •  Austria (German)
      •  Belgium (Dutch, French)
      •  Bulgaria (Bulgarian)
      •  Czech Republic (Czech)
      •  Denmark (Danish)
      •  Estonia (Estonian)
      •  Finland (Finnish)
      •  France (French)
      •  Germany (German)
      •  Hungary (Hungarian)
      •  Ireland
      •  Israel
      •  Italy (Italian)
      •  Latvia (Latvian)
      •  
      •  Lithuania (Lithuanian)
      •  Netherlands (Dutch)
      •  Norway (Norwegian)
      •  Poland (Polish)
      •  Portugal (Portuguese)
      •  Romania (Romanian)
      •  Russia (Russian)
      •  Slovakia (Slovak)
      •  Slovenia (Slovenian)
      •  Spain (Spanish)
      •  Sweden (Swedish)
      •  Switzerland(German, French)
      •  Turkey (Turkish)
      •  United Kingdom
      • Asia Pacific
      •  Australia
      •  China
      •  Hong Kong
      •  India
      •  Korea (Korean)
      •  Malaysia
      •  New Zealand
      •  Philippines
      •  Singapore
      •  Taiwan
      •  Thailand (Thai)
      • Americas
      •  Brazil (Portuguese)
      •  Canada
      •  Mexico (Spanish)
      •  United States
      Can't find the country/region you're looking for? Visit our export site or find a local distributor.
  • Translate
  • Profile
  • Settings
BeagleBoard
  • Products
  • Dev Tools
  • Single-Board Computers
  • BeagleBoard
  • More
  • Cancel
BeagleBoard
Forum Beaglebone Black and LCD bb-cape-disp-ct43 and Debian 9.3
  • Blog
  • Forum
  • Documents
  • Quiz
  • Polls
  • Files
  • Members
  • Mentions
  • Sub-Groups
  • Tags
  • More
  • Cancel
  • New
Join BeagleBoard to participate - click to join for free!
Actions
  • Share
  • More
  • Cancel
Forum Thread Details
  • State Verified Answer
  • Replies 3 replies
  • Subscribers 101 subscribers
  • Views 3058 views
  • Users 0 members are here
  • debian
  • stretch
  • beaglebone black cape
  • lcd cape
Related

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

alager
alager over 7 years ago

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

  • Sign in to reply
  • Cancel
Parents
  • alager
    0 alager over 7 years ago

    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

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
Reply
  • alager
    0 alager over 7 years ago

    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

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
Children
  • alager
    0 alager over 7 years ago in reply to alager

    Still haven't gotten this to work.

     

    $cat /sys/devices/platform/bone_capemgr/slot*

     

    For both Jessie and Stretch I get the same:

    0: PF----  -1

    1: PF----  -1

    2: PF----  -1

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

     

    So why on stretch is the LCD not working?

    Does it have to do with the syslog noting: "backlight supply power not found, using dummy regulator" ?  This message is only present when I boot Stretch.

     

    still looking for advice

    Thanks,

    Aaron

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • alager
    0 alager over 7 years ago in reply to alager

    This was solved over at the beagle bone community

     

    https://groups.google.com/forum/?utm_medium=email&utm_source=footer#!category-topic/beagleboard/beaglebone-black/ZmB_i3R…

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Reject Answer
    • Cancel
element14 Community

element14 is the first online community specifically for engineers. Connect with your peers and get expert answers to your questions.

  • Members
  • Learn
  • Technologies
  • Challenges & Projects
  • Products
  • Store
  • About Us
  • Feedback & Support
  • FAQs
  • Terms of Use
  • Privacy Policy
  • Legal and Copyright Notices
  • Sitemap
  • Cookies

An Avnet Company © 2025 Premier Farnell Limited. All Rights Reserved.

Premier Farnell Ltd, registered in England and Wales (no 00876412), registered office: Farnell House, Forge Lane, Leeds LS12 2NE.

ICP 备案号 10220084.

Follow element14

  • X
  • Facebook
  • linkedin
  • YouTube