Beaglebone Black and LCD BB-CAPE-DISP-CT43 and Debian 9.3

636 views
Skip to first unread message

Aaron Lager

unread,
Mar 20, 2018, 4:58:32 PM3/20/18
to BeagleBoard

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.

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



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



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_HDM should turn off HDMI.  But maybe it's turning off too much?  See syslog below.

All virtual overlay commands are commented out.

/boot/uEnv.txt:

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


uname_r
=4.9.45-ti-r57

#uuid=

#dtb=
dtb
=am335x-boneblack-overlay.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=


 

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


Thanks for any help,

Aaron

 

Robert Nelson

unread,
Mar 20, 2018, 5:02:59 PM3/20/18
to Beagle Board, aaron...@gmail.com
On Tue, Mar 20, 2018 at 3:36 PM, Aaron Lager <aaron...@gmail.com> wrote:
>
> 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.
>
> 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

Run this command:

sudo /opt/scripts/tools/version.sh

More than likely your eMMC's version of u-boot is getting in the way..

Regards,

--
Robert Nelson
https://rcn-ee.com/

Aaron Lager

unread,
Mar 20, 2018, 8:23:49 PM3/20/18
to Robert Nelson, Beagle Board
This is the output of that while running on jessie.

~$ sudo /opt/scripts/tools/version.sh
git:/opt/scripts/:[e307a944e0be0610ff5296e0abe4ad31a6e70daa]
model:[TI_AM335x_BeagleBone_Black]
dogtag:[BeagleBoard.org Debian Image 2016-01-24]
bootloader:[microSD-(push-button)]:[/dev/mmcblk0]:[U-Boot 2018.01-00002-g9aa111a004]:[location: dd MBR]
bootloader:[eMMC-(default)]:[/dev/mmcblk1]:[U-Boot 2016.01-00001-g4eb802e]:[location: dd MBR]
kernel:[4.1.18-ti-r56]
device-tree-override:[dtb=am335x-boneblack-overlay.dtb
dtb=am335x-boneblack-emmc-overlay.dtb]
WARNING:pkg:[bb-cape-overlays]:[NOT_INSTALLED]
WARNING:pkg:[bb-wl18xx-firmware]:[NOT_INSTALLED]
WARNING:pkg:[firmware-ti-connectivity]:[NOT_INSTALLED]
groups:[debian : debian adm kmem dialout cdrom floppy audio dip video plugdev users systemd-journal netdev i2c admin spi tisdk weston-launch xenomai]
cmdline:[console=ttyO0,115200n8 bone_capemgr.enable_partno=BB-CAPE-DISP-CT root=UUID=8723e80c-cd67-4402-8961-3ed1fb946c0f ro rootfstype=ext4 rootwait coherent_pool=1M quiet cape_universal=enable]
dmesg | grep pinctrl-single
[    3.166201] pinctrl-single 44e10800.pinmux: 142 pins at pa f9e10800 size 568
dmesg | grep gpio-of-helper

Robert Nelson

unread,
Mar 20, 2018, 9:01:41 PM3/20/18
to Aaron Lager, Beagle Board
On Tue, Mar 20, 2018 at 7:23 PM, Aaron Lager <aaron...@gmail.com> wrote:
> This is the output of that while running on jessie.
>
> ~$ sudo /opt/scripts/tools/version.sh
> git:/opt/scripts/:[e307a944e0be0610ff5296e0abe4ad31a6e70daa]
> model:[TI_AM335x_BeagleBone_Black]
> dogtag:[BeagleBoard.org Debian Image 2016-01-24]
> bootloader:[microSD-(push-button)]:[/dev/mmcblk0]:[U-Boot
> 2018.01-00002-g9aa111a004]:[location: dd MBR]
> bootloader:[eMMC-(default)]:[/dev/mmcblk1]:[U-Boot
> 2016.01-00001-g4eb802e]:[location: dd MBR]

Yeap ^ too old..

sudo dd if=/dev/zero of=/dev/mmcblk1 bs=1M count=10

and reboot..

Robert Nelson

unread,
Mar 20, 2018, 11:05:09 PM3/20/18
to Aaron Lager, Beagle Board


On Mar 20, 2018 9:04 PM, "Aaron Lager" <aaron...@gmail.com> wrote:
I'm kind of hesitant to blow out the bootloader because Jessie is the only version that I can get the LCD to work on.

You can always reflash the emmc to an older image.

Regards,

Aaron Lager

unread,
Mar 21, 2018, 2:07:43 PM3/21/18
to BeagleBoard


Thanks Robert!  I would never have guessed that the bootloader in the emmc would/could interfere with the bootloader on the SD card.
I now have 9.3 running out of the box from the SD card!

Thanks!
Aaron
Reply all
Reply to author
Forward
0 new messages