4D Sytems Display does not work on BBB

Hello,

I have a BBB with a 4D Sytems display. Used to work well with older Debian versions. Now I have the 2020-04-06 version and I can not make the display work. I tried to modify uEnv.txt from what I know and saw on internet.

eeprom:[A335BNLT00C03919BBBK0053]
model:[TI_AM335x_BeagleBone_Black]
dogtag:[BeagleBoard.org Debian Buster Console Image 2020-04-06]
bootloader:[eMMC-(default)]:[/dev/mmcblk1]:[U-Boot 2019.04-00002-g07d5700e21]:[location: dd MBR]
UBOOT: Booted Device-Tree:[am335x-boneblack-uboot-univ.dts]
UBOOT: Loaded Overlay:[AM335X-PRU-RPROC-4-19-TI-00A0]
UBOOT: Loaded Overlay:[BB-BONE-LCD4-01-00A1]
UBOOT: Loaded Overlay:[BB-BONE-eMMC1-01-00A0]
kernel:[4.19.94-ti-r42]
/boot/uEnv.txt Settings:
uboot_overlay_options:[enable_uboot_overlays=1]
uboot_overlay_options:[disable_uboot_overlay_video=1]
uboot_overlay_options:[disable_uboot_overlay_audio=1]
uboot_overlay_options:[disable_uboot_overlay_wireless=1]
uboot_overlay_options:[disable_uboot_overlay_adc=1]
uboot_overlay_options:[uboot_overlay_pru=/lib/firmware/AM335X-PRU-RPROC-4-19-TI-00A0.dtbo]
uboot_overlay_options:[enable_uboot_cape_universal=1]
pkg check: to individually upgrade run: [sudo apt install --only-upgrade <pkg>]
pkg:[bb-cape-overlays]:[4.14.20200403.0-0rcnee0~buster+20200403]
pkg:[bb-wl18xx-firmware]:[1.20200322.0-0rcnee0~buster+20200322]
pkg:[kmod]:[26-1]
WARNING:pkg:[librobotcontrol]:[NOT_INSTALLED]
pkg:[firmware-ti-connectivity]:[20190717-2rcnee1~buster+20200305]
groups:[debian : debian adm kmem dialout cdrom floppy audio dip video plugdev users systemd-journal bluetooth netdev gpio pwm eqep remoteproc admin spi iio i2c docker tisdk weston-launch xenomai cloud9ide]
cmdline:[console=ttyO0,115200n8 bone_capemgr.uboot_capemgr_enabled=1 root=/dev/mmcblk1p1 ro rootfstype=ext4 rootwait uboot_detected_capes=BB-BONE-LCD4-01, coherent_pool=1M net.ifnames=0 lpj=1990656 rng_core.default_quality=100 quiet]
dmesg | grep remote
[   40.169991] remoteproc remoteproc0: wkup_m3 is available
[   40.180131] remoteproc remoteproc0: powering up wkup_m3
[   40.180161] remoteproc remoteproc0: Booting fw image am335x-pm-firmware.elf, size 217168
[   40.180451] remoteproc remoteproc0: remote processor wkup_m3 is now up
[   42.091921] remoteproc remoteproc1: 4a334000.pru is available
[   42.115937] remoteproc remoteproc2: 4a338000.pru is available
dmesg | grep pru
[   42.091921] remoteproc remoteproc1: 4a334000.pru is available
[   42.092084] pru-rproc 4a334000.pru: PRU rproc node pru@4a334000 probed successfully
[   42.115937] remoteproc remoteproc2: 4a338000.pru is available
[   42.116130] pru-rproc 4a338000.pru: PRU rproc node pru@4a338000 probed successfully
dmesg | grep pinctrl-single
[    0.919131] pinctrl-single 44e10800.pinmux: 142 pins, size 568
dmesg | grep gpio-of-helper
[    0.932924] gpio-of-helper ocp:cape-universal: ready

Above is the version.sh result.

Please advise.
Kind regards,
Harke

In the meantime I found Debian version 2019-08-03 with LXQT. Now the display does not work at all. Not even in text mode. I can resend the version.sh if desired. Please advise. Many thanks in advance,
H

Hi @yrrah53 grab a newer snapshot:

I’m pretty sure in 2020-04-06 the pwm udev rule stole the pwm backlight from the 4D’s display…

Regards,

I’d love to do that but somehow it does not work… New in this community.
Regards,
H

Hi @yrrah53 what does not work with the latest testing images?

Regards,

here it is…

debian@beaglebone:~$ sudo /opt/scripts/tools/version.sh
[sudo] password for debian:
git:/opt/scripts/:[109f74fb87e6034ae1a8971a244064a8d5e090a5]
eeprom:[A335BNLT00C02916BBBK1556]
model:[TI_AM335x_BeagleBone_Black]
dogtag:[BeagleBoard.org Debian Image 2019-08-03]
bootloader:[eMMC-(default)]:[/dev/mmcblk1]:[U-Boot 2019.04-00002-gbb4af0f50f]:[l    ocation: dd MBR]
kernel:[4.14.108-ti-r113]
nodejs:[v6.17.0]
uboot_overlay_options:[enable_uboot_overlays=1]
uboot_overlay_options:[disable_uboot_overlay_video=1]
uboot_overlay_options:[disable_uboot_overlay_audio=1]
uboot_overlay_options:[disable_uboot_overlay_wireless=1]
uboot_overlay_options:[disable_uboot_overlay_adc=1]
uboot_overlay_options:[uboot_overlay_pru=/lib/firmware/AM335X-PRU-RPROC-4-14-TI-    00A0.dtbo]
uboot_overlay_options:[enable_uboot_cape_universal=1]
pkg check: to individually upgrade run: [sudo apt install --only-upgrade <pkg>]
pkg:[bb-cape-overlays]:[4.4.20190801.0-0rcnee0~stretch+20190801]
pkg:[bb-wl18xx-firmware]:[1.20190227.1-0rcnee0~stretch+20190227]
pkg:[kmod]:[23-2rcnee1~stretch+20171005]
pkg:[librobotcontrol]:[1.0.4-git20190227.1-0rcnee0~stretch+20190327]
pkg:[firmware-ti-connectivity]:[20180825+dfsg-1rcnee1~stretch+20181217]
groups:[debian : debian adm kmem dialout cdrom floppy audio dip video plugdev us    ers systemd-journal i2c bluetooth netdev gpio pwm eqep remoteproc admin spi tisd    k weston-launch xenomai cloud9ide]
cmdline:[console=ttyO0,115200n8 bone_capemgr.uboot_capemgr_enabled=1 root=/dev/m    mcblk1p1 ro rootfstype=ext4 rootwait uboot_detected_capes=BB-BONE-LCD4-01, coher    ent_pool=1M net.ifnames=0 rng_core.default_quality=100 quiet]
dmesg | grep remote
[    1.335348] remoteproc remoteproc0: wkup_m3 is available
[    1.419265] remoteproc remoteproc0: powering up wkup_m3
[    1.419379] remoteproc remoteproc0: Booting fw image am335x-pm-firmware.elf,     size 217168
[    1.423585] remoteproc remoteproc0: remote processor wkup_m3 is now up
[    9.128977] remoteproc remoteproc1: 4a334000.pru is available
[    9.131411] remoteproc remoteproc2: 4a338000.pru is available
dmesg | grep pru
[    9.096325] pruss 4a300000.pruss: creating PRU cores and other child platform     devices
[    9.128977] remoteproc remoteproc1: 4a334000.pru is available
[    9.129325] pru-rproc 4a334000.pru: PRU rproc node /ocp/pruss_soc_bus@4a32600    4/pruss@0/pru@34000 probed successfully
[    9.131411] remoteproc remoteproc2: 4a338000.pru is available
[    9.131521] pru-rproc 4a338000.pru: PRU rproc node /ocp/pruss_soc_bus@4a32600    4/pruss@0/pru@38000 probed successfully
dmesg | grep pinctrl-single
[    0.945951] pinctrl-single 44e10800.pinmux: 142 pins at pa f9e10800 size 568
dmesg | grep gpio-of-helper
[    0.957984] gpio-of-helper ocp:cape-universal: ready
lsusb
Bus 001 Device 002: ID 1ea7:0066
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
END

Regards, H

HI @yrrah53,

Do you have a hard requirement to use 2020-04-06 or 2019-08-03 ???

Retest with the latest snapshot, released 22 days ago…

or

Regards

Thanks for your fast response Robert. Not at all. I will try Debian 11.
Will let you know.
My best,
Harke

Robert,I have installed Debian Image 2022-07-01. It works but not for the 4D Systems display. Also: the directory structure has changed so I do not know how to get acces to version.sh.
Please advise how to proceed.
Best regards,
Harke

It’s:

debian@BeagleBone:~$ sudo beagle-version

Since you probally used the microSD and not the flasher also run:

sudo /opt/u-boot/bb-u-boot-am335x-evm/install.sh
sudo reboot

Regards,

Ok, so I did. the display works now in char mode. sudo beagle-version gives very little info… via Lan connection…
Regards,
H

Sorry Robert, I selected the wrong version. Now I have the LXQT version fully running. I will continue tomorrow. So far: thanks a lot for your help.
Regards,
Harke

Hello Robert, My findings so far. Display worked, only once. After reboot no display at all. Working remote with Putty. Guess you will have some magic command to make it work… It seems the directory structure has changed? Sudo beagle-version does not work here. I have not touched uEnv.txt yet. It seems the directory structure has changed? What really worries me is the message: Errno 28: No space left on device…
Please advise.
Kind regards,
Harke

Are you running the 2GB or 4GB eMMC? The desktop’s really don’t fit in the eMMC now days… It would be best to just run it from the microSD card…

Regards,

Running 4 G version. I need LXQT and two serial ports and some IO bits. Can I delete something I do not need or do I need a bigger uSD card? I also need some (large?) Python libraries. How do I run from a card? What size do you recommend?
Regards,