-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
a496035
commit abf1fa2
Showing
1 changed file
with
28 additions
and
11 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,27 +1,44 @@ | ||
# Unipi Neuron buildroot | ||
|
||
This is an external buildroot tree for the [Unipi Neuron](https://www.unipi.technology/) with preinstalled [Unipi Control](https://github.com/mh-superbox/unipi-control). | ||
This is an external buildroot tree for the [Unipi Neuron](https://www.unipi.technology/) and the [Unipi Control](https://github.com/mh-superbox/unipi-control). | ||
|
||
Device config for: | ||
* Unipi Neuron - RPi 3B+ | ||
* Unipi Neuron - RPi 4B | ||
|
||
## Usage | ||
|
||
Download buildroot from https://buildroot.org/download.html and add this repro as external path. | ||
|
||
```shell | ||
$ git clone git@github.com:mh-superbox/rpi-buildroot.git | ||
$ git clone git://git.buildroot.net/buildroot | ||
~$ git clone https://github.com/mh-superbox/rpi-buildroot.git | ||
~$ git clone git://git.buildroot.net/buildroot | ||
|
||
~$ cd /buildroot | ||
~/buildroot$ # checkout LTS version | ||
~/buildroot$ git checkout 2022.02.2 | ||
|
||
$ cd /buildroot | ||
$ # checkout LTS version | ||
$ git checkout 2022.02.2 | ||
~/buildroot$ make BR2_EXTERNAL=../unipi-buildroot/buildroot list-defconfigs | ||
~/buildroot$ make unipi_neuron_rpi3b_defconfig | ||
|
||
$ make BR2_EXTERNAL=../rpi-buildroot/buildroot list-defconfigs | ||
$ make unipi_neuron_rpi3b_defconfig | ||
# You can change the hostname with the BR2_TARGET_GENERIC_HOSTNAME variable | ||
~/buildroot$ make BR2_TARGET_GENERIC_HOSTNAME=unipi clean all | ||
``` | ||
|
||
For more information visit https://buildroot.org/ and read the documenation. | ||
Wait a long time ... and then write the image to a sdcard. | ||
|
||
```shell | ||
~/buildroot$ cd output/images/ | ||
~/buildroot/output/images$ dd bs=4M if=sdcard.img of=/dev/XXX status=progress | ||
``` | ||
Boot you Unipi Neuron with the sdcard and connect with ssh: | ||
The username and password are `unipi`. | ||
|
||
```shell | ||
~$ ssh unipi@unipi.local | ||
``` | ||
|
||
For more information visit https://buildroot.org/ and read the documenation. | ||
|
||
## Features | ||
|
||
* Monit is run at http://unipi.local:2812/ (Username and password are `unipi`) | ||
* OWFS (1-Wire) is run at http://unipi.local:8080/ |