Skip to content

Errors from bootsraph.sh using latest changes. #122

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
mjs513 opened this issue May 16, 2025 · 2 comments
Open

Errors from bootsraph.sh using latest changes. #122

mjs513 opened this issue May 16, 2025 · 2 comments

Comments

@mjs513
Copy link

mjs513 commented May 16, 2025

@pillo79 - @facchinm - @KurtE
Just tried to synch with latest changes in arduinoCore-zephry so installed from scratch and received following errors on using ./extra/bootstrap.sh

  1. tinycrpyt
--- tinycrypt: initializing
Initialized empty Git repository in /home/my_new_zephyr_folder/modules/crypto/tinycrypt/.git/
--- tinycrypt: fetching, need revision 1012a3ebee18c15ede5efc8332ee2fc37817670f
remote: Enumerating objects: 51, done.
remote: Counting objects: 100% (51/51), done.
remote: Compressing objects: 100% (32/32), done.
remote: Total 51 (delta 15), reused 49 (delta 14), pack-reused 0 (from 0)
Unpacking objects: 100% (51/51), 67.28 KiB | 2.69 MiB/s, done.
From https://github.com/zephyrproject-rtos/tinycrypt
 * [new branch]      master     -> refs/west/master
HEAD is now at 1012a3e Fix warnings reported by UBSAN
HEAD is now at 1012a3e Fix warnings reported by UBSAN
ERROR: update failed for project mbedtls

and
hal_nxp_blobs:

Fetching blob hal_nxp: /home/my_new_zephyr_folder/modules/hal/nxp/zephyr/blobs/iw612/uart_nw61x_se.h
Fetching blob hal_nxp: /home/my_new_zephyr_folder/modules/hal/nxp/zephyr/blobs/rw61x/rw61x_sb_ble_15d4_combo_a2.bin
ERROR: The checksum of the downloaded file does not match that
in the blob metadata:
- if it is not certain that the download was successful,
  try running 'west blobs fetch hal_nxp'
  to re-download the file
- if the error persists, please consider contacting
  the maintainers of the module so that they can check
  the corresponding blob metadata

Module: hal_nxp
Blob:   rw61x/rw61x_sb_ble_15d4_combo_a2.bin
URL:    https://github.com/NXP/wifi_nb_fw/raw/nxp-v4.0.0/rw61x_sb_combo_a2.bin
Info:   BLE and 15.4 combo firmware for RW612 A2 boards
Fetching blob hal_nxp: /home/my_new_zephyr_folder/modules/hal/nxp/zephyr/blobs/rw61x/rw61x_sb_ble_a2.bin
Fetching blob hal_nxp: /home/my_new_zephyr_folder/modules/hal/nxp/zephyr/blobs/rw61x/rw61x_sb_wifi_a2.bin
Fetching blob hal_nxp: /home/my_new_zephyr_folder/modules/hal/nxp/zephyr/blobs/mcxw71/mcxw71_nbu_ble.sb3
Fetching blob hal_nxp: /home/my_new_zephyr_folder/modules/hal/nxp/zephyr/blobs/mcxw72/mcxw72_nbu_ble_all_hosted.bin
ERROR: The checksum of the downloaded file does not match that
in the blob metadata:
- if it is not certain that the download was successful,
  try running 'west blobs fetch hal_nxp'
  to re-download the file
- if the error persists, please consider contacting
  the maintainers of the module so that they can check
  the corresponding blob metadata

Module: hal_nxp
Blob:   mcxw72/mcxw72_nbu_ble_all_hosted.bin
URL:    https://github.com/nxp-mcuxpresso/mcuxsdk-middleware-bluetooth-controller/raw/36fec038f52171d46a0804434144c600c4233e9f/bin/mcxw72_nbu_ble_all_hosted.bin
Info:   BLE Controller for MCXW72 boards

If i rerun west blobs fetch hal_nxp it gives me:

west blobs fetch hal_nxp
Fetching blob hal_nxp: /home/my_new_zephyr_folder/modules/hal/nxp/zephyr/blobs/rw61x/rw61x_sb_ble_15d4_combo_a2.bin
root@DESKTOP-5R9LQSU:/home/my_new_zephyr_folder/ArduinoCore-zephyr#

so does that mean it worked?

@mjs513
Copy link
Author

mjs513 commented May 16, 2025

Got my answer with tinycrypt;
Giga - builds
Nano - builds
PortentaH7:

5.30-1047.8: Warning (graph_endpoint): /soc/i2c@40005c00/ov7670@21/port/endpoint: graph connection to node '/soc/dcmi@48020000/port/endpoint' is not bidirectional

warning: MBEDTLS_SSL_MAX_CONTENT_LEN (defined at modules/hostap/Kconfig:367,
modules/hostap/Kconfig:367, modules/mbedtls/Kconfig:66) was assigned the value '7168' but got the
value ''. Check these unsatisfied dependencies: ((WIFI_NM_WPA_SUPPLICANT_CRYPTO_ENTERPRISE &&
WIFI_NM_WPA_SUPPLICANT) || (WIFI_NM_WPA_SUPPLICANT_CRYPTO_ENTERPRISE && WIFI_NM_WPA_SUPPLICANT && 0)
|| (MBEDTLS_BUILTIN && MBEDTLS && 0)) (=n). See
http://docs.zephyrproject.org/latest/kconfig.html#CONFIG_MBEDTLS_SSL_MAX_CONTENT_LEN and/or look up
MBEDTLS_SSL_MAX_CONTENT_LEN in the menuconfig/guiconfig interface. The Application Development
Primer, Setting Configuration Values, and Kconfig - Tips and Best Practices sections of the manual
might be helpful too.


warning: MBEDTLS_CMAC (defined at modules/mbedtls/Kconfig.mbedtls:333) was assigned the value 'y'
but got the value 'n'. Check these unsatisfied dependencies: (MBEDTLS_CIPHER_AES_ENABLED ||
MBEDTLS_CIPHER_DES_ENABLED) (=n), MBEDTLS_BUILTIN (=n), (MBEDTLS_CFG_FILE = "config-mbedtls.h")
(=n), 0 (=n). See http://docs.zephyrproject.org/latest/kconfig.html#CONFIG_MBEDTLS_CMAC and/or look
up MBEDTLS_CMAC in the menuconfig/guiconfig interface. The Application Development Primer, Setting
Configuration Values, and Kconfig - Tips and Best Practices sections of the manual might be helpful
too.


warning: MBEDTLS_HASH_ALL_ENABLED (defined at modules/mbedtls/Kconfig.mbedtls:339) was assigned the
value 'y' but got the value 'n'. Check these unsatisfied dependencies: MBEDTLS_BUILTIN (=n),
(MBEDTLS_CFG_FILE = "config-mbedtls.h") (=n), 0 (=n). See
http://docs.zephyrproject.org/latest/kconfig.html#CONFIG_MBEDTLS_HASH_ALL_ENABLED and/or look up
MBEDTLS_HASH_ALL_ENABLED in the menuconfig/guiconfig interface. The Application Development Primer,
Setting Configuration Values, and Kconfig - Tips and Best Practices sections of the manual might be
helpful too.


warning: MBEDTLS_PEM_CERTIFICATE_FORMAT (defined at modules/mbedtls/Kconfig.mbedtls:426) was
assigned the value 'y' but got the value 'n'. Check these unsatisfied dependencies: MBEDTLS_BUILTIN
(=n), (MBEDTLS_CFG_FILE = "config-mbedtls.h") (=n), 0 (=n). See
http://docs.zephyrproject.org/latest/kconfig.html#CONFIG_MBEDTLS_PEM_CERTIFICATE_FORMAT and/or look
up MBEDTLS_PEM_CERTIFICATE_FORMAT in the menuconfig/guiconfig interface. The Application Development
Primer, Setting Configuration Values, and Kconfig - Tips and Best Practices sections of the manual
might be helpful too.


warning: MBEDTLS_ENABLE_HEAP (defined at modules/mbedtls/Kconfig:181) was assigned the value 'y' but
got the value 'n'. Check these unsatisfied dependencies: 0 (=n). See
http://docs.zephyrproject.org/latest/kconfig.html#CONFIG_MBEDTLS_ENABLE_HEAP and/or look up
MBEDTLS_ENABLE_HEAP in the menuconfig/guiconfig interface. The Application Development Primer,
Setting Configuration Values, and Kconfig - Tips and Best Practices sections of the manual might be
helpful too.


warning: MBEDTLS_HEAP_SIZE (defined at modules/mbedtls/Kconfig:192) was assigned the value '60000'
but got the value ''. Check these unsatisfied dependencies: MBEDTLS_ENABLE_HEAP (=n), 0 (=n). See
http://docs.zephyrproject.org/latest/kconfig.html#CONFIG_MBEDTLS_HEAP_SIZE and/or look up
MBEDTLS_HEAP_SIZE in the menuconfig/guiconfig interface. The Application Development Primer, Setting
Configuration Values, and Kconfig - Tips and Best Practices sections of the manual might be helpful
too.


warning: MAX_THREAD_BYTES (defined at arch/Kconfig:385) was assigned the value '4' but got the value
''. Check these unsatisfied dependencies: USERSPACE (=n). See
http://docs.zephyrproject.org/latest/kconfig.html#CONFIG_MAX_THREAD_BYTES and/or look up
MAX_THREAD_BYTES in the menuconfig/guiconfig interface. The Application Development Primer, Setting
Configuration Values, and Kconfig - Tips and Best Practices sections of the manual might be helpful
too.


warning: The choice symbol MBEDTLS_BUILTIN (defined at modules/mbedtls/Kconfig:30) was selected (set
=y), but no symbol ended up as the choice selection. See
http://docs.zephyrproject.org/latest/kconfig.html#CONFIG_MBEDTLS_BUILTIN and/or look up
MBEDTLS_BUILTIN in the menuconfig/guiconfig interface. The Application Development Primer, Setting
Configuration Values, and Kconfig - Tips and Best Practices sections of the manual might be helpful
too.


warning: The choice symbol NET_CORE_LOG_LEVEL_DBG (defined at
subsys/net/Kconfig.template.log_config.net:36) was selected (set =y), but no symbol ended up as the
choice selection. See
http://docs.zephyrproject.org/latest/kconfig.html#CONFIG_NET_CORE_LOG_LEVEL_DBG and/or look up
NET_CORE_LOG_LEVEL_DBG in the menuconfig/guiconfig interface. The Application Development Primer,
Setting Configuration Values, and Kconfig - Tips and Best Practices sections of the manual might be
helpful too.


warning: Deprecated symbol TINYCRYPT is enabled.


warning: MBEDTLS (defined at modules/mbedtls/Kconfig:19) has direct dependencies 0 with value n, but is currently being y-selected by the following symbols:
 - NET_SOCKETS_SOCKOPT_TLS (defined at subsys/net/lib/sockets/Kconfig:114), with value y, direct dependencies NET_SOCKETS && NETWORKING (value: y), and select condition NET_NATIVE && NET_SOCKETS && NETWORKING (value: y)
Parsing /home/my_new_zephyr_folder/zephyr/Kconfig
Loaded configuration '/home/my_new_zephyr_folder/zephyr/boards/arduino/portenta_h7/arduino_portenta_h7_stm32h747xx_m7_defconfig'
Merged configuration '/home/my_new_zephyr_folder/ArduinoCore-zephyr/loader/prj.conf'
Merged configuration '/home/my_new_zephyr_folder/ArduinoCore-zephyr/loader/../variants/arduino_portenta_h7_stm32h747xx_m7/arduino_portenta_h7_stm32h747xx_m7.conf'

error: Aborting due to Kconfig warnings

@mjs513
Copy link
Author

mjs513 commented May 16, 2025

Time now: 5:30pm EST did a west update and seems to be now finding ttls

Resolving deltas: 100% (153955/153955), done.
From https://github.com/zephyrproject-rtos/mbedtls
 * [new branch]          dependabot/pip/docs/certifi-2023.7.22 -> refs/west/dependabot/pip/docs/certifi-2023.7.22
 * [new branch]          dependabot/pip/docs/jinja2-3.1.3    -> refs/west/dependabot/pip/docs/jinja2-3.1.3
 * [new branch]          dependabot/pip/docs/pygments-2.15.0 -> refs/west/dependabot/pip/docs/pygments-2.15.0
 * [new branch]          dependabot/pip/docs/requests-2.31.0 -> refs/west/dependabot/pip/docs/requests-2.31.0
 * [new branch]          dependabot/pip/docs/urllib3-1.26.18 -> refs/west/dependabot/pip/docs/urllib3-1.26.18
 * [new branch]          lts/2.26                            -> refs/west/lts/2.26
 * [new branch]          lts/2.28                            -> refs/west/lts/2.28
 * [new branch]          master                              -> refs/west/master
 * [new branch]          mbedtls-2.28                        -> refs/west/mbedtls-2.28
 * [new branch]          tls-2.26-branch                     -> refs/west/tls-2.26-branch
 * [new branch]          v1.14-branch                        -> refs/west/v1.14-branch
 * [new branch]          zephyr                              -> refs/west/zephyr
 * [new tag]             v3.0.0                              -> v3.0.0
HEAD is now at 3bc59adb8 fix: rename BEFORE_COLON and BC to avoid conflicts

Now H7 is building.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant