Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
71 changes: 0 additions & 71 deletions .github/workflows/revpi-connect.yml

This file was deleted.

71 changes: 0 additions & 71 deletions .github/workflows/revpi-core-3.yml

This file was deleted.

2 changes: 0 additions & 2 deletions layers/meta-balena-raspberrypi/conf/layer.conf
Original file line number Diff line number Diff line change
Expand Up @@ -165,8 +165,6 @@ FIRMWARE_COMPRESSION:raspberrypi0-2w-64 ?= "1"
IWLWIFI_FW_TOCLEAN:raspberrypi4-64 = ""
IWLWIFI_FW_TOCLEAN:raspberrypi0-2w-64 = ""

KERNEL_FEATURES:remove:revpi-core-3 = "cfg/fs/vfat.scc"
KERNEL_FEATURES:remove:revpi-connect = "cfg/fs/vfat.scc"
KERNEL_FEATURES:remove:revpi-connect-s = "cfg/fs/vfat.scc"
KERNEL_FEATURES:remove:revpi-connect-4 = "cfg/fs/vfat.scc"

Expand Down
2 changes: 0 additions & 2 deletions layers/meta-balena-raspberrypi/conf/samples/local.conf.sample
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,8 @@
#MACHINE ?= "raspberrypi2"
#MACHINE ?= "raspberrypi3"
#MACHINE ?= "raspberrypi3-64"
#MACHINE ?= "revpi-connect"
#MACHINE ?= "revpi-connect-s"
#MACHINE ?= "revpi-connect-4"
#MACHINE ?= "revpi-core-3"
#MACHINE ?= "raspberrypi4-64"
#MACHINE ?= "raspberrypi400-64"
#MACHINE ?= "raspberrypicm4-ioboard"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -76,19 +76,6 @@ do_deploy:append:raspberrypi4-unipi-neuron() {
echo "dtoverlay=neuron-spi-new" >> ${DEPLOYDIR}/bootfiles/config.txt
}

do_deploy:append:revpi-core-3() {
cat >> ${DEPLOYDIR}/bootfiles/config.txt << EOF

# serial port needs to be kept clean for RS485 communication
avoid_warnings=1

dtoverlay=revpi-core

EOF
# prevent u-boot logging on uart
sed -i 's/enable_uart=1//' ${DEPLOYDIR}/bootfiles/config.txt
}

# On Raspberry Pi 3 and Raspberry Pi Zero WiFi, serial ttyS0 console is only
# usable if ENABLE_UART = 1. On OS development images, we want serial console
# available, production devices can enable it with a configuration variable.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,15 +20,8 @@ IMAGE_ROOTFS_SIZE:raspberrypi5="655360"
BALENA_BOOT_SIZE:raspberrypi5="81920"

# Increase Root File system size
IMAGE_ROOTFS_SIZE:revpi-connect-s ?= "319488"
IMAGE_OVERHEAD_FACTOR:revpi-connect-s ?= "1.0"
IMAGE_ROOTFS_EXTRA_SPACE:revpi-connect-s ?= "53248"
IMAGE_ROOTFS_MAXSIZE:revpi-connect-s ?= "372736"

IMAGE_ROOTFS_SIZE:revpi-connect-4 ?= "319488"
IMAGE_OVERHEAD_FACTOR:revpi-connect-4 ?= "1.0"
IMAGE_ROOTFS_EXTRA_SPACE:revpi-connect-4 ?= "53248"
IMAGE_ROOTFS_MAXSIZE:revpi-connect-4 ?= "372736"
IMAGE_ROOTFS_SIZE:revpi-connect-s = "372736"

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Note: This does not change the existing rootfs size, because there is only one available release for this device-type - v3.0.8+rev2 - and its rootfs size is the same as the one being set here:

dumpe2fs /dev/sdb2 | grep "^Block"
Block count:              372736
Block size:               1024

IMAGE_ROOTFS_SIZE:revpi-connect-4 = "372736"

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Both v6.10.24 and the oldest v5.3.3 have the same size of 372736 so this stays unchanged


# Customize balenaos-img
BALENA_IMAGE_BOOTLOADER:rpi = "rpi-bootfiles"
Expand All @@ -48,10 +41,6 @@ BALENA_BOOT_PARTITION_FILES:append:raspberrypi5 = " \
balena-bootloader/bootenv:/bootenv \
"

BALENA_BOOT_PARTITION_FILES:append:revpi-core-3 = " revpi-core-dt-blob-overlay.dtb:/dt-blob.bin"

BALENA_BOOT_PARTITION_FILES:append:revpi-connect = " revpi-connect-dt-blob-overlay.dtb:/dt-blob.bin"

BALENA_BOOT_PARTITION_FILES:append:revpi-connect-s = " revpi-connect-dt-blob-overlay.dtb:/dt-blob.bin"

python overlay_dtbs_handler () {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,11 +15,6 @@ CMDLINE = "dwc_otg.lpm_enable=0 rootwait"
CMDLINE += "${@bb.utils.contains('DISTRO_FEATURES','osdev-image',"console=tty1 console=serial0,115200"," vt.global_cursor_default=0 console=null",d)}"
CMDLINE_DEBUG = ""

# revpi-connect was previously added on overlay2,
# so only the core 3 needs to include this module
# further.
BALENA_CONFIGS:append:revpi-core-3 = " aufs"

BALENA_CONFIGS:append = " fbtft"
BALENA_CONFIGS[fbtft] = " \
CONFIG_STAGING=y \
Expand Down

This file was deleted.

Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
FILESEXTRAPATHS:append := ":${THISDIR}/files"

HOSTAPP_HOOKS += " 99-resin-uboot 999-resin-boot-cleaner"
HOSTAPP_HOOKS:append:revpi-core-3 = " 9999-bootfiles"

HOSTAPP_HOOKS:remove:raspberrypi5 = "99-resin-uboot 999-resin-boot-cleaner"
HOSTAPP_HOOKS:append:raspberrypi5 = " 99-balena-bootloader"
Expand Down
45 changes: 0 additions & 45 deletions revpi-connect.coffee

This file was deleted.

47 changes: 0 additions & 47 deletions revpi-core-3.coffee

This file was deleted.

Loading