Boot loader problem

Hacmen-fps
Posts: 1
Joined: Sat Jul 02, 2022 11:13 pm

Boot loader problem

Postby Hacmen-fps » Sat Jul 02, 2022 11:19 pm

  1.  Executing task: ninja  <
  2.  
  3. [34/661] Performing build step for 'bootloader'
  4. FAILED: bootloader-prefix/src/bootloader-stamp/bootloader-build bootloader/bootloader.elf bootloader/bootloader.bin bootloader/bootloader.map
  5. cmd.exe /C "cd /D C:\engenharia_de_software\projetos_embarcados\blink\build\bootloader && C:\Espressif\tools\cmake\3.20.3\bin\cmake.exe --build ."
  6. [1/44] Building C object esp-idf/bootloader_support/CMakeFiles/__idf_bootloader_support.dir/src/bootloader_console.c.obj        
  7. [2/44] Building C object esp-idf/bootloader_support/CMakeFiles/__idf_bootloader_support.dir/src/esp32/bootloader_soc.c.obj      
  8. [3/44] Building C object esp-idf/bootloader_support/CMakeFiles/__idf_bootloader_support.dir/src/bootloader_console_loader.c.obj
  9. [4/44] Building C object esp-idf/esp_hw_support/CMakeFiles/__idf_esp_hw_support.dir/port/esp32/rtc_clk.c.obj
  10. [5/44] Building C object esp-idf/esp_hw_support/CMakeFiles/__idf_esp_hw_support.dir/compare_set.c.obj
  11. [6/44] Building C object esp-idf/esp_system/CMakeFiles/__idf_esp_system.dir/esp_err.c.obj
  12. [7/44] Building C object esp-idf/esp_hw_support/CMakeFiles/__idf_esp_hw_support.dir/cpu_util.c.obj
  13. [8/44] Building C object esp-idf/efuse/CMakeFiles/__idf_efuse.dir/src/esp_efuse_api_key_esp32.c.obj
  14. [9/44] Building C object esp-idf/xtensa/CMakeFiles/__idf_xtensa.dir/xt_trax.c.obj
  15. [10/44] Building C object esp-idf/bootloader_support/CMakeFiles/__idf_bootloader_support.dir/src/bootloader_mem.c.obj
  16. FAILED: esp-idf/bootloader_support/CMakeFiles/__idf_bootloader_support.dir/src/bootloader_mem.c.obj
  17. C:\Espressif\tools\xtensa-esp32s2-elf\esp-2021r2-patch3-8.4.0\xtensa-esp32s2-elf\bin\xtensa-esp32s2-elf-gcc.exe  -Iconfig -IC:/Espressif/frameworks/esp-idf-v4.4.1/components/bootloader_support/include -IC:/Espressif/frameworks/esp-idf-v4.4.1/components/bootloader_support/include_bootloader -IC:/Espressif/frameworks/esp-idf-v4.4.1/components/log/include -IC:/Espressif/frameworks/esp-idf-v4.4.1/components/esp_rom/include -IC:/Espressif/frameworks/esp-idf-v4.4.1/components/esp_rom/include/esp32 -IC:/Espressif/frameworks/esp-idf-v4.4.1/components/esp_rom/esp32 -IC:/Espressif/frameworks/esp-idf-v4.4.1/components/esp_common/include -IC:/Espressif/frameworks/esp-idf-v4.4.1/components/esp_hw_support/include -IC:/Espressif/frameworks/esp-idf-v4.4.1/components/esp_hw_support/include/soc -IC:/Espressif/frameworks/esp-idf-v4.4.1/components/esp_hw_support/include/soc/esp32 -IC:/Espressif/frameworks/esp-idf-v4.4.1/components/esp_hw_support/port/esp32/. -IC:/Espressif/frameworks/esp-idf-v4.4.1/components/esp_hw_support/port/esp32/private_include -IC:/Espressif/frameworks/esp-idf-v4.4.1/components/hal/esp32/include -IC:/Espressif/frameworks/esp-idf-v4.4.1/components/hal/include -IC:/Espressif/frameworks/esp-idf-v4.4.1/components/hal/platform_port/include -IC:/Espressif/frameworks/esp-idf-v4.4.1/components/newlib/platform_include -IC:/Espressif/frameworks/esp-idf-v4.4.1/components/esp32/include -IC:/Espressif/frameworks/esp-idf-v4.4.1/components/xtensa/include -IC:/Espressif/frameworks/esp-idf-v4.4.1/components/xtensa/esp32/include -IC:/Espressif/frameworks/esp-idf-v4.4.1/components/soc/include -IC:/Espressif/frameworks/esp-idf-v4.4.1/components/soc/esp32/. -IC:/Espressif/frameworks/esp-idf-v4.4.1/components/soc/esp32/include -IC:/Espressif/frameworks/esp-idf-v4.4.1/components/efuse/include -IC:/Espressif/frameworks/esp-idf-v4.4.1/components/efuse/esp32/include -IC:/Espressif/frameworks/esp-idf-v4.4.1/components/bootloader/subproject/components/micro-ecc -IC:/Espressif/frameworks/esp-idf-v4.4.1/components/bootloader/subproject/components/micro-ecc/micro-ecc -IC:/Espressif/frameworks/esp-idf-v4.4.1/components/spi_flash/include -mlongcalls -ffunction-sections -fdata-sections -Wall -Werror=all -Wno-error=unused-function -Wno-error=unused-variable -Wno-error=deprecated-declarations -Wextra -Wno-unused-parameter -Wno-sign-compare -ggdb -Os -freorder-blocks -fmacro-prefix-map=C:/Espressif/frameworks/esp-idf-v4.4.1/components/bootloader/subproject=. -fmacro-prefix-map=C:/Espressif/frameworks/esp-idf-v4.4.1=IDF -fstrict-volatile-bitfields
  18. -Wno-error=unused-but-set-variable -fno-jump-tables -fno-tree-switch-conversion -fno-stack-protector -std=gnu99 -Wno-old-style-declaration -D_GNU_SOURCE -DIDF_VER=\"v4.4.1\" -DESP_PLATFORM -DBOOTLOADER_BUILD=1 -MD -MT esp-idf/bootloader_support/CMakeFiles/__idf_bootloader_support.dir/src/bootloader_mem.c.obj -MF esp-idf\bootloader_support\CMakeFiles\__idf_bootloader_support.dir\src\bootloader_mem.c.obj.d -o esp-idf/bootloader_support/CMakeFiles/__idf_bootloader_support.dir/src/bootloader_mem.c.obj -c C:/Espressif/frameworks/esp-idf-v4.4.1/components/bootloader_support/src/bootloader_mem.c
  19. C:/Espressif/frameworks/esp-idf-v4.4.1/components/hal/esp32/include/hal/cpu_ll.h: Assembler messages:
  20. C:/Espressif/frameworks/esp-idf-v4.4.1/components/hal/esp32/include/hal/cpu_ll.h:65: Error: invalid register number (97) for 'wsr' instruction
  21. [11/44] Building C object esp-idf/xtensa/CMakeFiles/__idf_xtensa.dir/eri.c.obj
  22. [12/44] Building C object esp-idf/esp_hw_support/CMakeFiles/__idf_esp_hw_support.dir/port/esp32/rtc_clk_init.c.obj
  23. [13/44] Building C object esp-idf/esp_hw_support/CMakeFiles/__idf_esp_hw_support.dir/port/esp32/rtc_wdt.c.obj
  24. [14/44] Building C object esp-idf/esp_hw_support/CMakeFiles/__idf_esp_hw_support.dir/port/esp32/rtc_time.c.obj
  25. [15/44] Building C object esp-idf/esp_hw_support/CMakeFiles/__idf_esp_hw_support.dir/port/esp32/rtc_init.c.obj
  26. [16/44] Building C object esp-idf/esp_hw_support/CMakeFiles/__idf_esp_hw_support.dir/port/esp32/rtc_pm.c.obj
  27. [17/44] Building C object esp-idf/esp_hw_support/CMakeFiles/__idf_esp_hw_support.dir/port/esp32/rtc_sleep.c.obj
  28. [18/44] Building C object esp-idf/esp_hw_support/CMakeFiles/__idf_esp_hw_support.dir/port/esp32/chip_info.c.obj
  29. [19/44] Building C object esp-idf/esp_common/CMakeFiles/__idf_esp_common.dir/src/esp_err_to_name.c.obj
  30. ninja: build stopped: subcommand failed.
  31. [43/661] Building C object esp-idf/lwip/CMakeFiles/__idf_lwip.dir/lwip/src/core/ipv4/igmp.c.obj
  32. ninja: build stopped: subcommand failed.
  33. O processo de terminal "C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe -Command ninja " foi terminado com o código de saída: 1.
  34.  
  35. > Executing task: ninja  <
  36.  
  37. [11/619] Performing build step for 'bootloader'
  38. FAILED: bootloader-prefix/src/bootloader-stamp/bootloader-build bootloader/bootloader.elf bootloader/bootloader.bin bootloader/bootloader.map
  39. cmd.exe /C "cd /D C:\engenharia_de_software\projetos_embarcados\blink\build\bootloader && C:\Espressif\tools\cmake\3.20.3\bin\cmake.exe --build ."
  40. [1/26] Building C object esp-idf/esp_rom/CMakeFiles/__idf_esp_rom.dir/patches/esp_rom_crc.c.obj
  41. [2/26] Building C object esp-idf/esp_rom/CMakeFiles/__idf_esp_rom.dir/patches/esp_rom_tjpgd.c.obj
  42. [3/26] Building ASM object esp-idf/esp_rom/CMakeFiles/__idf_esp_rom.dir/patches/esp_rom_longjmp.S.obj
  43. [4/26] Building C object esp-idf/esp_rom/CMakeFiles/__idf_esp_rom.dir/patches/esp_rom_sys.c.obj
  44. [5/26] Building C object esp-idf/esp_rom/CMakeFiles/__idf_esp_rom.dir/patches/esp_rom_uart.c.obj
  45. [6/26] Building C object esp-idf/log/CMakeFiles/__idf_log.dir/log_noos.c.obj
  46. [7/26] Building C object esp-idf/log/CMakeFiles/__idf_log.dir/log.c.obj
  47. [8/26] Building C object esp-idf/bootloader_support/CMakeFiles/__idf_bootloader_support.dir/src/bootloader_mem.c.obj
  48. FAILED: esp-idf/bootloader_support/CMakeFiles/__idf_bootloader_support.dir/src/bootloader_mem.c.obj
  49. C:\Espressif\tools\xtensa-esp32s2-elf\esp-2021r2-patch3-8.4.0\xtensa-esp32s2-elf\bin\xtensa-esp32s2-elf-gcc.exe  -Iconfig -IC:/Espressif/frameworks/esp-idf-v4.4.1/components/bootloader_support/include -IC:/Espressif/frameworks/esp-idf-v4.4.1/components/bootloader_support/include_bootloader -IC:/Espressif/frameworks/esp-idf-v4.4.1/components/log/include -IC:/Espressif/frameworks/esp-idf-v4.4.1/components/esp_rom/include -IC:/Espressif/frameworks/esp-idf-v4.4.1/components/esp_rom/include/esp32 -IC:/Espressif/frameworks/esp-idf-v4.4.1/components/esp_rom/esp32 -IC:/Espressif/frameworks/esp-idf-v4.4.1/components/esp_common/include -IC:/Espressif/frameworks/esp-idf-v4.4.1/components/esp_hw_support/include -IC:/Espressif/frameworks/esp-idf-v4.4.1/components/esp_hw_support/include/soc -IC:/Espressif/frameworks/esp-idf-v4.4.1/components/esp_hw_support/include/soc/esp32 -IC:/Espressif/frameworks/esp-idf-v4.4.1/components/esp_hw_support/port/esp32/. -IC:/Espressif/frameworks/esp-idf-v4.4.1/components/esp_hw_support/port/esp32/private_include -IC:/Espressif/frameworks/esp-idf-v4.4.1/components/hal/esp32/include -IC:/Espressif/frameworks/esp-idf-v4.4.1/components/hal/include -IC:/Espressif/frameworks/esp-idf-v4.4.1/components/hal/platform_port/include -IC:/Espressif/frameworks/esp-idf-v4.4.1/components/newlib/platform_include -IC:/Espressif/frameworks/esp-idf-v4.4.1/components/esp32/include -IC:/Espressif/frameworks/esp-idf-v4.4.1/components/xtensa/include -IC:/Espressif/frameworks/esp-idf-v4.4.1/components/xtensa/esp32/include -IC:/Espressif/frameworks/esp-idf-v4.4.1/components/soc/include -IC:/Espressif/frameworks/esp-idf-v4.4.1/components/soc/esp32/. -IC:/Espressif/frameworks/esp-idf-v4.4.1/components/soc/esp32/include -IC:/Espressif/frameworks/esp-idf-v4.4.1/components/efuse/include -IC:/Espressif/frameworks/esp-idf-v4.4.1/components/efuse/esp32/include -IC:/Espressif/frameworks/esp-idf-v4.4.1/components/bootloader/subproject/components/micro-ecc -IC:/Espressif/frameworks/esp-idf-v4.4.1/components/bootloader/subproject/components/micro-ecc/micro-ecc -IC:/Espressif/frameworks/esp-idf-v4.4.1/components/spi_flash/include -mlongcalls -ffunction-sections -fdata-sections -Wall -Werror=all -Wno-error=unused-function -Wno-error=unused-variable -Wno-error=deprecated-declarations -Wextra -Wno-unused-parameter -Wno-sign-compare -ggdb -Os -freorder-blocks -fmacro-prefix-map=C:/Espressif/frameworks/esp-idf-v4.4.1/components/bootloader/subproject=. -fmacro-prefix-map=C:/Espressif/frameworks/esp-idf-v4.4.1=IDF -fstrict-volatile-bitfields
  50. -Wno-error=unused-but-set-variable -fno-jump-tables -fno-tree-switch-conversion -fno-stack-protector -std=gnu99 -Wno-old-style-declaration -D_GNU_SOURCE -DIDF_VER=\"v4.4.1\" -DESP_PLATFORM -DBOOTLOADER_BUILD=1 -MD -MT esp-idf/bootloader_support/CMakeFiles/__idf_bootloader_support.dir/src/bootloader_mem.c.obj -MF esp-idf\bootloader_support\CMakeFiles\__idf_bootloader_support.dir\src\bootloader_mem.c.obj.d -o esp-idf/bootloader_support/CMakeFiles/__idf_bootloader_support.dir/src/bootloader_mem.c.obj -c C:/Espressif/frameworks/esp-idf-v4.4.1/components/bootloader_support/src/bootloader_mem.c
  51. C:/Espressif/frameworks/esp-idf-v4.4.1/components/hal/esp32/include/hal/cpu_ll.h: Assembler messages:
  52. C:/Espressif/frameworks/esp-idf-v4.4.1/components/hal/esp32/include/hal/cpu_ll.h:65: Error: invalid register number (97) for 'wsr' instruction
  53. [9/26] Building C object esp-idf/log/CMakeFiles/__idf_log.dir/log_buffers.c.obj
  54. [10/26] Building C object esp-idf/main/CMakeFiles/__idf_main.dir/bootloader_start.c.obj
  55. ninja: build stopped: subcommand failed.
  56. [20/619] Building C object esp-idf/lwip/CMakeFiles/__idf_lwip.dir/lwip/src/netif/slipif.c.obj
  57. ninja: build stopped: subcommand failed.
  58. O processo de terminal "C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe -Command ninja " foi terminado com o código de saída: 1.
  59.  

Who is online

Users browsing this forum: No registered users and 140 guests