Replies: 23 comments 41 replies
-
@ajf58 , is your plan to support the DevKitC board once C6 is supported or do you plan to go all for C6? |
Beta Was this translation helpful? Give feedback.
-
@rftafas, I'm planning on supporting the DevKitC, and this in turn means adding support for the ESP32-C6. |
Beta Was this translation helpful? Give feedback.
-
@ajf58, are you also planing to use hal_espressif? It's not available for C6 yet. |
Beta Was this translation helpful? Give feedback.
-
@rftafas I am, yes. AIUI https://github.com/zephyrproject-rtos/hal_espressif is a fork of https://github.com/espressif/esp-idf with some Zephyr Project modifications. Whilst the former doesn't have support for the ESP32-C6, the latter does (in v5.1), so we can update hal_espressif as required. |
Beta Was this translation helpful? Give feedback.
-
@ajf58 tks for explaining. As we released documentation for ESP32-C6, I wanted to make sure you wouldn't go down to register level. As for hal_espressif and IDF, we have some ongoing internal work to make it cleaner. If you find shortcomings, let us know. |
Beta Was this translation helpful? Give feedback.
-
Thanks. In the C6's TRM there's a few sections that are in progress, e.g. "Low-power Management (RTC_CNTL)" is currently 11% complete. Do you know if there's a planned update to the TRM? |
Beta Was this translation helpful? Give feedback.
-
Unfortunately, I can't state an specific date. It will come, eventually. |
Beta Was this translation helpful? Give feedback.
-
Maybe your can try with that if you need ESP-IDF Release v5.1: Obtaining ESP-IDF Release v5.1 (beta)
|
Beta Was this translation helpful? Give feedback.
-
We are working on S3 and there is a few PRs to be timely submitted. So, unfortunately due to that, no C6 yet. We have started planning for it, though. |
Beta Was this translation helpful? Give feedback.
-
FWIW, we started C6. Major hal_espressif improvements to come in order to support it. :) |
Beta Was this translation helpful? Give feedback.
-
Could this issue be kept open until support is added/implemented, or is there another issue tracking this? |
Beta Was this translation helpful? Give feedback.
-
This became a lower priority activity for me, but I've got a more time to look at this now, and it seems that in ESP-IDF 5.1 there's support for the C6, so I'll take another look. |
Beta Was this translation helpful? Give feedback.
-
In that case, I don't suggest using plain ESP-IDF. We are moving away from it and have been using something that extracts only the HAL from IDF repository. Next hal_espressif will look a lot like this repository: https://github.com/espressif/esp-hal-3rdparty/tree/release/v5.1.c . It probably will jump from release to release. We are doing internal tests and when all regressions are fixed, it will replace current hal_espressif. Only then C6 work will start. Finally, a WARNING: end users still are not encouraged to use any form of hal (be it either the hal_espressif or esp-hal-3rdparty) for applications. These repos are intended for system design only, hal is not a public API and it will change without notice. If there is real interest in engaging in pre-alfa, let me know and I'll see what I can do to help. |
Beta Was this translation helpful? Give feedback.
-
Hi @ajf58 @rftafas , |
Beta Was this translation helpful? Give feedback.
-
Zephyr PR compatible to hal5: #65942 - IT IS A WIP As usual, go ahead with a pioneer mindset, expecting the most defying dangers of the jungle. For product development, stay safe using Zephyr main. |
Beta Was this translation helpful? Give feedback.
-
Hi @ajf58, I created a branch basing on both https://github.com/ajf58/zephyr/tree/esp32c6 and #65942 and I started compiling a basic hello-world sample. I corrected some Here is the branch if you are interested: https://github.com/JDuchniewicz/zephyr/tree/esp32_c6_devkitc_1_hal_5_1 I am right now at a stage where I am compiling and getting missing include paths due to missing esp32c6 config files in hal-espressif - I looked at the v5.1 but there is such directory yet. I will try copying esp32c3 hal files and adjusting them accordingly as a workaround for now :) |
Beta Was this translation helpful? Give feedback.
-
I was informed some people are still tracking this. So, the current draft of HAL5.1/Zephyr is #68760 |
Beta Was this translation helpful? Give feedback.
-
Enabling Simple BootI can build firmware that seems to be valid enough that it can be flashed onto the target and runs. During initialization I get some problems. Here's the current output from
I'd like to get my local work into a more useful state for sahring more widely, but I thought for now this might be useful data for others to see. My initial thoughts are that perhaps I've got something misconfigured in the cache logic. |
Beta Was this translation helpful? Give feedback.
-
The two branches that need integrating are: Zephyr RTOSmain...ajf58:zephyr:esp32c6_hal_v5_1 Espressif HALzephyrproject-rtos/hal_espressif@zephyr...ajf58:hal_espressif:esp32c6_bringup Is it worth me opening draft PRs at this point to have a way for people to easily comment on specific changes? N.b. the small matter of "it's crashing" needs to be fixed, but perhaps this is worth having a few more people look at. My current goal is to get OpenOCD + GDB working with the zehpyr.elf so I can meaningfully set a hardware breakpoint and step through the code. |
Beta Was this translation helpful? Give feedback.
-
hi guys, we have a preliminary version of ESP32C6 support with the basic drivers and Simple Boot: #72427 we'll be working on it to have it integrated in the main branch, as more testing and drivers support is needed. Thank you |
Beta Was this translation helpful? Give feedback.
-
I'm trying to decide if I should keep the ESP32-C6 in my product or swap it out with the S3. I would like to use the c6, but how much of this could I expect to function in its current state? Any ideas on this? Has anyone been able to use the |
Beta Was this translation helpful? Give feedback.
-
C6 initial support was merged. |
Beta Was this translation helpful? Give feedback.
-
Is this request related to a missing driver support for a particular hardware platform, SoC or board? Please describe.
Describe in details the hardware support being requested and why this support benefits Zephyr.
From Espressif's website at https://www.espressif.com/en/products/socs/esp32-c6
As with other SoCs from Espressif, there are modules built around the SoC, as well as development kits that support the module.
This is a proposal to:
Describe why you are asking for this support?
Describe why you are asking for this support instead of contributing it directly to the tree
I'm raising this issue to give visibility upstream of what I'm working on in my fork at https://github.com/ajf58/zephyr/tree/esp32c6 , so that others may contribute either directly and/or avoid duplication of effort.
If this is a new board or SoC, please state whether you are willing to maintain the Zephyr support for it if it is included in the main tree
Yes.
Additional context
Add any other context or graphics (drag-and-drop an image) about the hardware here.
Press releases and general information can be found on Espressif's website at https://www.espressif.com/en/products/socs/esp32-c6
Beta Was this translation helpful? Give feedback.
All reactions