NHD-7.0CTP-CAPE-N no picture

545 views
Skip to first unread message

Rasmus Olesen

unread,
Apr 26, 2017, 8:46:01 AM4/26/17
to BeagleBoard
Hi all

I'm trying to use the New Haven NHD-7.0CTP-CAPE with my BBB.
But so far I have not been able to get a picture on the screen.
I have tried running the latest Debian 8.7 image (From BeagleBoard.org), Ubuntu 14.04 Kernel 3.8 and Ubuntu 16.04.2 kernel 4.4.59-ti-r96.

So far I have not been able to get a picture on the cape, but the HDMI works fine. I have tried to look in the device-tree to see if I could conclude weather or not the cape was recognized. But I don't really know what to look for.

There must be other people out there that uses this cape, so what did you do to make it work, and what distribution are you running?

Thanks Rasmus.

Robert Nelson

unread,
Apr 26, 2017, 9:45:20 AM4/26/17
to Beagle Board, rasmuse...@gmail.com
Oh these are brand new:

http://www.newhavendisplay.com/development-tools-shields-and-capes-c-979_981.html?zenid=ihsl54v4p4fiu2rvr1b3eapd94

First i've seen of it, so yeah they aren't supported "this minute"..

Did they provide a CD or any documentation in the box? if so can you
dump it to dropbox and share it with me?

Regards,

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

Rasmus Olesen

unread,
Apr 26, 2017, 10:20:13 AM4/26/17
to BeagleBoard, rasmuse...@gmail.com
Hi Robert

It came in a cardboard box with loads of bubble wrap. No CD, no documentation. The only thing I got is what is on their web page
http://www.newhavendisplay.com/nhd70ctpcapen-p-9537.html

I have tried the Ubuntu 14.04-3.8 image, but it didn't give me a picture, and I couldn't get it to flash either... :(

I'm wondering if the BBB is reading the CAPE EEprom correct and if I could verify it in the device-tree.
I used this command in the terminal

find /proc/device-tree/ -type f -exec head {} + | less

It returns a really long list, But I can't seem to find any information about how the LCD pins a muxed...
But I'm also faily new to linux, so I don't really know what to expect...

Regards Rasmus

Robert Nelson

unread,
Apr 26, 2017, 10:26:37 AM4/26/17
to Beagle Board, rasmuse...@gmail.com
On Wed, Apr 26, 2017 at 9:20 AM, Rasmus Olesen
<rasmuse...@gmail.com> wrote:
> Hi Robert
>
> It came in a cardboard box with loads of bubble wrap. No CD, no
> documentation. The only thing I got is what is on their web page
> http://www.newhavendisplay.com/nhd70ctpcapen-p-9537.html
>
> I have tried the Ubuntu 14.04-3.8 image, but it didn't give me a picture,
> and I couldn't get it to flash either... :(
>
> I'm wondering if the BBB is reading the CAPE EEprom correct and if I could
> verify it in the device-tree.
> I used this command in the terminal
>
> find /proc/device-tree/ -type f -exec head {} + | less
>
> It returns a really long list, But I can't seem to find any information
> about how the LCD pins a muxed...
> But I'm also faily new to linux, so I don't really know what to expect...

what does "dmesg | grep bone" show?

Rasmus Olesen

unread,
Apr 26, 2017, 10:50:20 AM4/26/17
to BeagleBoard, rasmuse...@gmail.com
 I don't know how to retrieve the text from the terminal but here goes...

[0.000000] Kernel command line: console=ttyO0,115200n8 bone_capemgr.uboot_capemgr_enabled=1 root=UUID=1be96781-5260-4113-96e 3-7c97f1fde997 ro rootfstype=ext4 rootwait coherent_pool=1M net.ifnames=0 quiet cape_universial=enable
[2.469004] bone_capemgr bone_capemgr: Baseboard: 'A335BNLT,000C,1631BBBG0959'
[2.469040]
bone_capemgr bone_capemgr: compatible-baseboard=ti,beaglebone-black - #slots=4
[2.469075]
bone_capemgr bone_capemgr: slot #0: auto loading handled by U-Boot
[2.469098] bone_capemgr bone_capemgr: slot #1: auto loading handled by U-Boot
[2.469141] bone_capemgr bone_capemgr: slot #2: auto loading handled by U-Boot
[2.469169] bone_capemgr bone_capemgr: slot #3: auto loading handled by U-Boot
[2.469172] bone_capemgr bone_capemgr: initialized OK.

I think I would have expected to see something actualy loaded here..?

It is the only cape I have connected to my BBB.

Robert Nelson

unread,
Apr 26, 2017, 11:00:14 AM4/26/17
to Beagle Board, rasmuse...@gmail.com
Ah, the image your running has u-boot handling it, since you loose
physical access with the serial plugged in, that makes debugging fun.

In /boot/uEnv.txt

Change:

enable_uboot_overlays=1 -> #enable_uboot_overlays=1

and force:

dtb=am335x-boneblack-emmc-overlay.dtb

Then reboot again, and run dmesg | grep bone

Rasmus Olesen

unread,
Apr 26, 2017, 11:06:15 AM4/26/17
to BeagleBoard, rasmuse...@gmail.com
Hi Robert.

I get that you want me to out comment the enable line in uEnv.txt.
But do you want me to enter the second command to the bottom of the file or just run it at the command line?

Sorry but I'm quite new to linux...

/Rasmus

Rasmus Olesen

unread,
Apr 26, 2017, 11:13:00 AM4/26/17
to BeagleBoard, rasmuse...@gmail.com
ohh...

I just saw that I have a
#dtb=
Line at the top of uEnv.txt
I guess I should add it there..?
and also is it suposed to be "dtb=am335x..." or should it be "dtb=arm335x..."? (since this is an arm processor)

/Rasmus

Robert Nelson

unread,
Apr 26, 2017, 11:15:28 AM4/26/17
to Beagle Board, rasmuse...@gmail.com
no just use:

dtb=am335x-boneblack-emmc-overlay.dtb

Regards

Rasmus Olesen

unread,
Apr 26, 2017, 12:41:01 PM4/26/17
to BeagleBoard, rasmuse...@gmail.com

Hi Robert

I don't know what I'm doing wrong but I have tried your instructions several times with the result that the BBB won't boot.
It turns on the four LED and stop there. they keep being on all the time.

I use nano to edit the uEnv.txt file.

When I flash a new image I have the following

uname_r=4.4.59-ti-r96
#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
###
###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 cape_universal=enable

#In the event of edid real failures, uncomment this next line:
#cmdline=coherent_pool=1M net.ifnames=0 quiet cape_universal=enable video=HDMI-A-1:1024x768@60e

##Example v3.8.x
#cape_disable=capemgr.disable_partno=
#cape_enable=capemgr.enable_partno=

##Example v4.1.x
#cape_disable=bone_capemgr.disable_partno=
#cape_enable=bone_capemgr.enable_partno=

##enable Generic eMMC Flasher:
#cmdline=init=/opt/scripts/tools/eMMC/init-eMMC-flasher-v3.sh

uuid=d70dd19c-28f6-4541-bf1e-a261ac779f90




I have tried to change it to

uname_r=4.4.59-ti-r96
#uuid=
dtb= am335x-boneblack-emmc-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
###
(etc...)


and to

uname_r=4.4.59-ti-r96
#uuid=
#dtb=

dtb= am335x-boneblack-emmc-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
###
(etc...)

In both cases it is unable to boot...

I have the recomended debian 8.7 image to that apparently does not use U-boot. should I install that instead?

your help is much appreciated...

/Rasmus

Robert Nelson

unread,
Apr 26, 2017, 12:50:52 PM4/26/17
to Beagle Board, rasmuse...@gmail.com
no space between dtb= and am*

Rasmus Olesen

unread,
Apr 26, 2017, 1:17:35 PM4/26/17
to BeagleBoard, rasmuse...@gmail.com
 Hi Robert

I could have sworn that space was a typo in the message.

anyway, now it boots and this is what I get from
dmesg | grep bone



ubuntu@arm:~$ dmesg | grep bone
[    2.374724] bone_capemgr bone_capemgr: Baseboard: 'A335BNLT,000C,1631BBBG0959'
[    2.374760] bone_capemgr bone_capemgr: compatible-baseboard=ti,beaglebone-black - #slots=4
[    2.413510] bone_capemgr bone_capemgr: slot #0: 'nh7cape,A0,Cembsoft,BB-BONE-NH7C-01'
[    2.453402] bone_capemgr bone_capemgr: slot #1: No cape found
[    2.493583] bone_capemgr bone_capemgr: slot #2: No cape found
[    2.533395] bone_capemgr bone_capemgr: slot #3: No cape found
[    2.533636] bone_capemgr bone_capemgr: initialized OK.
[    3.545642] bone_capemgr bone_capemgr: loader: failed to load slot-0 BB-BONE-NH7C-01:A0 (prio 0)
[   30.019837] bone_capemgr bone_capemgr: part_number 'univ-emmc', version 'N/A'
[   30.019880] bone_capemgr bone_capemgr: slot #4: override
[   30.019898] bone_capemgr bone_capemgr: Using override eeprom data at slot 4
[   30.019914] bone_capemgr bone_capemgr: slot #4: 'Override Board Name,00A0,Override Manuf,univ-emmc'
[   30.593518] bone_capemgr bone_capemgr: slot #4: dtbo 'univ-emmc-00A0.dtbo' loaded; overlay id #0
ubuntu@arm:~$

So it looks as if the cape is recognized, but there is still no picture. I dont have HDMI either so currently I'm SSH'ing into it.
There is plenty of backlight in the display though...

Regards Rasmus
 

Robert Nelson

unread,
Apr 26, 2017, 3:20:45 PM4/26/17
to Beagle Board, Rasmus Olesen
On Wed, Apr 26, 2017 at 12:17 PM, Rasmus Olesen
<rasmuse...@gmail.com> wrote:
> Hi Robert
>
> I could have sworn that space was a typo in the message.
>
> anyway, now it boots and this is what I get from
> dmesg | grep bone
>
>
>
> ubuntu@arm:~$ dmesg | grep bone
> [ 2.374724] bone_capemgr bone_capemgr: Baseboard:
> 'A335BNLT,000C,1631BBBG0959'
> [ 2.374760] bone_capemgr bone_capemgr:
> compatible-baseboard=ti,beaglebone-black - #slots=4
> [ 2.413510] bone_capemgr bone_capemgr: slot #0:
> 'nh7cape,A0,Cembsoft,BB-BONE-NH7C-01'

bingo! that's what i needed (eeprom value), i'll start working on a
patch as i found the schematic!

Rasmus Olesen

unread,
Apr 27, 2017, 12:00:43 PM4/27/17
to BeagleBoard, rasmuse...@gmail.com
Hi Robert

I finaly got this image to boot and give me a picture.
https://www.dropbox.com/s/n4hgu39ccskbl8c/ubuntu-14.04-3.8.img.gz?dl=0

it is one of the images that NHD links to in the user manual.

I can't get it to flash to the eMMC though. but I gues that is a subject for another thread.

I would still be nice to know what it is that makes the display works on this image in case I want to upgrade at some point...

Thank you for your time you have been most help full. :)

Regards Rasmus
 

Robert Nelson

unread,
Apr 28, 2017, 12:03:39 PM4/28/17
to Beagle Board, Rasmus Olesen
Okay got this working, you'll need a u-boot build from today:

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

and the latest version of the bb-cape-overlays debian package:
4.4.20170428-0rcnee1~jessie+20170428

(this sunday's snapshot will both of these ready for you)

https://paste.debian.net/929904/

with /boot/uEnv.txt

enable_uboot_overlays=1

http://elinux.org/Beagleboard:BeagleBoneBlack_Debian#U-Boot_Overlays

Regards,
> --
> For more options, visit http://beagleboard.org/discuss
> ---
> You received this message because you are subscribed to the Google Groups
> "BeagleBoard" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to beagleboard...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/beagleboard/b36d7e6f-cf99-4ad4-a63a-a54b41fa2095%40googlegroups.com.
>
> For more options, visit https://groups.google.com/d/optout.

sunnyb...@gmail.com

unread,
Nov 28, 2017, 5:21:27 PM11/28/17
to BeagleBoard
Hey, I am stuck at the same problem. Except, I am using a beaglebone black wireless. But that shouldn't matter since everything is the same between the two boards. How did you get this to work? I have tried everything but nothing seems to work.

Robert Nelson

unread,
Nov 28, 2017, 5:30:17 PM11/28/17
to Beagle Board, sunnyb...@gmail.com
On Tue, Nov 28, 2017 at 3:02 PM, <sunnyb...@gmail.com> wrote:
> Hey, I am stuck at the same problem. Except, I am using a beaglebone black
> wireless. But that shouldn't matter since everything is the same between the
> two boards. How did you get this to work? I have tried everything but
> nothing seems to work.

Let's see your kernel/bootloader configuration:

sudo /opt/scripts/tools/version.sh

Robert Nelson

unread,
Nov 29, 2017, 6:12:22 PM11/29/17
to Sunny Mathew, Beagle Board
On Wed, Nov 29, 2017 at 5:03 PM, Sunny Mathew <sunnyb...@gmail.com> wrote:
> Hey Robert, thanks for responding promptly. Here is the output:
>
> debian@beaglebone:~$ sudo /opt/scripts/tools/version.sh
> git:/opt/scripts/:[2ce750d881941c5189db9e189af90517e11c079f]
> eeprom:[A335BNLTBWA51650BBWG1172]
> dogtag:[BeagleBoard.org Debian Image 2017-08-31]
> bootloader:[microSD-(push-button)]:[/dev/mmcblk0]:[U-Boot
> 2017.09-rc2-00002-g7c9353]
> bootloader:[eMMC-(default)]:[/dev/mmcblk1]:[U-Boot 2016.11-rc3-00002-g73df7f]

Your bootloader in the eMMC is too old, it's breaking U-Boot Overlays....

sudo dd if=/dev/zero of=/dev/mmcblk1 count=1 seek=1 bs=128k

Sunny Mathew

unread,
Nov 30, 2017, 7:45:44 AM11/30/17
to Robert Nelson, Beagle Board
Hey Robert, thanks for responding promptly. Here is the output:

debian@beaglebone:~$ sudo /opt/scripts/tools/version.sh
git:/opt/scripts/:[2ce750d881941c5189db9e189af90517e11c079f]
eeprom:[A335BNLTBWA51650BBWG1172]
dogtag:[BeagleBoard.org Debian Image 2017-08-31]
bootloader:[microSD-(push-button)]:[/dev/mmcblk0]:[U-Boot
2017.09-rc2-00002-g7c9353]
bootloader:[eMMC-(default)]:[/dev/mmcblk1]:[U-Boot 2016.11-rc3-00002-g73df7f]
kernel:[4.9.45-ti-r57]
nodejs:[v6.11.2]
uboot_overlay_options:[enable_uboot_overlays=1]
uboot_overlay_options:[uboot_overlay_addr3=/lib/firmware/BB-BONE-NH7C-01-A0.dtbo]
uboot_overlay_options:[disable_uboot_overlay_emmc=1]
uboot_overlay_options:[disable_uboot_overlay_video=1]
uboot_overlay_options:[disable_uboot_overlay_audio=1]
uboot_overlay_options:[disable_uboot_overlay_adc=1]
uboot_overlay_options:[uboot_overlay_pru=/lib/firmware/AM335X-PRU-UIO-00A0.dtbo]
uboot_overlay_options:[enable_uboot_cape_universal=1]
pkg:[bb-cape-overlays]:[4.4.20171126.0-0rcnee1~stretch+20171126]
pkg:[bb-wl18xx-firmware]:[1.20170829-0rcnee1~stretch+20170829]
pkg:[firmware-ti-connectivity]:[20170823-1rcnee0~stretch+20170830]
debian@beaglebone:~$

Sunny Mathew

unread,
Nov 30, 2017, 7:45:44 AM11/30/17
to Robert Nelson, Beagle Board
Thanks! It worked!
I still don't understand how it was booting off of the eMMC, because I
have the microSD inserted.
If I had re-flashed the bootloader using the instructions on the bbb
website, would it still have worked? or would I still have to apply
the fix you mentioned earlier?

MÁRCIO CABRINI

unread,
Aug 28, 2018, 9:15:21 AM8/28/18
to BeagleBoard

Hello,

 

I am using NHD-7.0CTP-CAPE with BeagleBone Black with UBUNTU 14.04 Kernel 3.15 (image supported by NewHaven).

 

Ubuntu is running from SD Card and I would like to flash the image to eMMC.

 

I’ve tried to use some sripts, but no one them worked out:

https://github.com/RobertCNelson/tools/blob/master/scripts/beaglebone-black-copy-microSD-to-eMMC.sh

 

/opt/scripts/tools/eMMC/beaglebone-black-make-microSD-flasher-from-eMMC.sh

 

Did anybody manage to flash the eMMC on Ubuntu 14.04?

 

Thanks,

Márcio

Robert Nelson

unread,
Aug 28, 2018, 9:50:41 AM8/28/18
to Beagle Board
On Tue, Aug 28, 2018 at 8:15 AM 'MÁRCIO CABRINI' via BeagleBoard
<beagl...@googlegroups.com> wrote:
>
> Hello,
>
> I am using NHD-7.0CTP-CAPE with BeagleBone Black with UBUNTU 14.04 Kernel 3.15 (image supported by NewHaven).
>
> Ubuntu is running from SD Card and I would like to flash the image to eMMC.
>
> I’ve tried to use some sripts, but no one them worked out:
>
> https://github.com/RobertCNelson/tools/blob/master/scripts/beaglebone-black-copy-microSD-to-eMMC.sh
>
> /opt/scripts/tools/eMMC/beaglebone-black-make-microSD-flasher-from-eMMC.sh
>
> Did anybody manage to flash the eMMC on Ubuntu 14.04?

The NHD-7.0CTP-CAPE is fully supported in the default ubuntu/debian
installs. Feel free to upgrade to our 18.04 images..
Reply all
Reply to author
Forward
0 new messages