Skip to content

Commit 1640f83

Browse files
fhunlethmobileoverlord
authored andcommittedOct 22, 2017
Enable nbtty on the serial port
This addresses a possible blocking problem that was seen on the Raspberry Pi Zero and makes it possible react to terminal window size changes.
1 parent 15cc33b commit 1640f83

File tree

2 files changed

+2
-6
lines changed

2 files changed

+2
-6
lines changed
 

‎nerves_defconfig

+1-6
Original file line numberDiff line numberDiff line change
@@ -31,18 +31,15 @@ BR2_LINUX_KERNEL_EXT_KERNEL_WIRELESS_REGDB=y
3131
BR2_PACKAGE_BUSYBOX_CONFIG="${NERVES_DEFCONFIG_DIR}/bbb-busybox.config"
3232
BR2_PACKAGE_E2FSPROGS=y
3333
# BR2_PACKAGE_E2FSPROGS_FSCK is not set
34-
BR2_PACKAGE_FWUP=y
3534
BR2_PACKAGE_LINUX_FIRMWARE=y
3635
BR2_PACKAGE_LINUX_FIRMWARE_RALINK_RT2XX=y
3736
BR2_PACKAGE_LINUX_FIRMWARE_RTL_87XX=y
3837
BR2_PACKAGE_LINUX_FIRMWARE_TI_WL18XX=y
3938
BR2_PACKAGE_RNG_TOOLS=y
4039
BR2_PACKAGE_UBOOT_TOOLS=y
4140
BR2_PACKAGE_LIBMNL=y
42-
BR2_PACKAGE_NCURSES=y
4341
BR2_PACKAGE_WPA_SUPPLICANT=y
4442
BR2_PACKAGE_WPA_SUPPLICANT_DEBUG_SYSLOG=y
45-
BR2_TARGET_ROOTFS_SQUASHFS=y
4643
# BR2_TARGET_ROOTFS_TAR is not set
4744
BR2_TARGET_UBOOT=y
4845
BR2_TARGET_UBOOT_BOARDNAME="am335x_evm"
@@ -55,7 +52,5 @@ BR2_TARGET_UBOOT_SPL_NAME="MLO"
5552
BR2_PACKAGE_HOST_UBOOT_TOOLS=y
5653
BR2_NERVES_SYSTEM_NAME="nerves_system_bbb"
5754
BR2_PACKAGE_BBORG_OVERLAYS=y
58-
BR2_PACKAGE_BOARDID=y
55+
BR2_PACKAGE_NBTTY=y
5956
BR2_PACKAGE_NERVES_CONFIG=y
60-
BR2_PACKAGE_NERVES_CONFIG_NO_ERLINIT_CONF=y
61-
BR2_PACKAGE_NERVES_CONFIG_APPS="crypto"

‎rootfs_overlay/etc/erlinit.config

+1
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@
1616
# Use dtach to capture the iex session so that it can be redirected to the
1717
# app's GUI
1818
#-s "/usr/bin/dtach -N /tmp/iex_prompt"
19+
-s "/usr/bin/nbtty"
1920

2021
# Specify the user and group IDs for the Erlang VM
2122
#--uid 100

0 commit comments

Comments
 (0)
Please sign in to comment.