qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] [PATCH] bcm2835_aux: Swap RX and TX interrupt assignmen


From: Guenter Roeck
Subject: Re: [Qemu-devel] [PATCH] bcm2835_aux: Swap RX and TX interrupt assignments
Date: Mon, 16 Jul 2018 07:13:32 -0700
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.8.0

On 07/16/2018 06:48 AM, Peter Maydell wrote:
On 18 June 2018 at 22:04, Guenter Roeck <address@hidden> wrote:
RX and TX interrupt bits were reversed, resulting in an endless sequence
of serial interupts in the emulated system and the following repeated
error message when booting Linux.

serial8250: too much work for irq61

This results in a boot failure most of the time.

Qemu command line used to reproduce the problem:

         qemu-system-aarch64 -M raspi3 -m 1024 \
         -kernel arch/arm64/boot/Image \
         --append "rdinit=/sbin/init console=ttyS1,115200"
         -initrd rootfs.cpio \
         -dtb arch/arm64/boot/dts/broadcom/bcm2837-rpi-3-b.dtb \
         -nographic -monitor null -serial null -serial stdio

This is with arm64:defconfig. The root file system was generated using
buildroot.

Worth mentioning in the commit message that there is an
error in the BCM2835 datasheet for the TX_INT and RX_INT
bits in the AUX_MU_IER_REG description (as per
https://elinux.org/BCM2835_datasheet_errata)


I didn't know that ;-). I found out the hard way.

Guenter



reply via email to

[Prev in Thread] Current Thread [Next in Thread]