Skip to content

Commit

Permalink
Updated to 2022.02.2 LTS
Browse files Browse the repository at this point in the history
  • Loading branch information
mh-superbox committed Jun 6, 2022
1 parent f0c0cbd commit 7e6da29
Show file tree
Hide file tree
Showing 9 changed files with 51 additions and 35 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ $ cd /buildroot
$ # checkout LTS version
$ git checkout 2022.02.2

$ make BR2_EXTERNAL=../rpi-buildroot list-defconfigs
$ make BR2_EXTERNAL=../rpi-buildroot/buildroot list-defconfigs
$ make unipi_neuron_rpi3b_defconfig
```

Expand Down
37 changes: 37 additions & 0 deletions buildroot/board/common/config_3_64bit.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
# Please note that this is only a sample, we recommend you to change it to fit
# your needs.
# You should override this file using BR2_PACKAGE_RPI_FIRMWARE_CONFIG_FILE.
# See http://buildroot.org/manual.html#rootfs-custom
# and http://elinux.org/RPiconfig for a description of config.txt syntax

start_file=start.elf
fixup_file=fixup.dat

kernel=Image

# To use an external initramfs file
#initramfs rootfs.cpio.gz

# Disable overscan assuming the display supports displaying the full resolution
# If the text shown on the screen disappears off the edge, comment this out
disable_overscan=1

# How much memory in MB to assign to the GPU on Pi models having
# 256, 512 or 1024 MB total memory
gpu_mem_256=100
gpu_mem_512=100
gpu_mem_1024=100

# fixes rpi (3B, 3B+, 3A+, 4B and Zero W) ttyAMA0 serial console
dtoverlay=miniuart-bt

# enable autoprobing of Bluetooth driver without need of hciattach/btattach
dtoverlay=krnbt=on

# Neuron
dtparam=i2c_arm=on
dtoverlay=i2c-rtc,mcp7941x
dtoverlay=neuron-spi-new

# enable 64bits support
arm_64bit=1
1 change: 0 additions & 1 deletion buildroot/board/common/device_table.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,2 @@
# <name> <type> <mode> <uid> <gid> <major> <minor> <start> <inc> <count>
/bin/telegram-send-message f 755 0 0 - - - - -
/etc/monit/monitrc f 700 0 0 - - - - -
24 changes: 0 additions & 24 deletions buildroot/board/unipi/neuron/post-image.sh

This file was deleted.

12 changes: 8 additions & 4 deletions buildroot/configs/unipi_neuron_rpi3b_defconfig
Original file line number Diff line number Diff line change
Expand Up @@ -18,11 +18,10 @@ BR2_TARGET_LOCALTIME="Europe/Vienna"
BR2_ROOTFS_USERS_TABLES="$(BR2_EXTERNAL_UNIPI_PATH)/board/common/users_table.txt"
BR2_ROOTFS_OVERLAY="$(BR2_EXTERNAL_UNIPI_PATH)/board/common/rootfs_overlay"
BR2_ROOTFS_POST_BUILD_SCRIPT="$(BR2_EXTERNAL_UNIPI_PATH)/board/common/post-build.sh board/raspberrypi3-64/post-build.sh"
BR2_ROOTFS_POST_IMAGE_SCRIPT="$(BR2_EXTERNAL_UNIPI_PATH)/board/unipi/neuron/post-image.sh board/raspberrypi3-64/post-image.sh"
BR2_ROOTFS_POST_SCRIPT_ARGS="--aarch64 --add-miniuart-bt-overlay --add-neuron-overlay"
BR2_ROOTFS_POST_IMAGE_SCRIPT="board/raspberrypi3-64/post-image.sh"
BR2_LINUX_KERNEL=y
BR2_LINUX_KERNEL_CUSTOM_TARBALL=y
BR2_LINUX_KERNEL_CUSTOM_TARBALL_LOCATION="$(call github,raspberrypi,linux,b657cd2f27d9171b75c846f21e7b4bb581b3ed29)/linux-b657cd2f27d9171b75c846f21e7b4bb581b3ed29.tar.gz"
BR2_LINUX_KERNEL_CUSTOM_TARBALL_LOCATION="$(call github,raspberrypi,linux,0b54dbda3cca2beb51e236a25738784e90853b64)/linux-0b54dbda3cca2beb51e236a25738784e90853b64.tar.gz"
BR2_LINUX_KERNEL_DEFCONFIG="bcmrpi3"
BR2_LINUX_KERNEL_DTS_SUPPORT=y
BR2_LINUX_KERNEL_INTREE_DTS_NAME="broadcom/bcm2710-rpi-3-b broadcom/bcm2710-rpi-3-b-plus broadcom/bcm2837-rpi-3-b"
Expand All @@ -48,7 +47,9 @@ BR2_PACKAGE_BRCMFMAC_SDIO_FIRMWARE_RPI=y
BR2_PACKAGE_BRCMFMAC_SDIO_FIRMWARE_RPI_BT=y
BR2_PACKAGE_BRCMFMAC_SDIO_FIRMWARE_RPI_WIFI=y
BR2_PACKAGE_RPI_FIRMWARE=y
BR2_PACKAGE_RPI_FIRMWARE_BOOTCODE_BIN=y
BR2_PACKAGE_RPI_FIRMWARE_VARIANT_PI=y
BR2_PACKAGE_RPI_FIRMWARE_CONFIG_FILE="$(BR2_EXTERNAL_UNIPI_PATH)/board/common/config_3_64bit.txt"
BR2_PACKAGE_I2C_TOOLS=y
BR2_PACKAGE_PARTED=y
BR2_PACKAGE_RASPI_GPIO=y
Expand All @@ -62,15 +63,17 @@ BR2_PACKAGE_PYTHON3_DECIMAL=y
BR2_PACKAGE_PYTHON3_READLINE=y
BR2_PACKAGE_PYTHON3_SQLITE=y
BR2_PACKAGE_PYTHON3_XZ=y
BR2_PACKAGE_PYTHON_PAHO_MQTT=y
BR2_PACKAGE_PYTHON_PIP=y
BR2_PACKAGE_PYTHON_PYMODBUS=y
BR2_PACKAGE_PYTHON_PYYAML=y
BR2_PACKAGE_CA_CERTIFICATES=y
BR2_PACKAGE_LIBOPENSSL_BIN=y
BR2_PACKAGE_LIBOPENSSL_ENGINES=y
BR2_PACKAGE_LIBFUSE=y
BR2_PACKAGE_LIBFTDI1=y
BR2_PACKAGE_OWFS=y
BR2_PACKAGE_LIBXSLT=y
BR2_PACKAGE_LIBYAML=y
BR2_PACKAGE_LIBCURL=y
BR2_PACKAGE_LIBCURL_CURL=y
BR2_PACKAGE_AVAHI=y
Expand All @@ -84,6 +87,7 @@ BR2_PACKAGE_NET_TOOLS=y
BR2_PACKAGE_NETCAT=y
BR2_PACKAGE_OPENSSH=y
BR2_PACKAGE_RSYNC=y
BR2_PACKAGE_SAMBA4=y
BR2_PACKAGE_TRACEROUTE=y
BR2_PACKAGE_WGET=y
BR2_PACKAGE_WIRELESS_REGDB=y
Expand Down
4 changes: 2 additions & 2 deletions buildroot/package/unipi-control/Config.in
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@ config BR2_PACKAGE_UNIPI_CONTROL
bool "Unipi Control"
select BR2_PACKAGE_UNIPI_PYTHON_ASYNCIO_MQTT
select BR2_PACKAGE_UNIPI_PYTHON_PAHO_MQTT
select BR2_PACKAGE_UNIPI_PYTHON_PYMODBUS
select BR2_PACKAGE_UNIPI_PYTHON_PYYAML
select BR2_PACKAGE_UNIPI_PYMODBUS
select BR2_PACKAGE_UNIPI_PYYAML
select BR2_PACKAGE_UNIPI_KERNEL
select BR2_PACKAGE_UNIPI_TOOLS

Expand Down
2 changes: 1 addition & 1 deletion buildroot/package/unipi-control/unipi-control.hash
Original file line number Diff line number Diff line change
@@ -1 +1 @@
sha256 1824a083b341ed821fa50c2b0669ef99d1e4f5faa4c19931b8604f64fd1ae41e 1.0.5.tar.gz
sha256 908b67fb7cfd5169a4c2f1bb1716cb1b843feb155a6ac4ebb7dbf195c8d732d9 1.1.1.tar.gz
2 changes: 1 addition & 1 deletion buildroot/package/unipi-control/unipi-control.mk
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
#
################################################################################

UNIPI_CONTROL_VERSION = 1.0.5
UNIPI_CONTROL_VERSION = 1.1.1
UNIPI_CONTROL_SOURCE = $(UNIPI_CONTROL_VERSION).tar.gz
UNIPI_CONTROL_SITE = https://github.com/mh-superbox/unipi-control/archive/refs/tags
UNIPI_CONTROL_SETUP_TYPE = setuptools
Expand Down
2 changes: 1 addition & 1 deletion buildroot/package/unipi-python-asyncio-mqtt/Config.in
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
config BR2_PACKAGE_UNIPI_PYTHON_ASYNCIO_MQTT
bool "Unipi Control python-asyncio-mqtt"
select BR2_PACKAGE_UNIPI_PYTHON_PAHO_MQTT
select BR2_PACKAGE_PYTHON_UNIPI_PAHO_MQTT

help
Idomatic asyncio wrapper around paho-mqtt
Expand Down

0 comments on commit 7e6da29

Please sign in to comment.