Message ID | 4c9f90399854448497317465c1e4cedc@asus.com (mailing list archive) |
---|---|
State | New |
Headers | show |
Series | 答复: [PATCH] hw/arm/aspeed: fix connect_serial_hds_to_uarts | expand |
On 12/13/24 10:48, Kenneth Jia(贾纪东_华硕上海) wrote: > We plans to use a relatively large number of UART connections, and currently test all UARTs that can be used. > When we use qumu for simulation, the problem was discovered. Which QEMU machine are you using ? Thanks, C.
> Which QEMU machine are you using ? ast2600-evb Thanks, Kenneth -----邮件原件----- 发件人: Cédric Le Goater <clg@kaod.org> 发送时间: 2024年12月13日 17:57 收件人: Kenneth Jia(贾纪东_华硕上海) <kenneth_jia@asus.com>; 'qemu-arm@nongnu.org' <qemu-arm@nongnu.org> 抄送: 'Cédric Le Goater' <clg@redhat.com>; 'Philippe Mathieu-Daudé' <philmd@linaro.org>; 'Jamin Lin' <jamin_lin@aspeedtech.com>; 'Andrew Jeffery' <andrew@codeconstruct.com.au>; 'Gavin Shan' <gshan@redhat.com>; 'open list:All patches CC here' <qemu-devel@nongnu.org> 主题: Re: 答复: [PATCH] hw/arm/aspeed: fix connect_serial_hds_to_uarts External email : Ensure your email is secure before opening links and attachments. On 12/13/24 10:48, Kenneth Jia(贾纪东_华硕上海) wrote: > We plans to use a relatively large number of UART connections, and currently test all UARTs that can be used. > When we use qumu for simulation, the problem was discovered. Which QEMU machine are you using ? Thanks, C. <p></p>
diff --git a/hw/arm/aspeed.c b/hw/arm/aspeed.c index 556498f2a0..786df450ed 100644 --- a/hw/arm/aspeed.c +++ b/hw/arm/aspeed.c @@ -369,6 +369,7 @@ static void connect_serial_hds_to_uarts(AspeedMachineState *bmc) continue; } aspeed_soc_uart_set_chr(s, uart, serial_hd(i)); + printf("uart %d char index %d name %s\n", uart-sc->uarts_base, i, serial_hd(i)?serial_hd(i)->filename:"null"); } }