Help editing BBGW's device tree

82 views
Skip to first unread message

pok...@gmail.com

unread,
Mar 7, 2017, 7:18:22 PM3/7/17
to BeagleBoard
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? 

Robert Nelson

unread,
Mar 7, 2017, 7:50:15 PM3/7/17
to Beagle Board
On Tue, Mar 7, 2017 at 6:11 PM, <pok...@gmail.com> wrote:
> 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:
> 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)

dtb-rebuilder:

edit the bbgw dts and add ^ those..

https://github.com/RobertCNelson/dtb-rebuilder

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

Regards,

--
Robert Nelson
https://rcn-ee.com/

roberts...@yahoo.com

unread,
Mar 7, 2017, 10:48:42 PM3/7/17
to beagl...@googlegroups.com

--------------------------------------------
On Wed, 3/8/17, Robert Nelson <robert...@gmail.com> wrote:

Subject: Re: [beagleboard] Help editing BBGW's device tree
To: "Beagle Board" <beagl...@googlegroups.com>
Date: Wednesday, March 8, 2017, 2:49 AM
--
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 beagleboard...@googlegroups.com.
To view this discussion on the web visit
https://groups.google.com/d/msgid/beagleboard/CAOCHtYg9g8uo08ONfbW3tJMEhQUAJmRhjk3ir35jAoO8LosEWA%40mail.gmail.com.
For
more options, visit https://groups.google.com/d/optout.
eintelegerile dintre Bucuresti si Moscova vor reizbucni pe* tema stradaniilor lui Hrusciov de a impune planurile sale privind specializarea economica a statelor membre ale C.A.E.R. in cadrul acestora Romania era privita ca o tara cu bogate resurse agricole. Gheoghiu-Dej s-a pronuntat insa pentru un ritm sporit al industrializarii tarii pentru a inlatura dependenta economica de alte state. Din 1958 la conducerea tarii s-a impus o echipa politica mai tanara in care rolul important l-a avut Ion Gheorghe Maurer. Aceasta a prefigurat o posibila reorientare in plan extern.

Ethan Heilicher

unread,
Mar 9, 2017, 5:33:47 PM3/9/17
to BeagleBoard
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
Reply all
Reply to author
Forward
0 new messages