Re: Zephyr Toolchain Working Group Meeting – 30 April 2020
Rasmussen, Torsten
Today’s meeting minutes:https://docs.google.com/document/d/1IQKBK-GcJNZG0O9QArqYfvb6Huk5xHscN-XIGEZr-z8/Notes/MinutesStatus updates
Best regards
Torsten T. Rasmussen
From: devel@... <devel@...>
On Behalf Of Rasmussen, Torsten via lists.zephyrproject.org
Sent: 30 April, 2020 14:37 To: devel@... Subject: [Zephyr-devel] Zephyr Toolchain Working Group Meeting – 30 April 2020
*******************************
NOTE: We will be using Microsoft Teams for this meeting instead of zoom. The link is found below.
*******************************
Hi,
For today’s meeting let’s follow up on last meeting action items and get a status update. Also I would like to give a brief introduction to: https://github.com/zephyrproject-rtos/zephyr/pull/24851
Feel free to send a mail, if you would like additional topics to be discussed.
Best regards
Torsten T. Rasmussen
Live meeting minutes: https://docs.google.com/document/d/1IQKBK-GcJNZG0O9QArqYfvb6Huk5xHscN-XIGEZr-z8/edit#heading=h.x36xe8bnwr9r ________________________________________________________________________________
+1 213-437-3346 United States, Los Angeles (Toll) Conference ID: 570 955 823# Local numbers | Reset PIN | Learn more about Teams | Meeting options ________________________________________________________________________________
|
|
Upcoming Event: Zephyr Project: Dev Meeting - Thu, 04/30/2020 8:00am-9:00am, Please RSVP
#cal-reminder
devel@lists.zephyrproject.org Calendar <devel@...>
Reminder: Zephyr Project: Dev Meeting When: Thursday, 30 April 2020, 8:00am to 9:00am, (GMT-07:00) America/Los Angeles Where:Microsoft Teams Meeting An RSVP is requested. Click here to RSVP Organizer: devel@... Description: Join Microsoft Teams Meeting: https://teams.microsoft.com/l/meetup-join/19%3ameeting_M2Q2ZDk4OWItMWE2MS00MTExLTkyYTQtNmUwOTA4MzgwOGYw%40thread.v2/0?context=%7b%22Tid%22%3a%22686ea1d3-bc2b-4c6f-a92c-d99c5c301635%22%2c%22Oid%22%3a%2262b63b80-05d3-4465-b5a0-f04e4e156f10%22%7d
|
|
Zephyr Toolchain Working Group - Thu, 04/30/2020
#cal-notice
devel@lists.zephyrproject.org Calendar <noreply@...>
Zephyr Toolchain Working Group When: Where: Description: Time: Mar 19, 2020 07:00 AM Pacific Time (US and Canada) Every 2 weeks on Thu, until Jul 23, 2020, 10 occurrence(s) Mar 19, 2020 07:00 AM Apr 2, 2020 07:00 AM Apr 16, 2020 07:00 AM Apr 30, 2020 07:00 AM May 14, 2020 07:00 AM May 28, 2020 07:00 AM Jun 11, 2020 07:00 AM Jun 25, 2020 07:00 AM Jul 9, 2020 07:00 AM Jul 23, 2020 07:00 AM Join Microsoft Teams Meeting: https://teams.microsoft.com/l/meetup-join/19%3ameeting_ZGRjNzNjMjEtOWJmMi00ODUxLWE2MjEtODM0M2FiMzQxMjE5%40thread.v2/0?context=%7b%22Tid%22%3a%22686ea1d3-bc2b-4c6f-a92c-d99c5c301635%22%2c%22Oid%22%3a%2262b63b80-05d3-4465-b5a0-f04e4e156f10%22%7d
|
|
Upcoming Event: Zephyr Toolchain Working Group - Thu, 04/30/2020 7:00am-8:00am
#cal-reminder
devel@lists.zephyrproject.org Calendar <devel@...>
Reminder: Zephyr Toolchain Working Group When: Thursday, 30 April 2020, 7:00am to 8:00am, (GMT-07:00) America/Los Angeles Where:Microsoft Teams Meeting Organizer: Maureen Helm Description: Topic: Zephyr Toolchain Working Group Time: Mar 19, 2020 07:00 AM Pacific Time (US and Canada) Every 2 weeks on Thu, until Jul 23, 2020, 10 occurrence(s) Mar 19, 2020 07:00 AM Apr 2, 2020 07:00 AM Apr 16, 2020 07:00 AM Apr 30, 2020 07:00 AM May 14, 2020 07:00 AM May 28, 2020 07:00 AM Jun 11, 2020 07:00 AM Jun 25, 2020 07:00 AM Jul 9, 2020 07:00 AM Jul 23, 2020 07:00 AM Join Microsoft Teams Meeting: https://teams.microsoft.com/l/meetup-join/19%3ameeting_ZGRjNzNjMjEtOWJmMi00ODUxLWE2MjEtODM0M2FiMzQxMjE5%40thread.v2/0?context=%7b%22Tid%22%3a%22686ea1d3-bc2b-4c6f-a92c-d99c5c301635%22%2c%22Oid%22%3a%2262b63b80-05d3-4465-b5a0-f04e4e156f10%22%7d
|
|
Zephyr Toolchain Working Group Meeting – 30 April 2020
Rasmussen, Torsten
*******************************
NOTE: We will be using Microsoft Teams for this meeting instead of zoom. The link is found below.
*******************************
Hi,
For today’s meeting let’s follow up on last meeting action items and get a status update. Also I would like to give a brief introduction to: https://github.com/zephyrproject-rtos/zephyr/pull/24851
Feel free to send a mail, if you would like additional topics to be discussed.
Best regards
Torsten T. Rasmussen
Live meeting minutes: https://docs.google.com/document/d/1IQKBK-GcJNZG0O9QArqYfvb6Huk5xHscN-XIGEZr-z8/edit#heading=h.x36xe8bnwr9r ________________________________________________________________________________
+1 213-437-3346 United States, Los Angeles (Toll) Conference ID: 570 955 823# Local numbers | Reset PIN | Learn more about Teams | Meeting options ________________________________________________________________________________
|
|
No IAR attendence on todays toolchain call
Thomas Törnblom
Today is a semi-holiday in Sweden and I will not be attending the
call this afternoon.
Progress on building a Hello World project with the IAR toolchain is slowly moving ahead, but I run into gcc related issues every day, so nothing working yet. Thomas --
Thomas Törnblom, Product Engineer IAR Systems AB Box 23051, Strandbodgatan 1 SE-750 23 Uppsala, SWEDEN Mobile: +46 76 180 17 80 Fax: +46 18 16 78 01 E-mail: thomas.tornblom@... Website: www.iar.com Twitter: www.twitter.com/iarsystems
|
|
Dev-Review Meeting Agenda Apr 30
Kumar Gala
*******************************
NOTE: We will be using Microsoft Teams for this meeting instead of zoom. The link is here: https://www.google.com/url?q=https://teams.microsoft.com/l/meetup-join/19%253ameeting_ZGRjNzNjMjEtOWJmMi00ODUxLWE2MjEtODM0M2FiMzQxMjE5%2540thread.v2/0?context%3D%257b%2522Tid%2522%253a%2522686ea1d3-bc2b-4c6f-a92c-d99c5c301635%2522%252c%2522Oid%2522%253a%252262b63b80-05d3-4465-b5a0-f04e4e156f10%2522%257d&sa=D&usd=2&usg=AOvVaw31L674w1QwSe3e2DCSyFqt ******************************* Here’s the agenda topics for this week: * Review PR’s tagged with dev-review: * arm: linker.ld: move bss section to ram end [@ioannisg] https://github.com/zephyrproject-rtos/zephyr/pull/21747 * RFC: Enable device by using dts, not Kconfig [@mbolivar-nordic] https://github.com/zephyrproject-rtos/zephyr/issues/10621 * devicetree: allow generation of properties that don't have a binding [@galak] https://github.com/zephyrproject-rtos/zephyr/issues/24773 * Any topics anyone else has. - k
|
|
[2.3 release] Feature merge window close (M2) next week
Carles Cufi
Hi all,
This is just a reminder that the feature merge window close is on the 8th of May. This means that any changes that are not bugfixes or documentation changes must be merged by then. See the full timeline for the 2.3 release here: https://github.com/zephyrproject-rtos/zephyr/wiki/Program-Management#actual-and-planned-milestone-dates Thanks, Carles
|
|
Upcoming Event: Zephyr Project: APIs - Tue, 04/28/2020 9:00am-10:00am, Please RSVP
#cal-reminder
devel@lists.zephyrproject.org Calendar <devel@...>
Reminder: Zephyr Project: APIs When: Tuesday, 28 April 2020, 9:00am to 10:00am, (GMT-07:00) America/Los Angeles Where:Microsoft Teams Meeting An RSVP is requested. Click here to RSVP Organizer: devel@... Description: Join Microsoft Teams Meeting: Live meeting minutes: https://docs.google.com/
|
|
API meeting: agenda
Carles Cufi
Hi all,
************************************************* We will be using Teams instead of Zoom: https://teams.microsoft.com/l/meetup-join/19%3ameeting_YzYzZTAzNGItOWFiMS00MDBkLTkyYmMtNzljZjkwNDVlMThm%40thread.v2/0?context=%7b%22Tid%22%3a%22686ea1d3-bc2b-4c6f-a92c-d99c5c301635%22%2c%22Oid%22%3a%2262b63b80-05d3-4465-b5a0-f04e4e156f10%22%7d ************************************************* Tomorrow's topics: - Disabling a PWM signal: - PR: https://github.com/zephyrproject-rtos/zephyr/pull/24724 - RTC API follow-up (if the relevant people are present) - PR: https://github.com/zephyrproject-rtos/zephyr/pull/23526 - Documenting API behavior in Doxygen: - Issue: https://github.com/zephyrproject-rtos/zephyr/issues/18970 - Issue: https://github.com/zephyrproject-rtos/zephyr/issues/21061 - clock_control extension to gather feedback - PR: https://github.com/zephyrproject-rtos/zephyr/pull/24334 Additional items in the "Triage" column in the GitHub project may be discussed if time permits. If you want an item included in the meeting, please add it to the GitHub project. https://github.com/zephyrproject-rtos/zephyr/wiki/Zephyr-Committee-and-Working-Group-Meetings#zephyr-api-discussion https://github.com/zephyrproject-rtos/zephyr/projects/18 https://docs.google.com/document/d/1lv-8B5QE2m4FjBcvfqAXFIgQfW5oz6306zJ7GIZIWCk/edit Regards, Carles
|
|
Updated Event: Zephyr Project: Dev Meeting
#cal-invite
devel@lists.zephyrproject.org Calendar <devel@...>
Zephyr Project: Dev Meeting When: Where: Organizer: devel@... An RSVP is requested. Click here to RSVP Description:
|
|
Updated Event: Zephyr Toolchain Working Group
#cal-invite
devel@lists.zephyrproject.org Calendar <devel@...>
Zephyr Toolchain Working Group When: Where: Organizer: Maureen Helm Description: Topic: Zephyr Toolchain Working Group Time: Mar 19, 2020 07:00 AM Pacific Time (US and Canada) Every 2 weeks on Thu, until Jul 23, 2020, 10 occurrence(s) Mar 19, 2020 07:00 AM Apr 2, 2020 07:00 AM Apr 16, 2020 07:00 AM Apr 30, 2020 07:00 AM May 14, 2020 07:00 AM May 28, 2020 07:00 AM Jun 11, 2020 07:00 AM Jun 25, 2020 07:00 AM Jul 9, 2020 07:00 AM Jul 23, 2020 07:00 AM Join Microsoft Teams Meeting<https://teams.microsoft.com/l/meetup-join/19%3ameeting_ZGRjNzNjMjEtOWJmMi00ODUxLWE2MjEtODM0M2FiMzQxMjE5%40thread.v2/0?context=%7b%22Tid%22%3a%22686ea1d3-bc2b-4c6f-a92c-d99c5c301635%22%2c%22Oid%22%3a%2262b63b80-05d3-4465-b5a0-f04e4e156f10%22%7d>
|
|
Updated Event: Zephyr Project: APIs
#cal-invite
devel@lists.zephyrproject.org Calendar <devel@...>
Zephyr Project: APIs When: Where: Organizer: devel@... An RSVP is requested. Click here to RSVP Description: Live meeting minutes: https://docs.google.com/
|
|
Upcoming Event: Zephyr Project: Dev Meeting - Thu, 04/23/2020 8:00am-9:00am, Please RSVP
#cal-reminder
devel@lists.zephyrproject.org Calendar <devel@...>
Reminder: Zephyr Project: Dev Meeting When: Thursday, 23 April 2020, 8:00am to 9:00am, (GMT-07:00) America/Los Angeles Where:https://zoom.us/j/993312203 An RSVP is requested. Click here to RSVP Organizer: devel@... Description: Join Zoom Meeting
|
|
Dev-Review Meeting Agenda Apr 23
Kumar Gala
*******************************
NOTE: We will be using Microsoft Teams for this meeting instead of zoom. The link is here: https://teams.microsoft.com/l/meetup-join/19%3ameeting_MTAzNTU5MTctNzc3OS00ZDI5LTgyZTEtZGVlYzcwOGExYTNm%40thread.v2/0?context=%7b%22Tid%22%3a%22686ea1d3-bc2b-4c6f-a92c-d99c5c301635%22%2c%22Oid%22%3a%2262b63b80-05d3-4465-b5a0-f04e4e156f10%22%7d ******************************* Here’s the agenda topics for this week: * Review PR’s tagged with dev-review - drivers: eth: mcux: Make MAC address Kconfig global for driver [ https://github.com/zephyrproject-rtos/zephyr/pull/24624 ] - How to manage device and non-device initialization order: [ https://github.com/zephyrproject-rtos/zephyr/issues/24416 ] * Any topics anyone else has. - k
|
|
Arch: RISC-V PMP on Qemu
antmc@...
Hello,
I am new here and I don't know if this is the right place to ask these kind of questions, if not, sorry!
Me and my friend are currently doing our thesis about RISC-V and the latest standard with physical memory protection (PMP) on embedded systems with no MMU. For this, we are using Zephyr RTOS (we have cloned the git repo) and the qemu_riscv32. We have currently not done any bigger changes to the kernel and arch files for RISC-V, instead we have created a small API that will set up the PMP registers, go to U-mode, test it etc. Now, to my main question: Does the qemu_riscv32 support the latest RISC-V standard? I wonder because when debugging, the pmp registers are all set and seems to be correct but sometimes the permissions are completely ignored. Maybe we have understood the RISC-V specification wrong...
Example case:
A thread is created and the pmp registers are set to e.g. only allow RW to the stack region and RX to the code region (we use A-TOR to set the ranges). For the code region it seems to work as expected in most cases (Remove the X permissions raises a fault etc). But for the stack region it does not work when trying to execute a binary located in the stack (i.e. the binary gets executed even though there is no X permissions). Thanks!
|
|
Re: scripts/subfolder_list.py: os.symlink: OSError: [Errno 36] File name too long
Rasmussen, Torsten
Hi,
This is actually a bug, and is fixed now: https://github.com/zephyrproject-rtos/zephyr/pull/24584 Regards Torsten
|
|
safely calling bt_gatt_subscribe_params.notify
#ble
Mike DiClaudio
in bluetooth/host/gatt.c, the notify member of bt_gatt_subscribe_params is called without checking for a null pointer. In my central, the peripheral disconnected while I was subscribed to an attribute and unbeknownst to me, the subscription was still maintained. Upon disconnect, I zeroed the params and wiped out the notify pointer which was eventually called. Adding BT_GATT_SUBSCRIBE_FLAG_VOLATILE resolved the problem. Additionally, the behavior only happens with a LESC bonded connection. Possible ways that I see to fix this:
* check for null pointer before calling notify() and either skip it or perhaps panic * set the volatile flag by default (I don't know BLE well, so maybe this is part of the standard as it is) * adjust the logic in gatt.c:remove_subscriptions() to perform the same regardless of the bonding state Mike
|
|
Re: scripts/subfolder_list.py: os.symlink: OSError: [Errno 36] File name too long
Abhishek Shah
Hi Carles,
I don't have much experience on Python. I thought sharing with the community, we could get quicker and proper solution. Opened GitHub enhancement issue here per your suggestion: https://github.com/zephyrproject-rtos/zephyr/issues/24576 Thanks, Abhishek
|
|
Re: scripts/subfolder_list.py: os.symlink: OSError: [Errno 36] File name too long
Carles Cufi
Hi Abhishek,
I think this can be solved in multiple ways, just by taking a quick look at the subfolder_list.py script. It is even handled differently on Windows, where symlinks are not supported.
Could you open a GitHub enhancement issue with the contents of the email and then we can discuss the solution there? scripts/subfolder_list.py was added by Torsten (I have added him on copy) so I think he’d be the right person to assign the issue to.
Regards,
Carles
From: devel@... <devel@...>
On Behalf Of Abhishek Shah via lists.zephyrproject.org
Sent: 18 April 2020 21:01 To: devel@... Subject: [Zephyr-devel] scripts/subfolder_list.py: os.symlink: OSError: [Errno 36] File name too long
Hi -
I am facing an issue where os.symlink call in subfolder_list.py(zephyr v2.2) results in below error: "scripts/subfolder_list.py", line 56, in main os.symlink(directory, symlink)
Here is the example of one of the symlink getting created on one of the systems: directory path: '/tmp/yocto_builds/ 20133855_ genericx86-64/poky/build/tmp/work/
It's symlink created by subfolder_list.py: '/tmp/yocto_builds/ 20133855_ genericx86-64/poky/build/tmp/work/
Above symlink is evidently too long.
I can think of 2 ways to reduce symlink length: 1. Symlink creation should use relative path instead of absolute path. As symlink is in zephyr build directory and original directory is in build directory; a relation needs to be established in between zephyr source directory and build directory.
2. The final symlink name should not use entire PATH in the name, rather just start from "include_*" For example: Instead of this: _tmp_yocto_builds_20133855_genericx86-64_poky_build_tmp_work_aarch64-poky-linux_brcm-zephyr_gitAUTOINC+a20a30cd86_bfa48a337e_dbbf7c9b30_f3635d87f4_90d93a11ba_ae871b61ae_5ba575618e-r0_git_zephyr_include_arch_arm_aarch32_cortex_m_mpu Name could be just: include_arch_arm_aarch32_cortex_m_mpu This should reduce symlink length almost by half.
Regards, Abhishek
|
|