esp-matter installation error in RPI-4

saikrishnaa
Posts: 3
Joined: Fri Mar 03, 2023 1:35 pm

esp-matter installation error in RPI-4

Postby saikrishnaa » Wed Feb 28, 2024 6:22 pm

Hi All,

I am trying to install esp-matter in my Raspberry Pi4 with 2 GB RAM and 32 GB Micro SD Card and it is installed with 22.04.4 server 64 bit OS.

But I am not able to install.

Please find the below logs for your reference.

It is always hangs at installation of matter, a shippent is given below and details log also provided.

ninja: Entering directory `/home/matter/esp/esp-matter/connectedhomeip/connectedhomeip/out/host'
[413/660] c++ obj/src/app/util/data_model.generic-callback-stubs.cpp.o

matter@ubuntu:~$ [ 7976.000237] INFO: task kworker/3:1:5534 blocked for more than 120 seconds.
[ 7976.007467] Tainted: G C E 5.15.0-1046-raspi #49-Ubuntu
[ 7976.014507] "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.



Here is the links and steps followed for the installation

https://docs.espressif.com/projects/esp ... setup.html
  1. mkdir -p ~/esp
  2. cd ~/esp
  3. git clone --recursive https://github.com/espressif/esp-idf.git
  4.  
  5.  
  6.  
  7. cd ~/esp/esp-idf
  8. ./install.sh all
  9.  
  10. matter@ubuntu:~/esp/esp-idf$ . ./export.sh
  11. Setting IDF_PATH to '/home/matter/esp/esp-idf'
  12. Detecting the Python interpreter
  13. Checking "python3" ...
  14. Python 3.10.12
  15. "python3" has been detected
  16. Checking Python compatibility
  17. Checking other ESP-IDF version.
  18. Adding ESP-IDF tools to PATH...
  19. Checking if Python packages are up to date...
  20. Constraint file: /home/matter/.espressif/espidf.constraints.v5.3.txt
  21. Requirement files:
  22.  - /home/matter/esp/esp-idf/tools/requirements/requirements.core.txt
  23. Python being checked: /home/matter/.espressif/python_env/idf5.3_py3.10_env/bin/python
  24. Python requirements are satisfied.
  25. Added the following directories to PATH:
  26.   /home/matter/esp/esp-idf/components/espcoredump
  27.   /home/matter/esp/esp-idf/components/partition_table
  28.   /home/matter/esp/esp-idf/components/app_update
  29.   /home/matter/.espressif/tools/xtensa-esp-elf-gdb/12.1_20231023/xtensa-esp-elf-gdb/bin
  30.   /home/matter/.espressif/tools/riscv32-esp-elf-gdb/12.1_20231023/riscv32-esp-elf-gdb/bin
  31.   /home/matter/.espressif/tools/xtensa-esp-elf/esp-13.2.0_20230928/xtensa-esp-elf/bin
  32.   /home/matter/.espressif/tools/riscv32-esp-elf/esp-13.2.0_20230928/riscv32-esp-elf/bin
  33.   /home/matter/.espressif/tools/esp32ulp-elf/2.35_20220830/esp32ulp-elf/bin
  34.   /home/matter/.espressif/tools/openocd-esp32/v0.12.0-esp32-20230921/openocd-esp32/bin
  35.   /home/matter/.espressif/tools/xtensa-esp-elf-gdb/12.1_20231023/xtensa-esp-elf-gdb/bin
  36.   /home/matter/.espressif/tools/riscv32-esp-elf-gdb/12.1_20231023/riscv32-esp-elf-gdb/bin
  37.   /home/matter/.espressif/tools/xtensa-esp-elf/esp-13.2.0_20230928/xtensa-esp-elf/bin
  38.   /home/matter/.espressif/tools/riscv32-esp-elf/esp-13.2.0_20230928/riscv32-esp-elf/bin
  39.   /home/matter/.espressif/tools/esp32ulp-elf/2.35_20220830/esp32ulp-elf/bin
  40.   /home/matter/.espressif/tools/openocd-esp32/v0.12.0-esp32-20230921/openocd-esp32/bin
  41.   /home/matter/.espressif/python_env/idf5.3_py3.10_env/bin
  42.   /home/matter/esp/esp-idf/tools
  43. Done! You can now compile ESP-IDF projects.
  44. Go to the project directory and run:
  45.  
  46.   idf.py build
  47.  
  48. matter@ubuntu:~/esp/esp-idf$
https://docs.espressif.com/projects/esp ... oping.html
  1. matter@ubuntu:~/esp/esp-idf$ cd ../
  2. matter@ubuntu:~/esp$ git clone --depth 1 https://github.com/espressif/esp-matter.git
  3. cd esp-matter
  4. git submodule update --init --depth 1
  5. cd ./connectedhomeip/connectedhomeip
  6. ./scripts/checkout_submodules.py --platform esp32 linux --shallow
  7. cd ../..
  8. ./install.sh
  9. cd ..
  10. Cloning into 'esp-matter'...
  11. remote: Enumerating objects: 566, done.
  12. remote: Counting objects: 100% (566/566), done.
  13. remote: Compressing objects: 100% (473/473), done.
  14. remote: Total 566 (delta 144), reused 425 (delta 73), pack-reused 0
  15. Receiving objects: 100% (566/566), 4.81 MiB | 4.35 MiB/s, done.
  16. Resolving deltas: 100% (144/144), done.
  17. Submodule 'connectedhomeip/connectedhomeip' (https://github.com/espressif/connectedhomeip.git) registered for path 'connectedhomeip/connectedhomeip'
  18. Cloning into '/home/matter/esp/esp-matter/connectedhomeip/connectedhomeip'...
  19. remote: Total 0 (delta 0), reused 0 (delta 0), pack-reused 0
  20. remote: Enumerating objects: 16899, done.
  21. remote: Counting objects: 100% (16899/16899), done.
  22. remote: Compressing objects: 100% (11285/11285), done.
  23. remote: Total 15647 (delta 6756), reused 8683 (delta 3501), pack-reused 0
  24. Receiving objects: 100% (15647/15647), 36.54 MiB | 7.73 MiB/s, done.
  25. Resolving deltas: 100% (6756/6756), completed with 652 local objects.
  26. From https://github.com/espressif/connectedhomeip
  27.  * branch              d38a6496c3abeb3daf6429b1f11172cfa0112a1a -> FETCH_HEAD
  28. Submodule path 'connectedhomeip/connectedhomeip': checked out 'd38a6496c3abeb3daf6429b1f11172cfa0112a1a'
  29. Checking out: nlassert, nlio, nlunit-test, mbedtls, qrcode, m5stack-tft, pigweed, openthread, ot-br-posix, cirque, nanopb, freertos, third_party/pybind11/repo, third_party/jsoncpp/repo, editline, third_party/boringssl/repo/src, third_party/libwebsockets/repo, third_party/imgui/repo, perfetto
  30.  
  31. Running Matter Setup
  32.  
  33. Synchronizing submodule url for 'examples/common/QRCode/repo'
  34. Synchronizing submodule url for 'examples/common/m5stack-tft/repo'
  35. Synchronizing submodule url for 'third_party/boringssl/repo/src'
  36. Synchronizing submodule url for 'third_party/cirque/repo'
  37. Synchronizing submodule url for 'third_party/editline/repo'
  38. Synchronizing submodule url for 'third_party/freertos/repo'
  39. Synchronizing submodule url for 'third_party/imgui/repo'
  40. Synchronizing submodule url for 'third_party/jsoncpp/repo'
  41. Synchronizing submodule url for 'third_party/libwebsockets/repo'
  42. Synchronizing submodule url for 'third_party/mbedtls/repo'
  43. Synchronizing submodule url for 'third_party/nanopb/repo'
  44. Synchronizing submodule url for 'third_party/nlassert/repo'
  45. Synchronizing submodule url for 'third_party/nlio/repo'
  46. Synchronizing submodule url for 'third_party/nlunit-test/repo'
  47. Synchronizing submodule url for 'third_party/openthread/repo'
  48. Synchronizing submodule url for 'third_party/ot-br-posix/repo'
  49. Synchronizing submodule url for 'third_party/perfetto/repo'
  50. Synchronizing submodule url for 'third_party/pigweed/repo'
  51. Synchronizing submodule url for 'third_party/pybind11/repo'
  52.  
  53.   WELCOME TO...
  54.  
  55.          █
  56.          █
  57.      ▄   █   ▄                                █     █
  58.      ▀▀█████▀▀      ▄▀▀▀▄ ▄▀▀▀▄    ▄▀▀▀▀▄█  ▀▀█▀▀▀▀▀█▀▀   ▄▀▀▀▀▄    ▄▀▀
  59.    ▀█▄       ▄█▀   █     █     █  █      █    █     █    █▄▄▄▄▄▄█  █
  60.      ▀█▄   ▄█▀     █     █     █  █      █    █     █    █         █
  61.   ▄██▀▀█   █▀▀██▄  █     █     █   ▀▄▄▄▄▀█    ▀▄▄   ▀▄▄   ▀▄▄▄▄▀   █
  62.  ▀▀    █   █    ▀▀
  63.  
  64.   BOOTSTRAP! Bootstrap may take a few minutes; please be patient.
  65.  
  66. Downloading and installing packages into local source directory:
  67.  
  68.   Setting up CIPD package manager...done (5m47.7s)
  69.   Setting up Project actions........skipped (0.1s)
  70.   Setting up Python environment.....done (6m49.2s)
  71.   Setting up pw packages............skipped (0.1s)
  72.   Setting up Host tools.............done (0.1s)
  73.  
  74. Activating environment (setting environment variables):
  75.  
  76.   Setting environment variables for CIPD package manager...done
  77.   Setting environment variables for Project actions........skipped
  78.   Setting environment variables for Python environment.....done
  79.   Setting environment variables for pw packages............skipped
  80.   Setting environment variables for Host tools.............done
  81.  
  82. Checking the environment:
  83.  
  84. 20240228 17:00:19 INF Environment passes all checks!
  85.  
  86. Environment looks good, you are ready to go!
  87.  
  88. To reactivate this environment in the future, run this in your
  89. terminal:
  90.  
  91.   source ./activate.sh
  92.  
  93. To deactivate this environment, run this:
  94.  
  95.   deactivate
  96.  
  97. Installing pip requirements for all...
  98.  
  99. [notice] A new release of pip is available: 23.2.1 -> 24.0
  100. [notice] To update, run: pip install --upgrade pip
  101.  
  102. Building host tools
  103.  
  104. Done. Made 7672 targets from 364 files in 2091ms
  105. ninja: Entering directory `/home/matter/esp/esp-matter/connectedhomeip/connectedhomeip/out/host'
  106. [413/660] c++ obj/src/app/util/data_model.generic-callback-stubs.cpp.o
Build is stopped at this moment and RPI-4 is hanged





output coming in Seiral port of RPI-4
  1. matter@ubuntu:~$ [ 7976.000237] INFO: task kworker/3:1:5534 blocked for more than 120 seconds.
  2. [ 7976.007467]       Tainted: G         C  E     5.15.0-1046-raspi #49-Ubuntu
  3. [ 7976.014507] "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
  4. [ 8096.835314] INFO: task kworker/3:1:5534 blocked for more than 241 seconds.
  5. [ 8096.842339]       Tainted: G         C  E     5.15.0-1046-raspi #49-Ubuntu
  6. [ 8096.849364] "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
  7. [ 8217.670043] INFO: task kworker/3:1:5534 blocked for more than 362 seconds.
  8. [ 8217.677072]       Tainted: G         C  E     5.15.0-1046-raspi #49-Ubuntu
  9. [ 8217.684094] "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
  10. [ 8459.338619] INFO: task kworker/3:1:5534 blocked for more than 120 seconds.
  11. [ 8459.345638]       Tainted: G         C  E     5.15.0-1046-raspi #49-Ubuntu
  12. [ 8459.352647] "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
  13. [ 8580.172604] INFO: task kworker/3:1:5534 blocked for more than 241 seconds.
  14. [ 8580.179625]       Tainted: G         C  E     5.15.0-1046-raspi #49-Ubuntu
  15. [ 8580.186640] "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
Can anyone suggest how to fix this and why it is coming.

I am using the latest git repo i.e. main(latest) for ESP-IDF. even I tried with 5.2 and 5.1.2 same issue is observed.

Is there any settings need to be changed from matter git folder, Please suggest.

Regards,
Sai Krishna

Who is online

Users browsing this forum: No registered users and 243 guests