Dev-Review Meeting Agenda Oct 14th
Kumar Gala
All,
Originally we planned on discussing sensors this week, but that will get pushed to next week (Nov 18th). I’ll be out this week and Carles will run the meeting. Agenda for the week: doc: replace breathe with Sphinx-Doxygen bridge - https://github.com/zephyrproject-rtos/zephyr/pull/39702 soc: esp32: Support booting from MCUboot - https://github.com/zephyrproject-rtos/zephyr/pull/37872 Plus anything anyone else has. - k
|
|
Event: Zephyr Project: APIs - 11/09/2021
#cal-reminder
devel@lists.zephyrproject.org Calendar <noreply@...>
Reminder: Zephyr Project: APIs When: Where: Organizer: devel@... An RSVP is requested. Click here to RSVP Description: Meeting decisions/discussions in their respective PRs, tracked here: https://github.com/zephyrproject-rtos/zephyr/projects/18 ________________________________________________________________________________
+1 321-558-6518 United States, Orlando (Toll)
Conference ID: 317 990 129#
Local numbers | Reset PIN | Learn more about Teams | Meeting options
________________________________________________________________________________
|
|
Re: API meeting: agenda
Burdick, Thomas
Hi Carles,
toggle quoted messageShow quoted text
I'd like to discuss the stats work I've done for i2c if possible, its on the API project in TODO Thanks! Tom
-----Original Message-----
From: devel@... <devel@...> On Behalf Of Carles Cufi via lists.zephyrproject.org Sent: Tuesday, November 9, 2021 5:48 AM To: devel@... Cc: Bursztyka, Tomasz <tomasz.bursztyka@...> Subject: [Zephyr-devel] API meeting: agenda Hi all, Agenda for today: - SPI API updates - Issue: https://github.com/zephyrproject-rtos/zephyr/issues/39992 - PM structure optimization: Update - Issue: https://github.com/zephyrproject-rtos/zephyr/issues/39286 - PR (option 4): https://github.com/zephyrproject-rtos/zephyr/pull/39397 - Road to pinctrl: Update - Issue: https://github.com/zephyrproject-rtos/zephyr/issues/39740 If you have additional items please let me know. Teams link: https://teams.microsoft.com/l/meetup-join/19%3ameeting_NWU2MjZlYWEtZDcwMi00MWQzLTgwMjEtNDdkYjQwMjBjMmFj%40thread.v2/0?context=%7b%22Tid%22%3a%22af0096d9-700c-411a-b795-b3dd7122bad2%22%2c%22Oid%22%3a%22841a7c92-7816-4faf-9887-5e334e88f6d8%22%7d https://lists.zephyrproject.org/g/devel/calendar https://github.com/zephyrproject-rtos/zephyr/projects/18 Minutes: https://docs.google.com/document/d/1lv-8B5QE2m4FjBcvfqAXFIgQfW5oz6306zJ7GIZIWCk/edit Regards, Carles
|
|
Re: API meeting: agenda
Carles Cufi
Hi all,
toggle quoted messageShow quoted text
Another item for today: - I2C stats - PR: https://github.com/zephyrproject-rtos/zephyr/pull/39788 Thanks, Carles
-----Original Message-----
|
|
API meeting: agenda
Carles Cufi
Hi all,
Agenda for today: - SPI API updates - Issue: https://github.com/zephyrproject-rtos/zephyr/issues/39992 - PM structure optimization: Update - Issue: https://github.com/zephyrproject-rtos/zephyr/issues/39286 - PR (option 4): https://github.com/zephyrproject-rtos/zephyr/pull/39397 - Road to pinctrl: Update - Issue: https://github.com/zephyrproject-rtos/zephyr/issues/39740 If you have additional items please let me know. Teams link: https://teams.microsoft.com/l/meetup-join/19%3ameeting_NWU2MjZlYWEtZDcwMi00MWQzLTgwMjEtNDdkYjQwMjBjMmFj%40thread.v2/0?context=%7b%22Tid%22%3a%22af0096d9-700c-411a-b795-b3dd7122bad2%22%2c%22Oid%22%3a%22841a7c92-7816-4faf-9887-5e334e88f6d8%22%7d https://lists.zephyrproject.org/g/devel/calendar https://github.com/zephyrproject-rtos/zephyr/projects/18 Minutes: https://docs.google.com/document/d/1lv-8B5QE2m4FjBcvfqAXFIgQfW5oz6306zJ7GIZIWCk/edit Regards, Carles
|
|
Re: Issue with k_poll
Venkatesh Sukumaran
Done. https://github.com/zephyrproject-rtos/zephyr/issues/40189 Thanks, - Venkatesh.
On Mon, Nov 8, 2021 at 11:27 PM Andy Ross <andrew.j.ross@...> wrote:
|
|
RISC-V: mtvec: Vectored Mode
William <wpatty24@...>
Hi all, I would like to add support for "vectored mode" of the Machine Trap-Vector Base-Address Register (mtvec) to the RISC-V architecture — at the SOC level. Some SOCs have already implemented this directly. It makes sense to centralize this feature since it could be reused for all RISC-V SOCs. Additionally, centralizing the feature would allow RISC-V to support Zephyr’s ‘direct’ IRQ feature when vectored mode is used. I’m interested to hear if others agree that this feature would be useful. For background purposes, I’m working on a project that uses the lowRISC Ibex processor. This processor implements the RISC-V Privileged Architecture specification; however, it doesn’t support mtvec direct mode, only vectored mode. Given that the vectored mode is in the RISC-V Privileged Architecture specification, it should be supported within the RISCV_PRIVILEGE SOC family. Here’s what I’m proposing:
However, there is one aspect that’s more complicated:
I appreciate you taking the time to read this. I look forward to any discussion this proposal might create. Thanks, William
|
|
Re: Issue with k_poll
Andy Ross
Can you submit that as a github bug? I don't know that I see it, but if you're sure that it can happen it's something we need to fix.
Andy
From: Venkatesh Sukumaran <venkatesh.sukumaran@...>
Sent: Monday, November 8, 2021 9:39 AM To: Ross, Andrew J <andrew.j.ross@...> Cc: Cufi, Carles <Carles.Cufi@...>; devel@... <devel@...>; Leung, Daniel <daniel.leung@...> Subject: Re: [Zephyr-devel] Issue with k_poll I understand that the number of wakeups is not equal to the number of events signalled but the problem here is that the pending thread can *miss* a signal. The "signalled" field is being reset to zero by the pending thread after servicing the
signal handler and at that time, the same signal could be set again.
Thanks,
- Venkatesh.
On Mon, Nov 8, 2021 at 6:54 PM Andy Ross <andrew.j.ross@...> wrote:
|
|
Re: Issue with k_poll
Venkatesh Sukumaran
I understand that the number of wakeups is not equal to the number of events signalled but the problem here is that the pending thread can *miss* a signal. The "signalled" field is being reset to zero by the pending thread after servicing the signal handler and at that time, the same signal could be set again. Thanks, - Venkatesh.
On Mon, Nov 8, 2021 at 6:54 PM Andy Ross <andrew.j.ross@...> wrote:
|
|
Event: Zephyr Memory Footprint - biweekly discussion - 11/08/2021
#cal-reminder
devel@lists.zephyrproject.org Calendar <noreply@...>
Reminder: Zephyr Memory Footprint - biweekly discussion When: Where: Organizer: devel@... An RSVP is requested. Click here to RSVP Description: ______________________________
Microsoft Teams meeting
Join on your computer or mobile app
Click here to join the meetingOr call in (audio only)
+1 321-558-6518,,546018126# United States, Orlando
______________________________
|
|
Re: Issue with k_poll
Andy Ross
That's right: k_poll() is level triggered, it's not a queue. The number of wakeups is not guaranteed to be equal to the number of events signalled. The idea is that you go to sleep waiting on any of a number of events/things to occur and are woken up when
at least one of them does. But then you need to do the accounting yourself to figure out who was signaled (and how many times) and what should happen.
In this particular use case it sounds like you should be polling on a semaphore and not a signal. Semaphores do provide proper counting of how many give/take calls are made.
Andy
From: Cufi, Carles <Carles.Cufi@...>
Sent: Monday, November 8, 2021 1:12 AM To: venkatesh.sukumaran@... <venkatesh.sukumaran@...>; devel@... <devel@...>; Ross, Andrew J <andrew.j.ross@...>; Leung, Daniel <daniel.leung@...> Subject: RE: [Zephyr-devel] Issue with k_poll + Andy, Daniel
From: devel@... <devel@...>
On Behalf Of Venkatesh Sukumaran via lists.zephyrproject.org
Anyone familiar with k_poll architecture here? Let me know if you need any other info.
Thanks, - Venkatesh.
On Wed, Oct 27, 2021 at 12:47 PM Venkatesh Sukumaran <venkatesh.sukumaran@...> wrote:
|
|
Re: Issue with k_poll
Carles Cufi
+ Andy, Daniel
From: devel@... <devel@...>
On Behalf Of Venkatesh Sukumaran via lists.zephyrproject.org
Sent: 08 November 2021 08:08 To: devel@... Subject: Re: [Zephyr-devel] Issue with k_poll
Anyone familiar with k_poll architecture here? Let me know if you need any other info.
Thanks, - Venkatesh.
On Wed, Oct 27, 2021 at 12:47 PM Venkatesh Sukumaran <venkatesh.sukumaran@...> wrote:
|
|
Re: Issue with k_poll
Venkatesh Sukumaran
Anyone familiar with k_poll architecture here? Let me know if you need any other info. Thanks, - Venkatesh.
On Wed, Oct 27, 2021 at 12:47 PM Venkatesh Sukumaran <venkatesh.sukumaran@...> wrote:
|
|
Updated Event: Zephyr: Power Management Sync
#cal-invite
devel@lists.zephyrproject.org Calendar <noreply@...>
Zephyr: Power Management Sync When: Where: Organizer: devel@... An RSVP is requested. Click here to RSVP Description: ________________________________________________________________________________
Microsoft Teams meeting
Join on your computer or mobile app
Click here to join the meetingOr call in (audio only)
+1 321-558-6518,,677440320# United States, Orlando
________________________________________________________________________________
|
|
Fix for mcumgr/smp over serial not adding CRC16 to packet length
Ermel, Dominik
Hello,
For a long time the Zephyr implementation of mcumgr/smp protocol over serial has not been adding length of CRC16 to the length of the packet, although mcumgr-cli always did so. This bug has been present due to the information not being included into documentation, which has been corrected here https://github.com/apache/mynewt-mcumgr/commit/9bd9d55d00bb70f93d85e52d7b016bbbb8c79942.
I have created Zephyr issue https://github.com/zephyrproject-rtos/zephyr/issues/39546 that describes the bug, and provided the fix here https://github.com/zephyrproject-rtos/zephyr/pull/40127; because this fix may break something in software that is already there, I am sending this e-mail to let you all know about that fix, so that you may voice your concerns under the issue or in the PR for the fix.
Best regards, Dominik
Dominik ERMEL | Senior Software Engineer
|
|
Event: Zephyr: Power Management Sync - 11/04/2021
#cal-reminder
devel@lists.zephyrproject.org Calendar <noreply@...>
Reminder: Zephyr: Power Management Sync When: Where: Organizer: devel@... An RSVP is requested. Click here to RSVP Description: ________________________________________________________________________________
Microsoft Teams meeting
Join on your computer or mobile app
Click here to join the meetingOr call in (audio only)
+1 321-558-6518,,677440320# United States, Orlando
________________________________________________________________________________
|
|
Updated Event: Zephyr Project: APIs
#cal-invite
devel@lists.zephyrproject.org Calendar <noreply@...>
Zephyr Project: APIs When: Where: Organizer: devel@... An RSVP is requested. Click here to RSVP Description: Meeting decisions/discussions in their respective PRs, tracked here: https://github.com/zephyrproject-rtos/zephyr/projects/18 ________________________________________________________________________________
+1 321-558-6518 United States, Orlando (Toll)
Conference ID: 317 990 129#
Local numbers | Reset PIN | Learn more about Teams | Meeting options
________________________________________________________________________________
|
|
Updated Event: Zephyr: Networking Forum
#cal-invite
devel@lists.zephyrproject.org Calendar <noreply@...>
Zephyr: Networking Forum When: Where: Organizer: tsc@... An RSVP is requested. Click here to RSVP Description: Live Agenda/Minutes: https://docs.google.com/document/d/1qFsOpvbyLzhflJbbv4Vl__497pKHDoUCy9hjAveyCX0/edit?usp=sharing
Shared Folder: https://drive.google.com/drive/folders/1j6d0FLeOjiMil1Ellb59AsfHdzuWdAAc?usp=sharing ________________________________________________________________________________
+1 321-558-6518 United States, Orlando (Toll)
Conference ID: 458 216 365#
Local numbers | Reset PIN | Learn more about Teams | Meeting options
________________________________________________________________________________
|
|
Event: Zephyr Project: APIs - 11/02/2021
#cal-reminder
devel@lists.zephyrproject.org Calendar <noreply@...>
Reminder: Zephyr Project: APIs When: Where: Organizer: devel@... An RSVP is requested. Click here to RSVP Description: Meeting decisions/discussions in their respective PRs, tracked here: https://github.com/zephyrproject-rtos/zephyr/projects/18 ________________________________________________________________________________
+1 321-558-6518 United States, Orlando (Toll)
Conference ID: 317 990 129#
Local numbers | Reset PIN | Learn more about Teams | Meeting options
________________________________________________________________________________
|
|
Re: API meeting: agenda
Carles Cufi
Hi Keith,
Just merged that one now.
Carles
From: Keith Short <keithshort@...>
Sent: 02 November 2021 16:44 To: Cufi, Carles <Carles.Cufi@...> Cc: devel@...; Bursztyka, Tomasz <tomasz.bursztyka@...>; hebad@... Subject: Re: [Zephyr-devel] API meeting: agenda
Hi Carles -
I can't make the meeting today, but can you add the following to the agenda: * i2c_get_config() API change: https://github.com/zephyrproject-rtos/zephyr/pull/39006
Can that PR get merged? I believe all outstanding comments have been addressed, including adding a test which was requested by galak@.
Regards, Keith
On Tue, Nov 2, 2021 at 5:17 AM Carles Cufi via lists.zephyrproject.org <carles.cufi=nordicsemi.no@...> wrote:
|
|