abhishek-kakkar/BeagleLogic

Getting started - does not work

nmaas87 opened this issue · 2 comments

Hello,

I tried to use the BeagleLogic, but sadly I can't get it to work.
I installed the latest Debian Image from http://beagleboard.org/latest-images ( Debian (BeagleBone Black - 2GB eMMC) 2014-05-14 ) on the eMMC.
Then I installed the latest kernel ( uname -a : Linux beaglebone 3.8.13-bone63 #1 SMP Mon Aug 11 18:48:38 UTC 2014 armv7l GNU/Linux )
and tested with modinfo beaglelogic:
filename: /lib/modules/3.8.13-bone63/kernel/drivers/remoteproc/beaglelogic.ko
version: 1.1
license: GPL
description: Kernel Driver for BeagleLogic
author: Kumar Abhishek abhishek@theembeddedkitchen.net
srcversion: 5729A2BC6F30C8C4BC66D5D
depends:
intree: Y
vermagic: 3.8.13-bone63 SMP mod_unload modversions ARMv7 thumb2 p2v8
parm: bufunitsize: Size of each buffer unit default 4 MB

I also untared the PRU Firmware from https://d8a0b5d606f320db2dca525de17833da935fbbb0.googledrive.com/host/0B7U2bJEjkNeZSVVBMFU4WVBkS2c/ to the /lib/firmware folder and rebooted.

But entering echo BB-BEAGLELOGIC > /sys/devices/bone_capemgr.*/slots gives me only: bash: echo: write error: File exists (doing as root). The file contains following:

root@beaglebone:/sys/devices/bone_capemgr.9# cat slots
0: 54:PF---
1: 55:PF---
2: 56:PF---
3: 57:PF---
4: ff:P-O-L Bone-LT-eMMC-2G,00A0,Texas Instrument,BB-BONE-EMMC-2G
5: ff:P-O-L Bone-Black-HDMI,00A0,Texas Instrument,BB-BONELT-HDMI

An additional modprobe beaglelogic only gives mes a lot of dmesg errors, as it seems that HDMI is blocking:
[ 503.181118] bone-capemgr bone_capemgr.9: slot #11: Failed verification
[ 710.518907] bone-capemgr bone_capemgr.9: part_number 'BB-BEAGLELOGIC', version 'N/A'
[ 710.519082] bone-capemgr bone_capemgr.9: slot #12: generic override
[ 710.519127] bone-capemgr bone_capemgr.9: bone: Using override eeprom data at slot 12
[ 710.519175] bone-capemgr bone_capemgr.9: slot #12: 'Override Board Name,00A0,Override Manuf,BB-BEAGLELOGIC'
[ 710.523494] bone-capemgr bone_capemgr.9: slot #12: Requesting part number/version based 'BB-BEAGLELOGIC-00A0.dtbo
[ 710.523556] bone-capemgr bone_capemgr.9: slot #12: Requesting firmware 'BB-BEAGLELOGIC-00A0.dtbo' for board-name 'Override Board Name', version '00A0'
[ 710.523613] bone-capemgr bone_capemgr.9: slot #12: dtbo 'BB-BEAGLELOGIC-00A0.dtbo' loaded; converting to live tree
[ 710.524196] bone-capemgr bone_capemgr.9: slot #12: BB-BEAGLELOGIC conflict P8.27 (#5:BB-BONELT-HDMI)
[ 710.534048] bone-capemgr bone_capemgr.9: slot #12: Failed verification

I am running the beagle bone black headless via ssh. How to disable HDMI and finally load and use BeagleLogic?

Thanks a lot!

Ok, figured it out myself:
In /boot/uboot/uEnv.txt
I had to enable
##Disable HDMI
cape_disable=capemgr.disable_partno=BB-BONELT-HDMI,BB-BONELT-HDMIN

to Disable HDMI. After that, it worked.
Thanks a lot!

I've updated the Getting Started wiki page so that future users know the requirement of disabling the HDMI interface prior to initializing BeagleLogic.

Regards