-
Notifications
You must be signed in to change notification settings - Fork 28
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
WEB GUI fails to compile for C6+H2 combination (TZ-638) #58
Comments
ok, I fixed it by setting: Also, I changed the partitions.csv to increase the partitions size of ota_0 & ota_1 to be 1664k I am not sure what the defaults for S3, but maybe you would like to change the default settings for C6? |
@orenc75 The current S3 module on Thread BR board is 4M, the default partition table for S3 is the same to C6, but the C6 firmware seems bigger than S3. So please make the change in your own C6 project. We will probably produce new Thread BR board with 8MB S3 module, we will change the default partition table then. |
Great, thanks for clarifying. Quick question, does it means that the "official" thread border router which come with S3 and 4M does not support web GUI? |
The current Thread BR board with 4M S3 could support Web GUI and OTA, but not too much flash space left. OTA feature could be disabled during development phase, and |
OK, thanks for your answer. I am closing the issue. |
Hi,
The thread border router is working great under v5.3 with C6 instead of S3 as the BR and H2 as the RCP. Connection via UART.
However, when I set "Enable the web server in Thread Border Router", the build fails with the following log:
Executing action: all (aliases: build)
Running ninja in directory /home/eagle/esp_repeat/esp-thread-br/examples/basic_thread_border_router/build
Executing "ninja all"...
[0/1] Re-running CMake...
-- Building ESP-IDF components for target esp32c6
Processing 5 dependencies:
[5/5] idf (5.3.0)
-- Project sdkconfig file /home/eagle/esp_repeat/esp-thread-br/examples/basic_thread_border_router/sdkconfig
Loading defaults file /home/eagle/esp_repeat/esp-thread-br/examples/basic_thread_border_router/sdkconfig.defaults...
warning: unknown kconfig symbol 'LWIP_FORCE_ROUTER_FORWARDING' assigned to 'y' in /home/eagle/esp_repeat/esp-thread-br/examples/basic_thread_border_router/sdkconfig.defaults
-- App "esp_ot_br" version: v1.0-25-gc7f0103
-- Adding linker script /home/eagle/esp_repeat/esp-thread-br/examples/basic_thread_border_router/build/esp-idf/esp_system/ld/memory.ld
-- Adding linker script /home/eagle/esp_repeat/esp-idf/components/esp_system/ld/esp32c6/sections.ld.in
-- Adding linker script /home/eagle/esp_repeat/esp-idf/components/esp_rom/esp32c6/ld/esp32c6.rom.ld
-- Adding linker script /home/eagle/esp_repeat/esp-idf/components/esp_rom/esp32c6/ld/esp32c6.rom.api.ld
-- Adding linker script /home/eagle/esp_repeat/esp-idf/components/esp_rom/esp32c6/ld/esp32c6.rom.rvfp.ld
-- Adding linker script /home/eagle/esp_repeat/esp-idf/components/esp_rom/esp32c6/ld/esp32c6.rom.newlib.ld
-- Adding linker script /home/eagle/esp_repeat/esp-idf/components/esp_rom/esp32c6/ld/esp32c6.rom.version.ld
-- Adding linker script /home/eagle/esp_repeat/esp-idf/components/esp_rom/esp32c6/ld/esp32c6.rom.phy.ld
-- Adding linker script /home/eagle/esp_repeat/esp-idf/components/esp_rom/esp32c6/ld/esp32c6.rom.coexist.ld
-- Adding linker script /home/eagle/esp_repeat/esp-idf/components/esp_rom/esp32c6/ld/esp32c6.rom.net80211.ld
-- Adding linker script /home/eagle/esp_repeat/esp-idf/components/esp_rom/esp32c6/ld/esp32c6.rom.pp.ld
-- Adding linker script /home/eagle/esp_repeat/esp-idf/components/esp_rom/esp32c6/ld/esp32c6.rom.wdt.ld
-- Adding linker script /home/eagle/esp_repeat/esp-idf/components/esp_rom/esp32c6/ld/esp32c6.rom.heap.ld
-- Adding linker script /home/eagle/esp_repeat/esp-idf/components/soc/esp32c6/ld/esp32c6.peripherals.ld
-- Components: app_trace app_update bootloader bootloader_support bt cmock console cxx driver efuse esp-tls esp_adc esp_app_format esp_bootloader_format esp_br_http_ota esp_coex esp_common esp_eth esp_event esp_gdbstub esp_hid esp_http_client esp_http_server esp_https_ota esp_https_server esp_hw_support esp_lcd esp_local_ctrl esp_mm esp_netif esp_netif_stack esp_ot_br_server esp_partition esp_phy esp_pm esp_psram esp_ringbuf esp_rom esp_system esp_timer esp_wifi espcoredump espressif__esp-serial-flasher espressif__esp_ot_cli_extension espressif__esp_rcp_update espressif__mdns esptool_py fatfs freertos hal heap http_parser idf_test ieee802154 iperf json log lwip main mbedtls mqtt newlib nvs_flash nvs_sec_provider openthread partition_table protobuf-c protocol_examples_common protocomm pthread riscv sdmmc soc spi_flash spiffs tcp_transport thread_border_router ulp unity usb vfs wear_levelling wifi_provisioning wpa_supplicant
-- Component paths: /home/eagle/esp_repeat/esp-idf/components/app_trace /home/eagle/esp_repeat/esp-idf/components/app_update /home/eagle/esp_repeat/esp-idf/components/bootloader /home/eagle/esp_repeat/esp-idf/components/bootloader_support /home/eagle/esp_repeat/esp-idf/components/bt /home/eagle/esp_repeat/esp-idf/components/cmock /home/eagle/esp_repeat/esp-idf/components/console /home/eagle/esp_repeat/esp-idf/components/cxx /home/eagle/esp_repeat/esp-idf/components/driver /home/eagle/esp_repeat/esp-idf/components/efuse /home/eagle/esp_repeat/esp-idf/components/esp-tls /home/eagle/esp_repeat/esp-idf/components/esp_adc /home/eagle/esp_repeat/esp-idf/components/esp_app_format /home/eagle/esp_repeat/esp-idf/components/esp_bootloader_format /home/eagle/esp_repeat/esp-thread-br/components/esp_br_http_ota /home/eagle/esp_repeat/esp-idf/components/esp_coex /home/eagle/esp_repeat/esp-idf/components/esp_common /home/eagle/esp_repeat/esp-idf/components/esp_eth /home/eagle/esp_repeat/esp-idf/components/esp_event /home/eagle/esp_repeat/esp-idf/components/esp_gdbstub /home/eagle/esp_repeat/esp-idf/components/esp_hid /home/eagle/esp_repeat/esp-idf/components/esp_http_client /home/eagle/esp_repeat/esp-idf/components/esp_http_server /home/eagle/esp_repeat/esp-idf/components/esp_https_ota /home/eagle/esp_repeat/esp-idf/components/esp_https_server /home/eagle/esp_repeat/esp-idf/components/esp_hw_support /home/eagle/esp_repeat/esp-idf/components/esp_lcd /home/eagle/esp_repeat/esp-idf/components/esp_local_ctrl /home/eagle/esp_repeat/esp-idf/components/esp_mm /home/eagle/esp_repeat/esp-idf/components/esp_netif /home/eagle/esp_repeat/esp-idf/components/esp_netif_stack /home/eagle/esp_repeat/esp-thread-br/components/esp_ot_br_server /home/eagle/esp_repeat/esp-idf/components/esp_partition /home/eagle/esp_repeat/esp-idf/components/esp_phy /home/eagle/esp_repeat/esp-idf/components/esp_pm /home/eagle/esp_repeat/esp-idf/components/esp_psram /home/eagle/esp_repeat/esp-idf/components/esp_ringbuf /home/eagle/esp_repeat/esp-idf/components/esp_rom /home/eagle/esp_repeat/esp-idf/components/esp_system /home/eagle/esp_repeat/esp-idf/components/esp_timer /home/eagle/esp_repeat/esp-idf/components/esp_wifi /home/eagle/esp_repeat/esp-idf/components/espcoredump /home/eagle/esp_repeat/esp-thread-br/examples/basic_thread_border_router/managed_components/espressif__esp-serial-flasher /home/eagle/esp_repeat/esp-thread-br/examples/basic_thread_border_router/managed_components/espressif__esp_ot_cli_extension /home/eagle/esp_repeat/esp-thread-br/examples/basic_thread_border_router/managed_components/espressif__esp_rcp_update /home/eagle/esp_repeat/esp-thread-br/examples/basic_thread_border_router/managed_components/espressif__mdns /home/eagle/esp_repeat/esp-idf/components/esptool_py /home/eagle/esp_repeat/esp-idf/components/fatfs /home/eagle/esp_repeat/esp-idf/components/freertos /home/eagle/esp_repeat/esp-idf/components/hal /home/eagle/esp_repeat/esp-idf/components/heap /home/eagle/esp_repeat/esp-idf/components/http_parser /home/eagle/esp_repeat/esp-idf/components/idf_test /home/eagle/esp_repeat/esp-idf/components/ieee802154 /home/eagle/esp_repeat/esp-idf/examples/common_components/iperf /home/eagle/esp_repeat/esp-idf/components/json /home/eagle/esp_repeat/esp-idf/components/log /home/eagle/esp_repeat/esp-idf/components/lwip /home/eagle/esp_repeat/esp-thread-br/examples/basic_thread_border_router/main /home/eagle/esp_repeat/esp-idf/components/mbedtls /home/eagle/esp_repeat/esp-idf/components/mqtt /home/eagle/esp_repeat/esp-idf/components/newlib /home/eagle/esp_repeat/esp-idf/components/nvs_flash /home/eagle/esp_repeat/esp-idf/components/nvs_sec_provider /home/eagle/esp_repeat/esp-idf/components/openthread /home/eagle/esp_repeat/esp-idf/components/partition_table /home/eagle/esp_repeat/esp-idf/components/protobuf-c /home/eagle/esp_repeat/esp-idf/examples/common_components/protocol_examples_common /home/eagle/esp_repeat/esp-idf/components/protocomm /home/eagle/esp_repeat/esp-idf/components/pthread /home/eagle/esp_repeat/esp-idf/components/riscv /home/eagle/esp_repeat/esp-idf/components/sdmmc /home/eagle/esp_repeat/esp-idf/components/soc /home/eagle/esp_repeat/esp-idf/components/spi_flash /home/eagle/esp_repeat/esp-idf/components/spiffs /home/eagle/esp_repeat/esp-idf/components/tcp_transport /home/eagle/esp_repeat/esp-thread-br/examples/common/thread_border_router /home/eagle/esp_repeat/esp-idf/components/ulp /home/eagle/esp_repeat/esp-idf/components/unity /home/eagle/esp_repeat/esp-idf/components/usb /home/eagle/esp_repeat/esp-idf/components/vfs /home/eagle/esp_repeat/esp-idf/components/wear_levelling /home/eagle/esp_repeat/esp-idf/components/wifi_provisioning /home/eagle/esp_repeat/esp-idf/components/wpa_supplicant
-- Configuring done
-- Generating done
-- Build files have been written to: /home/eagle/esp_repeat/esp-thread-br/examples/basic_thread_border_router/build
[0/1] Re-running CMake...
-- Building ESP-IDF components for target esp32c6
-- Project sdkconfig file /home/eagle/esp_repeat/esp-thread-br/examples/basic_thread_border_router/sdkconfig
-- Adding linker script /home/eagle/esp_repeat/esp-idf/components/soc/esp32c6/ld/esp32c6.peripherals.ld
-- Bootloader project name: "bootloader" version: 1
-- Adding linker script /home/eagle/esp_repeat/esp-idf/components/esp_rom/esp32c6/ld/esp32c6.rom.ld
-- Adding linker script /home/eagle/esp_repeat/esp-idf/components/esp_rom/esp32c6/ld/esp32c6.rom.api.ld
-- Adding linker script /home/eagle/esp_repeat/esp-idf/components/esp_rom/esp32c6/ld/esp32c6.rom.rvfp.ld
-- Adding linker script /home/eagle/esp_repeat/esp-idf/components/esp_rom/esp32c6/ld/esp32c6.rom.newlib.ld
-- Adding linker script /home/eagle/esp_repeat/esp-idf/components/esp_rom/esp32c6/ld/esp32c6.rom.phy.ld
-- Adding linker script /home/eagle/esp_repeat/esp-idf/components/esp_rom/esp32c6/ld/esp32c6.rom.wdt.ld
-- Adding linker script /home/eagle/esp_repeat/esp-idf/components/esp_rom/esp32c6/ld/esp32c6.rom.version.ld
-- Adding linker script /home/eagle/esp_repeat/esp-idf/components/bootloader/subproject/main/ld/esp32c6/bootloader.ld
-- Adding linker script /home/eagle/esp_repeat/esp-idf/components/bootloader/subproject/main/ld/esp32c6/bootloader.rom.ld
-- Components: bootloader bootloader_support efuse esp_app_format esp_bootloader_format esp_common esp_hw_support esp_rom esp_system esptool_py freertos hal log main micro-ecc newlib partition_table riscv soc spi_flash
-- Component paths: /home/eagle/esp_repeat/esp-idf/components/bootloader /home/eagle/esp_repeat/esp-idf/components/bootloader_support /home/eagle/esp_repeat/esp-idf/components/efuse /home/eagle/esp_repeat/esp-idf/components/esp_app_format /home/eagle/esp_repeat/esp-idf/components/esp_bootloader_format /home/eagle/esp_repeat/esp-idf/components/esp_common /home/eagle/esp_repeat/esp-idf/components/esp_hw_support /home/eagle/esp_repeat/esp-idf/components/esp_rom /home/eagle/esp_repeat/esp-idf/components/esp_system /home/eagle/esp_repeat/esp-idf/components/esptool_py /home/eagle/esp_repeat/esp-idf/components/freertos /home/eagle/esp_repeat/esp-idf/components/hal /home/eagle/esp_repeat/esp-idf/components/log /home/eagle/esp_repeat/esp-idf/components/bootloader/subproject/main /home/eagle/esp_repeat/esp-idf/components/bootloader/subproject/components/micro-ecc /home/eagle/esp_repeat/esp-idf/components/newlib /home/eagle/esp_repeat/esp-idf/components/partition_table /home/eagle/esp_repeat/esp-idf/components/riscv /home/eagle/esp_repeat/esp-idf/components/soc /home/eagle/esp_repeat/esp-idf/components/spi_flash
-- Configuring done
-- Generating done
-- Build files have been written to: /home/eagle/esp_repeat/esp-thread-br/examples/basic_thread_border_router/build/bootloader
[1/1] cd /home/eagle/esp_repeat/esp-thread-br/examples/basic_thread_border_router/build/bootloader/esp-idf/esptool_py && /home/eagle/.es... --offset 0x8000 bootloader 0x0 /home/eagle/esp_repeat/esp-thread-br/examples/basic_thread_border_router/build/bootloader/bootloader.bin
Bootloader binary size 0x5370 bytes. 0x2c90 bytes (35%) free.
[1232/1233] Generating binary image from built executable
esptool.py vv4.8.dev1
Creating esp32c6 image...
Merged 2 ELF sections
Successfully created esp32c6 image.
Generated /home/eagle/esp_repeat/esp-thread-br/examples/basic_thread_border_router/build/esp_ot_br.bin
[1233/1233] cd /home/eagle/esp_repeat/esp-thread-br/examples/basic_thread_border_router/build/esp-idf/esptool_py && /home/eagle/.espress...r/build/partition_table/partition-table.bin /home/eagle/esp_repeat/esp-thread-br/examples/basic_thread_border_router/build/esp_ot_br.bin
FAILED: esp-idf/esptool_py/CMakeFiles/app_check_size /home/eagle/esp_repeat/esp-thread-br/examples/basic_thread_border_router/build/esp-idf/esptool_py/CMakeFiles/app_check_size
cd /home/eagle/esp_repeat/esp-thread-br/examples/basic_thread_border_router/build/esp-idf/esptool_py && /home/eagle/.espressif/python_env/idf5.3_py3.10_env/bin/python /home/eagle/esp_repeat/esp-idf/components/partition_table/check_sizes.py --offset 0x8000 partition --type app /home/eagle/esp_repeat/esp-thread-br/examples/basic_thread_border_router/build/partition_table/partition-table.bin /home/eagle/esp_repeat/esp-thread-br/examples/basic_thread_border_router/build/esp_ot_br.bin
Error: All app partitions are too small for binary esp_ot_br.bin size 0x19b1c0:
ninja: build stopped: subcommand failed.
ninja failed with exit code 1, output of the command is in the /home/eagle/esp_repeat/esp-thread-br/examples/basic_thread_border_router/build/log/idf_py_stderr_output_3229 and /home/eagle/esp_repeat/esp-thread-br/examples/basic_thread_border_router/build/log/idf_py_stdout_output_3229
It seems like the defined partitions are too small to accumulate the web server.
Maybe the partition definitions are wrong for C6 as BR? I am using ESP32-C6-WROOM-1 MAN8 and ESP32-H2-MINI1 MBN4.
The text was updated successfully, but these errors were encountered: