Il giorno sabato 10 maggio 2014 23:09:48 UTC+2, cecco ha scritto:
>
> Hi Robert,
> this is my file:
> ubuntu@arm:~$ cat /etc/default/capemgr 
> # Default settings for capemgr. This file is sourced by /bin/sh from
> # /etc/init.d/capemgr.sh
>
> # Options to pass to capemgr
> CAPE=BB-BONE-BRT-Tdl2
> #CAPE=cape-universal
>
> this is my dmesg report (partial)
> ubuntu@arm:~$ dmesg | grep cape
> [    1.535953] bone-capemgr bone_capemgr.8: Baseboard: 
> 'A335BONE,00A6,0613BB001068'
> [    1.543752] bone-capemgr bone_capemgr.8: 
> compatible-baseboard=ti,beaglebone
> [    1.582245] bone-capemgr bone_capemgr.8: slot #0: No cape found
> [    1.619351] bone-capemgr bone_capemgr.8: slot #1: No cape found
> [    1.656459] bone-capemgr bone_capemgr.8: slot #2: No cape found
> [    1.693569] bone-capemgr bone_capemgr.8: slot #3: No cape found
> [    1.699944] bone-capemgr bone_capemgr.8: initialized OK.
>
> after boot:
> ubuntu@arm:~$ cat /sys/devices/bone_capemgr.8/slots
>  0: 54:PF--- 
>  1: 55:PF--- 
>  2: 56:PF--- 
>  3: 57:PF--- 
>
> command line execution:
> ubuntu@arm:~$ sudo sh -c "echo BB-BONE-BRT-Tdl2 > 
> /sys/devices/bone_capemgr.8/slots"
> [sudo] password for ubuntu: 
>
> then:
> ubuntu@arm:~$ cat /sys/devices/bone_capemgr.8/slots
>  0: 54:PF--- 
>  1: 55:PF--- 
>  2: 56:PF--- 
>  3: 57:PF--- 
>  4: ff:P-O-L Override Board Name,00A0,Override Manuf,BB-BONE-BRT-Tdl2
>

ubuntu@arm:~$ dmesg | grep cape
[    1.535953] bone-capemgr bone_capemgr.8: Baseboard: 
'A335BONE,00A6,0613BB001068'
[    1.543752] bone-capemgr bone_capemgr.8: 
compatible-baseboard=ti,beaglebone
[    1.582245] bone-capemgr bone_capemgr.8: slot #0: No cape found
[    1.619351] bone-capemgr bone_capemgr.8: slot #1: No cape found
[    1.656459] bone-capemgr bone_capemgr.8: slot #2: No cape found
[    1.693569] bone-capemgr bone_capemgr.8: slot #3: No cape found
[    1.699944] bone-capemgr bone_capemgr.8: initialized OK.
[  186.713890] bone-capemgr bone_capemgr.8: part_number 'BB-BONE-BRT-Tdl2', 
version 'N/A'
[  186.713991] bone-capemgr bone_capemgr.8: slot #4: generic override
[  186.714015] bone-capemgr bone_capemgr.8: bone: Using override eeprom 
data at slot 4
[  186.714040] bone-capemgr bone_capemgr.8: slot #4: 'Override Board 
Name,00A0,Override Manuf,BB-BONE-BRT-Tdl2'
[  186.714186] bone-capemgr bone_capemgr.8: slot #4: Requesting part 
number/version based 'BB-BONE-BRT-Tdl2-00A0.dtbo
[  186.714211] bone-capemgr bone_capemgr.8: slot #4: Requesting firmware 
'BB-BONE-BRT-Tdl2-00A0.dtbo' for board-name 'Override Board Name', version 
'00A0'
[  187.028105] bone-capemgr bone_capemgr.8: slot #4: dtbo 
'BB-BONE-BRT-Tdl2-00A0.dtbo' loaded; converting to live tree
[  187.032022] bone-capemgr bone_capemgr.8: slot #4: #5 overlays
[  187.247500] bone-capemgr bone_capemgr.8: slot #4: Applied #5 overlays.

 

>
> and my capes work!
> I seems not load /etc/default/capemgr ...
>
> Any suggestion is welcome! (remember that I'm VERY newbie!)
>
> Thanks a lot!
>
> Francesco.
>
>
>
>
> Il giorno sabato 10 maggio 2014 18:59:55 UTC+2, RobertCNelson ha scritto:
>>
>> On Sat, May 10, 2014 at 11:14 AM, cecco <[email protected]> wrote: 
>> > 
>> > Hello to everyone! 
>> > I've just experimented this things in last week, and with suggestion of 
>> that 
>> > "special community" I've solved the same problem. 
>> > Today I’ve downloaded last release of Ubuntu (14.04-05-06) with Linux 
>> arm 
>> > 3.8.13-bone49 #1 kernel from here and written the image with "sudo 
>> > ./setup_sdcard.sh --mmc /dev/sdxxx --uboot bone". 
>> > All works very fine, except for load my cape overlay: from command line 
>> is 
>> > ok, but from uEnv.txt (as we know, but when you are desparate...) and 
>> from 
>> > '/etc/default/capemgr' won't work! 
>> > The problem is that '/etc/default/capemgr' seems to not be read: I can 
>> put 
>> > what I want in it, but no errors or warnings appear in dmesg... 
>> > My previous successfully tests are made with debian and 3.8.13-bone47 
>> > kernel. 
>>
>> Odd, the ubuntu upstart script looks like this: 
>>
>>
>> https://github.com/RobertCNelson/omap-image-builder/blob/master/target/init_scripts/capemgr-ubuntu.sh
>>  
>>
>> First thing it does is: 
>>
>> . /etc/default/capemgr 
>>
>> So what does your /etc/default/capemgr look like? 
>>
>> Regards, 
>>
>> -- 
>> Robert Nelson 
>> http://www.rcn-ee.com/ 
>>
>

-- 
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 [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to