tiacsys / bridle

Bridle and kite line for embedded systems based on Zephyr.
https://bridle.tiac-systems.net
Apache License 2.0
15 stars 3 forks source link

[BUG] build all Bridle samples test runs into `devicetree error` #272

Closed rexut closed 49 minutes ago

rexut commented 1 week ago

Describe the bug Zephyr upstream no longer supports the inflexible Kconfig object SDMMC_VOLUME_NAME and requires a proper name setup on Device tree level by the new property disk-name.

To Reproduce Steps to reproduce the behavior:

  1. proper Bridle workspace setup from main branch
  2. west twister \
          --jobs 4 \
          --verbose \
          --inline-logs \
          --integration \
          --testsuite-root bridle/samples/helloshell
  3. See error below…

Expected behavior Test suite runs properly without any error.

Impact Showstopper, because the CI pipeline will fail.

Logs and console output

devicetree error: 'disk-name' is marked as required in 'properties:'
  in .../zephyr/dts/bindings/sd/zephyr,sdmmc-disk.yaml, but does not appear
  in <Node /soc/spi@4003c000/sdhc@0/mmc in '.../zephyr/misc/empty_file.c'>

Screenshots None.

Development Environment (please complete the following information):

Additional context Add the missing property in Bridle's Devicetree includes.

Procedure

See: zephyrproject-rtos/zephyr#80709 – SDMMC and MMC subsystem disk drivers rework

Since zephyrproject-rtos/zephyr@a1dc0b8b3e97542ca9f0c84cba37067710b61ccb Zephyr upstream has removed CONFIG_SDMMC_VOLUME_NAME, and set the disk name based on the disk-name property. This aligns with other disk drivers, and allows for multiple instances of the sdmmc_subsys disk driver to be registered.

Bridle uses the sdmmc_subsys disk driver in following boards and shields: