19 Commits
Author SHA1 Message Date
Giulio Benetti eef0aa9f97 package/esp-hosted: drop BR2_PACKAGE_ESP_HOSTED_TARGET_ESP32 choice
As pointed in this PR[0] ESP_SLAVE and CONFIG_TARGET_* became useless after
commit [1] so let's drop the SoC Target choice. The SoC ID is automatically
retrieved via SDIO commands, so no need to specify it.

[0]: https://github.com/espressif/esp-hosted/pull/668
[1]: https://github.com/espressif/esp-hosted/commit/b544b01e201bdef20c680a6902c1495e46dde1ff

Signed-off-by: Giulio Benetti <giulio.benetti@benettiengineering.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
2026-01-01 16:53:18 +01:00
Giulio Benetti e4233b02c1 package/esp-hosted: bump to version 1.0.5.0.3
Drop local patch that has been upstreamed.

Signed-off-by: Giulio Benetti <giulio.benetti@benettiengineering.com>
Signed-off-by: Julien Olivain <ju.o@free.fr>
2025-12-21 13:49:54 +01:00
Giulio Benetti a97e463f33 package/esp-hosted: fix build with Linux 6.15
Add local patch committed upstream to fix building Linux 6.15.

Fixes:
https://autobuild.buildroot.org/results/8cb7f1654b2bc5aa5dbcc5fc1474a4eebcdae8b2/
Signed-off-by: Giulio Benetti <giulio.benetti@benettiengineering.com>
Signed-off-by: Julien Olivain <ju.o@free.fr>
2025-06-16 23:53:02 +02:00
Peter Korsgaard ac53ade192 Merge branch 'next'
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2025-06-12 09:59:11 +02:00
Julien Olivain bd9a6c2b36 package/esp-hosted: fix legal-info
The esp-hosted package was introduced in [1] defining the variable
ESP_HOSTED_LICENSE_FILE (singular). The name should be
ESP_HOSTED_LICENSE_FILES (plural). This typo makes the license file
being ignored during a "make legal-info" which shows a warning at
the end:

    WARNING: esp-hosted-9a2312b0b: cannot save license (ESP_HOSTED_LICENSE_FILES not defined)

Fixing the variable name also reveals the license file path was
incorrect. The "esp_hosted_ng/host/" directory prefix is missing.
Finally, setting the correct path shows the hash was wrong (it was
the hash of the Apache-2.0 [2] file, which corresponds to another
unused code portion). So the license file hash is also changed to
correspond to the correct GPL-2.0 license file.

This commit fixes all the needed esp-hosted legal-info.

[1] https://gitlab.com/buildroot.org/buildroot/-/commit/7b2e5e6550aed4f79461919c6a59e00741eb4b11
[2] https://github.com/espressif/esp-hosted/blob/release/ng-v1.0.4.0.0/LICENSES/Apache-2.0

Cc: Giulio Benetti <giulio.benetti@benettiengineering.com>
Reviewed-by: Giulio Benetti <giulio.benetti@benettiengineering.com>
Signed-off-by: Julien Olivain <ju.o@free.fr>
2025-05-27 21:48:58 +02:00
Giulio Benetti cf8cd11846 package/esp-hosted: bump to version 1.0.4.0.0
Esp-hosted project released a new tarball after almost 3 years where they
only committed patches to git repository. They also defined a template for
releases[1]

Release notes:
https://github.com/espressif/esp-hosted/releases/tag/release%2Fng-v1.0.4.0.0

[1]: https://github.com/espressif/esp-hosted/commit/ced8383c2b8d44b0d15e04dbb424d5a51e7f468c#diff-2e8cb17d6e84161bc5a232fbdf4c0b8893c4330f185c66c564e33ced6ffc864f

Signed-off-by: Giulio Benetti <giulio.benetti@benettiengineering.com>
Signed-off-by: Julien Olivain <ju.o@free.fr>
2025-05-26 21:30:18 +02:00
Giulio Benetti e40db2ac55 package/esp-hosted: bump to version 2025-04-08
This version add support for esp32c5 and local patch has been committed so
drop it.

Signed-off-by: Giulio Benetti <giulio.benetti@benettiengineering.com>
Signed-off-by: Julien Olivain <ju.o@free.fr>
2025-04-09 21:54:29 +02:00
Giulio Benetti e22b828db6 package/esp-hosted: fix build failure with Linux 6.13.0
Add local patch pending upstream to fix renaming of spi_alloc_master() into
spi_alloc_host() during Linux version 6.13.0.

Fixes:
https://autobuild.buildroot.org/results/68ce3721475d259a0db42b7ab84ef08ed7fba00c/
Signed-off-by: Giulio Benetti <giulio.benetti@benettiengineering.com>
Signed-off-by: Julien Olivain <ju.o@free.fr>
2025-04-05 21:32:21 +02:00
Giulio Benetti 3b1d4450a2 package/esp-hosted: bump to version 2024-11-15
It builds up to Linux 6.11.

Signed-off-by: Giulio Benetti <giulio.benetti@benettiengineering.com>
Reviewed-by: Vincent Jardin <vjardin@free.fr>
Signed-off-by: Julien Olivain <ju.o@free.fr>
2024-11-26 20:58:01 +01:00
Giulio Benetti 709cc0f000 package/esp-hosted: bump version to 2024-07-12
Signed-off-by: Giulio Benetti <giulio.benetti@benettiengineering.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
2024-07-13 08:33:33 +02:00
Giulio Benetti 2389750311 package/esp-hosted: bump version to 2024-06-05
Drop both local patches that have been committed upstream.

Signed-off-by: Giulio Benetti <giulio.benetti@benettiengineering.com>
Signed-off-by: Arnout Vandecappelle <arnout@mind.be>
2024-06-19 22:22:58 +02:00
Giulio Benetti 454426961c package/esp-hosted: fix build failure on Linux 6.8.12+
Add local patch pending upstream to fix build failure due to old Linux
Bluetooth API.

Fixes:
http://autobuild.buildroot.net/results/d64fa083ec27c3684d4186d2b1b05e041ad330f5/
http://autobuild.buildroot.net/results/5c4fac191970444e63109a762023c0e60f9693e2/

Signed-off-by: Giulio Benetti <giulio.benetti@benettiengineering.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2024-06-04 08:11:06 +02:00
Giulio Benetti 9fb4ed3a04 package/esp-hosted: bump version to 2024-04-01
Add support for Linux 6.9

Signed-off-by: Giulio Benetti <giulio.benetti@benettiengineering.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
2024-05-01 21:08:27 +02:00
Giulio Benetti 40e36cadf7 package/esp-hosted: bump version to 2024-01-30
* support Linux 6.8
* support ESP32 and ESP32C6 Targets

Signed-off-by: Giulio Benetti <giulio.benetti@benettiengineering.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
2024-02-05 11:37:01 +01:00
Giulio Benetti a382a7d554 package/esp-hosted: bump to version 2023-11-23
Drop local patch applied upstream:
https://github.com/espressif/esp-hosted/commit/12b0ca9c46094c86eb76b5f0eaa626f868efaec8

Signed-off-by: Giulio Benetti <giulio.benetti@benettiengineering.com>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
2023-11-26 22:37:48 +01:00
Giulio Benetti 9a9a41f8df package/esp-hosted: fix build failure on s390x
s390x doesn't support Wi-Fi on Linux so let's disable the package for such
architecture.

Fixes:
http://autobuild.buildroot.net/results/f52e8a14330ff281a7096baa47f387f8c1859345

Signed-off-by: Giulio Benetti <giulio.benetti@benettiengineering.com>
Signed-off-by: Arnout Vandecappelle <arnout@mind.be>
2023-09-21 20:23:43 +02:00
Giulio Benetti 49a37916a8 package/esp-hosted: fix build failure with missing CONFIG_SPI/MMC
Depending on the interface chosen we need to enable Linux CONFIG_SPI or
CONFIG_MMC, so let's do that according to BR2_PACKAGE_ESP_HOSTED_SPI.

Fixes:
http://autobuild.buildroot.net/results/cdf65ad07aba1d86f195576a2317c83aeb3dfce2

Signed-off-by: Giulio Benetti <giulio.benetti@benettiengineering.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
2023-08-22 22:10:07 +02:00
Giulio Benetti cebd9c7c04 package/esp-hosted: fix build failure when Linux CONFIG_PM is not defined
Add local patch pending upstream[1] to guard structure member wowlan that
is only present if CONFIG_PM is defined.

Fixes:
http://autobuild.buildroot.net/results/d47317640de39baabeefb8d9e04fa7f3e2dc873a

[1]: https://github.com/espressif/esp-hosted/pull/254

Signed-off-by: Giulio Benetti <giulio.benetti@benettiengineering.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
2023-08-09 23:38:38 +02:00
Giulio Benetti 7b2e5e6550 package/esp-hosted: add package
This patch adds esp-hosted package that allows to build the Linux
Kernel Driver for Espressif Esp32-* SoCs, that once programmed with
the corresponding firmware behave like a normal Wi-Fi module. Both
SDIO and SPI busses are supported and selectable.

Cc: Jesse Taube <jesse.taube@benettiengineering.com>
Signed-off-by: Giulio Benetti <giulio.benetti@benettiengineering.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
2023-07-31 23:20:27 +02:00