I am trying to get secure boot working.
I did this originally with no problem, but have since re-installed as per (stable) instructions on both Mac and Linux and both give me an error making bootloader.
[Codebox]
build/bootloader/efuse/libefuse.a(esp_efuse_utility.o):(.literal.esp_efuse_utility_burn_efuses+0x18): undefined reference to `esp_clk_apb_freq'
build/bootloader/efuse/libefuse.a(esp_efuse_utility.o): In function `esp_efuse_utility_burn_efuses':
esp-idf/components/efuse/src/esp_efuse_utility.c:214: undefined reference to `esp_clk_apb_freq'
collect2: error: ld returned 1 exit status
[/Codebox]
Any suggestions? Yes, I have deleted the esp-idf and installed from stratch with no luck, and started a new project and so on. Also set bootloader logging too none so not too big.
Cannot build boot loader (esp_efuse_utility_burn_efuses missing esp_clk_apb_freq)
- TheRealRevK
- Posts: 9
- Joined: Mon Aug 26, 2019 7:32 pm
Re: Cannot build boot loader (esp_efuse_utility_burn_efuses missing esp_clk_apb_freq)
Hi RevK,
What ESP-IDF version do you have? (output from "git describe --always" in the IDF directory will show this).
Angus
What ESP-IDF version do you have? (output from "git describe --always" in the IDF directory will show this).
Angus
- TheRealRevK
- Posts: 9
- Joined: Mon Aug 26, 2019 7:32 pm
Re: Cannot build boot loader (esp_efuse_utility_burn_efuses missing esp_clk_apb_freq)
Sorry, should have said that.
v4.1-dev-58-g02c7c3885
v4.1-dev-58-g02c7c3885
Re: Cannot build boot loader (esp_efuse_utility_burn_efuses missing esp_clk_apb_freq)
Thanks for that info. I can reproduce this as well, will let you know once a fix is available.
-
- Posts: 13
- Joined: Tue Feb 05, 2019 7:31 am
Re: Cannot build boot loader (esp_efuse_utility_burn_efuses missing esp_clk_apb_freq)
Hi TheRealRevK!
Thanks for your report. I created a fix for it. It will be merged soon. You can use this patch to resolve this issue.
Thanks for your report. I created a fix for it. It will be merged soon. You can use this patch to resolve this issue.
- TheRealRevK
- Posts: 9
- Joined: Mon Aug 26, 2019 7:32 pm
- TheRealRevK
- Posts: 9
- Joined: Mon Aug 26, 2019 7:32 pm
Re: Cannot build boot loader (esp_efuse_utility_burn_efuses missing esp_clk_apb_freq)
I did a pull, and now v4.1-dev-104-gaa087667d
make menuconfig now broken!
clang: error: unknown argument: '-n'
make menuconfig now broken!
clang: error: unknown argument: '-n'
- TheRealRevK
- Posts: 9
- Joined: Mon Aug 26, 2019 7:32 pm
Re: Cannot build boot loader (esp_efuse_utility_burn_efuses missing esp_clk_apb_freq)
OK menuconfig works on linux but not on Mac
Re: Cannot build boot loader (esp_efuse_utility_burn_efuses missing esp_clk_apb_freq)
Hi RevK,
A fix for this should be merged soon. You can track the status and see a workaround here: https://github.com/espressif/esp-idf/issues/3975
Angus
Who is online
Users browsing this forum: No registered users and 288 guests