Hi, I have a Nano Pi Neo2 and I want to try and build Hassos using the buildroot.
How hard is it assuming I have no previous experiance with the tool (but managed to run the script for it)
Is running the script for paticular board in boards folder actually build it with home assistant inside? I don’t really know how to tell other then flashing the image and trying.
It looks like a config for your board is included in Buildroot. So, yes, it is likely possible to build for your board.
How hard is it assuming I have no previous experiance with the tool?
I just recently spent some time reading up on Buildroot and how to build the operating system images for Home Assistant OS to make some very minor changes. The Devs have made building the Home Assistant images trivially easy, but the process of editing the config and hierarchical structure of the project differs significantly from the Buildroot documentation. It makes sense, but took me a little while to grasp.
Does the script for a particular board in the boards folder actually build it with home assistant inside?
Read the operating system documentation I linked to above. You have to prepare a build environment (using docker), then you run the provided Makefile for the image you wish to build. That just builds the operating system. Home Assistant is downloaded and installed on the first boot.
I don’t really know how to tell other then flashing the image and trying.
I would probably start by modifying the config for the board that is closest to yours and see what happens. If you do get it running, you could then split that out as its own board, edit all of the scripts to build it and maybe contribute back.
With all that said, if one of the existing board configs do not work and your board differs significantly from an existing config, this is likely to be a time consuming process for someone like you or me. Good luck.
Thank you for the detailed response.
However I didn’t find the docs very informative as you stated are a bit different from the buildroot docs.
I don’t understand the need to use docker, as buildroot ‘make “nanopi”’ did actually start a build process so? 🤷
I would like to see a better docs or tutorials in the future… If I successfully build image for the nanopi I will definitely try to comment the work.
Hope to see more boards support in the future.
@yuvalabou - Did you get anywhere with building a vanilla buildroot based home assistant? I am really glad that the OS is buildroot based. However, I am not familiar with Docker and the need to use that. My intention is to use this on lower powered boards such as beaglebone. At this time I do not have a whole lot of services running on my setup.
Am starting to read on the documentation now and will share my findings once I have something going.
Thank you in advance
Subbu
I wish, I lack the required knowledge to do this, and the time to learn