[BeagleBone] Newhaven NHD-7.0CTP-CAPE

I’ve just added support for the new 3 Newhaven 7 inch capes to the default BeagleBoard Debian Image.

You’ll need the latest version of the bb-cape-overlay package along with an updated u-boot. (this will be part of the 4/30/2017 weekly snapshots)

overlay file:

Newhaven capes:
https://www.digikey.com/products/en?lang=en&site=us&KeyWords=NHD-7.0CTP-CAPE

U-Boot SPL 2017.05-rc2-00002-g86566339a9 (Apr 28 2017 - 10:18:57)

BeagleBone: cape eeprom: i2c_probe: 0x54: /lib/firmware/BB-BONE-NH7C-01-A0.dtbo [0xe3f55df]
BeagleBone: cape eeprom: i2c_probe: 0x55:
BeagleBone: cape eeprom: i2c_probe: 0x56:
BeagleBone: cape eeprom: i2c_probe: 0x57:

loading /boot/vmlinuz-4.4.62-ti-r99 ...
8649792 bytes read in 579 ms (14.2 MiB/s)
uboot_overlays: [uboot_base_dtb=am335x-boneblack-uboot.dtb] ...
uboot_overlays: Switching too: dtb=am335x-boneblack-uboot.dtb ...
loading /boot/dtbs/4.4.62-ti-r99/am335x-boneblack-uboot.dtb ...
53128 bytes read in 115 ms (450.2 KiB/s)
uboot_overlays: [fdt_buffer=0x60000] ...
uboot_overlays: loading /lib/firmware/AM335X-20-00A0.dtbo ...
378 bytes read in 557 ms (0 Bytes/s)
uboot_overlays: loading /lib/firmware/BB-BONE-NH7C-01-A0.dtbo ...
4473 bytes read in 610 ms (6.8 KiB/s)
uboot_overlays: loading /lib/firmware/BB-BONE-eMMC1-01-00A0.dtbo ...
1105 bytes read in 473 ms (2 KiB/s)
uboot_overlays: loading /lib/firmware/BB-ADC-00A0.dtbo ...
695 bytes read in 176 ms (2.9 KiB/s)
uboot_overlays: add [enable_uboot_cape_universal=1] to /boot/uEnv.txt to enable...
loading /boot/initrd.img-4.4.62-ti-r99 ...
5597637 bytes read in 386 ms (13.8 MiB/s)
debug: [console=ttyO0,115200n8 bone_capemgr.uboot_capemgr_enabled=1 root=/dev/mmcblk0p1 ro rootfstype=ext4      rootwait coherent_pool=1M net.ifnames=0 quiet cape_universal=enable] ...
debug: [bootz 0x82000000 0x88080000:5569c5 88000000] ...
## Flattened Device Tree blob at 88000000
    Booting using the fdt blob at 0x88000000
    Loading Ramdisk to 8faa9000, end 8ffff9c5 ... OK
    reserving fdt memory region: addr=88000000 size=6e000
    Loading Device Tree to 8fa38000, end 8faa8fff ... OK

Starting kernel ...

Regards,

I’ve burned a fresh 9.4 debian LXQT image downloaded from beagleboard.org on a new BBB and NHD-7 sun readable display cape. There is no way to make it work.

Could you point how to configure this cape for Debian newcomers?

@2nova, please run:

sudo /opt/scripts/tools/version.sh

Regards,

This is the result:

git:/opt/scripts/:[31292bce1d4b35b497cc7a013d6d57e7e1f4f5c4]
eeprom:[A335BNLT00C04816BBBK04D8]
model:[TI_AM335x_BeagleBone_Black]
dogtag:[BeagleBoard.org Debian Image 2018-06-17]
bootloader:[microSD-(push-button)]:[/dev/mmcblk0]:[U-Boot 2018.03-00002-gac9cce7c6a]:[location: dd MBR]
bootloader:[eMMC-(default)]:[/dev/mmcblk1]:[U-Boot 2015.10-00001-g143c9ee]:[location: dd MBR]
kernel:[4.14.49-ti-r54]
nodejs:[v6.14.3]
uboot_overlay_options:[enable_uboot_overlays=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:[bb-cape-overlays]:[4.4.20180611.0-0rcnee0~stretch+20180611]
pkg:[bb-wl18xx-firmware]:[1.20180517-0rcnee0~stretch+20180517]
pkg:[kmod]:[23-2rcnee1~stretch+20171005]
pkg:[roboticscape]:[0.4.4-git20180608.0-0rcnee0~stretch+20180609]
pkg:[firmware-ti-connectivity]:[20170823-1rcnee1~stretch+20180328]
groups:[debian : debian adm kmem dialout cdrom floppy audio dip video plugdev users systemd-journal i2c bluetooth netdev cloud9ide gpio pwm eqep admin spi tisdk weston-launch xenomai]
cmdline:[console=ttyO0,115200n8 root=/dev/mmcblk0p1 ro rootfstype=ext4 rootwait coherent_pool=1M net.ifnames=0 quiet]
dmesg | grep pinctrl-single
[ 1.046124] pinctrl-single 44e10800.pinmux: 142 pins at pa f9e10800 size 568
dmesg | grep gpio-of-helper
[ 1.047314] gpio-of-helper ocp:cape-universal: ready
END

dmesg shows the following:

[ 1.479116] wkup_m3_ipc 44e11324.wkup_m3_ipc: CM3 Firmware Version = 0x193
[ 1.484827] bone_capemgr bone_capemgr: Baseboard: ‘A335BNLT,00C0,4816BBBK04D8’
[ 1.484858] bone_capemgr bone_capemgr: compatible-baseboard=ti,beaglebone-black - #slots=4
[ 1.531531] bone_capemgr bone_capemgr: slot #0: ‘nh7cape,A0,Cembsoft,BB-BONE-NH7C-01’
[ 1.559876] bone_capemgr bone_capemgr: slot #1: No cape found
[ 1.588403] bone_capemgr bone_capemgr: slot #2: No cape found
[ 1.616963] bone_capemgr bone_capemgr: slot #3: No cape found
[ 1.617253] bone_capemgr bone_capemgr: initialized OK.
[ 1.625051] bone_capemgr bone_capemgr: slot #0: No compatible property for ‘BB-BONE-NH7C-01’

u-boot in the eMMC is blocking overlays from working properly…

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

Regards,

It works!!!, many thanks.

Hi there,

Same issue over here, it just does not show anything at all in the cape.

Tried @RobertCNelson, hit, but no joy.

Any help would be amazing!

Regards

Hi @apocsantos, what image are you using? The Spring 2020 has a nasty pwm regression… If you have the folder /dev/pwm/* then that’s one issue. Which can be quickly fixed via:

sudo apt update
sudo apt upgrade
sudo reboot

Otherwise, do you have a usb-serial adapter to plug into j1, (you can remove the lcd), we just need to see what version of u-boot is running?

If you don’t have a usb-serial adapter please run this built-in script:

sudo /opt/scripts/tools/version.sh

and share the output to this thread.

Regards,

Hi,

Not even version.sh is avaliable in /opt/scripts/tools/version.sh
Also no /dev/pwm/*
Linux: Debian wheezy 7"

[new]
after some work:
sudo nano /etc/apt/sources.list
deb http://archive.debian.org/debian wheezy main
deb http://archive.debian.org/debian-security wheezy/updates main

with this added and changed date to a valid certificate:
sudo date +%Y%m%d -s “20180101”

apt-get update -o Acquire::Check-Valid-Until=false;
apt-get install nano inotify-tools msmtp -o Acquire::Check-Valid-Until=false;

it updated, but yet it should work with a 2020 version of debian, and yet it keeps failing…

Goal is to have it running with a basic web browser on the screen
[/new]
Any other ideas ?

Regards

Hi @apocsantos, sorry Wheezy went EOL in 2018…

You can try this image:

https://rcn-ee.net/rootfs/bb.org/testing/2020-08-03/buster-lxqt/bone-debian-10.5-lxqt-armhf-2020-08-03-4gb.img.xz

But sadly, the default Firefox is like watching paint dry. Nothing is optimized for single core, low memory systems anymore…
Regards,

[quote=“RobertCNelson, post:9, topic:190”]
/opt/scripts/tools/version.sh

Still cant find /opt/scripts/tools/version.sh

:frowning:

We didn’t start shipping that debug tool till the Debian Stretch era.

ok, so any help putting the cape to work ?

I’m using this img: ht/**s://rcn-ee.net/rootfs/bb.org/testing/2020-08-03/buster-lxqt/bone-debian-10.5-lxqt-armhf-2020-08-03-4gb.img.xz

After apt-get update and apt-get upgrade

GPG error: http://debian.beagleboard.org wheezy-bbb Release: The following signatures were invalid: KEYEXPIRED 1418840246 KEYEXPIRED 1418840304 KEYEXPIRED 1418840246 KEYEXPIRED 1418840246 KEYEXPIRED 1418840304
E: Release file for http://archive.debian.org/debian-security/dists/wheezy/updates/Release is expired (invalid since 482d 5h 38min 22s). Updates for this repository will not be applied.

sudo apt-key list | grep -A 1 expired
pub 2048R/59890110 2014-01-20 [expired: 2014-12-17]
uid BeagleBone Black Archive Signing Key

pub 4096R/473041FA 2010-08-27 [expired: 2018-03-05]
uid Debian Archive Automatic Signing Key (6.0/squeeze) ftpmaster@debian.org
"

Hi @apocsantos,

That means your still booting the original Debian Release for the BeagleBone Black, probally from the eMMC.

Remove power, take off the LCD, using your finger nail hold the boot button, plug in power, after an LED turns on, lift your finger… It should now boot bone-debian-10.5-lxqt-armhf-2020-08-03-4gb.img.xz, then erase your eMMC with dd.

Regards,

git:/opt/scripts/:[7cdc270818b76d829d247cf05fe309c320a3929a]
eeprom:[A335BNLT00C05214BBBK19CA]
model:[TI_AM335x_BeagleBone_Black]
dogtag:[BeagleBoard.org Debian Buster LXQt Image 2020-08-03]
bootloader:[microSD-(push-button)]:[/dev/mmcblk0]:[U-Boot 2019.04-00002-g23f263c c3f]:[location: dd MBR]
bootloader:[eMMC-(default)]:[/dev/mmcblk1]:[U-Boot 2014.04-00014-g47880f5]:[loca tion: fatfs /boot/uboot/MLO]
UBOOT: Booted Device-Tree:[am335x-boneblack-uboot-univ.dts]
UBOOT: Loaded Overlay:[BB-ADC-00A0]
UBOOT: Loaded Overlay:[BB-BONE-eMMC1-01-00A0]
UBOOT: Loaded Overlay:[BB-HDMI-TDA998x-00A0]
kernel:[4.19.94-ti-r45]
nodejs:[v10.21.0]
/boot/uEnv.txt Settings:
uboot_overlay_options:[enable_uboot_overlays=1]
uboot_overlay_options:[enable_uboot_cape_universal=1]
pkg check: to individually upgrade run: [sudo apt install --only-upgrade ]
pkg:[bb-cape-overlays]:[4.14.20200722.0-0~buster+20200722]
pkg:[bb-wl18xx-firmware]:[1.20200702.0-0~buster+20200702]
pkg:[kmod]:[26-1]
pkg:[librobotcontrol]:[1.0.5-git20200715.0-0~buster+20200716]
pkg:[firmware-ti-connectivity]:[20190717-2rcnee1~buster+20200305]
groups:[debian : debian adm kmem dialout cdrom floppy audio dip video plugdev us ers systemd-journal input bluetooth netdev i2c gpio admin spi iio docker tisdk w eston-launch xenomai cloud9ide pwm eqep remoteproc]
cmdline:[console=ttyO0,115200n8 bone_capemgr.uboot_capemgr_enabled=1 root=/dev/m mcblk0p1 ro rootfstype=ext4 rootwait coherent_pool=1M net.ifnames=0 lpj=1990656 rng_core.default_quality=100 quiet]
dmesg | grep remote
[ 95.670596] remoteproc remoteproc0: wkup_m3 is available
[ 95.973316] remoteproc remoteproc0: powering up wkup_m3
[ 95.973347] remoteproc remoteproc0: Booting fw image am335x-pm-firmware.elf, size 217168
[ 95.973605] remoteproc remoteproc0: remote processor wkup_m3 is now up
dmesg | grep pru
dmesg | grep pinctrl-single
[ 1.175125] pinctrl-single 44e10800.pinmux: 142 pins, size 568
dmesg | grep gpio-of-helper
[ 1.189115] gpio-of-helper ocp:cape-universal: ready
lsusb
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
END

It’s looking good, now… I’d run:

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

To clear out the old fat partition with the old u-boot, then it’ll always boot from the microSD.

Regards,

Hi again!

Ok, did so, and it outputed this:

sudo dd if=/dev/zero of=/dev/mmcblk1 bs=1M count=96
[sudo] password for debian:
96+0 records in
96+0 records out
100663296 bytes (101 MB, 96 MiB) copied, 17.7772 s, 5.7 MB/s

Mounted the cape, powered on the beagleboard, but still no joy, neither the beagleboard boots, nor the screen show’s anything.

Any hint ?

Regards

How are you powering the board? 5V DC?

After deleting the eMMC, and rebooting. version.sh should dump out:

debian@beaglebone:~$ sudo /opt/scripts/tools/version.sh 
git:/opt/scripts/:[7cdc270818b76d829d247cf05fe309c320a3929a]
eeprom:[A335BNLT000C1949BBBG0051]
model:[TI_AM335x_BeagleBone_Black]
dogtag:[BeagleBoard.org Debian Buster LXQt Image 2020-08-03]
bootloader:[microSD-(push-button)]:[/dev/mmcblk0]:[U-Boot 2019.04-00002-g23f263cc3f]:[location: dd MBR]
UBOOT: Booted Device-Tree:[am335x-boneblack-uboot-univ.dts]
UBOOT: Loaded Overlay:[BB-ADC-00A0]
UBOOT: Loaded Overlay:[BB-BONE-eMMC1-01-00A0]
UBOOT: Loaded Overlay:[BB-BONE-NH7C-01-A0]
kernel:[4.19.94-ti-r45]
nodejs:[v10.21.0]
/boot/uEnv.txt Settings:
uboot_overlay_options:[enable_uboot_overlays=1]
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.20200722.0-0~buster+20200722]
pkg:[bb-wl18xx-firmware]:[1.20200702.0-0~buster+20200702]
pkg:[kmod]:[26-1]
pkg:[librobotcontrol]:[1.0.5-git20200715.0-0~buster+20200716]
pkg:[firmware-ti-connectivity]:[20190717-2rcnee1~buster+20200305]
groups:[debian : debian adm kmem dialout cdrom floppy audio dip video plugdev users systemd-journal input bluetooth netdev i2c gpio admin spi iio docker tisdk weston-launch xenomai cloud9ide pwm eqep remoteproc]
cmdline:[console=ttyO0,115200n8 bone_capemgr.uboot_capemgr_enabled=1 root=/dev/mmcblk0p1 ro rootfstype=ext4 rootwait uboot_detected_capes=BB-BONE-NH7C-01, coherent_pool=1M net.ifnames=0 lpj=1990656 rng_core.default_quality=100 quiet]
dmesg | grep remote
[  105.671979] remoteproc remoteproc0: wkup_m3 is available
[  107.243779] remoteproc remoteproc0: powering up wkup_m3
[  107.243811] remoteproc remoteproc0: Booting fw image am335x-pm-firmware.elf, size 217168
[  107.244107] remoteproc remoteproc0: remote processor wkup_m3 is now up
dmesg | grep pru
dmesg | grep pinctrl-single
[    1.175342] pinctrl-single 44e10800.pinmux: 142 pins, size 568
dmesg | grep gpio-of-helper
[    1.189033] gpio-of-helper ocp:cape-universal: ready
lsusb
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
END

It takes a few minutes, but bone-debian-10.5-lxqt-armhf-2020-08-03-4gb.img.xz is working:

Regards,