40fcbc359e
sh4-r2d has a serial port, however it's the second SH UART that's emulated by Qemu so we need to adjust the kernel configuration for it to see the relevant UART and adjust the qemu command line for it too. Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
25 lines
632 B
Plaintext
25 lines
632 B
Plaintext
# Architecture
|
|
BR2_sh=y
|
|
BR2_sh4=y
|
|
|
|
# system
|
|
BR2_TARGET_GENERIC_GETTY=y
|
|
BR2_TARGET_GENERIC_GETTY_PORT="ttySC1"
|
|
|
|
# filesystem
|
|
BR2_TARGET_ROOTFS_EXT2=y
|
|
# BR2_TARGET_ROOTFS_TAR is not set
|
|
|
|
# The kernel wants to use the -m4-nofpu option to make sure that it
|
|
# doesn't use floating point operations.
|
|
BR2_GCC_VERSION_4_5_X=y
|
|
BR2_EXTRA_GCC_CONFIG_OPTIONS="--with-multilib-list=m4,m4-nofpu"
|
|
|
|
# Linux kernel
|
|
BR2_LINUX_KERNEL=y
|
|
BR2_LINUX_KERNEL_CUSTOM_VERSION=y
|
|
BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="3.1"
|
|
BR2_LINUX_KERNEL_USE_CUSTOM_CONFIG=y
|
|
BR2_LINUX_KERNEL_CUSTOM_CONFIG_FILE="board/qemu/sh4-r2d/linux-3.1.config"
|
|
BR2_LINUX_KERNEL_ZIMAGE=y
|