missing dir /sys/devices/bone_capemgr.9/slots in BBB img

  1. I DL BBB image from https://rcn-ee.net/deb/flasher/trusty/

Robert-C-Nelson’s image the BBB-eMMC-flasher-ubuntu-14.04.1-console-armhf-2014-10-29-2gb.img.xz
and flash it into BBB A6A eMMC,
BUT after a short preparations,
I have noticed for a missing directory: /sys/devices/bone_capemgr.9/

it seems a bug, but could I missed something ?
someone’s assist ?

Actually I’m trying to solve the auto load DT on boot,
following the notes/answers at my custom capes device tree fails to load at boot but can be loaded manually
I planned to use script capemgr-ubuntu.sh I DL from: init_scripts
the script read on boot the file (/etc/default/capemgr) content
and load the relevant device-tree-overlay

where planned Robert-C-Nelson to put capemgr-ubuntu.sh script, in order to be executed on boot ?

many thanks in adavance
H.

I have noticed for a missing directory: /sys/devices/bone_capemgr.9/

Have you tried

$ ls -al /sys/devices/bone_capemgr.*

??

The path is not guaranteed to be at **/sys/devices/bone_**capemgr.9 it could even be at
**/sys/devices/bone_**capemgr.8.

@William Hermans
thnx,
but there is no /sys/devices/bo* at all

actually, I’m using BBB Ubuntu 13.04 and 13.10 for a while
in both of them, the /sys/devices/bone_capemgr.8/ and /sys/devices/bone_capemgr.9/
dir do exist, respectively

H.

Ok, so I am not familiar with that image. Which kernel is it using ?

the 3.14 kernel :
root@centralSite1:/home/ubuntu# uname -a
Linux centralSite1 3.14.22-ti-r31 #1 SMP PREEMPT Sat Oct 25 01:30:27 UTC 2014 armv7l armv7l armv7l GNU/Linux

That is why, There is no capemgr in kernels 3.14.x, 3.15.x, or 3.17 or above.

So, I’ve never done this myself but Robert has made post on this group many times saying you need to edit the main board device tree file and add #include statement to load various device tree files.

I’ll leave it up to you to search these groups to find this information.

Which means that I can not use RCN’s trick for loading dt-overlay on boot.

but shall I expect to find the base dir for device-tree-overlay ?

regards
H.

Yeah give me a few minutes to see if i can find some information.

http://elinux.org/Beagleboard:Capes_3.8_to_3.14#Custom_dtb

Seems like you only need to worry about the loading in uEnv.txt. No need to build from scratch unless you have a custom device tree source file.

By the way, that was found second hit using google . . . but of course it helps if you know the differences exist to begin with.

Thank you William.
I’ll look into it, or just keep and use the Ubuntu 13.10 ,

I tried to find a solution for auto loading BBB DT on boot

thnx
H.

Well, I was just saying you probably did not know what to search for so . . . but since I read at least half the posts on this group, i know this difference exists, and knew what to search for :wink:

William,
Yes I read all these links,
But there are a lot of posts that uEnv.txt way, do have problems, too

BTW, I loaded the my costumed DT (compile my dts to dtbo) within my c program.
but I want to the DT auto load, in the ‘right way’ as it was planned in the first place.

regards
H.

Or you could just install 3.8 from the debian repo:

sudo apt-get update
sudo apt-get install linux-3.8.13-bone68
sudo reboot

Regards,

Thank you William.
I’ll look into it, or just keep and use the Ubuntu 13.10 ,

I tried to find a solution for auto loading BBB DT on boot

Or you could just install 3.8 from the debian repo:

sudo apt-get update
sudo apt-get install linux-3.8.13-bone68
sudo apt-get install linux-image-3.8.13-bone68
sudo reboot

Opps, small correction, i’ve only had a dozen of this same reply this week i should remember. :wink:

Regards,

Hence why I only read 50-75% of the posts on this group hahaah

thanks Robert,

I’ll do it, [sudo apt-get install linux-image-3.8.13-bone68]

sorry for the bother
regards
Haggai

Robert, could you pls direct me, where to put the capemgr-ubuntu.sh script
in order to be exec. on boot ?

regards
H.

It’s no bother… :wink:

It just helps prove i’m loosing my mind. :wink:

Regards,