Skip to content

Commit ddf0bef

Browse files
committed
Merge remote-tracking branch 'upstream/main' into main
2 parents e9ee118 + 8ba745a commit ddf0bef

21 files changed

+179
-388
lines changed

.circleci/config.yml

Lines changed: 3 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
exec: &exec
22
name: build-tools/nerves-system-br
3-
version: 1.20.3
4-
elixir: 1.13.4-otp-25
3+
version: 1.22.5
4+
elixir: 1.14.4-otp-25
55

66
version: 2.1
77

88
orbs:
9-
build-tools: nerves-project/build-tools@0.2.2
9+
build-tools: nerves-project/build-tools@0.2.3
1010

1111
workflows:
1212
version: 2
@@ -29,12 +29,6 @@ workflows:
2929
filters:
3030
tags:
3131
only: /.*/
32-
- build-tools/build-test:
33-
exec:
34-
<<: *exec
35-
context: org-global
36-
requires:
37-
- build-tools/build-system
3832
- build-tools/deploy-system:
3933
exec:
4034
<<: *exec

CHANGELOG.md

Lines changed: 91 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,97 @@ follows:
1212
releases, and Linux kernel updates. They're also made to fix bugs and add
1313
features to the build infrastructure.
1414

15+
## v1.22.2
16+
17+
This is a bug and security fix update. It should be a low risk upgrade from
18+
v1.22.1.
19+
20+
* Updated dependencies
21+
* [nerves_system_br v1.22.5](https://github.com/nerves-project/nerves_system_br/releases/tag/v1.22.5)
22+
* [Buildroot 2022.11.3](https://lore.kernel.org/buildroot/878rfuxbxx.fsf@dell.be.48ers.dk/T/)
23+
24+
## v1.22.1
25+
26+
This is a bug fix and Erlang version bump from 25.2 to 25.2.3. It should be a
27+
low risk upgrade from v1.22.0.
28+
29+
* Fixes
30+
* Set Erlang crash dump timer to 5 seconds, so if an Erlang crash dump does
31+
happen, it will run for at most 5 seconds. See erlinit.conf.
32+
33+
* Updated dependencies
34+
* [nerves_system_br v1.22.3](https://github.com/nerves-project/nerves_system_br/releases/tag/v1.22.3)
35+
* [Buildroot 2022.11.1](https://lore.kernel.org/buildroot/87ilh4dvax.fsf@dell.be.48ers.dk/T/#u)
36+
37+
## v1.22.0
38+
39+
This is a Buildroot version update that appears to mostly contain bug and
40+
security fixes. It should be a low risk upgrade from v1.21.2.
41+
42+
* Updated dependencies
43+
* [nerves_system_br v1.22.1](https://github.com/nerves-project/nerves_system_br/releases/tag/v1.22.1)
44+
* [Buildroot 2022.11](http://lists.busybox.net/pipermail/buildroot/2022-December/656980.html)
45+
* GCC 12.2
46+
47+
## v1.21.2
48+
49+
* Changes
50+
* Two Buildroot patch updates and an Erlang minor version update
51+
* Nerves Heart v2.0 is now included. Nerves Heart connects the Erlang runtime
52+
to a hardware watchdog. v2.0 has numerous updates to improve information
53+
that you can get and also has more safeguards to avoid conditions that could
54+
cause a device to hang forever.
55+
56+
* Updated dependencies
57+
* linux 5.15.78 (RPi 1.20221104)
58+
* [nerves_system_br v1.21.6](https://github.com/nerves-project/nerves_system_br/releases/tag/v1.21.6)
59+
* [Erlang/OTP 25.2](https://erlang.org/download/OTP-25.2.README)
60+
* [Buildroot 2022.08.3](https://lore.kernel.org/buildroot/87r0x7z5cw.fsf@dell.be.48ers.dk/T/#u)
61+
* [nerves_heart v2.0.2](https://github.com/nerves-project/nerves_heart/releases/tag/v2.0.2)
62+
63+
## v1.21.1
64+
65+
* Changes
66+
* Fix regression when building on x86_64 Linux where wrong toolchain was used.
67+
* Reduce first-time Linux kernel download by using tarball source
68+
69+
* Updated dependencies
70+
* [nerves_system_br v1.21.2](https://github.com/nerves-project/nerves_system_br/releases/tag/v1.21.2)
71+
* [Erlang/OTP 25.1.2](https://erlang.org/download/OTP-25.1.2.README)
72+
73+
## v1.21.0
74+
75+
This release includes a major change to the display drivers by switching to the
76+
full KMS drivers. Raspberry Pi OS has been using these and they appear to be a
77+
big improvement over the fake KMS ones. This might cause some application
78+
changes or updates if you're using the display.
79+
80+
* Changes
81+
* Switch from using the fake KMS to full KMS device drivers for using the
82+
display. See [PR #155](https://github.com/nerves-project/nerves_system_rpi4/pull/155).
83+
* Support aarch64 Linux builds
84+
* Add libdtc to support runtime loading of device tree overlays
85+
86+
* Updated dependencies
87+
* [nerves_system_br v1.21.1](https://github.com/nerves-project/nerves_system_br/releases/tag/v1.21.1)
88+
and also see [nerves_system_br v1.21.0](https://github.com/nerves-project/nerves_system_br/releases/tag/v1.21.0)
89+
* [Buildroot 2022.08.1](http://lists.busybox.net/pipermail/buildroot/2022-October/652816.html)
90+
* [Erlang/OTP 25.1.1](https://erlang.org/download/OTP-25.1.1.README)
91+
92+
## v1.20.2
93+
94+
* Updated dependencies
95+
* [nerves_system_br v1.20.6](https://github.com/nerves-project/nerves_system_br/releases/tag/v1.20.6)
96+
* [Erlang/OTP 25.0.4](https://erlang.org/download/OTP-25.0.4.README)
97+
* [Buildroot 2022.05.2](http://lists.busybox.net/pipermail/buildroot/2022-August/650546.html)
98+
* Also see [Buildroot 2022.05.1 changes](http://lists.busybox.net/pipermail/buildroot/2022-July/647814.html)
99+
100+
## v1.20.1
101+
102+
* Updated dependencies
103+
* [nerves_system_br v1.20.4](https://github.com/nerves-project/nerves_system_br/releases/tag/v1.20.4)
104+
* [Erlang/OTP 25.0.3](https://erlang.org/download/OTP-25.0.3.README)
105+
15106
## v1.20.0
16107

17108
This release updates to Buildroot 2022.05, Linux 5.15.32 (from Linux 5.10) and

VERSION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
1.20.0-valiot.13
1+
1.22.2-valiot.13

config.txt

Lines changed: 13 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,19 @@ dtparam=i2c_arm=on
2929
dtparam=spi=on
3030
dtparam=audio=on
3131

32+
# Automatically load overlays for detected cameras
33+
camera_auto_detect=1
34+
35+
# Automatically load overlays for detected DSI displays
36+
display_auto_detect=1
37+
38+
# Enable DRM VC4 V3D driver
39+
dtoverlay=vc4-kms-v3d
40+
max_framebuffers=2
41+
42+
# Disable compensation for displays with overscan
43+
disable_overscan=1
44+
3245
# Comment this in or modify to enable OneWire
3346
# NOTE: check that the overlay that you specify is in the boot partition or
3447
# this won't work.
@@ -44,10 +57,6 @@ dtoverlay=ramoops
4457
# Enable the UART (/dev/ttyS0)
4558
enable_uart=1
4659

47-
# Enable DRM VC4 V3D driver on top of the dispmanx display stack
48-
dtoverlay=vc4-fkms-v3d
49-
max_framebuffers=2
50-
5160
[cm4]
5261
# Raspberry Pi CM4-only settings
5362

fwup.conf

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -117,6 +117,9 @@ file-resource bcm2711-rpi-cm4.dtb {
117117
file-resource bcm2711-rpi-400.dtb {
118118
host-path = "${NERVES_SYSTEM}/images/bcm2711-rpi-400.dtb"
119119
}
120+
file-resource overlay_map.dtb {
121+
host-path = "${NERVES_SYSTEM}/images/rpi-firmware/overlays/overlay_map.dtb"
122+
}
120123
file-resource rpi-ft5406.dtbo {
121124
host-path = "${NERVES_SYSTEM}/images/rpi-firmware/overlays/rpi-ft5406.dtbo"
122125
}
@@ -138,6 +141,18 @@ file-resource miniuart-bt.dtbo {
138141
file-resource vc4-fkms-v3d.dtbo {
139142
host-path = "${NERVES_SYSTEM}/images/rpi-firmware/overlays/vc4-fkms-v3d.dtbo"
140143
}
144+
file-resource vc4-kms-v3d.dtbo {
145+
host-path = "${NERVES_SYSTEM}/images/rpi-firmware/overlays/vc4-kms-v3d.dtbo"
146+
}
147+
file-resource vc4-kms-v3d-pi4.dtbo {
148+
host-path = "${NERVES_SYSTEM}/images/rpi-firmware/overlays/vc4-kms-v3d-pi4.dtbo"
149+
}
150+
file-resource vc4-kms-dsi-7inch.dtbo {
151+
host-path = "${NERVES_SYSTEM}/images/rpi-firmware/overlays/vc4-kms-dsi-7inch.dtbo"
152+
}
153+
file-resource tc358743.dtbo {
154+
host-path = "${NERVES_SYSTEM}/images/rpi-firmware/overlays/tc358743.dtbo"
155+
}
141156
file-resource dwc2.dtbo {
142157
host-path = "${NERVES_SYSTEM}/images/rpi-firmware/overlays/dwc2.dtbo"
143158
}
@@ -242,13 +257,18 @@ task complete {
242257
on-resource bcm2711-rpi-4-b.dtb { fat_write(${BOOT_A_PART_OFFSET}, "bcm2711-rpi-4-b.dtb") }
243258
on-resource bcm2711-rpi-cm4.dtb { fat_write(${BOOT_A_PART_OFFSET}, "bcm2711-rpi-cm4.dtb") }
244259
on-resource bcm2711-rpi-400.dtb { fat_write(${BOOT_A_PART_OFFSET}, "bcm2711-rpi-400.dtb") }
260+
on-resource overlay_map.dtb { fat_write(${BOOT_A_PART_OFFSET}, "overlays/overlay_map.dtb") }
245261
on-resource rpi-ft5406.dtbo { fat_write(${BOOT_A_PART_OFFSET}, "overlays/rpi-ft5406.dtbo") }
246262
on-resource rpi-backlight.dtbo { fat_write(${BOOT_A_PART_OFFSET}, "overlays/rpi-backlight.dtbo") }
247263
on-resource w1-gpio-pullup.dtbo { fat_write(${BOOT_A_PART_OFFSET}, "overlays/w1-gpio-pullup.dtbo") }
248264
on-resource mcp2515-can0.dtbo { fat_write(${BOOT_A_PART_OFFSET}, "overlays/mcp2515-can0.dtbo") }
249265
on-resource sc16is750-i2c.dtbo { fat_write(${BOOT_A_PART_OFFSET}, "overlays/sc16is750-i2c.dtbo") }
250266
on-resource miniuart-bt.dtbo { fat_write(${BOOT_A_PART_OFFSET}, "overlays/miniuart-bt.dtbo") }
251267
on-resource vc4-fkms-v3d.dtbo { fat_write(${BOOT_A_PART_OFFSET}, "overlays/vc4-fkms-v3d.dtbo") }
268+
on-resource vc4-kms-v3d.dtbo { fat_write(${BOOT_A_PART_OFFSET}, "overlays/vc4-kms-v3d.dtbo") }
269+
on-resource vc4-kms-v3d-pi4.dtbo { fat_write(${BOOT_A_PART_OFFSET}, "overlays/vc4-kms-v3d-pi4.dtbo") }
270+
on-resource vc4-kms-dsi-7inch.dtbo { fat_write(${BOOT_A_PART_OFFSET}, "overlays/vc4-kms-dsi-7inch.dtbo") }
271+
on-resource tc358743.dtbo { fat_write(${BOOT_A_PART_OFFSET}, "overlays/tc358743.dtbo") }
252272
on-resource dwc2.dtbo { fat_write(${BOOT_A_PART_OFFSET}, "overlays/dwc2.dtbo") }
253273
on-resource ramoops.dtbo { fat_write(${BOOT_A_PART_OFFSET}, "overlays/ramoops.dtbo") }
254274

@@ -311,13 +331,18 @@ task upgrade.a {
311331
on-resource bcm2711-rpi-4-b.dtb { fat_write(${BOOT_A_PART_OFFSET}, "bcm2711-rpi-4-b.dtb") }
312332
on-resource bcm2711-rpi-cm4.dtb { fat_write(${BOOT_A_PART_OFFSET}, "bcm2711-rpi-cm4.dtb") }
313333
on-resource bcm2711-rpi-400.dtb { fat_write(${BOOT_A_PART_OFFSET}, "bcm2711-rpi-400.dtb") }
334+
on-resource overlay_map.dtb { fat_write(${BOOT_A_PART_OFFSET}, "overlays/overlay_map.dtb") }
314335
on-resource rpi-ft5406.dtbo { fat_write(${BOOT_A_PART_OFFSET}, "overlays/rpi-ft5406.dtbo") }
315336
on-resource rpi-backlight.dtbo { fat_write(${BOOT_A_PART_OFFSET}, "overlays/rpi-backlight.dtbo") }
316337
on-resource w1-gpio-pullup.dtbo { fat_write(${BOOT_A_PART_OFFSET}, "overlays/w1-gpio-pullup.dtbo") }
317338
on-resource mcp2515-can0.dtbo { fat_write(${BOOT_A_PART_OFFSET}, "overlays/mcp2515-can0.dtbo") }
318339
on-resource sc16is750-i2c.dtbo { fat_write(${BOOT_A_PART_OFFSET}, "overlays/sc16is750-i2c.dtbo") }
319340
on-resource miniuart-bt.dtbo { fat_write(${BOOT_A_PART_OFFSET}, "overlays/miniuart-bt.dtbo") }
320341
on-resource vc4-fkms-v3d.dtbo { fat_write(${BOOT_A_PART_OFFSET}, "overlays/vc4-fkms-v3d.dtbo") }
342+
on-resource vc4-kms-v3d.dtbo { fat_write(${BOOT_A_PART_OFFSET}, "overlays/vc4-kms-v3d.dtbo") }
343+
on-resource vc4-kms-v3d-pi4.dtbo { fat_write(${BOOT_A_PART_OFFSET}, "overlays/vc4-kms-v3d-pi4.dtbo") }
344+
on-resource vc4-kms-dsi-7inch.dtbo { fat_write(${BOOT_A_PART_OFFSET}, "overlays/vc4-kms-dsi-7inch.dtbo") }
345+
on-resource tc358743.dtbo { fat_write(${BOOT_A_PART_OFFSET}, "overlays/tc358743.dtbo") }
321346
on-resource dwc2.dtbo { fat_write(${BOOT_A_PART_OFFSET}, "overlays/dwc2.dtbo") }
322347
on-resource ramoops.dtbo { fat_write(${BOOT_A_PART_OFFSET}, "overlays/ramoops.dtbo") }
323348
on-resource rootfs.img {
@@ -387,13 +412,18 @@ task upgrade.b {
387412
on-resource bcm2711-rpi-4-b.dtb { fat_write(${BOOT_B_PART_OFFSET}, "bcm2711-rpi-4-b.dtb") }
388413
on-resource bcm2711-rpi-cm4.dtb { fat_write(${BOOT_B_PART_OFFSET}, "bcm2711-rpi-cm4.dtb") }
389414
on-resource bcm2711-rpi-400.dtb { fat_write(${BOOT_B_PART_OFFSET}, "bcm2711-rpi-400.dtb") }
415+
on-resource overlay_map.dtb { fat_write(${BOOT_B_PART_OFFSET}, "overlays/overlay_map.dtb") }
390416
on-resource rpi-ft5406.dtbo { fat_write(${BOOT_B_PART_OFFSET}, "overlays/rpi-ft5406.dtbo") }
391417
on-resource rpi-backlight.dtbo { fat_write(${BOOT_B_PART_OFFSET}, "overlays/rpi-backlight.dtbo") }
392418
on-resource w1-gpio-pullup.dtbo { fat_write(${BOOT_B_PART_OFFSET}, "overlays/w1-gpio-pullup.dtbo") }
393419
on-resource mcp2515-can0.dtbo { fat_write(${BOOT_B_PART_OFFSET}, "overlays/mcp2515-can0.dtbo") }
394420
on-resource sc16is750-i2c.dtbo { fat_write(${BOOT_B_PART_OFFSET}, "overlays/sc16is750-i2c.dtbo") }
395421
on-resource miniuart-bt.dtbo { fat_write(${BOOT_B_PART_OFFSET}, "overlays/miniuart-bt.dtbo") }
396422
on-resource vc4-fkms-v3d.dtbo { fat_write(${BOOT_B_PART_OFFSET}, "overlays/vc4-fkms-v3d.dtbo") }
423+
on-resource vc4-kms-v3d.dtbo { fat_write(${BOOT_B_PART_OFFSET}, "overlays/vc4-kms-v3d.dtbo") }
424+
on-resource vc4-kms-v3d-pi4.dtbo { fat_write(${BOOT_B_PART_OFFSET}, "overlays/vc4-kms-v3d-pi4.dtbo") }
425+
on-resource vc4-kms-dsi-7inch.dtbo { fat_write(${BOOT_B_PART_OFFSET}, "overlays/vc4-kms-dsi-7inch.dtbo") }
426+
on-resource tc358743.dtbo { fat_write(${BOOT_B_PART_OFFSET}, "overlays/tc358743.dtbo") }
397427
on-resource dwc2.dtbo { fat_write(${BOOT_B_PART_OFFSET}, "overlays/dwc2.dtbo") }
398428
on-resource ramoops.dtbo { fat_write(${BOOT_B_PART_OFFSET}, "overlays/ramoops.dtbo") }
399429
on-resource rootfs.img {

linux-5.15.defconfig

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -238,6 +238,7 @@ CONFIG_INPUT_EVDEV=y
238238
CONFIG_INPUT_JOYSTICK=y
239239
CONFIG_JOYSTICK_RPISENSE=m
240240
CONFIG_INPUT_TOUCHSCREEN=y
241+
CONFIG_TOUCHSCREEN_EDT_FT5X06=m
241242
CONFIG_TOUCHSCREEN_RASPBERRYPI_FW=m
242243
# CONFIG_SERIO is not set
243244
CONFIG_BRCM_CHAR_DRIVERS=y
@@ -264,6 +265,8 @@ CONFIG_TCG_TPM=m
264265
# CONFIG_HW_RANDOM_TPM is not set
265266
CONFIG_I2C=y
266267
CONFIG_I2C_CHARDEV=y
268+
CONFIG_I2C_MUX=m
269+
CONFIG_I2C_MUX_PINCTRL=m
267270
CONFIG_I2C_BCM2708=y
268271
CONFIG_I2C_BCM2835=y
269272
CONFIG_SPI=y
@@ -286,13 +289,15 @@ CONFIG_MFD_SYSCON=y
286289
CONFIG_REGULATOR=y
287290
CONFIG_REGULATOR_FIXED_VOLTAGE=y
288291
CONFIG_REGULATOR_GPIO=y
292+
CONFIG_REGULATOR_RASPBERRYPI_TOUCHSCREEN_ATTINY=m
289293
CONFIG_MEDIA_SUPPORT=m
290-
CONFIG_VIDEO_V4L2_SUBDEV_API=y
291294
# CONFIG_DVB_NET is not set
292295
# CONFIG_DVB_DYNAMIC_MINORS is not set
293296
CONFIG_MEDIA_USB_SUPPORT=y
294297
CONFIG_USB_VIDEO_CLASS=m
295298
CONFIG_V4L_PLATFORM_DRIVERS=y
299+
CONFIG_VIDEO_TC358743=m
300+
CONFIG_VIDEO_TC358743_CEC=y
296301
# CONFIG_CXD2880_SPI_DRV is not set
297302
# CONFIG_MEDIA_TUNER_SIMPLE is not set
298303
# CONFIG_MEDIA_TUNER_TDA18250 is not set
@@ -438,14 +443,19 @@ CONFIG_V4L_PLATFORM_DRIVERS=y
438443
# CONFIG_DVB_SP2 is not set
439444
CONFIG_DRM=m
440445
CONFIG_DRM_LOAD_EDID_FIRMWARE=y
446+
CONFIG_DRM_PANEL_SIMPLE=m
441447
CONFIG_DRM_PANEL_RASPBERRYPI_TOUCHSCREEN=m
448+
CONFIG_DRM_TOSHIBA_TC358762=m
442449
CONFIG_DRM_V3D=m
443450
CONFIG_DRM_VC4=m
444451
CONFIG_DRM_VC4_HDMI_CEC=y
452+
CONFIG_DRM_SIMPLEDRM=m
445453
CONFIG_TINYDRM_REPAPER=m
446454
CONFIG_FB=y
447455
CONFIG_FB_BCM2708=y
448456
CONFIG_FB_RPISENSE=m
457+
CONFIG_BACKLIGHT_CLASS_DEVICE=m
458+
CONFIG_BACKLIGHT_RPI=m
449459
CONFIG_FRAMEBUFFER_CONSOLE=y
450460
CONFIG_LOGO=y
451461
# CONFIG_LOGO_LINUX_MONO is not set
@@ -528,6 +538,7 @@ CONFIG_GENERIC_PHY=y
528538
CONFIG_EXT3_FS=m
529539
CONFIG_EXT3_FS_POSIX_ACL=y
530540
CONFIG_EXT3_FS_SECURITY=y
541+
CONFIG_NVMEM_RMEM=y
531542
CONFIG_F2FS_FS=y
532543
CONFIG_FANOTIFY=y
533544
CONFIG_OVERLAY_FS=m

mix.exs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -66,9 +66,9 @@ defmodule NervesSystemRpi4.MixProject do
6666

6767
defp deps do
6868
[
69-
{:nerves, "~> 1.5.4 or ~> 1.6.0 or ~> 1.7.15 or ~> 1.8.0", runtime: false},
70-
{:nerves_system_br, "1.20.3", runtime: false},
71-
{:nerves_toolchain_aarch64_nerves_linux_gnu, "~> 1.6.0", runtime: false},
69+
{:nerves, "~> 1.5.4 or ~> 1.6.0 or ~> 1.7.15 or ~> 1.8", runtime: false},
70+
{:nerves_system_br, "1.22.5", runtime: false},
71+
{:nerves_toolchain_aarch64_nerves_linux_gnu, "~> 1.8.0", runtime: false},
7272
{:nerves_system_linter, "~> 0.4", only: [:dev, :test], runtime: false},
7373
{:ex_doc, "~> 0.22", only: :docs, runtime: false}
7474
]

0 commit comments

Comments
 (0)