Matteo Concas created a merge request: https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/1498
Project:Branches: matteo.concas/rtems-gaisler:matteo/drvmgr to rtems/rtos/rtems:main Author: Matteo Concas Assignee: Matteo Concas ## Summary drvmgr: Fix driver manager linking issues This would lead to a `LEON3_FATAL_CLOCK_INITIALIZATION` as no PnP scan was run and no timer was found in the process. This issue was found on the GR740 BSP but it affected all BSPs. The RTEMS testsuite was built using the following configurations: ```ini [DEFAULT] RTEMS_POSIX_API = True RTEMS_DEBUG = False BUILD_SAMPLES = False BUILD_TESTS = True [sparc/gr740] RTEMS_DRVMGR_STARTUP = True [sparc/gr740_std] INHERIT = gr740 RTEMS_DRVMGR_STARTUP = False ``` It was then run on the two configurations using [TSIM LEON4](https://www.gaisler.com/products/tsim3): | Metric | gr740 (with driver manager) Before | gr740 (with driver manager) After | gr740_std (without driver manager) Before | gr740_std (without driver manager) After | | :--- | :---: | :---: | :---: | :---: | | **Passed** | 229 | 650 | 662 | 662 | | **Failed** | 466 | 13 | 3 | 3 | | **User Input** | 0 | 4 | 4 | 4 | | **Expected Fail** | 0 | 25 | 25 | 25 | | **Indeterminate** | 0 | 0 | 0 | 0 | | **Benchmark** | 0 | 3 | 3 | 3 | | **Timeout** | 2 | 1 | 0 | 0 | | **Test too long** | 0 | 0 | 0 | 0 | | **Invalid** | 0 | 1 | 0 | 0 | | **Wrong Version** | 0 | 0 | 0 | 0 | | **Wrong Build** | 0 | 0 | 0 | 0 | | **Wrong Tools** | 0 | 0 | 0 | 0 | | **Wrong Header** | 0 | 0 | 0 | 0 | | **Total** | **697** | **697** | **697** | **697** | <details> <summary>RTEMS Tester summary logs</summary> gr740 (with driver manager) before fixes ``` Passed: 229 Failed: 466 User Input: 0 Expected Fail: 0 Indeterminate: 0 Benchmark: 0 Timeout: 2 Test too long: 0 Invalid: 0 Wrong Version: 0 Wrong Build: 0 Wrong Tools: 0 Wrong Header: 0 ------------------ Total: 697 Failures: psxdevctl01.exe termios02.exe ts-validation-intr.exe block05.exe block06.exe block08.exe [...] ``` gr740_std (without driver manager) before fixes ``` Passed: 662 Failed: 3 User Input: 4 Expected Fail: 25 Indeterminate: 0 Benchmark: 3 Timeout: 0 Test too long: 0 Invalid: 0 Wrong Version: 0 Wrong Build: 0 Wrong Tools: 0 Wrong Header: 0 ------------------ Total: 697 Failures: psx09.exe ts-validation-bsp-0.exe ts-validation-intr.exe ``` gr740 (with driver manager) after fixes ``` Passed: 650 Failed: 13 User Input: 4 Expected Fail: 25 Indeterminate: 0 Benchmark: 3 Timeout: 1 Test too long: 0 Invalid: 1 Wrong Version: 0 Wrong Build: 0 Wrong Tools: 0 Wrong Header: 0 ------------------ Total: 697 Failures: psx09.exe sp01.exe sptls01.exe sptls03.exe ts-fatal-idle-thread-create-failed.exe ts-fatal-init-task-construct-failed.exe ts-fatal-sparc-leon3-clock-initialization.exe ts-performance-no-clock-0.exe ts-validation-bsp-0.exe ts-validation-intr.exe ts-fatal-extension.exe ts-validation-acfg-0.exe ts-validation-acfg-1.exe ``` gr740_std (without driver manager) after fixes ``` Passed: 662 Failed: 3 User Input: 4 Expected Fail: 25 Indeterminate: 0 Benchmark: 3 Timeout: 0 Test too long: 0 Invalid: 0 Wrong Version: 0 Wrong Build: 0 Wrong Tools: 0 Wrong Header: 0 ------------------ Total: 697 Failures: psx09.exe ts-validation-bsp-0.exe ts-validation-intr.exe ``` </details> ## Generative AI <!-- If you have used AI please use the "AI Contribution" template otherwise leave this blank see our fulls statement at https://www.rtems.org/generative-ai/--> <!-- Default settings, if it is a dropdown it will set after submission --> -- View it on GitLab: https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/1498 You're receiving this email because of your account on gitlab.rtems.org. Unsubscribe from this thread: https://gitlab.rtems.org/-/namespace/49/sent_notifications/5-6rzow3i7axitprrktp07izreq-1d/unsubscribe | Manage all notifications: https://gitlab.rtems.org/-/profile/notifications | Help: https://gitlab.rtems.org/help
_______________________________________________ bugs mailing list [email protected] http://lists.rtems.org/mailman/listinfo/bugs
