Help editing BBGW's device tree

Hello everyone, sorry if my question has been already answered - I have been looking around for a while and haven’t found a good answer.

I am interested in adding some hardware to the Beaglebone Green Wireless board, but in order to do that I need to change some of the device tree/pin mux settings. I would like to eventually build a .img file with all of the beaglebone functionality including my additional hardware for easy SD card loading (as the currently provided images are capable of).

I have never built a Linux image myself, and though this page ( https://eewiki.net/display/linuxonarm/BeagleBone+Black ) is helpful, the formatting makes it confusing which commands correspond to which processes.

My understanding is that images can be built using seeed studio’s image-builder branch: https://github.com/beagleboard/image-builder/tree/smaller-iot

I don’t want to use overlays due to some low level interfaces moving (UARTx → LAN, UARTy → CAN, LDC ->UARTz etc)

Long story short: How can I build my own beaglebone green wireless image with a custom device tree?

Hello everyone, sorry if my question has been already answered - I have been
looking around for a while and haven't found a good answer.

I am interested in adding some hardware to the Beaglebone Green Wireless
board, but in order to do that I need to change some of the device tree/pin
mux settings. I would like to eventually build a .img file with all of the
beaglebone functionality including my additional hardware for easy SD card
loading (as the currently provided images are capable of).

I have never built a Linux image myself, and though this page (
https://eewiki.net/display/linuxonarm/BeagleBone+Black ) is helpful, the
formatting makes it confusing which commands correspond to which processes.

Just follow it in order, top to bottom...

My understanding is that images can be built using seeed studio's
image-builder branch:
GitHub - beagleboard/image-builder at smaller-iot

I don't want to use overlays due to some low level interfaces moving (UARTx
-> LAN, UARTy -> CAN, LDC ->UARTz etc)

dtb-rebuilder:

edit the bbgw dts and add ^ those..

Long story short: How can I build my own beaglebone green wireless image
with a custom device tree?

Regards,

Robert,

Thanks for the info - I have been following the steps in the BeagleBone+Black wiki page but encountered problems trying to write to my SD card (Setup microSD card step) as a result of my workstation (Ubuntu in a virtualbox vm on windows 8 on a macbookpro, ended up breaking my vm). In the end I want to have a beaglebone .img file to distribute to many systems, so following your steps to achieve that sounds to me like this:

  1. Build beaglebone image by following https://eewiki.net/display/linuxonarm/BeagleBone+Black
    Completing this yields an SD card with a complete Linux image loaded.
  2. Boot OS from the SD card, install dtb-rebuilder and edit dts files, run dtb-rebuilder and reboot
    After this we have the working OS I wish to distribute
  3. Use a utility to rip the SD card image for distribution

Is this a correct process for retrieving the .img file I want? Is there a better way to build a .img than ripping it from the SD card? I tried to use image-builder but there is no way to edit the dts during the build (that I could figure out)

Thank you so much for your help!

  • Ethan