Looking for issues/features for my first contribution
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-source project is a significant part of the course.
I would be interested in contributing a patchset to qemu - possibly a self-contained feature or a reasonably complex bug fix that can be completed in under a month's time. I did look at both the bugtracker and the QEMU Google Summer of Code 2019 page [https://wiki.qemu.org/Google_Summer_of_Code_2019] for ideas. However, I would be interested in hearing from the community and I would be delighted if somebody can be suggest a suitable project !
I am an advanced C programmer with both professional and academic background in systems design & implementation - especially OS & Networks. Given my background, I feel fairly confident that I can pickup the QEMU codebase quickly.
Eagerly looking forward to hearing from the community !
Thanks,
Rajath Shashidhara
Quoted 5 lines · 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 !
Quoted 13 lines
This semester, I am taking a class in Virtualization (
https://github.com/vijay03/cs378-f19) and contributing to a virtualization related open-source project is a significant part of the course.
I would be interested in contributing a patchset to qemu - possibly a self-contained feature or a reasonably complex bug fix that can be completed in under a month's time. I did look at both the bugtracker and the QEMU Google Summer of Code 2019 page [https://wiki.qemu.org/Google_Summer_of_Code_2019] for ideas. However, I would be interested in hearing from the community and I would be delighted if somebody can be suggest a suitable project !
Hello, Rajath!
Thank you for expressing interest in QEMU open source project.
There is certainly a place for you and your contributions in QEMU, and you are very welcomed!
It looks to me the following project would fit your description:
'Implement emulation of DS3231 real time clock in QEMU'
Datasheet:
https://datasheets.maximintegrated.com/en/ds/DS3231.pdf
The steps needed to complete it (in my opinion):
- collect datasheets of as many as possible RTC chips already emulated in QEMU (there are around of dozen of them, see folder hw/rtc)
- do a comparative analysis of selected RTC implementations in QEMU
- get to know general QEMU device model
- design and implement DS3231 emulation
I can give you (unfortunately constrained by tight time limits) some help and guidance. But there are other people in community too (more knowledgable in the area than me).
I salute your initiative!
Yours,
Aleksandar
Quoted 12 lines
I am an advanced C programmer with both professional and academic background in systems design & implementation - especially OS & Networks. Given my background, I feel fairly confident that I can pickup the QEMU codebase quickly.
Eagerly looking forward to hearing from the community !
Thanks,
Rajath Shashidhara
Quoted 23 lines · Aleksandar Markovic
Quoted 8 lines · 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-source project is a significant part of the course.
I would be interested in contributing a patchset to qemu - possibly a self-contained feature or a reasonably complex bug fix that can be completed in under a month's time. I did look at both the bugtracker and the QEMU Google Summer of Code 2019 page [https://wiki.qemu.org/Google_Summer_of_Code_2019] for ideas. However, I would be interested in hearing from the community and I would be delighted if somebody can be suggest a suitable project !Hello, Rajath!
Thank you for expressing interest in QEMU open source project.
There is certainly a place for you and your contributions in QEMU, and you are very welcomed!
It looks to me the following project would fit your description:
'Implement emulation of DS3231 real time clock in QEMU'
Quoted 8 lines
Datasheet:
https://datasheets.maximintegrated.com/en/ds/DS3231.pdf
The steps needed to complete it (in my opinion):
- collect datasheets of as many as possible RTC chips already emulated in QEMU (there are around of dozen of them, see folder hw/rtc)
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.elektronikjk.pl/elementy_czynne/IC/M48T59V.pdf
MC146818: https://www.nxp.com/docs/en/data-sheet/MC146818.pdf
PL031: http://infocenter.arm.com/help/topic/com.arm.doc.ddi0224c/real_time_clock_pl031_r1p3_technical_reference_manual_DDI0224C.pdf
TWL92230: https://datasheet.octopart.com/TWL92230C-Texas-Instruments-datasheet-150321.pdf
Zynq RTC: https://www.xilinx.com/support/documentation/user_guides/ug1085-zynq-ultrascale-trm.pdf
(chapter 7)
Aleksandar
Quoted 24 lines
- do a comparative analysis of selected RTC implementations in QEMU
- get to know general QEMU device model
- design and implement DS3231 emulation
I can give you (unfortunately constrained by tight time limits) some help and guidance. But there are other people in community too (more knowledgable in the area than me).
I salute your initiative!
Yours,
AleksandarQuoted 9 lines
I am an advanced C programmer with both professional and academic background in systems design & implementation - especially OS & Networks. Given my background, I feel fairly confident that I can pickup the QEMU codebase quickly.
Eagerly looking forward to hearing from the community !
Thanks,
Rajath Shashidhara
Thank you Aleksandar ! This is really helpful.
Rajath Shashidhara
Quoted 67 lines · Aleksandar Markovic
Quoted 20 lines · Aleksandar Markovic
Quoted 7 lines · 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-source project is a significant part of the course.
I would be interested in contributing a patchset to qemu - possibly a self-contained feature or a reasonably complex bug fix that can be completed in under a month's time. I did look at both the bugtracker and the QEMU Google Summer of Code 2019 page [https://wiki.qemu.org/Google_Summer_of_Code_2019] for ideas. However, I would be interested in hearing from the community and I would be delighted if somebody can be suggest a suitable project !Hello, Rajath!
Thank you for expressing interest in QEMU open source project.
There is certainly a place for you and your contributions in QEMU, and you are very welcomed!
It looks to me the following project would fit your description:
'Implement emulation of DS3231 real time clock in QEMU'
Quoted 8 lines
Datasheet:
https://datasheets.maximintegrated.com/en/ds/DS3231.pdf
The steps needed to complete it (in my opinion):
- collect datasheets of as many as possible RTC chips already emulated in QEMU (there are around of dozen of them, see folder hw/rtc)
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.elektronikjk.pl/elementy_czynne/IC/M48T59V.pdf
MC146818: https://www.nxp.com/docs/en/data-sheet/MC146818.pdf
PL031: http://infocenter.arm.com/help/topic/com.arm.doc.ddi0224c/real_time_clock_pl031_r1p3_technical_reference_manual_DDI0224C.pdf
TWL92230: https://datasheet.octopart.com/TWL92230C-Texas-Instruments-datasheet-150321.pdf
Zynq RTC: https://www.xilinx.com/support/documentation/user_guides/ug1085-zynq-ultrascale-trm.pdf
(chapter 7)Aleksandar
Quoted 23 lines
- do a comparative analysis of selected RTC implementations in QEMU
- get to know general QEMU device model
- design and implement DS3231 emulation
I can give you (unfortunately constrained by tight time limits) some help and guidance. But there are other people in community too (more knowledgable in the area than me).
I salute your initiative!
Yours,
AleksandarQuoted 8 lines
I am an advanced C programmer with both professional and academic background in systems design & implementation - especially OS & Networks. Given my background, I feel fairly confident that I can pickup the QEMU codebase quickly.
Eagerly looking forward to hearing from the community !
Thanks,
Rajath Shashidhara
Quoted 4 lines · Aleksandar Markovic
I did a quick Google search on datasheets of existing RTC implemtations, and the result is:
Quoted 8 lines
DS1338: https://datasheets.maximintegrated.com/en/ds/DS1338-DS1338Z.pdf
M41T80: https://www.st.com/resource/en/datasheet/m41t80.pdf
M48T59: http://www.elektronikjk.pl/elementy_czynne/IC/M48T59V.pdf
MC146818: https://www.nxp.com/docs/en/data-sheet/MC146818.pdf
PL031: http://infocenter.arm.com/help/topic/com.arm.doc.ddi0224c/real_time_clock_pl031_r1p3_technical_reference_manual_DDI0224C.pdf
TWL92230: https://datasheet.octopart.com/TWL92230C-Texas-Instruments-datasheet-150321.pdf
Zynq RTC: https://www.xilinx.com/support/documentation/user_guides/ug1085-zynq-ultrascale-trm.pdf
(chapter 7)
I have a few questions about this:
[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.
[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 read (2) Throw a not-supported exception/warning. What is the qemu convention for handling such features ?
[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 ?
Thanks!
Rajath Shashidhara
References:
[1] https://elixir.bootlin.com/linux/v5.4-rc6/source/drivers/rtc/rtc-ds3232.c
[2] https://git.qemu.org/?p=qemu.git;a=blob;f=hw/rtc/m41t80.c;h=914ecac8f4db418633d6daf92608cb50f6b89052;hb=HEAD
Quoted 19 lines · Rajath Shashidhara
Quoted 11 lines · Aleksandar Markovic
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.elektronikjk.pl/elementy_czynne/IC/M48T59V.pdf
MC146818: https://www.nxp.com/docs/en/data-sheet/MC146818.pdf
PL031: http://infocenter.arm.com/help/topic/com.arm.doc.ddi0224c/real_time_clock_pl031_r1p3_technical_reference_manual_DDI0224C.pdf
TWL92230: https://datasheet.octopart.com/TWL92230C-Texas-Instruments-datasheet-150321.pdf
Zynq RTC: https://www.xilinx.com/support/documentation/user_guides/ug1085-zynq-ultrascale-trm.pdf
(chapter 7)I have a few questions about this:
[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.
Quoted 5 lines
[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 read (2) Throw a not-supported exception/warning. What is the qemu convention for handling such features ?
Don't throw an exception. You can at the minimum do a qemu_log_mask(LOG_UNIMP) to indicate the system is using currently unimplemented functionality. Alternatively wire-up a device property via QOM so the user can vary the reported temperature.
QEMU currently doesn't have a decent API for exposing values for dynamic emulated sensors to the outside world aside from QMP for chaning device values. It's something we have discussed in the past but the trick is coming up with something that can cover the wide range of device types. Maybe QMP is good enough?
Quoted 5 lines
[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 ?
Quoted 8 lines
Thanks!
Rajath ShashidharaReferences:
[1]
https://elixir.bootlin.com/linux/v5.4-rc6/source/drivers/rtc/rtc-ds3232.c
[2]
https://git.qemu.org/?p=qemu.git;a=blob;f=hw/rtc/m41t80.c;h=914ecac8f4db418633d6daf92608cb50f6b89052;hb=HEAD
--
Alex Bennée
Quoted 11 lines · Alex Bennée
Quoted 5 lines · Rajath Shashidhara
[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 read (2) Throw a not-supported exception/warning. What is the qemu convention for handling such features ?
Don't throw an exception. You can at the minimum do a
qemu_log_mask(LOG_UNIMP)to indicate the system is using currently unimplemented functionality. Alternatively wire-up a device property via QOM so the user can vary the reported temperature.
FWIW, Phillipe recently added a dummy temp sensor for raspi4:
git show 99c641370b52348b2893b2cd19624bf9a416ccfa
wherein he hard-codes 25C. Unless you're wanting to test the guest kernel handling of overheating, this seems sufficient.
r~
Quoted 5 lines
[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 we want to support in future.
I think you could make your QEMU emulation cover both DS3231 and DS3232 (and call your file ds323x.c, or similar). If you do it right, this may be the model for handling similar cases, and I am sure there are plenty of them in the whole QEMU tree. (for example, DS1307 and DS1306)
But, if this sound too complicated for you, please just cover DS3231.
Also, you can contact kernel DSxxxx drivers authors for more info.
I suspect their DS3232 driver works with DS3231 too.
Yours,
Aleksandar
Quoted 8 lines · Aleksandar Markovic
Quoted 6 lines
[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 we want to support in future.
We should probably prefer to go with a device that's a missing part of a board we already support -- generally the project prefers not to take device models that don't have a use, ie they go in with the board model rather than before. This also means we have some way of testing the code :-)
thanks
-- PMM
Quoted 10 lines · Peter Maydell
Quoted 2 lines · Aleksandar Markovic
Quoted 2 lines
[a] Is there any particular reason that you picked DS3231 ? Linux
kernel
Quoted 5 lines
Quoted 4 lines
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.
Quoted 10 lines
Quoted 1 line
Yes, DS3231 is a part of a board we want to support in future.
We should probably prefer to go with a device that's a missing part of a board we already support -- generally the project prefers not to take device models that don't have a use, ie they go in with the board model rather than before. This also means we have some way of testing the code :-)
All agreed, Peter.
However, there is an additional interesting aspect here:
DS3231 is a fairly common module for RasPi. (and, is common for some other systems with non-arm cpus too)
I hoped that setting up RasPi emulation with newly created RTC device would be a peace of cake, but it might be that I was wrong. I see certain inconsistency between our command line switches "-rtc" and "-watchdog". Using "-watchdog", a watchdog timer model can be specified, but for "-rtc", it looks, there is no such posibility.
Given modularity of RasPi, wouldn't it be nice for end users to be able to specify an RTC via command line?
If usage of command line is ruled out, what would be an alternative way to integrate particular RTC support in RasPi (for any QEMU-supported RTC, not only (for now, just envisioned) DS3231)?
Sory if I missed something big here.
Yours,
Aleksandar
Quoted 3 lines
thanks
-- PMM
Quoted 1 line · Aleksandar Markovic
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 is. For doing that we use '-device', but that only works for pluggable devices. In general, we don't try to model any of that complexity for our boards, except for the special case where there's a nice clean interface for what the pluggable device is (ISA, PCI, USB, etc). You could in theory come up with a bus class which modelled RasPI pluggable modules and then implement an RTC that way, but that's a huge amount of work for a board model which currently is struggling to get enough developer attention to be usable at all.
Quoted 3 lines
If usage of command line is ruled out, what would be an alternative way to integrate particular RTC support in RasPi (for
any QEMU-supported RTC, not only (for now, just envisioned) DS3231)?
We should just model the devices that the hardware has, so that when you create a raspi QEMU model you get the same things that you get if you take a stock raspi board and power it up. The raspi board model is currently missing lots and lots of devices, some of which are now necessary to just be able to boot Linux. So we should start by getting and keeping it working in a basic form, before we even think about more obscure optional stuff like pluggable modules.
One thing we should definitely not do is provide a model of "some random RTC we happen to have a device model of", just because we have a model handy. My experience is that it's really important to stick to a line of "just model what the real hardware does", and not put in "QEMU does this other thing" behaviour:
it may seem convenient in the short term but it turns into a real pain to maintain in the long term. The actual hardware specs provide a nice clean "this is what correct behaviour of a model should be" definition.
thanks
-- PMM
Quoted 3 lines
[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 functionality.
cc-in Zoltan the creator of M41T80 emulation, for his opinion.
Yours,
Aleksandar
Hello,
Quoted 9 lines · Aleksandar Markovic
Quoted 3 lines
[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 functionality.
cc-in Zoltan the creator of M41T80 emulation, for his opinion.
The missing functionality (such as alarm timer, if I remember correctly) could be added, but I did not bother to fully implement it because the clients I was interested in only used the RTC part, so current implementation is sufficient for that. Not sure if anything would use the missing features but it would be nice to fully implement the chip.
I'm not sure what you plan to use DS3231 for but if clients only use part of the functions then maybe implementing those first might be enough but if you have time to correctly implement everything then that's probably even better.
If you or someone else is still looking for a relatively easy device to implement I have this:
https://osdn.net/projects/qmiga/wiki/SubprojectMac99I2C
The difficulty in that is that it has no docs but only open source drivers to figure out how it works but if someone likes a challenge it may improve mac99 emulation.
Regards,
BALATON Zoltan
Quoted 20 lines · Rajath Shashidhara
Quoted 4 lines · Aleksandar Markovic
I did a quick Google search on datasheets of existing RTC implemtations, and the result is:
Quoted 12 lines
DS1338: https://datasheets.maximintegrated.com/en/ds/DS1338-DS1338Z.pdf
M41T80: https://www.st.com/resource/en/datasheet/m41t80.pdf
M48T59: http://www.elektronikjk.pl/elementy_czynne/IC/M48T59V.pdf
MC146818: https://www.nxp.com/docs/en/data-sheet/MC146818.pdf
PL031: http://infocenter.arm.com/help/topic/com.arm.doc.ddi0224c/
real_time_clock_pl031_r1p3_technical_reference_manual_DDI0224C.pdf
TWL92230: https://datasheet.octopart.com/TWL92230C-Texas-Instruments-
datasheet-150321.pdf
Zynq RTC: https://www.xilinx.com/support/documentation/user_guides/
ug1085-zynq-ultrascale-trm.pdf
(chapter 7)
Quoted 6 lines
I have a few questions about this:
[a] Is there any particular reason that you picked DS3231 ? Linux kernel has drivers for DS3232/34 only [1].
Hi, Rajath.
No, it doesn't. Linux kernel has a driver for DS3231. Take a closer look.
But, in any case, you base your QEMU emulation on the *datasheet*.
The OS drivers may be helpful, but they are not a reference you base your solution on. The drivers may be obsolete, incorrect, incomplete, or just plain wrong. Additionally, as QEMU, of course, supports emulation of systems running variety of OSs, the existence of the Linux kernel driver is not a necessary condition for QEMU implementation. QEMU emulates many systems that Linux never ran on, and could not be run at all.
Sincerely,
Aleksandar
Quoted 23 lines
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.[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 read (2) Throw a not-supported exception/warning. What is the qemu convention for handling such features ?
[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 ?
Thanks!
Rajath ShashidharaReferences:
[1] https://elixir.bootlin.com/linux/v5.4-rc6/source/drivers/rtc
/rtc-ds3232.c
[2] https://git.qemu.org/?p=qemu.git;a=blob;f=hw/rtc/m41t80.c;h=
914ecac8f4db418633d6daf92608cb50f6b89052;hb=HEAD
Quoted 5 lines · Aleksandar Markovic
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. As long as this NVMEM is never accessed, the same driver should work for both DS3231 and DS3232.
Is there any other driver you are referring to ? Please let me know if I missed something here.
Quoted 10 lines
But, in any case, you base your QEMU emulation on the *datasheet*.
The OS drivers may be helpful, but they are not a reference you base your solution on. The drivers may be obsolete, incorrect, incomplete, or just plain wrong. Additionally, as QEMU, of course, supports emulation of systems running variety of OSs, the existence of the Linux kernel driver is not a necessary condition for QEMU implementation. QEMU emulates many systems that Linux never ran on, and could not be run at all.
I was only looking at the Kernel drivers to setup a test framework. I plan to test my implementation using a Raspi emulation with qemu, configure it with a DS3231 device. After this, I should be able to use ioctl() on /dev/rtc to test the functionality:
https://linux.die.net/man/4/rtc
If you have a better approach to testing, do let me know.
Thanks,
Rajath Shashidhara
Quoted 10 lines · Rajath Shashidhara
Quoted 5 lines · Aleksandar Markovic
Hi, Rajath.
No, it doesn't. Linux kernel has a driver for DS3231. Take a closer look.
Quoted 9 lines
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. As long as this NVMEM is never accessed, the same driver should work for both DS3231 and DS3232.Is there any other driver you are referring to ? Please let me know if I missed something here.
The official DS3231 driver is (hidden) in:
https://elixir.bootlin.com/linux/v5.4-rc6/source/drivers/rtc/rtc-ds1307.c
This driver actually supports around 15 RTC chips, and DS3231 among them. It contains fairly sophisticated "feature control" that enables it to support multiple RTC chips.
Quoted 12 lines
Quoted 9 lines
But, in any case, you base your QEMU emulation on the *datasheet*.
The OS drivers may be helpful, but they are not a reference you base your solution on. The drivers may be obsolete, incorrect, incomplete, or just plain wrong. Additionally, as QEMU, of course, supports emulation of systems running variety of OSs, the existence of the Linux kernel driver is not a necessary condition for QEMU implementation. QEMU emulates many systems that Linux never ran on, and could not be run at
all.
Quoted 1 line
Quoted 9 lines
I was only looking at the Kernel drivers to setup a test framework. I plan to test my implementation using a Raspi emulation with qemu, configure it with a DS3231 device. After this, I should be able to use
ioctl()on/dev/rtcto test the functionality:
https://linux.die.net/man/4/rtcIf you have a better approach to testing, do let me know.
Your method sounds good to me. Hopefully it won't be too difficult to you to execute it.
Best wishes,
Aleksandar
Quoted 3 lines
Thanks,
Rajath Shashidhara
Quoted 5 lines · 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 !
Quoted 11 lines
This semester, I am taking a class in Virtualization
(https://github.com/vijay03/cs378-f19) and contributing to a virtualization related open-source project is a significant part of the course.
I would be interested in contributing a patchset to qemu - possibly a self-contained feature or a reasonably complex bug fix that can be completed in under a month's time. I did look at both the bugtracker and the QEMU Google Summer of Code 2019 page
[https://wiki.qemu.org/Google_Summer_of_Code_2019] for ideas. However, I would be interested in hearing from the community and I would be delighted if somebody can be suggest a suitable project !
Ahh someone else looking at QEMU \o/
You might find some suggestions in the thread:
Date: Sun, 3 Nov 2019 04:59:31 -0600
Message-ID: <CAOyzTAivEpv1VXzPXVH3Za9Zcz1URFjnpFCZQrRB4K=Z-oy1Dw@mail.gmail.com>
Subject: Feature Recommendations?
Quoted 6 lines
I am an advanced C programmer with both professional and academic background in systems design & implementation - especially OS & Networks. Given my background, I feel fairly confident that I can pickup the QEMU codebase quickly.
Eagerly looking forward to hearing from the community !
Expanding a device emulation could be doable. I'm not sure what the current state of the Raspberry Pi emulations are but I don't think they are complete as we keep having to fix bits as kernel drivers are enabled. Phillipe (cc'd) might be able to give some pointers.
--
Alex Bennée
Quoted 16 lines · 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-source project is a significant part of the course. I would be interested in contributing a patchset to qemu - possibly a self-contained feature or a reasonably complex bug fix that can be completed in under a month's time. I did look at both the bugtracker and the QEMU Google Summer of Code 2019 page
[https://wiki.qemu.org/Google_Summer_of_Code_2019] for ideas. However, I would be interested in hearing from the community and I would be delighted if somebody can be suggest a suitable project !
Quoted 4 lines
I am an advanced C programmer with both professional and academic background in systems design & implementation - especially OS & Networks. Given my background, I feel fairly confident that I can pickup the QEMU codebase quickly.
Please check with Dinah Baum whether the SeaBIOS MMConfig task is already taken, maybe you'd like to work on it if the task is still available:
https://lore.kernel.org/qemu-devel/[email protected]/
Stefan
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
Quoted 28 lines · Stefan Hajnoczi
Quoted 16 lines · 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-source project is a significant part of the course. I would be interested in contributing a patchset to qemu - possibly a self-contained feature or a reasonably complex bug fix that can be completed in under a month's time. I did look at both the bugtracker and the QEMU Google Summer of Code 2019 page
[https://wiki.qemu.org/Google_Summer_of_Code_2019] for ideas. However, I would be interested in hearing from the community and I would be delighted if somebody can be suggest a suitable project !Quoted 4 lines
I am an advanced C programmer with both professional and academic background in systems design & implementation - especially OS & Networks. Given my background, I feel fairly confident that I can pickup the QEMU codebase quickly.
Please check with Dinah Baum whether the SeaBIOS MMConfig task is already taken, maybe you'd like to work on it if the task is still available:
https://lore.kernel.org/qemu-devel/[email protected]/Stefan