Logo RuyiSDK
← Back to ESP32-C6
Zephyr @ ESP32-C6 Test Report

System Version

Status

BASIC

Last Update

2025-05-19

Zephyr ESP32-C6 Test Report

Test Environment

Operating System Information

Hardware Information

  • ESP32-C6-DevKitC-1

Installation Steps

Install Zephyr

Configure the Zephyr environment according to the Zephyr documentation:
https://docs.zephyrproject.org/latest/develop/getting_started/index.html

Prepare Project Repository

cd zephyr

Compile Code

west build -p always -b esp32c6_devkitc samples/basic/sys_heap

Flash Image

After confirming the connection to ESP32-C6, flash the image.
In a Linux development environment, you may need to add and apply udev rules in advance (the GROUP may need to be changed depending on the distribution).

west flash
west espressif monitor

(To exit the serial monitor, type Ctrl-].)

Observe Log

Connect the development board via serial port.

Expected Result

The system starts normally, and information can be viewed through the onboard serial port.

Actual Result

Basic

Startup Information

ESP-ROM:esp32c6-20220919
Build:Sep 19 2022
rst:0x1 (POWERON),boot:0xc (SPI_FAST_FLASH_BOOT)
SPIWP:0xee
mode:DIO, clock div:2
load:0x40800000,len:0x868c
load:0x408086a0,len:0x181c
SHA-256 comparison failed:
Calculated: 641afa743a4b73640bb3d9d421a45aecaba7d9dfc1f559250c8f980cf1abedf4
Expected: 0000000010610000000000000000000000000000000000000000000000000000
Attempting to boot anyway...
entry 0x40801904
I (46) soc_init: ESP Simple boot
I (47) soc_init: compile time May 16 2025 17:22:37
I (47) soc_init: chip revision: v0.0
I (47) flash_init: SPI Speed      : 80MHz
I (50) flash_init: SPI Mode       : DIO
I (53) flash_init: SPI Flash Size : 8MB
I (57) boot: DRAM: lma 0x00000020 vma 0x40800000 len 0x868c   (34444)
I (63) boot: DRAM: lma 0x000086b4 vma 0x408086a0 len 0x181c   (6172)
I (69) boot: IRAM: lma 0x00009ee8 vma 0x00000000 len 0x6110   (24848)
I (75) boot: IMAP: lma 0x00010000 vma 0x42800000 len 0x740    (1856)
I (81) boot: IRAM: lma 0x00010748 vma 0x00000000 len 0xf8b0   (63664)
I (87) boot: IMAP: lma 0x00020000 vma 0x42000000 len 0x341c   (13340)
I (94) boot: Image with 6 segments
I (97) boot: IROM segment: paddr=00020000h, vaddr=42000000h, size=0341Ch ( 13340) map
I (104) boot: DROM segment: paddr=00010000h, vaddr=42800000h, size=00740h (  1856) map
I (123) boot: libc heap size 448 kB.
I (123) spi_flash: detected chip: gd
I (124) spi_flash: flash io: dio
*** Booting Zephyr OS build v4.1.0-3070-g91dfa23f80ee ***
System heap sample

allocated 0, free 196, max allocated 0, heap size 256
allocated 156, free 36, max allocated 156, heap size 256
allocated 100, free 92, max allocated 156, heap size 256
allocated 0, free 196, max allocated 156, heap size 256
There are 3 heaps allocated:
        0 - address 0x40809ea8 allocated 40, free 3968, max allocated 52, heap size 256
        1 - address 0x4080c59c allocated 0, free 458688, max allocated 0, heap size 256
        2 - address 0x4080c2f8 allocated 0, free 196, max allocated 156, heap size 256

Test Criteria

  • Test Success: The actual result matches the expected result.
  • Test Failure: The actual result does not match the expected result.

Test Conclusion

Test Success