Ok,I had to modify my workflow, but I do believe I got the changes put into 
place. Not sure why Robert's way was not working, but I'm used to thinking 
outside the box, or looking at multiple ways to achieve the same results . 
. .

You board file name, and kernel version will depend on which board file you 
need to use, and which kernel you're running . . .

william@beaglebone:~/dev$ cp /boot/dtbs/4.1.34-bone-rt-r24/am335x-boneblack-
emmc-overlay.dtb .


* Search for "sleep"*

* Line 810-814 for me, remove:*

                     cpsw_sleep {
                        pinctrl-single,pins = <0x108 0x27 0x10c 0x27 0x110 
0x27 0x114 0x27 0x118 0x27 0x11c 0x27 0x120 0x27 0x124 0x27 0x128 0x27 0x12c 
0x27 0x130 0x27 0x134 0x27 0x138 0x27 0x13c 0x27 0x140 0x27>;
                        linux,phandle = <0x37>;
                        phandle = <0x37>;
                    };



*line 816-820 remove:*

                    davinci_mdio_sleep {
                        pinctrl-single,pins = <0x148 0x27 0x14c 0x27>;
                        linux,phandle = <0x39>;
                        phandle = <0x39>;
                    };


*Line 1827 change:*
pinctrl-names = "default", "sleep";



*to:*
pinctrl-names = "default";



*Line 1841 change:*
pinctrl-names = "default", "sleep";



*to:*
pinctrl-names = "default";



*Line 2165 delete this whole line:*
cpsw_sleep = "/ocp/l4_wkup@44c00000/scm@210000/pinmux@800/cpsw_sleep";



*Line 2166 delete this whole line:*
davinci_mdio_sleep = 
"/ocp/l4_wkup@44c00000/scm@210000/pinmux@800/davinci_mdio_sleep";



*Then save, and exit the file. After that rname the old board file:*
william@beaglebone:~/dev$ mv am335x-boneblack-emmc-overlay.dtb am335x-
boneblack-emmc-overlay.dtb.old



*Now compile the newly edited source file back into the original board file 
name / extension:*
william@beaglebone:~/dev$ dtc -I dts -O dtb -o am335x-boneblack-emmc-overlay
.dtb am335x-boneblack-emmc-overlay.dts



*For convience, since I use an NFS share to do most of my work on, I prefer 
to move both the new dtb, and old dtb to the destination:*
william@beaglebone:~/dev$ sudo cp am335x-boneblack-emmc-overlay.dtb* /boot/
dtbs/4.1.34-bone-rt-r24/



*Double check:*
william@beaglebone:~/dev$ ls /boot/dtbs/4.1.34-bone-rt-r24/ |grep emmc
am335x-boneblack-emmc-overlay.dtb
am335x-boneblack-emmc-overlay.dtb.old


*Reboot:*
william@beaglebone:~/dev$ sudo reboot


Now do keep in mind. Just because I'm calling out line numbers here does 
not mean they will be the same for you. But if you use a good text editor, 
you can search for "sleep", and should only find these 6 occurrences in 
your decompiled source file. With that said, always double check to make 
sure what you're deleting / changing, is actually what needs to be changed. 

-- 
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].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/beagleboard/996530c3-185f-4260-9585-7b170396ee58%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to