qemu-arm
[Top][All Lists]
Advanced

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

Re: [PATCH v2 0/1] hw/arm/aspeed: Add Fuji machine type


From: Cédric Le Goater
Subject: Re: [PATCH v2 0/1] hw/arm/aspeed: Add Fuji machine type
Date: Fri, 3 Sep 2021 14:09:23 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.11.0

>>>> Is the Fuji using the Aspeed RTC ?
>>>>
>>>> hwclock: ioctl(RTC_RD_TIME) to /dev/rtc0 to read the time failed: Invalid 
>>>> argument
>>
>> I don't understand exactly what's going on here, but running "hwclock --get"
>> and "hwclock --set --date 2021-01-01" both seem to work fine after booting,
>> so I think the Aspeed RTC is setup correctly and working. As far as I know
>> Fuji uses it, but I'm not really sure.
> 
> QEMU doesn't model the SoC RTC. Something to add on the TODO list.

Joel made me notice that we had a model for it :) The time is 
not initialized at reset and that might be the issue we are 
seeing in Linux.

Thanks,

C.



reply via email to

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