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
- mkdir -p ~/esp
- cd ~/esp
- git clone --recursive https://github.com/espressif/esp-idf.git
- cd ~/esp/esp-idf
- ./install.sh all
- matter@ubuntu:~/esp/esp-idf$ . ./export.sh
- Setting IDF_PATH to '/home/matter/esp/esp-idf'
- Detecting the Python interpreter
- Checking "python3" ...
- Python 3.10.12
- "python3" has been detected
- Checking Python compatibility
- Checking other ESP-IDF version.
- Adding ESP-IDF tools to PATH...
- Checking if Python packages are up to date...
- Constraint file: /home/matter/.espressif/espidf.constraints.v5.3.txt
- Requirement files:
- - /home/matter/esp/esp-idf/tools/requirements/requirements.core.txt
- Python being checked: /home/matter/.espressif/python_env/idf5.3_py3.10_env/bin/python
- Python requirements are satisfied.
- Added the following directories to PATH:
- /home/matter/esp/esp-idf/components/espcoredump
- /home/matter/esp/esp-idf/components/partition_table
- /home/matter/esp/esp-idf/components/app_update
- /home/matter/.espressif/tools/xtensa-esp-elf-gdb/12.1_20231023/xtensa-esp-elf-gdb/bin
- /home/matter/.espressif/tools/riscv32-esp-elf-gdb/12.1_20231023/riscv32-esp-elf-gdb/bin
- /home/matter/.espressif/tools/xtensa-esp-elf/esp-13.2.0_20230928/xtensa-esp-elf/bin
- /home/matter/.espressif/tools/riscv32-esp-elf/esp-13.2.0_20230928/riscv32-esp-elf/bin
- /home/matter/.espressif/tools/esp32ulp-elf/2.35_20220830/esp32ulp-elf/bin
- /home/matter/.espressif/tools/openocd-esp32/v0.12.0-esp32-20230921/openocd-esp32/bin
- /home/matter/.espressif/tools/xtensa-esp-elf-gdb/12.1_20231023/xtensa-esp-elf-gdb/bin
- /home/matter/.espressif/tools/riscv32-esp-elf-gdb/12.1_20231023/riscv32-esp-elf-gdb/bin
- /home/matter/.espressif/tools/xtensa-esp-elf/esp-13.2.0_20230928/xtensa-esp-elf/bin
- /home/matter/.espressif/tools/riscv32-esp-elf/esp-13.2.0_20230928/riscv32-esp-elf/bin
- /home/matter/.espressif/tools/esp32ulp-elf/2.35_20220830/esp32ulp-elf/bin
- /home/matter/.espressif/tools/openocd-esp32/v0.12.0-esp32-20230921/openocd-esp32/bin
- /home/matter/.espressif/python_env/idf5.3_py3.10_env/bin
- /home/matter/esp/esp-idf/tools
- Done! You can now compile ESP-IDF projects.
- Go to the project directory and run:
- idf.py build
- matter@ubuntu:~/esp/esp-idf$
- matter@ubuntu:~/esp/esp-idf$ cd ../
- matter@ubuntu:~/esp$ git clone --depth 1 https://github.com/espressif/esp-matter.git
- cd esp-matter
- git submodule update --init --depth 1
- cd ./connectedhomeip/connectedhomeip
- ./scripts/checkout_submodules.py --platform esp32 linux --shallow
- cd ../..
- ./install.sh
- cd ..
- Cloning into 'esp-matter'...
- remote: Enumerating objects: 566, done.
- remote: Counting objects: 100% (566/566), done.
- remote: Compressing objects: 100% (473/473), done.
- remote: Total 566 (delta 144), reused 425 (delta 73), pack-reused 0
- Receiving objects: 100% (566/566), 4.81 MiB | 4.35 MiB/s, done.
- Resolving deltas: 100% (144/144), done.
- Submodule 'connectedhomeip/connectedhomeip' (https://github.com/espressif/connectedhomeip.git) registered for path 'connectedhomeip/connectedhomeip'
- Cloning into '/home/matter/esp/esp-matter/connectedhomeip/connectedhomeip'...
- remote: Total 0 (delta 0), reused 0 (delta 0), pack-reused 0
- remote: Enumerating objects: 16899, done.
- remote: Counting objects: 100% (16899/16899), done.
- remote: Compressing objects: 100% (11285/11285), done.
- remote: Total 15647 (delta 6756), reused 8683 (delta 3501), pack-reused 0
- Receiving objects: 100% (15647/15647), 36.54 MiB | 7.73 MiB/s, done.
- Resolving deltas: 100% (6756/6756), completed with 652 local objects.
- From https://github.com/espressif/connectedhomeip
- * branch d38a6496c3abeb3daf6429b1f11172cfa0112a1a -> FETCH_HEAD
- Submodule path 'connectedhomeip/connectedhomeip': checked out 'd38a6496c3abeb3daf6429b1f11172cfa0112a1a'
- 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
- Running Matter Setup
- Synchronizing submodule url for 'examples/common/QRCode/repo'
- Synchronizing submodule url for 'examples/common/m5stack-tft/repo'
- Synchronizing submodule url for 'third_party/boringssl/repo/src'
- Synchronizing submodule url for 'third_party/cirque/repo'
- Synchronizing submodule url for 'third_party/editline/repo'
- Synchronizing submodule url for 'third_party/freertos/repo'
- Synchronizing submodule url for 'third_party/imgui/repo'
- Synchronizing submodule url for 'third_party/jsoncpp/repo'
- Synchronizing submodule url for 'third_party/libwebsockets/repo'
- Synchronizing submodule url for 'third_party/mbedtls/repo'
- Synchronizing submodule url for 'third_party/nanopb/repo'
- Synchronizing submodule url for 'third_party/nlassert/repo'
- Synchronizing submodule url for 'third_party/nlio/repo'
- Synchronizing submodule url for 'third_party/nlunit-test/repo'
- Synchronizing submodule url for 'third_party/openthread/repo'
- Synchronizing submodule url for 'third_party/ot-br-posix/repo'
- Synchronizing submodule url for 'third_party/perfetto/repo'
- Synchronizing submodule url for 'third_party/pigweed/repo'
- Synchronizing submodule url for 'third_party/pybind11/repo'
- WELCOME TO...
- █
- █
- ▄ █ ▄ █ █
- ▀▀█████▀▀ ▄▀▀▀▄ ▄▀▀▀▄ ▄▀▀▀▀▄█ ▀▀█▀▀▀▀▀█▀▀ ▄▀▀▀▀▄ ▄▀▀
- ▀█▄ ▄█▀ █ █ █ █ █ █ █ █▄▄▄▄▄▄█ █
- ▀█▄ ▄█▀ █ █ █ █ █ █ █ █ █
- ▄██▀▀█ █▀▀██▄ █ █ █ ▀▄▄▄▄▀█ ▀▄▄ ▀▄▄ ▀▄▄▄▄▀ █
- ▀▀ █ █ ▀▀
- BOOTSTRAP! Bootstrap may take a few minutes; please be patient.
- Downloading and installing packages into local source directory:
- Setting up CIPD package manager...done (5m47.7s)
- Setting up Project actions........skipped (0.1s)
- Setting up Python environment.....done (6m49.2s)
- Setting up pw packages............skipped (0.1s)
- Setting up Host tools.............done (0.1s)
- Activating environment (setting environment variables):
- Setting environment variables for CIPD package manager...done
- Setting environment variables for Project actions........skipped
- Setting environment variables for Python environment.....done
- Setting environment variables for pw packages............skipped
- Setting environment variables for Host tools.............done
- Checking the environment:
- 20240228 17:00:19 INF Environment passes all checks!
- Environment looks good, you are ready to go!
- To reactivate this environment in the future, run this in your
- terminal:
- source ./activate.sh
- To deactivate this environment, run this:
- deactivate
- Installing pip requirements for all...
- [notice] A new release of pip is available: 23.2.1 -> 24.0
- [notice] To update, run: pip install --upgrade pip
- Building host tools
- Done. Made 7672 targets from 364 files in 2091ms
- 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
output coming in Seiral port of RPI-4
- 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.
- [ 8096.835314] INFO: task kworker/3:1:5534 blocked for more than 241 seconds.
- [ 8096.842339] Tainted: G C E 5.15.0-1046-raspi #49-Ubuntu
- [ 8096.849364] "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
- [ 8217.670043] INFO: task kworker/3:1:5534 blocked for more than 362 seconds.
- [ 8217.677072] Tainted: G C E 5.15.0-1046-raspi #49-Ubuntu
- [ 8217.684094] "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
- [ 8459.338619] INFO: task kworker/3:1:5534 blocked for more than 120 seconds.
- [ 8459.345638] Tainted: G C E 5.15.0-1046-raspi #49-Ubuntu
- [ 8459.352647] "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
- [ 8580.172604] INFO: task kworker/3:1:5534 blocked for more than 241 seconds.
- [ 8580.179625] Tainted: G C E 5.15.0-1046-raspi #49-Ubuntu
- [ 8580.186640] "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
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