Skip to content

Commit 3868f27

Browse files
update farmbot-specific configs
1 parent a4c6cea commit 3868f27

File tree

8 files changed

+2905
-15
lines changed

8 files changed

+2905
-15
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Raspberry Pi 4 Model B (64-bit)
22

3-
[![CircleCI](https://circleci.com/gh/nerves-project/nerves_system_rpi4.svg?style=svg)](https://circleci.com/gh/nerves-project/nerves_system_rpi4)
3+
[![CircleCI](https://circleci.com/gh/farmbot/farmbot_system_rpi4.svg?style=svg)](https://circleci.com/gh/farmbot/farmbot_system_rpi4)
44
[![Hex version](https://img.shields.io/hexpm/v/nerves_system_rpi4.svg "Hex version")](https://hex.pm/packages/nerves_system_rpi4)
55

66
This is the base Nerves System configuration for the Raspberry Pi 4 Model B.

VERSION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
1.18.1
1+
1.18.1-farmbot.1

fwup-revert.conf

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -23,12 +23,12 @@ require-fwup-version="0.19.0"
2323
# Use 'fw_printenv' to query values on the target.
2424
#
2525
# These are used by Nerves libraries to introspect.
26-
define(NERVES_FW_PRODUCT, "Nerves Firmware")
27-
define(NERVES_FW_DESCRIPTION, "")
26+
define(NERVES_FW_PRODUCT, "Farmbot OS")
27+
define(NERVES_FW_DESCRIPTION, "The brains of the Farmbot Project")
2828
define(NERVES_FW_VERSION, "${NERVES_SDK_VERSION}")
2929
define(NERVES_FW_PLATFORM, "rpi4")
3030
define(NERVES_FW_ARCHITECTURE, "arm")
31-
define(NERVES_FW_AUTHOR, "The Nerves Team")
31+
define(NERVES_FW_AUTHOR, "The Farmbot Team")
3232

3333
define(NERVES_FW_DEVPATH, "/dev/mmcblk0")
3434
define(NERVES_FW_APPLICATION_PART0_DEVPATH, "/dev/mmcblk0p3") # Linux part number is 1-based

fwup.conf

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,12 +12,12 @@ require-fwup-version="0.15.0" # For the trim() call
1212
# Use 'fw_printenv' to query values on the target.
1313
#
1414
# These are used by Nerves libraries to introspect.
15-
define(NERVES_FW_PRODUCT, "Nerves Firmware")
16-
define(NERVES_FW_DESCRIPTION, "")
15+
define(NERVES_FW_PRODUCT, "Farmbot OS")
16+
define(NERVES_FW_DESCRIPTION, "The brains of the Farmbot Project")
1717
define(NERVES_FW_VERSION, "${NERVES_SDK_VERSION}")
1818
define(NERVES_FW_PLATFORM, "rpi4")
1919
define(NERVES_FW_ARCHITECTURE, "arm")
20-
define(NERVES_FW_AUTHOR, "The Nerves Team")
20+
define(NERVES_FW_AUTHOR, "The Farmbot Team")
2121

2222
define(NERVES_FW_DEVPATH, "/dev/mmcblk0")
2323
define(NERVES_FW_APPLICATION_PART0_DEVPATH, "/dev/mmcblk0p3") # Linux part number is 1-based

logo_custom_clut224.ppm

Lines changed: 2853 additions & 0 deletions
Large diffs are not rendered by default.

mix.exs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
1-
defmodule NervesSystemRpi4.MixProject do
1+
defmodule FarmbotSystemRpi4.MixProject do
22
use Mix.Project
33

4-
@github_organization "nerves-project"
5-
@app :nerves_system_rpi4
4+
@github_organization "farmbot"
5+
@app :farmbot_system_rpi4
66
@source_url "https://github.com/#{@github_organization}/#{@app}"
77
@version Path.join(__DIR__, "VERSION")
88
|> File.read!()

nerves_defconfig

Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,7 @@ BR2_LINUX_KERNEL_XZ=y
3737
BR2_LINUX_KERNEL_DTS_SUPPORT=y
3838
BR2_LINUX_KERNEL_INTREE_DTS_NAME="broadcom/bcm2711-rpi-4-b broadcom/bcm2711-rpi-cm4 broadcom/bcm2711-rpi-400"
3939
BR2_LINUX_KERNEL_CUSTOM_DTS_PATH="${NERVES_DEFCONFIG_DIR}/ramoops.dts"
40+
BR2_LINUX_KERNEL_EXT_CUSTOMLOGO=y
4041
BR2_LINUX_KERNEL_NEEDS_HOST_OPENSSL=y
4142
BR2_PACKAGE_BUSYBOX_CONFIG="${BR2_EXTERNAL_NERVES_PATH}/board/nerves-common/busybox.config"
4243
BR2_PACKAGE_ALSA_UTILS=y
@@ -49,29 +50,65 @@ BR2_PACKAGE_MESA3D_GALLIUM_DRIVER_SWRAST=y
4950
BR2_PACKAGE_MESA3D_GALLIUM_DRIVER_V3D=y
5051
BR2_PACKAGE_MESA3D_GALLIUM_DRIVER_VC4=y
5152
BR2_PACKAGE_MESA3D_OPENGL_ES=y
53+
BR2_PACKAGE_ESPEAK=y
54+
BR2_PACKAGE_ESPEAK_AUDIO_BACKEND_ALSA=y
55+
BR2_PACKAGE_TREE=y
56+
BR2_PACKAGE_CUSTOMLOGO_PATH="${NERVES_DEFCONFIG_DIR}/logo_custom_clut224.ppm"
57+
BR2_PACKAGE_FSWEBCAM=y
58+
BR2_PACKAGE_LINUX_FIRMWARE=y
59+
BR2_PACKAGE_LINUX_FIRMWARE_RALINK_RT61=y
60+
BR2_PACKAGE_LINUX_FIRMWARE_RALINK_RT73=y
61+
BR2_PACKAGE_LINUX_FIRMWARE_RALINK_RT2XX=y
62+
BR2_PACKAGE_LINUX_FIRMWARE_RTL_81XX=y
63+
BR2_PACKAGE_LINUX_FIRMWARE_RTL_87XX=y
64+
BR2_PACKAGE_LINUX_FIRMWARE_RTL_88XX=y
5265
BR2_PACKAGE_RPI_FIRMWARE=y
5366
BR2_PACKAGE_RPI_FIRMWARE_CUSTOM_VERSION="536baf33ae9007d027bffc8f42cb603664ecb5c4"
5467
BR2_PACKAGE_RPI_FIRMWARE_VARIANT_PI4_X=y
68+
BR2_PACKAGE_RPI_WIFI_FIRMWARE=y
69+
BR2_PACKAGE_AVRDUDE=y
5570
BR2_PACKAGE_PIGPIO=y
5671
# BR2_PACKAGE_RNG_TOOLS_JITTERENTROPY_LIBRARY is not set
5772
BR2_PACKAGE_RPI_USERLAND=y
73+
BR2_PACKAGE_PYTHON3=y
74+
BR2_PACKAGE_PYTHON3_PY_ONLY=y
75+
BR2_PACKAGE_PYTHON_REQUESTS=y
76+
BR2_PACKAGE_PYTHON_SERIAL=y
5877
# BR2_PACKAGE_ALSA_LIB_RAWMIDI is not set
5978
# BR2_PACKAGE_ALSA_LIB_HWDEP is not set
6079
# BR2_PACKAGE_ALSA_LIB_SEQ is not set
6180
# BR2_PACKAGE_ALSA_LIB_ALISP is not set
6281
# BR2_PACKAGE_ALSA_LIB_OLD_SYMBOLS is not set
6382
BR2_PACKAGE_LIBP11=y
6483
BR2_PACKAGE_UNIXODBC=y
84+
BR2_PACKAGE_OPENCV3=y
85+
BR2_PACKAGE_OPENCV3_LIB_OBJDETECT=y
86+
BR2_PACKAGE_OPENCV3_LIB_PHOTO=y
87+
BR2_PACKAGE_OPENCV3_LIB_PYTHON=y
88+
BR2_PACKAGE_OPENCV3_LIB_VIDEOIO=y
89+
BR2_PACKAGE_OPENCV3_LIB_VIDEO=y
90+
BR2_PACKAGE_OPENCV3_WITH_JASPER=y
91+
BR2_PACKAGE_OPENCV3_WITH_JPEG=y
92+
BR2_PACKAGE_OPENCV3_WITH_V4L=y
93+
BR2_PACKAGE_LIBV4L=y
94+
BR2_PACKAGE_LIBV4L_UTILS=y
6595
BR2_PACKAGE_LIBMNL=y
96+
BR2_PACKAGE_READLINE=y
97+
BR2_PACKAGE_DNSMASQ=y
6698
BR2_PACKAGE_WIRELESS_REGDB=y
6799
BR2_PACKAGE_WPA_SUPPLICANT=y
68100
BR2_PACKAGE_WPA_SUPPLICANT_AP_SUPPORT=y
69101
BR2_PACKAGE_WPA_SUPPLICANT_MESH_NETWORKING=y
70102
BR2_PACKAGE_WPA_SUPPLICANT_AUTOSCAN=y
103+
BR2_PACKAGE_WPA_SUPPLICANT_EAP=y
71104
BR2_PACKAGE_WPA_SUPPLICANT_HOTSPOT=y
72105
BR2_PACKAGE_WPA_SUPPLICANT_DEBUG_SYSLOG=y
73106
BR2_PACKAGE_WPA_SUPPLICANT_WPS=y
74107
BR2_PACKAGE_WPA_SUPPLICANT_WPA3=y
108+
BR2_PACKAGE_WPA_SUPPLICANT_CLI=y
109+
BR2_PACKAGE_WPA_SUPPLICANT_WPA_CLIENT_SO=y
110+
BR2_PACKAGE_WPA_SUPPLICANT_PASSPHRASE=y
111+
BR2_PACKAGE_INOTIFY_TOOLS=y
75112
BR2_PACKAGE_WPA_SUPPLICANT_CTRL_IFACE=y
76113
# BR2_TARGET_ROOTFS_TAR is not set
77114
BR2_NERVES_SYSTEM_NAME="nerves_system_rpi4"

rootfs_overlay/etc/erlinit.config

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,12 +9,12 @@
99

1010
# Specify where erlinit should send the IEx prompt. Only one may be enabled at
1111
# a time.
12-
#-c ttyS0 # UART pins on the GPIO connector
13-
-c tty1 # HDMI output
12+
-c ttyS0 # UART pins on the GPIO connector
13+
#-c tty1 # HDMI output
1414

1515
# If more than one tty are available, always warn if the user is looking at the
1616
# wrong one.
17-
--warn-unused-tty
17+
#--warn-unused-tty
1818

1919
# Use nbtty to improve terminal handling on serial ports.
2020
# Comment out or delete for HDMI (tty1)
@@ -70,7 +70,7 @@
7070
# Assign a hostname of the form "nerves-<serial_number>".
7171
# See /etc/boardid.config for locating the serial number.
7272
-d /usr/bin/boardid
73-
-n nerves-%s
73+
-n farmbot-%s
7474

7575
# If using shoehorn (https://github.com/nerves-project/shoehorn), start the
7676
# shoehorn OTP release up first. If shoehorn isn't around, erlinit fails back

0 commit comments

Comments
 (0)