[<<][am335x][>>][..]
Mon Sep 15 15:03:01 CEST 2014

HDMI cape

Need to disable HDMI cape[1].

Before:

root@beaglebone:~# cat /sys/devices/bone_capemgr.9/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


After disabling HDMI in uEnv.txt :

##Disable HDMI
optargs=capemgr.disable_partno=BB-BONELT-HDMI,BB-BONELT-HDMIN


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-- Bone-Black-HDMI,00A0,Texas Instrument,BB-BONELT-HDMI
 6: ff:P-O-- Bone-Black-HDMIN,00A0,Texas Instrument,BB-BONELT-HDMIN

root@beaglebone:/sys/devices/bone_capemgr.9# echo BB-BEAGLELOGIC > /sys/devices/bone_capemgr.*/slots

[   98.424752] bone-capemgr bone_capemgr.9: part_number 'BB-BEAGLELOGIC', version 'N/A'
[   98.424930] bone-capemgr bone_capemgr.9: slot #7: generic override
[   98.424974] bone-capemgr bone_capemgr.9: bone: Using override eeprom data at slot 7
[   98.425023] bone-capemgr bone_capemgr.9: slot #7: 'Override Board Name,00A0,Override Manuf,BB-BEAGLELOGIC'
[   98.427402] bone-capemgr bone_capemgr.9: slot #7: Requesting part number/version based 'BB-BEAGLELOGIC-00A0.dtbo
[   98.427464] bone-capemgr bone_capemgr.9: slot #7: Requesting firmware 'BB-BEAGLELOGIC-00A0.dtbo' for board-name 'Override Board Name', version '00A0'
[   98.427521] bone-capemgr bone_capemgr.9: slot #7: dtbo 'BB-BEAGLELOGIC-00A0.dtbo' loaded; converting to live tree
[   98.428513] bone-capemgr bone_capemgr.9: slot #7: #2 overlays
[   98.449458] omap_hwmod: pruss: failed to hardreset
[   98.455454] pru-rproc 4a300000.prurproc: #8 PRU interrupts registered
[   98.455631] pru-rproc 4a300000.prurproc: sysevent-to-channel-map [17] <- 1
[   98.455665] pru-rproc 4a300000.prurproc: sysevent-to-channel-map [18] <- 0
[   98.455698] pru-rproc 4a300000.prurproc: sysevent-to-channel-map [19] <- 2
[   98.455731] pru-rproc 4a300000.prurproc: sysevent-to-channel-map [20] <- 3
[   98.455763] pru-rproc 4a300000.prurproc: sysevent-to-channel-map [21] <- 0
[   98.455795] pru-rproc 4a300000.prurproc: sysevent-to-channel-map [22] <- 1
[   98.455827] pru-rproc 4a300000.prurproc: sysevent-to-channel-map [24] <- 4
[   98.455859] pru-rproc 4a300000.prurproc: sysevent-to-channel-map [25] <- 5
[   98.455891] pru-rproc 4a300000.prurproc: sysevent-to-channel-map [26] <- 6
[   98.455923] pru-rproc 4a300000.prurproc: sysevent-to-channel-map [27] <- 7
[   98.455970] pru-rproc 4a300000.prurproc: channel-to-host-interrupt-map [0] <- 0
[   98.456003] pru-rproc 4a300000.prurproc: channel-to-host-interrupt-map [1] <- 1
[   98.456035] pru-rproc 4a300000.prurproc: channel-to-host-interrupt-map [2] <- 2
[   98.456066] pru-rproc 4a300000.prurproc: channel-to-host-interrupt-map [3] <- 3
[   98.456098] pru-rproc 4a300000.prurproc: channel-to-host-interrupt-map [4] <- 0
[   98.456129] pru-rproc 4a300000.prurproc: channel-to-host-interrupt-map [5] <- 6
[   98.456161] pru-rproc 4a300000.prurproc: channel-to-host-interrupt-map [6] <- 1
[   98.456192] pru-rproc 4a300000.prurproc: channel-to-host-interrupt-map [7] <- 7
[   98.456263] pru-rproc 4a300000.prurproc: found #2 PRUs
[   98.462551] pru-rproc 4a300000.prurproc: No resource-table node node; slave PRU
[   98.462674] pru-rproc 4a300000.prurproc: No resource-table node node; slave PRU
[   98.463097]  remoteproc0: 4a300000.prurproc is available
[   98.463128]  remoteproc0: Note: remoteproc is still under development and considered experimental.
[   98.463154]  remoteproc0: THE BINARY FORMAT IS NOT YET FINALIZED, and backward compatibility isn't yet guaranteed.
[   98.468006]  remoteproc0: powering up 4a300000.prurproc
[   98.525236]  remoteproc0: failed to load beaglelogic-pru1
[   98.531471]  remoteproc0: request_firmware failed: -2
[   98.537110] pru-rproc 4a300000.prurproc: rproc_boot failed
[   98.542994]  remoteproc1: releasing 4a300000.prurproc
[   98.548496] pru-rproc: probe of 4a300000.prurproc failed with error -2
[   98.549831] bone-capemgr bone_capemgr.9: slot #7: Applied #2 overlays.

root@beaglebone:/sys/devices/bone_capemgr.9# modprobe beaglelogic

[  213.551129] BeagleLogic loaded and initializing
[  213.551224] beaglelogic: probe of pru-beaglelogic.12 failed with error -1


Missing firmware:
-rw-r--r--  1 root   root   6679 Jun 22 18:38 beaglelogic-firmware.tar.gz
-rw-r--r--  1 debian admin  2566 Jun 22 18:36 BB-BEAGLELOGIC-00A0.dtbo
-rw-rw-r--  1 debian admin 11160 Jun 21 16:14 beaglelogic-pru0
-rw-rw-r--  1 debian admin 12648 Jun 21 16:14 beaglelogic-pru1

Get it here[2]

now it loads:

root@beaglebone:~# echo BB-BEAGLELOGIC > /sys/devices/bone_capemgr.*/slots

[   35.172109] bone-capemgr bone_capemgr.9: part_number 'BB-BEAGLELOGIC', version 'N/A'
[   35.172287] bone-capemgr bone_capemgr.9: slot #7: generic override
[   35.172333] bone-capemgr bone_capemgr.9: bone: Using override eeprom data at slot 7
[   35.172383] bone-capemgr bone_capemgr.9: slot #7: 'Override Board Name,00A0,Override Manuf,BB-BEAGLELOGIC'
[   35.172634] bone-capemgr bone_capemgr.9: slot #7: Requesting part number/version based 'BB-BEAGLELOGIC-00A0.dtbo
[   35.172681] bone-capemgr bone_capemgr.9: slot #7: Requesting firmware 'BB-BEAGLELOGIC-00A0.dtbo' for board-name 'Override Board Name', version '00A0'
[   35.172736] bone-capemgr bone_capemgr.9: slot #7: dtbo 'BB-BEAGLELOGIC-00A0.dtbo' loaded; converting to live tree
[   35.176193] bone-capemgr bone_capemgr.9: slot #7: #2 overlays
[   35.196956] omap_hwmod: pruss: failed to hardreset
[   35.203512] pru-rproc 4a300000.prurproc: #8 PRU interrupts registered
[   35.203690] pru-rproc 4a300000.prurproc: sysevent-to-channel-map [17] <- 1
[   35.203727] pru-rproc 4a300000.prurproc: sysevent-to-channel-map [18] <- 0
[   35.203760] pru-rproc 4a300000.prurproc: sysevent-to-channel-map [19] <- 2
[   35.203793] pru-rproc 4a300000.prurproc: sysevent-to-channel-map [20] <- 3
[   35.203824] pru-rproc 4a300000.prurproc: sysevent-to-channel-map [21] <- 0
[   35.203856] pru-rproc 4a300000.prurproc: sysevent-to-channel-map [22] <- 1
[   35.203888] pru-rproc 4a300000.prurproc: sysevent-to-channel-map [24] <- 4
[   35.203920] pru-rproc 4a300000.prurproc: sysevent-to-channel-map [25] <- 5
[   35.203952] pru-rproc 4a300000.prurproc: sysevent-to-channel-map [26] <- 6
[   35.203983] pru-rproc 4a300000.prurproc: sysevent-to-channel-map [27] <- 7
[   35.204029] pru-rproc 4a300000.prurproc: channel-to-host-interrupt-map [0] <- 0
[   35.204062] pru-rproc 4a300000.prurproc: channel-to-host-interrupt-map [1] <- 1
[   35.204094] pru-rproc 4a300000.prurproc: channel-to-host-interrupt-map [2] <- 2
[   35.204125] pru-rproc 4a300000.prurproc: channel-to-host-interrupt-map [3] <- 3
[   35.204156] pru-rproc 4a300000.prurproc: channel-to-host-interrupt-map [4] <- 0
[   35.204188] pru-rproc 4a300000.prurproc: channel-to-host-interrupt-map [5] <- 6
[   35.204220] pru-rproc 4a300000.prurproc: channel-to-host-interrupt-map [6] <- 1
[   35.204251] pru-rproc 4a300000.prurproc: channel-to-host-interrupt-map [7] <- 7
[   35.204323] pru-rproc 4a300000.prurproc: found #2 PRUs
[   35.208620] pru-rproc 4a300000.prurproc: No resource-table node node; slave PRU
[   35.208738] pru-rproc 4a300000.prurproc: No resource-table node node; slave PRU
[   35.209173]  remoteproc0: 4a300000.prurproc is available
[   35.209203]  remoteproc0: Note: remoteproc is still under development and considered experimental.
[   35.209229]  remoteproc0: THE BINARY FORMAT IS NOT YET FINALIZED, and backward compatibility isn't yet guaranteed.
[   35.216359]  remoteproc0: powering up 4a300000.prurproc
[   35.216746]  remoteproc0: Booting fw image beaglelogic-pru1, size 12648
[   35.216810]  remoteproc0: PRU#1 bootcnt=0
[   35.216838]  remoteproc0: PRU#1 entry-point 0x764
[   35.216864]  remoteproc0: remote processor 4a300000.prurproc is now up
[   35.217084]  remoteproc1: 4a300000.prurproc is available
[   35.217112]  remoteproc1: Note: remoteproc is still under development and considered experimental.
[   35.217137]  remoteproc1: THE BINARY FORMAT IS NOT YET FINALIZED, and backward compatibility isn't yet guaranteed.
[   35.220244]  remoteproc1: powering up 4a300000.prurproc
[   35.220566]  remoteproc1: Booting fw image beaglelogic-pru0, size 11160
[   35.220626]  remoteproc1: PRU#0 bootcnt=0
[   35.220654]  remoteproc1: PRU#0 entry-point 0x310
[   35.220679]  remoteproc1: remote processor 4a300000.prurproc is now up
[   35.220804] pru-rproc 4a300000.prurproc: Loaded OK
[   35.225423] bone-capemgr bone_capemgr.9: slot #7: Applied #2 overlays.


root@beaglebone:~# modprobe beaglelogic

[   97.089144] BeagleLogic loaded and initializing
[   97.091533] misc beaglelogic: BeagleLogic PRU Firmware version: 0.2
[   97.091624] misc beaglelogic: Device supports max 128 vector transfers
[   97.091700] misc beaglelogic: Valid PRU capture context structure found at offset 0000
[   97.091763] misc beaglelogic: Default sample rate=50000000 Hz, sampleunit=1, triggerflags=0. Buffer in units of 4194304 bytes each

[1] https://github.com/abhishek-kakkar/BeagleLogic/wiki/Getting-Started
[2] https://github.com/abhishek-kakkar/BeagleLogic/wiki/Build-BeagleLogic



[Reply][About]
[<<][am335x][>>][..]