-
Notifications
You must be signed in to change notification settings - Fork 7.8k
Labels
BackportBackport PR and backport failure issuesBackport PR and backport failure issuesStalebugThe issue is a bug, or the PR is fixing a bugThe issue is a bug, or the PR is fixing a bugpriority: lowLow impact/importance bugLow impact/importance bug
Description
Enabling support of da1469x_dk_pro
board on gpio_basic_api
test, raised some assertions in entropy and gpio driver.
Assertions in entropy driver:
ASSERTION FAIL [cnt >= 1] @ WEST_TOPDIR/zephyr/subsys/pm/policy.c:308
Unbalanced state lock get/put
E: r0/a1: 0x00000004 r1/a2: 0x00000134 r2/a3: 0x200008b8
E: r3/a4: 0x00000004 r12/ip: 0x00000079 r14/lr: 0x160053b7
E: xpsr: 0x29000028
E: Faulting instruction address (r15/pc): 0x1600be06
E: >>> ZEPHYR FATAL ERROR 4: Kernel panic on CPU 0
E: Fault during interrupt handling
E: Current thread: 0x200008b8 (main)
E: Halting system
Assertion in gpio driver:
ASSERTION FAIL [0] @ WEST_TOPDIR/zephyr/lib/libc/picolibc/libc-hooks.c:224
E: r0/a1: 0x00000004 r1/a2: 0x000000e0 r2/a3: 0x20000748
E: r3/a4: 0x00000004 r12/ip: 0x1600be99 r14/lr: 0x16006b65
E: xpsr: 0x21000000
E: Faulting instruction address (r15/pc): 0x1600b9f2
E: >>> ZEPHYR FATAL ERROR 4: Kernel panic on CPU 0
E: Current thread: 0x20000748 (test_gpio_callback_add_remove)
E: Halting system
To Reproduce
- Add file
zephyr/tests/drivers/gpio/gpio_basic_api/boards/da1469x_dk_pro.overlay
:
/*
* Copyright (c) 2024 Renesas Electronics Corporation
*
* SPDX-License-Identifier: Apache-2.0
*/
/ {
resources {
compatible = "test-gpio-basic-api";
out-gpios = <&gpio0 2 0>;
in-gpios = <&gpio0 3 0>;
};
};
- west build -b da1469x_dk_pro -p always tests/drivers/gpio/gpio_basic_api
- west flash
- See entropy driver assertion.
- Disable
CONFIG_ENTROPY_GENERATOR
inzephyr/tests/drivers/gpio/gpio_basic_api/prj.conf
. - west build -b da1469x_dk_pro -p always tests/drivers/gpio/gpio_basic_api
- west flash
- See gpio driver assertion.
Expected behavior
gpio_basic_api
test suite should be executed without exceptions.
Metadata
Metadata
Assignees
Labels
BackportBackport PR and backport failure issuesBackport PR and backport failure issuesStalebugThe issue is a bug, or the PR is fixing a bugThe issue is a bug, or the PR is fixing a bugpriority: lowLow impact/importance bugLow impact/importance bug