ESP32 用 Linux
## Japanese Translation:
Linux 6.12 環境が ESP32-S31 プロセッサに Sv32 仮想メモリを使用して成功裏に移植されました。これは、ESP-IDF などの独自でクローズドソースのツールチェーンからオープンソースエコシステムへの重要な転換を意味します。Buildroot を使用して ESP32-S31-WROOM-3 E1H16R16V ボード上で動作し、現在はハードウェアのブリングアップに焦点を当てたプロトタイプ段階に留まっており、生産利用にはまだ至っていません。ユーザーは `esptool` に特定のパラメータ(80MHz、サイズ 16MB)を指定してシステムを書き込むことができます。これによりブートローダー、ルートファイルシステム、ファームウェアをデプロイできます。安定した機能としては、電源管理、コンソール UART ドライバ(UART0)、Buildroot ルートファイルシステムが含まれますが、S31 チップの独自のアーキテクチャ上の特殊性のため、まだ解決すべき重要な課題が残っています。具体的には、標準的な RISC-V CSRs がハードワイヤリングされているか使用できないためカスタム割り込みハンドリングに OpenSBI によるパッチが必要であり、部分的なドキュメントからの推測に基づくスーパーバイザモードの使用方法などです。今後の開発では、デュアルハート SMP サポートの実装よりも、周辺機器および接続性ドライバ(未テストのコンポーネントとしてイーサネット、SDMMC、USB を含む)のテストを優先する予定です。デュアルハート SMP サポートは、クローズドソースのラジオファームウェア、ヘテロジェニアスなコア、メモリ制約によりブロックされています。これらの制限が産業的な広範な採用を妨げているにもかかわらず、この成就是嵌入式 RISC-V システムにおいて以前チップの小さなキャッシュや特殊な命令セットに依存していた制限を超え、高度なオープンソースソフトウェアスタックを実験するための機能性のあるフレームワークを開発者に提供することを意味します。
## Text to translate:
A native Linux 6.12 environment has been successfully ported to the ESP32-S31 processor using Sv32 virtual memory, marking a significant shift from proprietary closed-source toolchains like ESP-IDF to an open-source ecosystem. Running on the ESP32-S31-WROOM-3 E1H16R16V board via Buildroot, the project is currently restricted to a proof-of-concept stage focused on hardware bring-up rather than production use; users can flash the system using `esptool` with specific parameters (80MHz, 16MB size) to deploy bootloaders, root filesystems, and firmware. While stable features include power management, console UART drivers (UART0), and a Buildroot rootfs, critical challenges remain due to unique architectural quirks in the S31 chip, such as custom interrupt handling requiring OpenSBI patches because standard RISC-V CSRs are hardwired or unusable, and supervisor mode usage that relies on guessing from partial documentation. Future development will prioritize testing peripheral and connectivity drivers—including untested components like Ethernet, SDMMC, and USB—rather than implementing Dual Hart SMP support, which is blocked by closed-source radio firmware, heterogeneous cores, and memory constraints. Despite these limitations preventing widespread industry adoption, this achievement provides developers with a functional framework to experiment with advanced open-source software stacks on embedded RISC-V systems, overcoming previous restrictions tied to the chip's tiny cache and specialized instruction sets.