[BeagleBone] Newhaven NHD-7.0CTP-CAPE


#1

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,


#2

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?


#3

@2nova, please run:

sudo /opt/scripts/tools/version.sh

Regards,


#4

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


#5

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’


#6

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

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

Regards,


#7

It works!!!, many thanks.