etc:users:jcmvbkbc:linux-xtensa:esp32s3
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionNext revisionBoth sides next revision | ||
etc:users:jcmvbkbc:linux-xtensa:esp32s3 [2023/10/22 22:44] – jcmvbkbc | etc:users:jcmvbkbc:linux-xtensa:esp32s3 [2024/05/18 04:46] – jcmvbkbc | ||
---|---|---|---|
Line 5: | Line 5: | ||
* https:// | * https:// | ||
* https:// | * https:// | ||
- | * https:// | + | * https:// |
- | * https:// | + | * https:// |
- | * https:// | + | * https:// |
- | * https:// | + | * https:// |
- | * https:// | + | * https:// |
* https:// | * https:// | ||
Scripts with all steps below: https:// | Scripts with all steps below: https:// | ||
+ | |||
+ | ===== Details ===== | ||
+ | |||
+ | * [[.: | ||
+ | * [[.: | ||
+ | * [[.: | ||
+ | * [[.: | ||
+ | * [[.: | ||
===== Things that work ===== | ===== Things that work ===== | ||
- | * WiFi. Use the script that builds firmware based on esp-hosted. It runs on core 0, linux runs on core 1, special linux IPC is used for communication. WiFi transport that uses linux IPC is added both to the firmware and to the linux kernel wifi driver. | + | * WiFi. Use the script that builds firmware based on esp-hosted. It runs on core 0, linux runs on core 1, special linux IPC is used for communication. WiFi transport that uses linux IPC is added both to the firmware and to the linux kernel wifi driver. Not all wifi security options may be working, e.g. open and wpa2-psk are working and 802.11w is not. |
* Writing to FLASH and using ESP FLASH partition table. Driver based on linux IPC sends FLASH-related requests to the firmware. Default configuration has an etc partition that is flashed with /etc file system and mounted at boot time. The file system is writable and it can be used to store things like wpa_supplicant.conf, | * Writing to FLASH and using ESP FLASH partition table. Driver based on linux IPC sends FLASH-related requests to the firmware. Default configuration has an etc partition that is flashed with /etc file system and mounted at boot time. The file system is writable and it can be used to store things like wpa_supplicant.conf, | ||
- | * USB serial. It is visible as the / | + | * USB serial. It is visible as the / |
* GPIO, including interrupts. Software I2C over GPIO and software SPI over GPIO. | * GPIO, including interrupts. Software I2C over GPIO and software SPI over GPIO. | ||
+ | * hardware SPI. Tested clock speed up to 20MHz with SD card. | ||
+ | * clock frequency detection. CPU, XTAL and APB clocks may be preset by the bootloader, the kernel will understand and use preset frequencies without additional configuration. | ||
* ssh server and ssh client. There' | * ssh server and ssh client. There' | ||
* mounting NFS shares. | * mounting NFS shares. | ||
- | * running executable code from outside the rootfs, e.g. from /etc or from NFS mounts. | + | * running executable code from outside the rootfs, e.g. from /etc or from NFS mounts. |
- | * passing command line from bootloader to the kernel. Bootloader reads the file / | + | * passing command line from bootloader to the kernel. Bootloader reads the file / |
* strace (a one-line fix is needed for the mainline strace to correctly handle the initial exec). | * strace (a one-line fix is needed for the mainline strace to correctly handle the initial exec). | ||
* perf stat (heavy patching is needed to build it for nommu). -D1 is needed to properly enable events (perf relies on ability to run code after the fork but before the exec in the child process to manage events on systems with mmu, -D1 looks like a good workaround for nommu case). | * perf stat (heavy patching is needed to build it for nommu). -D1 is needed to properly enable events (perf relies on ability to run code after the fork but before the exec in the child process to manage events on systems with mmu, -D1 looks like a good workaround for nommu case). | ||
+ | * c++ exceptions, c cleanup routines, forced stack unwinding, unwinding over signal frames. | ||
+ | * TLS and NPTL. Some corner cases still need attention though. | ||
===== Things that don't work ===== | ===== Things that don't work ===== | ||
- | * c++ exceptions. Not yet. Unwinder doesn' | + | * 193 failing tests in the gcc testsuite, 340 failing tests in the g++ testsuite. |
- | * NPTL. Not yet. Need to define relevant TLS relocations, | + | |
* mmap with MAP_FIXED flag. By design of the nommu linux, but it seems to me that it doesn' | * mmap with MAP_FIXED flag. By design of the nommu linux, but it seems to me that it doesn' | ||
* tcpdump and libpcap in general. It tries to mmap the packet socket and it's missing a few things (mm/nommu.c doesn' | * tcpdump and libpcap in general. It tries to mmap the packet socket and it's missing a few things (mm/nommu.c doesn' |
etc/users/jcmvbkbc/linux-xtensa/esp32s3.txt · Last modified: 2024/06/09 05:06 by jcmvbkbc