Skip to content
This repository was archived by the owner on Aug 8, 2022. It is now read-only.

Commit 166ecd5

Browse files
authored
Merge pull request #6 from ElixirSeattle/update-2.0.0-rc.1
Update to upstream v2.0.0-rc.1
2 parents 816701e + 592a59b commit 166ecd5

File tree

9 files changed

+76
-23
lines changed

9 files changed

+76
-23
lines changed

.circleci/config.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
exec: &exec
22
name: build-tools/nerves-system-br
3-
version: 1.12.3
3+
version: 1.13.2
44
elixir: 1.10.4-otp-23
55

66
version: 2.1

CHANGELOG.md

Lines changed: 41 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
# Changelog
22

3+
## v2.0.0-rc.1
4+
5+
Sync with changes up to v1.13.0
6+
37
## v2.0.0-rc.0
48

59
* New Features
@@ -10,6 +14,43 @@
1014
a user must validate the firmware on first boot via
1115
`Nerves.Runtime.validate_firmware/0` or by writing to UBoot directly
1216

17+
## v1.13.0
18+
19+
This release updates to [Buildroot
20+
2020.08](http://lists.busybox.net/pipermail/buildroot/2020-September/290797.html) and OTP 23.1.1.
21+
22+
* Updated dependencies
23+
* [nerves_system_br: bump to v1.13.2](https://github.com/nerves-project/nerves_system_br/releases/tag/v1.13.2)
24+
* [Erlang/OTP 23.1.1](https://erlang.org/download/OTP-23.1.1.README)
25+
* [erlinit 1.8.0](https://github.com/nerves-project/erlinit/releases/tag/v1.8.0)
26+
* [nerves 1.7.0](https://github.com/nerves-project/nerves/releases/tag/v1.7.0)
27+
28+
* New features
29+
* Added support for updating the root filesystem using firmware patches.
30+
See the [firmware patch docs](https://hexdocs.pm/nerves/experimental-features.html#content) for more information.
31+
32+
## v1.12.2
33+
34+
This release updates to [Buildroot
35+
2020.05.1](http://lists.busybox.net/pipermail/buildroot/2020-July/287824.html)
36+
and OTP 23.0.3 which are both bug fix releases.
37+
38+
* Updated dependencies
39+
* [nerves_system_br: bump to v1.12.4](https://github.com/nerves-project/nerves_system_br/releases/tag/v1.12.4)
40+
* [Erlang/OTP 23.0.3](https://erlang.org/download/OTP-23.0.3.README)
41+
* [nerves_heart v0.3.0](https://github.com/nerves-project/nerves_heart/releases/tag/v0.3.0)
42+
43+
* New features
44+
* The `/data` directory now exists for storing application-specific data. It
45+
is currently a symlink to `/root`. Using `/data` will eventually be
46+
encouraged over `/root` even though currently there is no advantage. This
47+
change makes it possible to start migrating paths in applications and
48+
libraries.
49+
50+
* Fixes
51+
* Fixed old references to the `-Os` compiler flag. All C/C++ code will default
52+
to using `-O2` now.
53+
1354
## v1.12.1
1455

1556
* Fixes

VERSION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
2.0.0-rc.0+keybow.2
1+
2.0.0-rc.1+keybow.1

fwup.conf

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -306,7 +306,11 @@ task upgrade.a {
306306
on-resource dwc2.dtbo { fat_write(${BOOT_A_PART_OFFSET}, "overlays/dwc2.dtbo") }
307307
on-resource pi3-miniuart-bt.dtbo { fat_write(${BOOT_A_PART_OFFSET}, "overlays/pi3-miniuart-bt.dtbo") }
308308
on-resource ramoops.dtbo { fat_write(${BOOT_A_PART_OFFSET}, "overlays/ramoops.dtbo") }
309-
on-resource rootfs.img { raw_write(${ROOTFS_A_PART_OFFSET}) }
309+
on-resource rootfs.img {
310+
delta-source-raw-offset=${ROOTFS_B_PART_OFFSET}
311+
delta-source-raw-count=${ROOTFS_B_PART_COUNT}
312+
raw_write(${ROOTFS_A_PART_OFFSET})
313+
}
310314

311315
on-finish {
312316
# Update firmware metadata
@@ -377,7 +381,11 @@ task upgrade.b {
377381
on-resource dwc2.dtbo { fat_write(${BOOT_B_PART_OFFSET}, "overlays/dwc2.dtbo") }
378382
on-resource pi3-miniuart-bt.dtbo { fat_write(${BOOT_B_PART_OFFSET}, "overlays/pi3-miniuart-bt.dtbo") }
379383
on-resource ramoops.dtbo { fat_write(${BOOT_B_PART_OFFSET}, "overlays/ramoops.dtbo") }
380-
on-resource rootfs.img { raw_write(${ROOTFS_B_PART_OFFSET}) }
384+
on-resource rootfs.img {
385+
delta-source-raw-offset=${ROOTFS_A_PART_OFFSET}
386+
delta-source-raw-count=${ROOTFS_A_PART_COUNT}
387+
raw_write(${ROOTFS_B_PART_OFFSET})
388+
}
381389

382390
on-finish {
383391
# Update firmware metadata

linux-4.19.defconfig

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,8 @@ CONFIG_POSIX_MQUEUE=y
55
CONFIG_NO_HZ=y
66
CONFIG_HIGH_RES_TIMERS=y
77
CONFIG_PREEMPT=y
8+
CONFIG_IKCONFIG=y
9+
CONFIG_IKCONFIG_PROC=y
810
CONFIG_MEMCG=y
911
CONFIG_BLK_CGROUP=y
1012
CONFIG_RT_GROUP_SCHED=y

mix.exs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -58,8 +58,8 @@ defmodule NervesSystemKeybow.MixProject do
5858

5959
defp deps do
6060
[
61-
{:nerves, "~> 1.5.4 or ~> 1.6.0", runtime: false},
62-
{:nerves_system_br, "1.12.3", runtime: false},
61+
{:nerves, "~> 1.5.4 or ~> 1.6.0 or ~> 1.7.0", runtime: false},
62+
{:nerves_system_br, "1.13.2", runtime: false},
6363
{:nerves_toolchain_armv6_rpi_linux_gnueabi, "~> 1.3.0", runtime: false},
6464
{:nerves_system_linter, "~> 0.4", only: [:dev, :test], runtime: false},
6565
{:ex_doc, "~> 0.22", only: :docs, runtime: false}

mix.lock

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,14 @@
11
%{
22
"earmark": {:hex, :earmark, "1.4.9", "837e4c1c5302b3135e9955f2bbf52c6c52e950c383983942b68b03909356c0d9", [:mix], [{:earmark_parser, ">= 1.4.9", [hex: :earmark_parser, repo: "hexpm", optional: false]}], "hexpm", "0d72df7d13a3dc8422882bed5263fdec5a773f56f7baeb02379361cb9e5b0d8e"},
33
"earmark_parser": {:hex, :earmark_parser, "1.4.10", "6603d7a603b9c18d3d20db69921527f82ef09990885ed7525003c7fe7dc86c56", [:mix], [], "hexpm", "8e2d5370b732385db2c9b22215c3f59c84ac7dda7ed7e544d7c459496ae519c0"},
4-
"ex_doc": {:hex, :ex_doc, "0.22.2", "03a2a58bdd2ba0d83d004507c4ee113b9c521956938298eba16e55cc4aba4a6c", [:mix], [{:earmark_parser, "~> 1.4.0", [hex: :earmark_parser, repo: "hexpm", optional: false]}, {:makeup_elixir, "~> 0.14", [hex: :makeup_elixir, repo: "hexpm", optional: false]}], "hexpm", "cf60e1b3e2efe317095b6bb79651f83a2c1b3edcb4d319c421d7fcda8b3aff26"},
5-
"makeup": {:hex, :makeup, "1.0.3", "e339e2f766d12e7260e6672dd4047405963c5ec99661abdc432e6ec67d29ef95", [:mix], [{:nimble_parsec, "~> 0.5", [hex: :nimble_parsec, repo: "hexpm", optional: false]}], "hexpm", "2e9b4996d11832947731f7608fed7ad2f9443011b3b479ae288011265cdd3dad"},
6-
"makeup_elixir": {:hex, :makeup_elixir, "0.14.1", "4f0e96847c63c17841d42c08107405a005a2680eb9c7ccadfd757bd31dabccfb", [:mix], [{:makeup, "~> 1.0", [hex: :makeup, repo: "hexpm", optional: false]}], "hexpm", "f2438b1a80eaec9ede832b5c41cd4f373b38fd7aa33e3b22d9db79e640cbde11"},
7-
"nerves": {:hex, :nerves, "1.6.3", "ac0155508a6eb0e3c8e92a6c7c0524dbe38dcc289e89cf0ef129df673a89f2ea", [:mix], [{:distillery, "~> 2.1", [hex: :distillery, repo: "hexpm", optional: true]}, {:jason, "~> 1.2", [hex: :jason, repo: "hexpm", optional: true]}], "hexpm", "ce150c9aaf2ccffb2cf2fbfe1da462f363ceb322ee515c0a23394235346f71fc"},
8-
"nerves_system_br": {:hex, :nerves_system_br, "1.12.3", "ca6e51608620eeaa57aea195d4364a0d269d43c9776f9839e06f1659dfc2baee", [:mix], [], "hexpm", "df9b2926a4a6b87aef9c2a3043f33b3656e6a4a574d16672797f34cbf9cefa6f"},
4+
"elixir_make": {:hex, :elixir_make, "0.6.1", "8faa29a5597faba999aeeb72bbb9c91694ef8068f0131192fb199f98d32994ef", [:mix], [], "hexpm", "35d33270680f8d839a4003c3e9f43afb595310a592405a00afc12de4c7f55a18"},
5+
"ex_doc": {:hex, :ex_doc, "0.22.6", "0fb1e09a3e8b69af0ae94c8b4e4df36995d8c88d5ec7dbd35617929144b62c00", [:mix], [{:earmark_parser, "~> 1.4.0", [hex: :earmark_parser, repo: "hexpm", optional: false]}, {:makeup_elixir, "~> 0.14", [hex: :makeup_elixir, repo: "hexpm", optional: false]}], "hexpm", "1e0aceda15faf71f1b0983165e6e7313be628a460e22a031e32913b98edbd638"},
6+
"makeup": {:hex, :makeup, "1.0.5", "d5a830bc42c9800ce07dd97fa94669dfb93d3bf5fcf6ea7a0c67b2e0e4a7f26c", [:mix], [{:nimble_parsec, "~> 0.5 or ~> 1.0", [hex: :nimble_parsec, repo: "hexpm", optional: false]}], "hexpm", "cfa158c02d3f5c0c665d0af11512fed3fba0144cf1aadee0f2ce17747fba2ca9"},
7+
"makeup_elixir": {:hex, :makeup_elixir, "0.15.0", "98312c9f0d3730fde4049985a1105da5155bfe5c11e47bdc7406d88e01e4219b", [:mix], [{:makeup, "~> 1.0", [hex: :makeup, repo: "hexpm", optional: false]}, {:nimble_parsec, "~> 1.1", [hex: :nimble_parsec, repo: "hexpm", optional: false]}], "hexpm", "75ffa34ab1056b7e24844c90bfc62aaf6f3a37a15faa76b07bc5eba27e4a8b4a"},
8+
"nerves": {:hex, :nerves, "1.6.5", "9bcdf358ba1451da3e0fee9454f075ae800b44688cc52ec4f08f64c43683b880", [:make, :mix], [{:distillery, "~> 2.1", [hex: :distillery, repo: "hexpm", optional: true]}, {:elixir_make, "~> 0.6", [hex: :elixir_make, repo: "hexpm", optional: false]}, {:jason, "~> 1.2", [hex: :jason, repo: "hexpm", optional: true]}], "hexpm", "80805fbc634b510ff77df1033d9268e6056c13ee813b2203691adb621a2adc09"},
9+
"nerves_system_br": {:hex, :nerves_system_br, "1.13.2", "8cc4a53de3a54e605a4d5d88512eb851be05010fc31deea1bb940cfad3e1f0b2", [:mix], [], "hexpm", "37f41000289eaa6b3b80a81d5612aa28b433bf27cd695db0200e83ddedadd671"},
910
"nerves_system_linter": {:hex, :nerves_system_linter, "0.4.0", "81e9a6f5018fe5fb67d7b43a04dca36156f62b55b5554eb2fa3964d3889d09cd", [:mix], [], "hexpm", "b5bd8480ce7a6317f4601ff41fd2f594bdf76aff0bdf6dcfac571c3fa1ec5f82"},
1011
"nerves_toolchain_armv6_rpi_linux_gnueabi": {:hex, :nerves_toolchain_armv6_rpi_linux_gnueabi, "1.3.2", "beb0f97d6f432406af6c4fdcee02d2ab750298845834f869a0b98239362783ae", [:mix], [{:nerves, "~> 1.0", [hex: :nerves, repo: "hexpm", optional: false]}, {:nerves_toolchain_ctng, "~> 1.7.2", [hex: :nerves_toolchain_ctng, repo: "hexpm", optional: false]}], "hexpm", "ef93b7d678241be2d4520dceecf6a2116bb87640576211dad3b618ce79b85e39"},
1112
"nerves_toolchain_ctng": {:hex, :nerves_toolchain_ctng, "1.7.2", "0683dff3b81483879a57e14d8e020314a4d1ecc6ee91952c1d7d9f1f528924a4", [:mix], [{:nerves, "~> 1.0", [hex: :nerves, repo: "hexpm", optional: false]}], "hexpm", "5d44f279705119defac7f28a70edb0273f92b38bc8ae668db4f271cd91f6eaee"},
12-
"nimble_parsec": {:hex, :nimble_parsec, "0.6.0", "32111b3bf39137144abd7ba1cce0914533b2d16ef35e8abc5ec8be6122944263", [:mix], [], "hexpm", "27eac315a94909d4dc68bc07a4a83e06c8379237c5ea528a9acff4ca1c873c52"},
13+
"nimble_parsec": {:hex, :nimble_parsec, "1.1.0", "3a6fca1550363552e54c216debb6a9e95bd8d32348938e13de5eda962c0d7f89", [:mix], [], "hexpm", "08eb32d66b706e913ff748f11694b17981c0b04a33ef470e33e11b3d3ac8f54b"},
1314
}

nerves_defconfig

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ BR2_TOOLCHAIN_EXTERNAL_CUSTOM=y
99
BR2_TOOLCHAIN_EXTERNAL_DOWNLOAD=y
1010
BR2_TOOLCHAIN_EXTERNAL_URL="https://github.com/nerves-project/toolchains/releases/download/v1.3.2/nerves_toolchain_armv6_rpi_linux_gnueabi-linux_x86_64-1.3.2-CDA7B05.tar.xz"
1111
BR2_TOOLCHAIN_EXTERNAL_CUSTOM_PREFIX="armv6-rpi-linux-gnueabi"
12+
BR2_TOOLCHAIN_EXTERNAL_GCC_9=y
1213
BR2_TOOLCHAIN_EXTERNAL_HEADERS_4_14=y
1314
BR2_TOOLCHAIN_EXTERNAL_CUSTOM_GLIBC=y
1415
BR2_TOOLCHAIN_EXTERNAL_CXX=y
@@ -29,7 +30,7 @@ BR2_LINUX_KERNEL_XZ=y
2930
BR2_LINUX_KERNEL_DTS_SUPPORT=y
3031
BR2_LINUX_KERNEL_INTREE_DTS_NAME="bcm2708-rpi-zero-w bcm2708-rpi-zero"
3132
BR2_LINUX_KERNEL_CUSTOM_DTS_PATH="${NERVES_DEFCONFIG_DIR}/ramoops.dts"
32-
BR2_PACKAGE_BUSYBOX_CONFIG="${BR2_EXTERNAL_NERVES_PATH}/board/nerves-common/busybox-1.22.config"
33+
BR2_PACKAGE_BUSYBOX_CONFIG="${BR2_EXTERNAL_NERVES_PATH}/board/nerves-common/busybox.config"
3334
BR2_PACKAGE_ALSA_UTILS=y
3435
# BR2_PACKAGE_ALSA_UTILS_ALSAMIXER is not set
3536
BR2_PACKAGE_ALSA_UTILS_AMIXER=y

0 commit comments

Comments
 (0)