2a7982ee52
This reverts commitf7a887c368
and23aee3eac4
since the kernel patch is not needed as soon as qemu >= 3.1.0 is used with a kernel >= 4.11-rc1. The qemu emulation of sh-sci driver was fixed by adding basic timeout handling for 9600 bps [1]. [1] https://git.qemu.org/?p=qemu.git;a=commit;h=71bb4ce1b5592cdc03abc48cdf4ecb15b2db81a0 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>
31 lines
723 B
Plaintext
31 lines
723 B
Plaintext
# Architecture
|
|
BR2_sh=y
|
|
BR2_sh4=y
|
|
|
|
# System
|
|
BR2_SYSTEM_DHCP="eth0"
|
|
BR2_TARGET_GENERIC_GETTY_PORT="ttySC1"
|
|
|
|
# Filesystem
|
|
BR2_TARGET_ROOTFS_EXT2=y
|
|
# BR2_TARGET_ROOTFS_TAR is not set
|
|
|
|
# Image
|
|
BR2_ROOTFS_POST_IMAGE_SCRIPT="board/qemu/post-image.sh"
|
|
BR2_ROOTFS_POST_SCRIPT_ARGS="$(BR2_DEFCONFIG)"
|
|
|
|
# Linux headers same as kernel, a 5.4 series
|
|
BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_5_4=y
|
|
|
|
# Linux kernel
|
|
BR2_LINUX_KERNEL=y
|
|
BR2_LINUX_KERNEL_CUSTOM_VERSION=y
|
|
BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="5.4.35"
|
|
BR2_LINUX_KERNEL_USE_CUSTOM_CONFIG=y
|
|
BR2_LINUX_KERNEL_CUSTOM_CONFIG_FILE="board/qemu/sh4-r2d/linux.config"
|
|
BR2_LINUX_KERNEL_ZIMAGE=y
|
|
|
|
# host-qemu for gitlab testing
|
|
BR2_PACKAGE_HOST_QEMU=y
|
|
BR2_PACKAGE_HOST_QEMU_SYSTEM_MODE=y
|