Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[esp32-p4] cannot move location counter backwards (IDFGH-14193) #14992

Closed
3 tasks done
chegewara opened this issue Dec 6, 2024 · 3 comments
Closed
3 tasks done

[esp32-p4] cannot move location counter backwards (IDFGH-14193) #14992

chegewara opened this issue Dec 6, 2024 · 3 comments
Assignees
Labels
Status: Opened Issue is new Type: Bug bugs in IDF

Comments

@chegewara
Copy link
Contributor

chegewara commented Dec 6, 2024

Answers checklist.

  • I have read the documentation ESP-IDF Programming Guide and the issue is not addressed there.
  • I have updated my IDF branch (master or release) to the latest version and checked that the issue is present there.
  • I have searched the issue tracker for a similar issue and not found a similar issue.

IDF version.

9106c43

Operating System used.

Linux

How did you build your project?

Command line with idf.py

If you are using Windows, please specify command line type.

None

What is the expected behavior?

Hi team,
i updated esp-idf master today and encountered few problems. Here is one i dont know how to deal with:

.espressif/tools/riscv32-esp-elf/esp-14.2.0_20240906/riscv32-esp-elf/bin/../lib/gcc/riscv32-esp-elf/14.2.0/../../../../riscv32-esp-elf/bin/ld:sections.ld:743 cannot move location counter backwards (from 480bc221 to 480b9468)
collect2: error: ld returned 1 exit status
ninja: build stopped: subcommand failed.
ninja failed with exit code 1

Thanks

What is the actual behavior?

Cant build with error

Steps to reproduce.

Here are options i changed in menuconfig

CONFIG_IDF_TARGET="esp32p4"
CONFIG_ESPTOOLPY_FLASHSIZE_16MB=y
CONFIG_PARTITION_TABLE_SINGLE_APP_LARGE=y
CONFIG_SPIRAM=y
CONFIG_SPIRAM_SPEED_200M=y
CONFIG_SPIRAM_XIP_FROM_PSRAM=y
CONFIG_SPIRAM_ALLOW_BSS_SEG_EXTERNAL_MEMORY=y
CONFIG_SPIRAM_ALLOW_NOINIT_SEG_EXTERNAL_MEMORY=y
CONFIG_ESP_HOST_WIFI_ENABLED=y
CONFIG_FATFS_LFN_HEAP=y
CONFIG_FREERTOS_HZ=1000
CONFIG_IDF_EXPERIMENTAL_FEATURES=y

Build or installation Logs.

No response

More Information.

No response

EDIT it pop up when i am trying to run wifi on P4 devkit

@chegewara chegewara added the Type: Bug bugs in IDF label Dec 6, 2024
@github-actions github-actions bot changed the title [esp32-p4] cannot move location counter backwards [esp32-p4] cannot move location counter backwards (IDFGH-14193) Dec 6, 2024
@espressif-bot espressif-bot added the Status: Opened Issue is new label Dec 6, 2024
@chegewara
Copy link
Contributor Author

I tracked down it to this command

    wifi_init_config_t cfg = WIFI_INIT_CONFIG_DEFAULT();
    ESP_RETURN_ON_ERROR(esp_wifi_init(&cfg), TAG, "failed to init wifi");

@bryghtlabs-richard
Copy link
Contributor

bryghtlabs-richard commented Dec 9, 2024

Seems like your program is too large for the available program(or other memory at specified address) size.

@chegewara
Copy link
Contributor Author

Since espressif have no interest to test and solve the issue i am closing it.
I found which sdkconfig option is responsible for that error message, so i dont need more assistance with it.

Thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Status: Opened Issue is new Type: Bug bugs in IDF
Projects
None yet
Development

No branches or pull requests

4 participants