aboutsummaryrefslogtreecommitdiff
path: root/configs
diff options
context:
space:
mode:
authorGravatar Romain Naour <romain.naour@gmail.com>2018-06-16 13:25:31 +0200
committerGravatar Thomas Petazzoni <thomas.petazzoni@bootlin.com>2018-08-05 14:46:21 +0200
commitf7a887c3682282a281206bca61724a750c326b3d (patch)
tree3e4cf157a4d3d020dc74d36f8f7f79b5f2c8820b /configs
parent52385d789af0d17bf12406e5c028651ccbd841f0 (diff)
downloadbuildroot-f7a887c3682282a281206bca61724a750c326b3d.tar.gz
buildroot-f7a887c3682282a281206bca61724a750c326b3d.tar.bz2
configs/qemu_sh4-r2d: restore the old sh-sci driver behaviour
This reverts commit 18e8cf159177100e69d528293f8cf6875c0b1bca (kernel) The last Qemu kernel update [1] introduced a regresion in sh4 SCIF serial device. Some keyboard presses are very slow to be taken into account, perhaps not even taken into account at all. This would explain why our test infrastructure doesn’t manage to login as root [2][3][4]. git bisect reported a kernel patch from 4.11, increasing RX FIFO trigger defaults value for sh-sci (H)SCIF. The kernel patch itself looks good but the Qemu emulation is not ready to handle this new setting. >From Qemu (2.12.0): target/sh4/README.sh4 "Configuration of the second serial port (SCIF) is supported. FIFO handling infrastructure has been started but is not completed yet." We can't use the first serial port (ttySC0) because it's the second SH UART that's emulated by Qemu. In order to be able to test sh4 architecture with newer kernel, revert to the old behaviour. [1] 03fb00f2175cdb4565e26fcb9b3da1c1059de1bd [2] https://gitlab.com/free-electrons/toolchains-builder/-/jobs/72006425 [3] https://gitlab.com/free-electrons/toolchains-builder/-/jobs/72006427 [4] https://gitlab.com/free-electrons/toolchains-builder/-/jobs/72006426 Signed-off-by: Romain Naour <romain.naour@gmail.com> Cc: Thomas Petazzoni <thomas.petazzoni@bootlin.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
Diffstat (limited to 'configs')
-rw-r--r--configs/qemu_sh4_r2d_defconfig1
1 files changed, 1 insertions, 0 deletions
diff --git a/configs/qemu_sh4_r2d_defconfig b/configs/qemu_sh4_r2d_defconfig
index 8ddcb80b02..ec4a91c999 100644
--- a/configs/qemu_sh4_r2d_defconfig
+++ b/configs/qemu_sh4_r2d_defconfig
@@ -3,6 +3,7 @@ BR2_sh=y
BR2_sh4=y
# System
+BR2_GLOBAL_PATCH_DIR="board/qemu/sh4-r2d/patches"
BR2_SYSTEM_DHCP="eth0"
BR2_TARGET_GENERIC_GETTY_PORT="ttySC1"