Missing IDF version in boot log

newsettler_AI
Posts: 121
Joined: Wed Apr 05, 2017 12:49 pm

Missing IDF version in boot log

Postby newsettler_AI » Sun Feb 16, 2020 3:16 pm

Hi,

In startup log I cant see IDF version, it says

-128-NOTFOUND

Code: Select all

ets Jun  8 2016 00:22:57

rst:0x1 (POWERON_RESET),boot:0x1e (SPI_FAST_FLASH_BOOT)
configsip: 0, SPIWP:0xee
clk_drv:0x00,q_drv:0x00,d_drv:0x00,cs0_drv:0x00,hd_drv:0x00,wp_drv:0x00
mode:DIO, clock div:2
load:0x3fff0018,len:4
load:0x3fff001c,len:6912
ho 0 tail 12 room 4
load:0x40078000,len:14076
load:0x40080400,len:4304
entry 0x400806e8
[0;32mI (75) boot: Chip Revision: 1[0m
[0;32mI (75) boot_comm: chip revision: 1, min. bootloader chip revision: 0[0m
[0;32mI (41) boot: ESP-IDF -128-NOTFOUND 2nd stage bootloader[0m
[0;32mI (41) boot: compile time 17:09:30[0m
[0;32mI (42) boot: Enabling RNG early entropy source...[0m
[0;32mI (47) boot: SPI Speed      : 40MHz[0m
[0;32mI (51) boot: SPI Mode       : DIO[0m
[0;32mI (55) boot: SPI Flash Size : 4MB[0m
[0;32mI (59) boot: Partition Table:[0m
[0;32mI (62) boot: ## Label            Usage          Type ST Offset   Length[0m
[0;32mI (70) boot:  0 nvs              WiFi data        01 02 00009000 00006000[0m
[0;32mI (77) boot:  1 phy_init         RF data          01 01 0000f000 00001000[0m
[0;32mI (85) boot:  2 factory          factory app      00 00 00010000 00100000[0m
[0;32mI (92) boot: End of partition table[0m
[0;32mI (96) boot_comm: chip revision: 1, min. application chip revision: 0[0m
[0;32mI (103) esp_image: segment 0: paddr=0x00010020 vaddr=0x3f400020 size=0x059ac ( 22956) map[0m
[0;32mI (121) esp_image: segment 1: paddr=0x000159d4 vaddr=0x3ffb0000 size=0x020f8 (  8440) load[0m
[0;32mI (125) esp_image: segment 2: paddr=0x00017ad4 vaddr=0x40080000 size=0x00400 (  1024) load[0m
[0;32mI (131) esp_image: segment 3: paddr=0x00017edc vaddr=0x40080400 size=0x08134 ( 33076) load[0m
[0;32mI (153) esp_image: segment 4: paddr=0x00020018 vaddr=0x400d0018 size=0x12964 ( 76132) map[0m
[0;32mI (180) esp_image: segment 5: paddr=0x00032984 vaddr=0x40088534 size=0x013f0 (  5104) load[0m
[0;32mI (189) boot: Loaded app from partition at offset 0x10000[0m
[0;32mI (189) boot: Disabling RNG early entropy source...[0m
[0;32mI (190) cpu_start: Pro cpu up.[0m
[0;32mI (194) cpu_start: Application information:[0m
[0;32mI (198) cpu_start: Project name:     blink[0m
[0;32mI (203) cpu_start: App version:      1[0m
[0;32mI (208) cpu_start: Compile time:     Feb 16 2020 17:09:25[0m
[0;32mI (214) cpu_start: ELF file SHA256:  c54701c6c2e31e41...[0m
[0;32mI (220) cpu_start: ESP-IDF:          -128-NOTFOUND[0m
[0;32mI (225) cpu_start: Starting app cpu, entry point is 0x40080fd8[0m
[0;32mI (0) cpu_start: App cpu up.[0m
[0;32mI (236) heap_init: Initializing. RAM available for dynamic allocation:[0m
[0;32mI (242) heap_init: At 3FFAE6E0 len 00001920 (6 KiB): DRAM[0m
[0;32mI (249) heap_init: At 3FFB30E0 len 0002CF20 (179 KiB): DRAM[0m
[0;32mI (255) heap_init: At 3FFE0440 len 00003AE0 (14 KiB): D/IRAM[0m
[0;32mI (261) heap_init: At 3FFE4350 len 0001BCB0 (111 KiB): D/IRAM[0m
[0;32mI (268) heap_init: At 40089924 len 000166DC (89 KiB): IRAM[0m
[0;32mI (274) cpu_start: Pro cpu start user code[0m
[0;32mI (292) spi_flash: detected chip: generic[0m
[0;32mI (292) spi_flash: flash io: dio[0m
[0;32mI (293) cpu_start: Starting scheduler on PRO CPU.[0m
[0;32mI (0) cpu_start: Starting scheduler on APP CPU.[0m
Turning off the LED
I'm using:
- Windows 10
- ESP32-WROVER 4.1 kit
- IDF 4.0 ( I have installed all tools with IDF exe installer, but specified IDF folder with unzipped archieve of 4.0 from here https://github.com/espressif/esp-idf/releases)
- espressif eclipse plugin
- default blink example



No single errors occur during build/flashing.

I wonder what could be wrong?

Regards

username
Posts: 528
Joined: Thu May 03, 2018 1:18 pm

Re: Missing IDF version in boot log

Postby username » Sun Feb 16, 2020 4:21 pm

I noticed the same thing. v3.3.1 showed it.

ESP_Angus
Posts: 2344
Joined: Sun May 08, 2016 4:11 am

Re: Missing IDF version in boot log

Postby ESP_Angus » Tue Feb 18, 2020 6:06 am

Hi,

Thanks for pointing this out. Having this value shown for the IDF version makes me think that "git" was not available on the path when the IDF build system ran. In this case it return this value as the result of any Git command (and "git" is run to find the version).

However, the IDF Tools installer for Windows should install Git for Windows if not already installed. Possibly it was already installed, but wasn't added to the PATH?

Can you please check if Git for Windows is installed (either already installed or was installed when the Tools Installer ran), and also please check the output from the following commands:

Code: Select all

echo %PATH%
and

Code: Select all

where git
EDIT: Sorry I just noticed you're using the Eclipse plugin so no easy access to a command line. Still, if you can check the PATH in the project Environment settings and add the Git for Windows "bin" directory path if possible then it might start picking up the version. Have asked my colleague who works on the Ecliplse plugin for more pointers about what may not be working.

ESP_kondalkolipaka
Posts: 188
Joined: Wed Jul 17, 2019 5:26 pm

Re: Missing IDF version in boot log

Postby ESP_kondalkolipaka » Tue Feb 18, 2020 8:37 am

Hello,

Do you see any warning while building a project from eclipse? Please check the CDT build console. If git is missing, it will report it.

Code: Select all

Building in: /Users/kondal/runtime-EclipseApplication95/blink/build
cmake -G Ninja -DCMAKE_TOOLCHAIN_FILE=/Users/kondal/esp/esp-idf/tools/cmake/toolchain-esp32.cmake -DCMAKE_EXPORT_COMPILE_COMMANDS=ON -DIDF_TARGET=esp32 /Users/kondal/runtime-EclipseApplication95/blink
-- Found Git: /usr/bin/git (found version "2.21.0 (Apple Git-122.2)")
Here is the case where git is missing in my eclispe build environment PATH.

Code: Select all

-- Could NOT find Git (missing: GIT_EXECUTABLE) 
CMake Warning at /Users/kondal/esp/esp-idf/tools/cmake/git_submodules.cmake:4 (message):
  Git executable was not found.  Git submodule checks will not be executed.
  If you have any build issues at all, start by adding git executable to the
  PATH and rerun cmake to not see this warning again.
Call Stack (most recent call first):
  /Users/kondal/esp/esp-idf/tools/cmake/idf.cmake:39 (include)
  /Users/kondal/esp/esp-idf/tools/cmake/project.cmake:7 (include)
  CMakeLists.txt:5 (include)
Please attach CDT build console global log(global-build.log). You can follow the below instructions to get it.

Code: Select all

Eclipse Preferences > C/C++ >Build > Logging

ESP_kondalkolipaka
Posts: 188
Joined: Wed Jul 17, 2019 5:26 pm

Re: Missing IDF version in boot log

Postby ESP_kondalkolipaka » Tue Feb 18, 2020 8:46 am

If git is missing in the CDT build environment PATH, this is what I could see in the serial monitor console

Code: Select all

 (235) cpu_start: ELF file SHA256:  75d74957d7ce0379...
I (241) cpu_start: ESP-IDF:          GIT-NOTFOUND
I think you're also facing the similar issue.

Make sure git is part of the system environment PATH, so that it will be automatically available as part of the CDT Build PATH. This is handled during the "install tools" action.

jquecanb
Posts: 1
Joined: Wed Feb 26, 2020 11:20 am

Re: Missing IDF version in boot log

Postby jquecanb » Wed Feb 26, 2020 12:07 pm

Hi,

I had the same issue

Code: Select all

I (39) boot: ESP-IDF -128-NOTFOUND 2nd stage bootloader
I'm using Windows 10 and IDF 4.0.
I installed Python 3.7 and esp-idf release/v4.0 with this installer esp-idf-tools-setup-2.3.exe

I got this message when I was building an app (bootloader section)

Code: Select all

-- Project is not inside a git repository, or git repository has no commits; will not use 'git describe' to determine PROJECT_VER.
Everything looked fine (PATH and Git)

Pulling the esp-idf repository fixed the issue.

I hope this could help.

Who is online

Users browsing this forum: Bing [Bot] and 255 guests