NG mode, esp firmware and hosted driver can’t be compatible with older versions
Hi @kapilkedawat. HI @Shreyas0-7. When I upgrade separately, only esp firmware or hosted driver, the esp32 unable to communicate host. How should I maintain my old product
[ 9.323200] esp32_spi: loading out-of-tree module taints kernel.
[ 9.542096] esp32_spi: spi_dev_init: ESP32 peripheral is registered to SPI bus [0],chip select [0], SPI Clock [30]
[ 12.641884] esp32_spi: process_esp_bootup_event: Received ESP bootup event
[ 12.647475] esp32_spi: process_event_esp_bootup: Bootup Event tag: 3
[ 12.653806] esp32_spi: esp_validate_chipset: Chipset=ESP32-C3 ID=05 detected over SPI
[ 12.661531] esp32_spi: process_event_esp_bootup: Bootup Event tag: 2
[ 12.667948] esp32_spi: process_event_esp_bootup: Bootup Event tag: 0
[ 12.674251] esp32_spi: process_event_esp_bootup: Bootup Event tag: 1
[ 12.680653] esp32_spi: process_fw_data: Length not matching to firmware data size
[ 12.688089] esp32_spi: process_event_esp_bootup: failed to process tag=1 in bootup event
@lwj850533527 suggest to rebase your code.. also may we ask what kind of changes do you have in host/firmware?
Hi @kapilkedawat. I upgrade separately only esp firmware, but hosted driver didn't upgrade. I think the issue because of the commit https://github.com/espressif/esp-hosted/commit/2e6603687a2dab44e1ef4a6fdf615b61b2b4bd3a
Hi @lwj850533527, Please don't only upgrade firmware.. host and firmware always supposed to be upgraded in sync..
Hi @kapilkedawat. At present, there is no upgrade channel for firmware.
How should I maintain my old product
Esp firmware and hosted driver can’t be compatible with older versions.
@lwj850533527 will share OTA patch with you.
@Shreyas0-7 please help..
Hey @lwj850533527 please find the below patch
hosted_ota.zip
This patch has changes for fw too, please flash these changes for firmware once
Later on ota can be done by using host using this command
cd {home}/esp_hosted/esp_hosted_ng/host/
./rpi_init.sh transport ota_file=/path/to/ota_file"
where transport can be spi or sdio
Also you need to follow this guide inorder to use rpi_init on your device
https://github.com/espressif/esp-hosted/blob/master/esp_hosted_ng/docs/setup.md#11-host-software-setup