Re: Looking for issues/features for my first contribution

2019-11-10 Thread Peter Maydell
On Sat, 9 Nov 2019 at 21:08, Aleksandar Markovic wrote: > Given modularity of RasPi, wouldn't it be nice for end users to be able to > specify an RTC via command line? The rtc option specifies properties of the backend of an rtc device. It doesn't specify what the RTC device exposed to the guest

Looking for issues/features for my first contribution

2019-11-09 Thread Aleksandar Markovic
On Saturday, November 9, 2019, Rajath Shashidhara wrote: > > > On 11/9/19 1:46 PM, Aleksandar Markovic wrote: > > > > > > > Hi, Rajath. > > > > No, it doesn't. Linux kernel has a driver for DS3231. Take a closer look. > > Kernel driver found here: > https://elixir.bootlin.com/linux/v5.4-rc6/sourc

Re: Looking for issues/features for my first contribution

2019-11-09 Thread Rajath Shashidhara
On 11/9/19 1:46 PM, Aleksandar Markovic wrote: > > > Hi, Rajath. > > No, it doesn't. Linux kernel has a driver for DS3231. Take a closer look. Kernel driver found here: https://elixir.bootlin.com/linux/v5.4-rc6/source/drivers/rtc/rtc-ds3232.c did register NVMEM of 236 bytes with the kernel.

Re: Looking for issues/features for my first contribution

2019-11-09 Thread Aleksandar Markovic
On Saturday, November 9, 2019, Peter Maydell wrote: > On Fri, 8 Nov 2019 at 19:32, Aleksandar Markovic > wrote: > > > > > [a] Is there any particular reason that you picked DS3231 ? Linux > kernel > > > has drivers for DS3232/34 only [1]. I did read the datasheets of both > > > 3232 & 3231 and f

Re: Looking for issues/features for my first contribution

2019-11-09 Thread Aleksandar Markovic
On Friday, November 8, 2019, Rajath Shashidhara wrote: > > On 07-11-2019 07:33, Aleksandar Markovic wrote: > >> >> I did a quick Google search on datasheets of existing RTC >> implemtations, and the result is: >> >> DS1338: https://datasheets.maximintegrated.com/en/ds/DS1338-DS1338Z.pdf >> M41T80

Re: Looking for issues/features for my first contribution

2019-11-09 Thread Peter Maydell
On Fri, 8 Nov 2019 at 19:32, Aleksandar Markovic wrote: > > > [a] Is there any particular reason that you picked DS3231 ? Linux kernel > > has drivers for DS3232/34 only [1]. I did read the datasheets of both > > 3232 & 3231 and found that they are quite similar except for the 236 > > bytes of SRA

Re: Looking for issues/features for my first contribution

2019-11-08 Thread BALATON Zoltan
Hello, On Fri, 8 Nov 2019, Aleksandar Markovic wrote: [c] DS3231 also has programmable square-wave output + 32 KHz output pin. M41T80 chip also supports this feature. However, qemu does not support emulation of these features [2]. Do I take the same approach ? Hi, Rajath. I would rather have

Re: Looking for issues/features for my first contribution

2019-11-08 Thread Aleksandar Markovic
> [c] DS3231 also has programmable square-wave output + 32 KHz output pin. > M41T80 chip also supports this feature. However, qemu does not support > emulation of these features [2]. Do I take the same approach ? Hi, Rajath. I would rather have you amend M41T80, if there is a missing functionalit

Re: Looking for issues/features for my first contribution

2019-11-08 Thread Aleksandar Markovic
> [a] Is there any particular reason that you picked DS3231 ? Linux kernel > has drivers for DS3232/34 only [1]. I did read the datasheets of both > 3232 & 3231 and found that they are quite similar except for the 236 > bytes of SRAM support found only in 3232. > Yes, DS3231 is a part of a board w

Re: Looking for issues/features for my first contribution

2019-11-08 Thread Richard Henderson
On 11/8/19 10:08 AM, Alex Bennée wrote: > Rajath Shashidhara writes: >> [b] As per the datasheet, DS3231 has a built-in temperature sensor. >> Temperature can be read from a dedicated register. There can be two >> approaches to emulating this: (1) Return a constant temperature value >> on every re

Re: Looking for issues/features for my first contribution

2019-11-08 Thread Alex Bennée
Rajath Shashidhara writes: > On 07-11-2019 07:33, Aleksandar Markovic wrote: >> I did a quick Google search on datasheets of existing RTC >> implemtations, and the result is: >> DS1338: >> https://datasheets.maximintegrated.com/en/ds/DS1338-DS1338Z.pdf >> M41T80: https://www.st.com/resource/en/

Re: Looking for issues/features for my first contribution

2019-11-07 Thread Rajath Shashidhara
On 07-11-2019 07:33, Aleksandar Markovic wrote: I did a quick Google search on datasheets of existing RTC implemtations, and the result is: DS1338: https://datasheets.maximintegrated.com/en/ds/DS1338-DS1338Z.pdf M41T80: https://www.st.com/resource/en/datasheet/m41t80.pdf M48T59: http://www.el

Re: Looking for issues/features for my first contribution

2019-11-07 Thread Rajath Shashidhara
Hi, Thanks Stefan ! I spoke to Dinah and this issue is still up for grabs. I would be working on both SeaBIOS MMConfig task and the DS3231 RTC emulation feature. Thanks for your help! Regards, Rajath Shashidhara On 07-11-2019 07:54, Stefan Hajnoczi wrote: On Wed, Nov 06, 2019 at 05:50:44PM -

Re: Looking for issues/features for my first contribution

2019-11-07 Thread Rajath Shashidhara
Thank you Aleksandar ! This is really helpful. Rajath Shashidhara On 07-11-2019 07:33, Aleksandar Markovic wrote: On Thu, Nov 7, 2019 at 11:37 AM Aleksandar Markovic wrote: On Thursday, November 7, 2019, Rajath Shashidhara wrote: Hi all, I am a Computer Science graduate student at The Un

Re: Looking for issues/features for my first contribution

2019-11-07 Thread Stefan Hajnoczi
On Wed, Nov 06, 2019 at 05:50:44PM -0600, Rajath Shashidhara wrote: > Hi all, > > I am a Computer Science graduate student at The University of Texas at > Austin (UT, Austin). I am looking forward to contributing to qemu ! > > This semester, I am taking a class in Virtualization > (https://github

Re: Looking for issues/features for my first contribution

2019-11-07 Thread Aleksandar Markovic
On Thu, Nov 7, 2019 at 11:37 AM Aleksandar Markovic wrote: > > > > On Thursday, November 7, 2019, Rajath Shashidhara > wrote: >> >> Hi all, >> >> I am a Computer Science graduate student at The University of Texas at >> Austin (UT, Austin). I am looking forward to contributing to qemu ! >> >> T

Re: Looking for issues/features for my first contribution

2019-11-07 Thread Alex Bennée
Rajath Shashidhara writes: > Hi all, > > I am a Computer Science graduate student at The University of Texas at > Austin (UT, Austin). I am looking forward to contributing to qemu ! > > This semester, I am taking a class in Virtualization > (https://github.com/vijay03/cs378-f19) and contributin

Re: Looking for issues/features for my first contribution

2019-11-07 Thread Aleksandar Markovic
On Thursday, November 7, 2019, Rajath Shashidhara wrote: > Hi all, > > I am a Computer Science graduate student at The University of Texas at > Austin (UT, Austin). I am looking forward to contributing to qemu ! > > This semester, I am taking a class in Virtualization ( > https://github.com/vijay

Looking for issues/features for my first contribution

2019-11-06 Thread Rajath Shashidhara
Hi all, I am a Computer Science graduate student at The University of Texas at Austin (UT, Austin). I am looking forward to contributing to qemu ! This semester, I am taking a class in Virtualization (https://github.com/vijay03/cs378-f19) and contributing to a virtualization related open-sou