Hi Robert, Hi all,

I reflashed my board, updated the kernel to 3.16.1-bon4, installed the dtc 
using [1] and downloaded dtb-rebuilder via [2]. But still wasn't able to 
enable CAN1... 

> 4.) copied the am335x-boneblack.dtb file to /boot/dtbs/3.16.1-bone4/ 
> > 5.) Reboot. Without result. After running modprobe can; modprobe 
> can-dev; 
> > modprobe can-raw there was no CAN interface when typing ifconfig -a 
>
> Do you have can enabled? 
>
> The can "pinmux" relies on this patchset in my v3.14.x tree: 
>
>
> https://github.com/RobertCNelson/ti-linux-kernel-dev/tree/ti-linux-3.14.y/patches/beaglebone/pinmux-helper
>  
>

I hope I got you rigth here. I went to the github repo from above and look 
at the file "*0011-pinmux-helper-can1.patch* ". In this patch file there is 
just one change in file "am335x-bone-common-pinmux.dtsi":
- pinctrl-single,pins = <0x180 * 0x32*>; }; /* Mode 2, Pull-Up, RxActive */ 
//This 
line changes to
+ pinctrl-single,pins = <0x180 *0x12*>; }; /* Mode 2, Pull-Up, RxActive */ 
//this one

So I looked into this file on my BBB 
(dtb-rebuilder/src/arm/am335x-bone-common-pinmux.dtsi) and the change <0x180 
*0x12*> was already there. Finally I uncommented line 53 (/* #include 
"am335x-bone-can1.dtsi" */) in file dtb-rebuilder/src/arm/am335x-boneblack.dts. 


Then make and copy the dtb-file to the /boot/dbts/... dir.

> 6.) So I checked the uEnv file in /boot dir. There was a line "#dtb=" 
> > 7.) Then I uncommented this line and used 
> > dtb=/boot/dtbs/3.16.1-bone4/am335x-boneblack.dtb 
>
> Yuck, don't do that, just the file name.. (i need to add the exact 
> path to the lookup function in u-boot so user's don't break their boot 
> via ^^^^that^^^) 
>

Thanks for that hint. Now I just use "dtb=am335x-boneblack.dtb". And the 
board restarts without problems

After running the modprobe steps (can, can-dev, can-raw) I checked if I can 
see the can interface now using ifconfig -a but still there is no can0 
interface.

What did I miss? Do you have any ideas or hints for me?

Best regards and thanks again for your help,
Marco

[1] wget -c https://raw.github.com/RobertCNelson/tools/master/pkgs/dtc.sh
[2] wget -c https://raw.github.com/RobertCNelson/tools/master/pkgs/dtc.sh

-- 
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