configs/raspberrypi3_64_defconfig: use pi3-miniuart-bt device tree overlay
authorPeter Seiderer <ps.report@gmx.net>
Sat, 9 Nov 2019 09:45:20 +0000 (10:45 +0100)
committerThomas Petazzoni <thomas.petazzoni@bootlin.com>
Sat, 9 Nov 2019 13:34:23 +0000 (14:34 +0100)
Use the pi3-miniuart-bt device tree overlay (as the 32bit raspberrypi3
defconfig) instead of the enable_uart option.

Signed-off-by: Peter Seiderer <ps.report@gmx.net>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
board/raspberrypi/post-image.sh
configs/raspberrypi3_64_defconfig

index bf9af5dc60458bbdf3c6c79ab97610697a0cd42a..bbeb0bc721b134fdbc9e9491330c9e593f13b285 100755 (executable)
@@ -28,15 +28,6 @@ __EOF__
 
 # enable 64bits support
 arm_64bit=1
-__EOF__
-               fi
-
-               # Enable uart console
-               if ! grep -qE '^enable_uart=1' "${BINARIES_DIR}/rpi-firmware/config.txt"; then
-                       cat << __EOF__ >> "${BINARIES_DIR}/rpi-firmware/config.txt"
-
-# enable rpi3 ttyS0 serial console
-enable_uart=1
 __EOF__
                fi
                ;;
index f9a6f5fe1f571644dcbfffaf3d3d1c2747f6cbe3..27141f364ebc4084eb28a15c14c50610455f5c6b 100644 (file)
@@ -22,7 +22,6 @@ BR2_LINUX_KERNEL_DTB_OVERLAY_SUPPORT=y
 BR2_LINUX_KERNEL_NEEDS_HOST_OPENSSL=y
 
 BR2_PACKAGE_RPI_FIRMWARE=y
-# BR2_PACKAGE_RPI_FIRMWARE_INSTALL_DTB_OVERLAYS is not set
 
 # Required tools to create the SD image
 BR2_PACKAGE_HOST_DOSFSTOOLS=y
@@ -36,4 +35,4 @@ BR2_TARGET_ROOTFS_EXT2_SIZE="120M"
 # BR2_TARGET_ROOTFS_TAR is not set
 BR2_ROOTFS_POST_BUILD_SCRIPT="board/raspberrypi3-64/post-build.sh"
 BR2_ROOTFS_POST_IMAGE_SCRIPT="board/raspberrypi3-64/post-image.sh"
-BR2_ROOTFS_POST_SCRIPT_ARGS="--aarch64"
+BR2_ROOTFS_POST_SCRIPT_ARGS="--aarch64 --add-pi3-miniuart-bt-overlay"