Skip to content

Commit a6c5c32

Browse files
author
connor rigby
committed
Initial fork of default nerves_system_rpi3
1 parent 3a9d915 commit a6c5c32

File tree

11 files changed

+46
-21
lines changed

11 files changed

+46
-21
lines changed

Config.in

+4
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
# Add project-specific packages for Buildroot here
2+
#
3+
# If these are non-proprietary, please consider contributing them back to
4+
# Nerves or Buildroot.

README.md

+5-5
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# Raspberry Pi 3 Model B
2-
[![CircleCI](https://circleci.com/gh/nerves-project/nerves_system_rpi3.svg?style=svg)](https://circleci.com/gh/nerves-project/nerves_system_rpi3)
2+
[![CircleCI](https://circleci.com/gh/nerves-project/nerves_system_farmbot_rpi3.svg?style=svg)](https://circleci.com/gh/nerves-project/nerves_system_farmbot_rpi3)
33

44
This is the base Nerves System configuration for the Raspberry Pi 3 Model B.
55

@@ -26,16 +26,16 @@ This is the base Nerves System configuration for the Raspberry Pi 3 Model B.
2626

2727
If [available in Hex](https://hex.pm/docs/publish), the package can be installed as:
2828

29-
1. Add nerves_system_rpi3 to your list of dependencies in `mix.exs`:
29+
1. Add nerves_system_farmbot_rpi3 to your list of dependencies in `mix.exs`:
3030

3131
def deps do
32-
[{:nerves_system_rpi3, "~> 0.11.0"}]
32+
[{:nerves_system_farmbot_rpi3, "~> 0.11.0"}]
3333
end
3434

35-
2. Ensure nerves_system_rpi3 is started before your application:
35+
2. Ensure nerves_system_farmbot_rpi3 is started before your application:
3636

3737
def application do
38-
[applications: [:nerves_system_rpi3]]
38+
[applications: [:nerves_system_farmbot_rpi3]]
3939
end
4040

4141
## Built-in WiFi Firmware

VERSION

+1-1
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
0.16.2-dev
1+
0.16.2-farmbot

linux-4.4.defconfig

+4-1
Original file line numberDiff line numberDiff line change
@@ -181,8 +181,8 @@ CONFIG_SND_SOC_WM8804_I2C=m
181181
CONFIG_SND_SIMPLE_CARD=m
182182
CONFIG_SOUND_PRIME=m
183183
CONFIG_HIDRAW=y
184-
CONFIG_HID_PID=y
185184
CONFIG_HID_APPLE=y
185+
CONFIG_HID_PID=y
186186
CONFIG_USB_HIDDEV=y
187187
CONFIG_USB=y
188188
CONFIG_USB_ANNOUNCE_NEW_DEVICES=y
@@ -192,6 +192,9 @@ CONFIG_USB_PRINTER=m
192192
CONFIG_USB_WDM=m
193193
CONFIG_USB_STORAGE=y
194194
CONFIG_USB_SERIAL=y
195+
CONFIG_USB_SERIAL_GENERIC=y
196+
CONFIG_USB_SERIAL_CH341=y
197+
CONFIG_USB_SERIAL_CP210X=y
195198
CONFIG_USB_SERIAL_FTDI_SIO=y
196199
CONFIG_MMC=y
197200
CONFIG_MMC_BLOCK_MINORS=32

mix.exs

+4-4
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
1-
defmodule NervesSystemRpi3.Mixfile do
1+
defmodule NervesSystemFarmbotRpi3.Mixfile do
22
use Mix.Project
33

44
@version Path.join(__DIR__, "VERSION")
55
|> File.read!
66
|> String.trim
77

88
def project do
9-
[app: :nerves_system_rpi3,
9+
[app: :nerves_system_farmbot_rpi3,
1010
version: @version,
1111
elixir: "~> 1.3",
1212
compilers: Mix.compilers ++ [:nerves_package],
@@ -35,9 +35,9 @@ defmodule NervesSystemRpi3.Mixfile do
3535
end
3636

3737
defp package do
38-
[maintainers: ["Frank Hunleth", "Justin Schneck"],
38+
[maintainers: ["Farmbot Team"],
3939
files: ["LICENSE", "mix.exs", "nerves_defconfig", "nerves.exs", "README.md", "VERSION", "rootfs_overlay", "fwup.conf", "cmdline.txt", "linux-4.4.defconfig", "config.txt", "post-createfs.sh"],
4040
licenses: ["Apache 2.0"],
41-
links: %{"Github" => "https://github.com/nerves-project/nerves_system_rpi3"}]
41+
links: %{"Github" => "https://github.com/farmbot-labs/nerves_system_farmbot_rpi3"}]
4242
end
4343
end

nerves.exs

+2-2
Original file line numberDiff line numberDiff line change
@@ -5,14 +5,14 @@ version =
55
|> File.read!
66
|> String.trim
77

8-
pkg = :nerves_system_rpi3
8+
pkg = :nerves_system_farmbot_rpi3
99

1010
config pkg, :nerves_env,
1111
type: :system,
1212
version: version,
1313
compiler: :nerves_package,
1414
artifact_url: [
15-
"https://github.com/nerves-project/#{pkg}/releases/download/v#{version}/#{pkg}-v#{version}.tar.gz",
15+
"https://github.com/farmbot-labs/#{pkg}/releases/download/v#{version}/#{pkg}-v#{version}.tar.gz",
1616
],
1717
platform: Nerves.System.BR,
1818
platform_config: [

nerves_defconfig

+20-2
Original file line numberDiff line numberDiff line change
@@ -33,20 +33,38 @@ BR2_PACKAGE_BUSYBOX_CONFIG="${BR2_EXTERNAL_NERVES_PATH}/board/nerves-common/busy
3333
BR2_PACKAGE_E2FSPROGS=y
3434
# BR2_PACKAGE_E2FSPROGS_FSCK is not set
3535
BR2_PACKAGE_FWUP=y
36+
BR2_PACKAGE_FSWEBCAM=y
3637
BR2_PACKAGE_RPI_FIRMWARE=y
3738
BR2_PACKAGE_RPI_FIRMWARE_X=y
3839
BR2_PACKAGE_RPI_WIFI_FIRMWARE=y
40+
BR2_PACKAGE_AVRDUDE=y
3941
BR2_PACKAGE_RPI_USERLAND=y
4042
BR2_PACKAGE_UBOOT_TOOLS=y
43+
BR2_PACKAGE_PYTHON=y
44+
BR2_PACKAGE_PYTHON_CURSES=y
45+
BR2_PACKAGE_PYTHON_READLINE=y
46+
BR2_PACKAGE_PYTHON_SSL=y
47+
BR2_PACKAGE_PYTHON_REQUESTS=y
48+
BR2_PACKAGE_JASPER=y
49+
BR2_PACKAGE_OPENCV3=y
50+
BR2_PACKAGE_OPENCV3_LIB_PYTHON=y
51+
BR2_PACKAGE_OPENCV3_WITH_JPEG=y
52+
BR2_PACKAGE_OPENCV3_WITH_PNG=y
53+
BR2_PACKAGE_OPENCV3_WITH_V4L=y
54+
BR2_PACKAGE_LIBV4L=y
55+
BR2_PACKAGE_LIBV4L_UTILS=y
4156
BR2_PACKAGE_LIBMNL=y
42-
BR2_PACKAGE_NCURSES=y
57+
BR2_PACKAGE_HOSTAPD=y
58+
BR2_PACKAGE_IW=y
4359
BR2_PACKAGE_WPA_SUPPLICANT=y
4460
BR2_PACKAGE_WPA_SUPPLICANT_DEBUG_SYSLOG=y
61+
BR2_PACKAGE_INOTIFY_TOOLS=y
4562
BR2_TARGET_ROOTFS_SQUASHFS=y
4663
# BR2_TARGET_ROOTFS_TAR is not set
47-
BR2_NERVES_SYSTEM_NAME="nerves_system_rpi3"
64+
BR2_NERVES_SYSTEM_NAME="nerves_system_farmbot_rpi3"
4865
BR2_NERVES_ADDITIONAL_IMAGE_FILES="$(NERVES_DEFCONFIG_DIR)/fwup.conf ${NERVES_DEFCONFIG_DIR}/cmdline.txt ${NERVES_DEFCONFIG_DIR}/config.txt"
4966
BR2_PACKAGE_BOARDID=y
5067
BR2_PACKAGE_NERVES_CONFIG=y
5168
BR2_PACKAGE_NERVES_CONFIG_NO_ERLINIT_CONF=y
5269
BR2_PACKAGE_NERVES_CONFIG_APPS="crypto"
70+
BR2_PACKAGE_NERVES_CONFIG_SNAME="farmbot"

rootfs_overlay/etc/erlinit.config

+3-3
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@
55

66
# Specify where erlinit should send the IEx prompt. Only one may be enabled at
77
# a time.
8-
# -c ttyS0 # UART pins on the GPIO connector
9-
-c tty1 # HDMI output
8+
-c ttyS0 # UART pins on the GPIO connector
9+
# -c tty1 # HDMI output
1010

1111
# If more than one tty are available, always warn if the user is looking at the
1212
# wrong one.
@@ -49,7 +49,7 @@
4949

5050
# Assign a unique hostname based on the board id
5151
-d "/usr/bin/boardid -b rpi -n 4"
52-
-n nerves-%.4s
52+
-n farmbot-%.4s
5353

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

test/README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# Raspberry Pi 3 Test Suite
22

33
Executes ExUnit tests on target hardware and reports results to the
4-
[Nerves test server](https://nerves-test-server.herokuapp.com/nerves-project/nerves_system_rpi3)
4+
[Nerves test server](https://nerves-test-server.herokuapp.com/nerves-project/nerves_system_farmbot_rpi3)
55

66
For more information on how to configure your own test farm please refer to the
77
[Nerves test server source](https://github.com/mobileoverlord/nerves_test_server)

test/config/config.exs

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ use Mix.Config
22

33
# Repository specific configuration
44

5-
system = :nerves_system_rpi3
5+
system = :nerves_system_farmbot_rpi3
66
platform = "rpi3"
77
arch = "arm"
88

test/mix.exs

+1-1
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ defmodule Test.Mixfile do
3636
def deps do
3737
[
3838
{:nerves, "~> 0.7", runtime: false},
39-
{:nerves_system_rpi3, path: "../", runtime: false},
39+
{:nerves_system_farmbot_rpi3, path: "../", runtime: false},
4040
{:nerves_system_test, github: "nerves-project/nerves_system_test"}
4141
#{:nerves_system_test, path: "../../nerves_system_test"}
4242
]

0 commit comments

Comments
 (0)