On 24-12-2013 19:58, Bas de Bruijn wrote:
> On 24 Dec 2013, at 12:25, Bas Laarhoven <s...@xs4all.nl> wrote:
>
>> On 24-12-2013 9:27, Bas de Bruijn wrote:
>>> Hi Bas and Charles
>>> Thanks again for your patience and trying to solve my problems. I have no 
>>> doubt that I do something simply wrong by my lack of experience. Probably 
>>> something very normal in the linux world but not (yet) for me.
>>>
>>> This morning I made sure I have a fresh system. I have taken the 
>>> debian-7.1-machinekit-armhf-2013-09-02.tar.xz from Charles his blog and 
>>> followed the installation of the SD image via my Ubuntu VM on parallels for 
>>> my Mac.
>>>
>>> I have not connected the BeBoPr+ to the BBB.
>>>
>>> I have done a “dmesg" and a "dmesg grep | capemgr" and put this on pastebin 
>>> as Bas proposes.
>>>
>>> Now this is as fresh an installation as I can get (and i didn’t knowingly 
>>> screw up the previous one).
>>>
>>> If I understand correctly then:
>>> [1] I need to be sure the "cape-bebopr-brdg” overlay _is not_ loaded
>>> [2] I need to make sure BB-LCNC-BEBOPRBR-00A0 overlay _is_ loaded
>>>
>>> now what I need to know is if I load the BB-LCNC-BEBOPRBR-00A0 via the 
>>> /boot/uboot/uEnv.txt like 
>>> "optargs=capemgr.enable_partno=BB-LCNC-BEBOPRBR-00A0"
>>>
>>> here is the pastebin link of my freshly installation
>>> http://pastebin.com/6LKVhCpe
>> Thanks Bas,
>>
>> Nothing strange in the bootlog as far as I can see.
>> What puzzles me is why you have disabled the HDMI and eMMC devices and
>> not the HDMIN.
>> Since you have a BeBoPr+ configuration, you're able to use the HDMI and
>> eMMC normally.
>> Is there a specific you to disable these two devices?
> I have done nothing special. These are the “default” settings of the image.
> I have the HDMI micro connector on the BBB connected to a HDMI convertor to a 
> VGA monitor and on the Screen I have a good view (no shifted screen or wobbly 
> pixels like I have when I connect the BBB micro HDMI to the converter on a 
> fresh clean Angstrom.

Understood, I saw Charles' message why this was done.

>
>> Now the boot log doesn't show any loading of a BeBoPr overlay, so you
>> have a 'clean' system.
>>
>> I would like to find out if we can load the original BeBoPr overlay
>> (cape-bebopr-brdg) on your
>> Xenomai kernel. If that fails you have to remove the SD card and boot
>> Angstrom.
>> (BTW: do you have a serial console cable for the BBB? A proper console
>> makes diagnosing
>> problems a lot easier).
> If you mean a mini USB cable between the BBB and my Mac: yes otherwise I’m 
> unaware what you mean.
> Right now I ssh into the BBB via USB or (at the moment) via my network.

No, I mean a serial to USB cable for a direct console connection so that 
you have access to the bootloader.

>
>> Now after booting, issue the command
>>    echo cape-bebopr-brdg:R2 > /sys/devices/bone.capemgr*/slots
>> After that, what output do the following two commands give?:
>>    dmesg | grep capemgr
>>    cat /sys/devices/bone.capemgr*/slots
> please see below, seems like the cape-bebopr-brdg:R2 is loaded

Yes indeed ! Now I'm curious what values the ADC is returning. This is 
almost the same configuration as I'm using during board testing. Only 
the kernel is different, but I hope that that doesn't spoil the fun.

-- Bas

>
> linuxcnc@arm:~$ su
> Password:
> root@arm:/home/linuxcnc# echo cape-bebopr-brdg:R2 > 
> /sys/devices/bone_capemgr.8/slots
> root@arm:/home/linuxcnc# dmesg | grep capemgr
> [    0.000000] Kernel command line: console=ttyO0,115200n8 
> capemgr.disable_partno=BB-BONELT-HDMI,BB-BONE-EMMC-2G root=/dev/mmcblk0p2 ro 
> rootfstype=ext4 rootwait fixrtc ip=
> [    1.452804] bone-capemgr bone_capemgr.8: Baseboard: 
> 'A335BNLT,0A5C,3513BBBK1445'
> [    1.460604] bone-capemgr bone_capemgr.8: 
> compatible-baseboard=ti,beaglebone-black
> [    1.468485] bone-capemgr bone_capemgr.8: Skipping disabled cape with part# 
> BB-BONE-EMMC-2G
> [    1.477186] bone-capemgr bone_capemgr.8: Skipping disabled cape with part# 
> BB-BONELT-HDMI
> [    1.516438] bone-capemgr bone_capemgr.8: slot #0: No cape found
> [    1.553544] bone-capemgr bone_capemgr.8: slot #1: No cape found
> [    1.590653] bone-capemgr bone_capemgr.8: slot #2: No cape found
> [    1.627763] bone-capemgr bone_capemgr.8: slot #3: No cape found
> [    1.634017] bone-capemgr bone_capemgr.8: slot #4: specific override
> [    1.640620] bone-capemgr bone_capemgr.8: bone: Using override eeprom data 
> at slot 4
> [    1.648672] bone-capemgr bone_capemgr.8: slot #4: 
> 'Bone-LT-eMMC-2G,00A0,Texas Instrument,BB-BONE-EMMC-2G'
> [    1.658790] bone-capemgr bone_capemgr.8: slot #5: specific override
> [    1.665392] bone-capemgr bone_capemgr.8: bone: Using override eeprom data 
> at slot 5
> [    1.673441] bone-capemgr bone_capemgr.8: slot #5: 
> 'Bone-Black-HDMI,00A0,Texas Instrument,BB-BONELT-HDMI'
> [    1.683457] bone-capemgr bone_capemgr.8: slot #6: specific override
> [    1.690055] bone-capemgr bone_capemgr.8: bone: Using override eeprom data 
> at slot 6
> [    1.698103] bone-capemgr bone_capemgr.8: slot #6: 
> 'Bone-Black-HDMIN,00A0,Texas Instrument,BB-BONELT-HDMIN'
> [    1.708418] bone-capemgr bone_capemgr.8: Skipping loading of disabled cape 
> with part# BB-BONE-EMMC-2G
> [    1.718112] bone-capemgr bone_capemgr.8: Skipping loading of disabled cape 
> with part# BB-BONELT-HDMI
> [    1.727858] bone-capemgr bone_capemgr.8: initialized OK.
> [    1.733472] bone-capemgr bone_capemgr.8: loader: before slot-6 
> BB-BONELT-HDMIN:00A0 (prio 2)
> [    1.742339] bone-capemgr bone_capemgr.8: loader: check slot-6 
> BB-BONELT-HDMIN:00A0 (prio 2)
> [    1.769910] bone-capemgr bone_capemgr.8: loader: after slot-6 
> BB-BONELT-HDMIN:00A0 (prio 2)
> [    1.784746] bone-capemgr bone_capemgr.8: slot #6: Requesting firmware 
> 'cape-boneblack-hdmin-00A0.dtbo' for board-name 'Bone-Black-HDMIN', version 
> '00A0'
> [    1.819244] bone-capemgr bone_capemgr.8: slot #6: dtbo 
> 'cape-boneblack-hdmin-00A0.dtbo' loaded; converting to live tree
> [    1.842093] bone-capemgr bone_capemgr.8: slot #6: #2 overlays
> [    1.862101] bone-capemgr bone_capemgr.8: slot #6: Applied #2 overlays.
> [    1.868979] bone-capemgr bone_capemgr.8: loader: done slot-6 
> BB-BONELT-HDMIN:00A0 (prio 2)
> [ 1885.282975] bone-capemgr bone_capemgr.8: part_number 'cape-bebopr-brdg', 
> version 'R2'
> [ 1885.292589] bone-capemgr bone_capemgr.8: slot #7: generic override
> [ 1885.299258] bone-capemgr bone_capemgr.8: bone: Using override eeprom data 
> at slot 7
> [ 1885.307325] bone-capemgr bone_capemgr.8: slot #7: 'Override Board 
> Name,R2,Override Manuf,cape-bebopr-brdg'
> [ 1885.317728] bone-capemgr bone_capemgr.8: slot #7: Requesting part 
> number/version based 'cape-bebopr-brdg-R2.dtbo
> [ 1885.328454] bone-capemgr bone_capemgr.8: slot #7: Requesting firmware 
> 'cape-bebopr-brdg-R2.dtbo' for board-name 'Override Board Name', version 'R2'
> [ 1885.344645] bone-capemgr bone_capemgr.8: slot #7: dtbo 
> 'cape-bebopr-brdg-R2.dtbo' loaded; converting to live tree
> [ 1885.358035] bone-capemgr bone_capemgr.8: slot #7: #16 overlays
> [ 1885.785876] bone-capemgr bone_capemgr.8: slot #7: Applied #16 overlays.
> root@arm:/home/linuxcnc#  cat /sys/devices/bone_capemgr.8/slots
>   0: 54:PF---
>   1: 55:PF---
>   2: 56:PF---
>   3: 57:PF---
>   4: ff:P-O-- 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-L Bone-Black-HDMIN,00A0,Texas Instrument,BB-BONELT-HDMIN
>   7: ff:P-O-L Override Board Name,R2,Override Manuf,cape-bebopr-brdg
> root@arm:/home/linuxcnc#
> ------------------------------------------------------------------------------
> Rapidly troubleshoot problems before they affect your business. Most IT
> organizations don't have a clear picture of how application performance
> affects their revenue. With AppDynamics, you get 100% visibility into your
> Java,.NET, & PHP application. Start your 15-day FREE TRIAL of AppDynamics Pro!
> http://pubads.g.doubleclick.net/gampad/clk?id=84349831&iu=/4140/ostg.clktrk
> _______________________________________________
> Emc-users mailing list
> Emc-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/emc-users


------------------------------------------------------------------------------
Rapidly troubleshoot problems before they affect your business. Most IT 
organizations don't have a clear picture of how application performance 
affects their revenue. With AppDynamics, you get 100% visibility into your 
Java,.NET, & PHP application. Start your 15-day FREE TRIAL of AppDynamics Pro!
http://pubads.g.doubleclick.net/gampad/clk?id=84349831&iu=/4140/ostg.clktrk
_______________________________________________
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users

Reply via email to