打 psram octal 120m补丁问题

5761193jia
Posts: 16
Joined: Mon Nov 07, 2022 8:22 am

打 psram octal 120m补丁问题

Postby 5761193jia » Fri Apr 21, 2023 3:44 am

按照官网esp-dev-kits / esp32-s3-lcd-ev-board / factory中的方法,出现以下提示,请是什么原因,如何才能正确打好补丁呢?
$ git apply ../factory/patch/release5.0_psram_octal_120m.patch
../factory/patch/release5.0_psram_octal_120m.patch:461: trailing whitespace.
# Legacy, F8R8, Flash 120M DDR, PSRAM disable
../factory/patch/release5.0_psram_octal_120m.patch:462: trailing whitespace.

../factory/patch/release5.0_psram_octal_120m.patch:463: trailing whitespace.
CONFIG_SPI_FLASH_USE_LEGACY_IMPL=y
../factory/patch/release5.0_psram_octal_120m.patch:464: trailing whitespace.
CONFIG_ESPTOOLPY_OCT_FLASH=y
../factory/patch/release5.0_psram_octal_120m.patch:465: trailing whitespace.
CONFIG_ESPTOOLPY_FLASH_SAMPLE_MODE_DTR=y
error: patch failed: components/esp_hw_support/port/esp32s3/rtc_clk.c:159
error: components/esp_hw_support/port/esp32s3/rtc_clk.c: patch does not apply
error: patch failed: components/esp_psram/esp32s3/Kconfig.spiram:87
error: components/esp_psram/esp32s3/Kconfig.spiram: patch does not apply
error: patch failed: components/hal/esp32s3/include/hal/spimem_flash_ll.h:575
error: components/hal/esp32s3/include/hal/spimem_flash_ll.h: patch does not apply
error: patch failed: components/spi_flash/esp32s3/mspi_timing_tuning_configs.h:54
error: components/spi_flash/esp32s3/mspi_timing_tuning_configs.h: patch does not apply
error: patch failed: components/spi_flash/esp32s3/spi_timing_config.c:211
error: components/spi_flash/esp32s3/spi_timing_config.c: patch does not apply
error: patch failed: components/spi_flash/esp32s3/spi_timing_config.h:126
error: components/spi_flash/esp32s3/spi_timing_config.h: patch does not apply
error: patch failed: components/spi_flash/spi_flash_timing_tuning.c:6
error: components/spi_flash/spi_flash_timing_tuning.c: patch does not apply
error: tools/test_apps/system/flash_psram/sdkconfig.ci.f8r8_120ddr: already exists in working directory
error: tools/test_apps/system/flash_psram/sdkconfig.ci.f8r8_120ddr_120ddr: already exists in working directory
另外,想问一下,对于480*480和800*480的LCD是不是必需要打120m的patch?

ESP_lzw655
Posts: 27
Joined: Mon Oct 10, 2022 2:47 am

Re: 打 psram octal 120m补丁问题

Postby ESP_lzw655 » Tue Apr 25, 2023 8:55 am

1. 看报错是 windows 下的问题,请参考 esp-dev-kits 最新的 README https://github.com/espressif/esp-dev-ki ... #idf-patch,确定 IDF 分支是否满足要求,然后使用文档中的新命令打补丁
2. 不是必须,但是对于性能提升有帮助,而且 esp-dev-kits 下的部分 example 需要开启这一特性

Who is online

Users browsing this forum: No registered users and 30 guests