
#Disable auto loading of virtual capes (emmc/video/wireless/adc) Uboot_overlay_addr0=/lib/firmware/BB-UART2-00A0.dtbo This is the /boot/uEnv.txt file I have currently. dts file, in the /src/arm/ directory, and go back to the BeagleBoard-DeviceTrees/ dir. In that one, you would simply place the correct file, your. Uboot_overlay_addr0=/lib/firmware/your_newly_added_file.dtboĪlso and excuse me if this does not work, you can try with the BeagleBoard-DeviceTrees link I provided. Although, compiling using the device-tree-compiler is an option, I say use their build script w/ their Makefile. dts file works too.(supposedly as I have not seen it).
#U boot configuration install#
Install bb.org-overlays found here,, with: git clone
#U boot configuration how to#
Luckily, there is a long list of ideas but one needs to make them accessible in the correct order.Īlso: are some ideas on how to start the image factory of making things available for the BeagleBone Black. I have had complications with this before and lacking understanding, I have been a drift. If you need exact placements of the files in the kernel to search under for the. by simply making the file in a text editor, saving it, and placing it in the system before compilation via make menuconfig or whatever you are using to install the boot partition and OS partition. Once this is completed, one would have to install the file uEnv.txt in the /boot dir. Oh! Also, when creating your image, one would have to create the two partitions, one for booting and the other for the actual OS/filesystem. dts file(s), I would simply put it in the /boot/uEnv.txt file under this heading. and kernel for specific, already-made device tree ideas and files.Īlso, it is as simple as creating your dts file, compiling it, and putting it in the correct space on the BeagleBone Black in /boot/uEnv.txt.įor instance, if I had a specific. The Device Tree specification can be found here: To use the uboot-overlays, which is a given for most concepts with GPIO pins on the BBB, one would have to install bb.org-overlays which are found here,, and to understand Device-Tree Specifications. when/where does making an image come into play? what about making two different partitions? I didn't follow that part.The first hex number looks like it somehow corresponds to pin number, but I'm not sure how? for example, 0x078->P9.12,0x184->P9.24, etc. The second hex number is the pin mode I'm trying to change that makes sense. My plan is to modify/extend lines 29-33 to change the boot configuration of all relevant pins. dts file, I looked around and found this as a starting point: what does searching "in the kernel" mean? how would I do this?.dts file with the correct configurationĭtc -O dtb -o out_file.dtbo -b 0 in_file.dts (or something similar?)Īdjust this line in /boot/uEnv.txt file to reference compiled dts Install bb.org-overlays found here,, with:Ĭreate a. I read through the article, and googled around, but I haven't found anything on how to actually use a u-boot overlay to change the configuration of the GPIO pins on boot.ĭoes anyone know how to do this, or know where I might find a good resource to this effect?Įdit: here are the steps I think I need to take, based on De Funct's answer: I googled this issue and was directed to this page, which says that device tree overlays are now deprecated, and to use u-boot overlays instead: I found this tutorial on using a device overlay to achieve this here:īut I am missing the "bone_capemgr.8" directory. But I would like to change all the default GPIO configuration on boot, which this tool does not appear to do. After boot, I am able to change and query individual GPIO configurations with the "config-pin" command, which is useful for experimentation. I am connected to ssh, and am trying to adjust the boot configuration of the GPIO pins. I am running ubuntu 18.04, kernel 4.19.94-ti-r36, on a a beaglebone black.
