# カーネルに関するドキュメント

Qualcomm^®^ Linux^®^ カーネルは、パフォーマンス、拡張性、System-on-Chip（SoC）機能のためにカスタマイズされています。

## カーネルの概要

<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewbox="0 0 16 16" fill="none" aria-label="|icon3|">
  <path d="M8 2V14M3.33333 2H12.6667C13.403 2 14 2.59695 14 3.33333V12.6667C14 13.403 13.403 14 12.6667 14H3.33333C2.59695 14 2 13.403 2 12.6667V3.33333C2 2.59695 2.59695 2 3.33333 2Z" stroke="#2A2AEA" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"></path>
</svg> カーネルの概要

Qualcomm Linuxでは、Linuxカーネルをデバイスに移植し、QualcommハードウェアSoCでカスタマイズすることができます。

https://docs.qualcomm.com/doc/80-70020-3JA/topic/overview.html#linux-overview-firstpage

## Qualcomm Linuxカーネルを使い始める

<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewbox="0 0 16 16" fill="none" aria-label="|icon3|">
  <path d="M8 2V14M3.33333 2H12.6667C13.403 2 14 2.59695 14 3.33333V12.6667C14 13.403 13.403 14 12.6667 14H3.33333C2.59695 14 2 13.403 2 12.6667V3.33333C2 2.59695 2.59695 2 3.33333 2Z" stroke="#2A2AEA" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"></path>
</svg> Access Qualcomm Linuxカーネルのソースコードへのアクセス

カーネルのソースコードと必須のメタレイヤーにアクセスします。

https://docs.qualcomm.com/doc/80-70020-3JA/topic/getting_started_chapter2.html#access-the-source-code-task

<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewbox="0 0 16 16" fill="none" aria-label="|icon3|">
  <path d="M8 2V14M3.33333 2H12.6667C13.403 2 14 2.59695 14 3.33333V12.6667C14 13.403 13.403 14 12.6667 14H3.33333C2.59695 14 2 13.403 2 12.6667V3.33333C2 2.59695 2.59695 2 3.33333 2Z" stroke="#2A2AEA" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"></path>
</svg> サポートされているQualcommマシンを特定する

ソフトウェアでサポートされているマシンを特定します。

https://docs.qualcomm.com/doc/80-70020-3JA/topic/getting_started_chapter2.html#supported-machines

<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewbox="0 0 16 16" fill="none" aria-label="|icon3|">
  <path d="M8 2V14M3.33333 2H12.6667C13.403 2 14 2.59695 14 3.33333V12.6667C14 13.403 13.403 14 12.6667 14H3.33333C2.59695 14 2 13.403 2 12.6667V3.33333C2 2.59695 2.59695 2 3.33333 2Z" stroke="#2A2AEA" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"></path>
</svg> Yoctoイメージレシピとカーネル構成をビルドする

基本バリアントとカスタムバリアントのYoctoイメージをビルドする方法を説明します。

https://docs.qualcomm.com/doc/80-70020-3JA/topic/getting_started_chapter2.html#kernel-configuration-image

<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewbox="0 0 16 16" fill="none" aria-label="|icon3|">
  <path d="M8 2V14M3.33333 2H12.6667C13.403 2 14 2.59695 14 3.33333V12.6667C14 13.403 13.403 14 12.6667 14H3.33333C2.59695 14 2 13.403 2 12.6667V3.33333C2 2.59695 2.59695 2 3.33333 2Z" stroke="#2A2AEA" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"></path>
</svg> プラットフォームのデバイスツリーにアクセスする

Qualcomm SoCのプラットフォームのデバイスツリーを特定します。

https://docs.qualcomm.com/doc/80-70020-3JA/topic/getting_started_chapter2.html#platform-device-tree

<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewbox="0 0 16 16" fill="none" aria-label="|icon3|">
  <path d="M8 2V14M3.33333 2H12.6667C13.403 2 14 2.59695 14 3.33333V12.6667C14 13.403 13.403 14 12.6667 14H3.33333C2.59695 14 2 13.403 2 12.6667V3.33333C2 2.59695 2.59695 2 3.33333 2Z" stroke="#2A2AEA" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"></path>
</svg> ツリー外のデバイスツリー（DT）オーバーレイ・フラグメントを管理する

ビルド時に、マシン固有の構成ファイルでツリー外のDTBオーバーレイ（DTBO）を構成します。

https://docs.qualcomm.com/doc/80-70020-3JA/topic/getting_started_chapter2.html#out-of-kernel-device-tree-fragments

<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewbox="0 0 16 16" fill="none" aria-label="|icon3|">
  <path d="M8 2V14M3.33333 2H12.6667C13.403 2 14 2.59695 14 3.33333V12.6667C14 13.403 13.403 14 12.6667 14H3.33333C2.59695 14 2 13.403 2 12.6667V3.33333C2 2.59695 2.59695 2 3.33333 2Z" stroke="#2A2AEA" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"></path>
</svg> ツリー外のカーネルモジュールを管理する

Yoctoを使用して、ツリー外のカーネルモジュールをビルドして自動的に読み込みます。

https://docs.qualcomm.com/doc/80-70020-3JA/topic/getting_started_chapter2.html#out-of-tree-kernel-modules

<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewbox="0 0 16 16" fill="none" aria-label="|icon3|">
  <path d="M8 2V14M3.33333 2H12.6667C13.403 2 14 2.59695 14 3.33333V12.6667C14 13.403 13.403 14 12.6667 14H3.33333C2.59695 14 2 13.403 2 12.6667V3.33333C2 2.59695 2.59695 2 3.33333 2Z" stroke="#2A2AEA" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"></path>
</svg> デバイスイメージをビルドする

Yoctoを使用して、Qualcomm Linuxイメージ全体をビルドします。

https://docs.qualcomm.com/doc/80-70020-3JA/topic/getting_started_chapter2.html#build-chapter2

<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewbox="0 0 16 16" fill="none" aria-label="|icon3|">
  <path d="M8 2V14M3.33333 2H12.6667C13.403 2 14 2.59695 14 3.33333V12.6667C14 13.403 13.403 14 12.6667 14H3.33333C2.59695 14 2 13.403 2 12.6667V3.33333C2 2.59695 2.59695 2 3.33333 2Z" stroke="#2A2AEA" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"></path>
</svg> デバイスを起動する

ビルドの完了後にデバイスを起動します。

https://docs.qualcomm.com/doc/80-70020-3JA/topic/getting_started_chapter2.html#flash-images-and-boot

## 起動のフローとアーキテクチャーの概要

<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewbox="0 0 16 16" fill="none" aria-label="|icon3|">
  <path d="M8 2V14M3.33333 2H12.6667C13.403 2 14 2.59695 14 3.33333V12.6667C14 13.403 13.403 14 12.6667 14H3.33333C2.59695 14 2 13.403 2 12.6667V3.33333C2 2.59695 2.59695 2 3.33333 2Z" stroke="#2A2AEA" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"></path>
</svg> ユニバーサル・エクステンシブル・ファームウェア・インターフェース（UEFI）ブートマネージャー

Qualcomm Linuxのコールドブートのフローについて説明します。

https://docs.qualcomm.com/doc/80-70020-3JA/topic/boot-flow-and-architecture-overview.html#section-uefi-boot-managers

<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewbox="0 0 16 16" fill="none" aria-label="|icon3|">
  <path d="M8 2V14M3.33333 2H12.6667C13.403 2 14 2.59695 14 3.33333V12.6667C14 13.403 13.403 14 12.6667 14H3.33333C2.59695 14 2 13.403 2 12.6667V3.33333C2 2.59695 2.59695 2 3.33333 2Z" stroke="#2A2AEA" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"></path>
</svg> systemd-boot

Qualcomm Linux ブートエントリーとユニファイドカーネルイメージを管理するsystemd-bootについて説明します。

https://docs.qualcomm.com/doc/80-70020-3JA/topic/boot-flow-and-architecture-overview.html#systemd-boot

<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewbox="0 0 16 16" fill="none" aria-label="|icon3|">
  <path d="M8 2V14M3.33333 2H12.6667C13.403 2 14 2.59695 14 3.33333V12.6667C14 13.403 13.403 14 12.6667 14H3.33333C2.59695 14 2 13.403 2 12.6667V3.33333C2 2.59695 2.59695 2 3.33333 2Z" stroke="#2A2AEA" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"></path>
</svg> EFIスタブとしてのQualcomm Linuxカーネル

Qualcomm LinuxカーネルをEFIスタブから直接起動します。

https://docs.qualcomm.com/doc/80-70020-3JA/topic/boot-flow-and-architecture-overview.html#efi-stub

<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewbox="0 0 16 16" fill="none" aria-label="|icon3|">
  <path d="M8 2V14M3.33333 2H12.6667C13.403 2 14 2.59695 14 3.33333V12.6667C14 13.403 13.403 14 12.6667 14H3.33333C2.59695 14 2 13.403 2 12.6667V3.33333C2 2.59695 2.59695 2 3.33333 2Z" stroke="#2A2AEA" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"></path>
</svg> ブートイメージとESPまたはブート・パーティション

EFIシステムパーティション（ESP）の構成について説明します。

https://docs.qualcomm.com/doc/80-70020-3JA/topic/boot-flow-and-architecture-overview.html#section-ovm-wjs-s1c

## 起動後設定を構成する

<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewbox="0 0 16 16" fill="none" aria-label="|icon3|">
  <path d="M8 2V14M3.33333 2H12.6667C13.403 2 14 2.59695 14 3.33333V12.6667C14 13.403 13.403 14 12.6667 14H3.33333C2.59695 14 2 13.403 2 12.6667V3.33333C2 2.59695 2.59695 2 3.33333 2Z" stroke="#2A2AEA" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"></path>
</svg> 起動後フレームワークの概要

メモリ、CPU、システムパラメーターを構成します。

https://docs.qualcomm.com/doc/80-70020-3JA/topic/post-boot-settings.html#postboot-frameowrk

<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewbox="0 0 16 16" fill="none" aria-label="|icon3|">
  <path d="M8 2V14M3.33333 2H12.6667C13.403 2 14 2.59695 14 3.33333V12.6667C14 13.403 13.403 14 12.6667 14H3.33333C2.59695 14 2 13.403 2 12.6667V3.33333C2 2.59695 2.59695 2 3.33333 2Z" stroke="#2A2AEA" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"></path>
</svg> 起動後のsystemdサービスをインストールする

systemdサービスを起動後フレームワークで構成します。

https://docs.qualcomm.com/doc/80-70020-3JA/topic/post-boot-settings.html#section-gsc-kdv-s1c

## カーネルを開発する

<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewbox="0 0 16 16" fill="none" aria-label="|icon3|">
  <path d="M8 2V14M3.33333 2H12.6667C13.403 2 14 2.59695 14 3.33333V12.6667C14 13.403 13.403 14 12.6667 14H3.33333C2.59695 14 2 13.403 2 12.6667V3.33333C2 2.59695 2.59695 2 3.33333 2Z" stroke="#2A2AEA" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"></path>
</svg> Yoctoのワークフローを使用してカーネルを開発する

ホストコンピューターがQualcomm Linuxカーネルのコンパイルと開発ができるよう設定します。

https://docs.qualcomm.com/doc/80-70020-3JA/topic/kernel-development.html#yocto-kernel-support

<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewbox="0 0 16 16" fill="none" aria-label="|icon3|">
  <path d="M8 2V14M3.33333 2H12.6667C13.403 2 14 2.59695 14 3.33333V12.6667C14 13.403 13.403 14 12.6667 14H3.33333C2.59695 14 2 13.403 2 12.6667V3.33333C2 2.59695 2.59695 2 3.33333 2Z" stroke="#2A2AEA" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"></path>
</svg> Yoctoから独立したカーネルをコンパイルする

Yoctoのビルドシステムサポートを使用せずにQualcomm Linuxカーネルをコンパイルします。

https://docs.qualcomm.com/doc/80-70020-3JA/topic/kernel-development.html#compthekernelinde

<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewbox="0 0 16 16" fill="none" aria-label="|icon3|">
  <path d="M8 2V14M3.33333 2H12.6667C13.403 2 14 2.59695 14 3.33333V12.6667C14 13.403 13.403 14 12.6667 14H3.33333C2.59695 14 2 13.403 2 12.6667V3.33333C2 2.59695 2.59695 2 3.33333 2Z" stroke="#2A2AEA" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"></path>
</svg> DTBサポートの構成とカーネル構成

Qualcomm Linuxカーネルに新しいDTBを追加します。

https://docs.qualcomm.com/doc/80-70020-3JA/topic/kernel-development.html#platform-support

## リモートプロセッサー（remoteproc）サブシステムを構成する

<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewbox="0 0 16 16" fill="none" aria-label="|icon3|">
  <path d="M8 2V14M3.33333 2H12.6667C13.403 2 14 2.59695 14 3.33333V12.6667C14 13.403 13.403 14 12.6667 14H3.33333C2.59695 14 2 13.403 2 12.6667V3.33333C2 2.59695 2.59695 2 3.33333 2Z" stroke="#2A2AEA" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"></path>
</svg> remoteprocリカバリとサブシステムの再起動を構成する

Qualcomm Linuxプラットフォーム用のremoteprocのクラッシュ検出、リカバリ・オーケストレーション、コアダンプ診断を使用して、サブシステムの回復力を確実にします。

https://docs.qualcomm.com/doc/80-70020-3JA/topic/remoteproc-overview.html#configure-remote-proc-su

<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewbox="0 0 16 16" fill="none" aria-label="|icon3|">
  <path d="M8 2V14M3.33333 2H12.6667C13.403 2 14 2.59695 14 3.33333V12.6667C14 13.403 13.403 14 12.6667 14H3.33333C2.59695 14 2 13.403 2 12.6667V3.33333C2 2.59695 2.59695 2 3.33333 2Z" stroke="#2A2AEA" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"></path>
</svg> Qualcommのremoteprocサポート

リモートプロセッサーを構成する方法について説明します。

https://docs.qualcomm.com/doc/80-70020-3JA/topic/remoteproc-overview.html#configure-remote-proc-su

<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewbox="0 0 16 16" fill="none" aria-label="|icon3|">
  <path d="M8 2V14M3.33333 2H12.6667C13.403 2 14 2.59695 14 3.33333V12.6667C14 13.403 13.403 14 12.6667 14H3.33333C2.59695 14 2 13.403 2 12.6667V3.33333C2 2.59695 2.59695 2 3.33333 2Z" stroke="#2A2AEA" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"></path>
</svg> コアダンプを有効または無効にする

サブシステムのコアダンプを有効または無効にします。

https://docs.qualcomm.com/doc/80-70020-3JA/topic/remoteproc-overview.html#enable-coredump

## メモリを構成および管理する

<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewbox="0 0 16 16" fill="none" aria-label="|icon3|">
  <path d="M8 2V14M3.33333 2H12.6667C13.403 2 14 2.59695 14 3.33333V12.6667C14 13.403 13.403 14 12.6667 14H3.33333C2.59695 14 2 13.403 2 12.6667V3.33333C2 2.59695 2.59695 2 3.33333 2Z" stroke="#2A2AEA" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"></path>
</svg> ZRAMをスワップデバイスとして構成する

ZRAMメモリパラメーターを構成します。

https://docs.qualcomm.com/doc/80-70020-3JA/topic/memory.html#configure-zram

<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewbox="0 0 16 16" fill="none" aria-label="|icon3|">
  <path d="M8 2V14M3.33333 2H12.6667C13.403 2 14 2.59695 14 3.33333V12.6667C14 13.403 13.403 14 12.6667 14H3.33333C2.59695 14 2 13.403 2 12.6667V3.33333C2 2.59695 2.59695 2 3.33333 2Z" stroke="#2A2AEA" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"></path>
</svg> メモリ・マップを拡張する

デバイスツリー・ソース・インクルージョン（DTSI）の予備または連続メモリ・アロケーター（CMA）を変更します。

https://docs.qualcomm.com/doc/80-70020-3JA/topic/memory.html#extend-memory-map

## スケジューラーを構成する

<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewbox="0 0 16 16" fill="none" aria-label="|icon3|">
  <path d="M8 2V14M3.33333 2H12.6667C13.403 2 14 2.59695 14 3.33333V12.6667C14 13.403 13.403 14 12.6667 14H3.33333C2.59695 14 2 13.403 2 12.6667V3.33333C2 2.59695 2.59695 2 3.33333 2Z" stroke="#2A2AEA" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"></path>
</svg> CPUトポロジーとEASについて

CPUのキャパシティとトポロジーについて説明します。

https://docs.qualcomm.com/doc/80-70020-3JA/topic/scheduler.html#cpu-topology-and-eas

<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewbox="0 0 16 16" fill="none" aria-label="|icon3|">
  <path d="M8 2V14M3.33333 2H12.6667C13.403 2 14 2.59695 14 3.33333V12.6667C14 13.403 13.403 14 12.6667 14H3.33333C2.59695 14 2 13.403 2 12.6667V3.33333C2 2.59695 2.59695 2 3.33333 2Z" stroke="#2A2AEA" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"></path>
</svg> エンティティごとのロード・トラッキングを構成する

スケジューラーのロード・トラッキング・パラメーターを調整します。

https://docs.qualcomm.com/doc/80-70020-3JA/topic/scheduler.html#per-entity-load-tracking-pelt

<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewbox="0 0 16 16" fill="none" aria-label="|icon3|">
  <path d="M8 2V14M3.33333 2H12.6667C13.403 2 14 2.59695 14 3.33333V12.6667C14 13.403 13.403 14 12.6667 14H3.33333C2.59695 14 2 13.403 2 12.6667V3.33333C2 2.59695 2.59695 2 3.33333 2Z" stroke="#2A2AEA" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"></path>
</svg> ユーティリゼーション・クランピング（UCLAMP）を構成する

プロセスのUCLAMPを調整します。

https://docs.qualcomm.com/doc/80-70020-3JA/topic/scheduler.html#utilization-clamping-uclamp

## 動的電圧・周波数スケーリング（DVFS）ガバナーを構成する

<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewbox="0 0 16 16" fill="none" aria-label="|icon3|">
  <path d="M8 2V14M3.33333 2H12.6667C13.403 2 14 2.59695 14 3.33333V12.6667C14 13.403 13.403 14 12.6667 14H3.33333C2.59695 14 2 13.403 2 12.6667V3.33333C2 2.59695 2.59695 2 3.33333 2Z" stroke="#2A2AEA" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"></path>
</svg> CPU DVFSガバナーを選択する

CPU周波数ガバナーを構成します。

https://docs.qualcomm.com/doc/80-70020-3JA/topic/dynamic-clock-and-voltage-scaling-dcvs.html#select-cpu-dvfs

<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewbox="0 0 16 16" fill="none" aria-label="|icon3|">
  <path d="M8 2V14M3.33333 2H12.6667C13.403 2 14 2.59695 14 3.33333V12.6667C14 13.403 13.403 14 12.6667 14H3.33333C2.59695 14 2 13.403 2 12.6667V3.33333C2 2.59695 2.59695 2 3.33333 2Z" stroke="#2A2AEA" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"></path>
</svg> キャッシュとメモリのDVFSガバナーを構成する

キャッシュとDDRの帯域幅周波数を構成します。

https://docs.qualcomm.com/doc/80-70020-3JA/topic/dynamic-clock-and-voltage-scaling-dcvs.html#configure-cache-and-memory-dvfs

## pinctrlドライバーを構成する

<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewbox="0 0 16 16" fill="none" aria-label="|icon3|">
  <path d="M8 2V14M3.33333 2H12.6667C13.403 2 14 2.59695 14 3.33333V12.6667C14 13.403 13.403 14 12.6667 14H3.33333C2.59695 14 2 13.403 2 12.6667V3.33333C2 2.59695 2.59695 2 3.33333 2Z" stroke="#2A2AEA" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"></path>
</svg> pinctrlドライバーを構成する

汎用入出力（GPIO）に使用するピンを管理および構成します。

https://docs.qualcomm.com/doc/80-70020-3JA/topic/pinctrl-configuration.html#pinctrl-configuration

<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewbox="0 0 16 16" fill="none" aria-label="|icon3|">
  <path d="M8 2V14M3.33333 2H12.6667C13.403 2 14 2.59695 14 3.33333V12.6667C14 13.403 13.403 14 12.6667 14H3.33333C2.59695 14 2 13.403 2 12.6667V3.33333C2 2.59695 2.59695 2 3.33333 2Z" stroke="#2A2AEA" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"></path>
</svg> GPIOの使用を構成する

SoCで使用できるGPIO構成について説明します。

https://docs.qualcomm.com/doc/80-70020-3JA/topic/customize-cache-and-memory-dvfs.html#configure-cache-and-memory

[|](https://docs.qualcomm.com/doc/80-70020-3JA/topic/kernel_landing_page.html#id1)con3 クロックまたはパルス幅モジュレーションを生成するGPIOの構成

GPIOを使用してPWMパルスを生成します。

https://docs.qualcomm.com/doc/80-70020-3JA/topic/pinctrl-configuration.html#configure-gpios-pwm

<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewbox="0 0 16 16" fill="none" aria-label="|icon3|">
  <path d="M8 2V14M3.33333 2H12.6667C13.403 2 14 2.59695 14 3.33333V12.6667C14 13.403 13.403 14 12.6667 14H3.33333C2.59695 14 2 13.403 2 12.6667V3.33333C2 2.59695 2.59695 2 3.33333 2Z" stroke="#2A2AEA" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"></path>
</svg> ユーザー領域からGPIOを構成する

ユーザー領域からGPIOを管理します。

https://docs.qualcomm.com/doc/80-70020-3JA/topic/pinctrl-configuration.html#control-gpios-from-userspace

## デバイスからコンテンツにアクセス

<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewbox="0 0 16 16" fill="none" aria-label="|icon3|">
  <path d="M8 2V14M3.33333 2H12.6667C13.403 2 14 2.59695 14 3.33333V12.6667C14 13.403 13.403 14 12.6667 14H3.33333C2.59695 14 2 13.403 2 12.6667V3.33333C2 2.59695 2.59695 2 3.33333 2Z" stroke="#2A2AEA" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"></path>
</svg> セキュアシェル（SSH）を有効にする

SSHを使用してデバイスに接続します。

https://docs.qualcomm.com/doc/80-70020-3JA/topic/access-content-from-the-device.html#adb-shell

<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewbox="0 0 16 16" fill="none" aria-label="|icon3|">
  <path d="M8 2V14M3.33333 2H12.6667C13.403 2 14 2.59695 14 3.33333V12.6667C14 13.403 13.403 14 12.6667 14H3.33333C2.59695 14 2 13.403 2 12.6667V3.33333C2 2.59695 2.59695 2 3.33333 2Z" stroke="#2A2AEA" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"></path>
</svg> デバイスから情報を取得する

基本カーネルログを取得します。

https://docs.qualcomm.com/doc/80-70020-3JA/topic/access-content-from-the-device.html#retrieve-the-info

## カーネルログを取得する

<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewbox="0 0 16 16" fill="none" aria-label="|icon3|">
  <path d="M8 2V14M3.33333 2H12.6667C13.403 2 14 2.59695 14 3.33333V12.6667C14 13.403 13.403 14 12.6667 14H3.33333C2.59695 14 2 13.403 2 12.6667V3.33333C2 2.59695 2.59695 2 3.33333 2Z" stroke="#2A2AEA" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"></path>
</svg> シリアルコンソールログを取得する

早期起動ログを取得するためのシリアルコンソールを構成します。

https://docs.qualcomm.com/doc/80-70020-3JA/topic/capture-the-kernel-logs.html#capture-the-kernel

<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewbox="0 0 16 16" fill="none" aria-label="|icon3|">
  <path d="M8 2V14M3.33333 2H12.6667C13.403 2 14 2.59695 14 3.33333V12.6667C14 13.403 13.403 14 12.6667 14H3.33333C2.59695 14 2 13.403 2 12.6667V3.33333C2 2.59695 2.59695 2 3.33333 2Z" stroke="#2A2AEA" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"></path>
</svg> コンソールログレベルを構成する

コンソールログレベルを構成します。

https://docs.qualcomm.com/doc/80-70020-3JA/topic/capture-the-kernel-logs.html#configure-console-log

## デバッグ方法を構成する

<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewbox="0 0 16 16" fill="none" aria-label="|icon3|">
  <path d="M8 2V14M3.33333 2H12.6667C13.403 2 14 2.59695 14 3.33333V12.6667C14 13.403 13.403 14 12.6667 14H3.33333C2.59695 14 2 13.403 2 12.6667V3.33333C2 2.59695 2.59695 2 3.33333 2Z" stroke="#2A2AEA" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"></path>
</svg> debugfsファイルシステムを有効にしてマウントする

debugfsファイルシステムをマウントして、ユーザー領域からカーネルデータ構造をトレース、デバッグ、検査します。

https://docs.qualcomm.com/doc/80-70020-3JA/topic/debug.html#enable-and-mount-debugfs

<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewbox="0 0 16 16" fill="none" aria-label="|icon3|">
  <path d="M8 2V14M3.33333 2H12.6667C13.403 2 14 2.59695 14 3.33333V12.6667C14 13.403 13.403 14 12.6667 14H3.33333C2.59695 14 2 13.403 2 12.6667V3.33333C2 2.59695 2.59695 2 3.33333 2Z" stroke="#2A2AEA" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"></path>
</svg> カーネルプローブでデバッグする

kprobesでカーネルを構成します。

https://docs.qualcomm.com/doc/80-70020-3JA/topic/debug.html#kernel-probes

## カーネルデバッガーを構成する

<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewbox="0 0 16 16" fill="none" aria-label="|icon3|">
  <path d="M8 2V14M3.33333 2H12.6667C13.403 2 14 2.59695 14 3.33333V12.6667C14 13.403 13.403 14 12.6667 14H3.33333C2.59695 14 2 13.403 2 12.6667V3.33333C2 2.59695 2.59695 2 3.33333 2Z" stroke="#2A2AEA" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"></path>
</svg> カーネルGNUデバッガー（KGDB）でカーネルモジュールをデバッグする

KGDBをデバイスに接続します。

https://docs.qualcomm.com/doc/80-70020-3JA/topic/configure-kernel-debugger.html#debugging-kernel-and-modules-via-gdb

<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewbox="0 0 16 16" fill="none" aria-label="|icon3|">
  <path d="M8 2V14M3.33333 2H12.6667C13.403 2 14 2.59695 14 3.33333V12.6667C14 13.403 13.403 14 12.6667 14H3.33333C2.59695 14 2 13.403 2 12.6667V3.33333C2 2.59695 2.59695 2 3.33333 2Z" stroke="#2A2AEA" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"></path>
</svg> シリアルCOMポートがあるKGDBを使用する

KGDBがシリアルポート経由で接続するよう構成します。

https://docs.qualcomm.com/doc/80-70020-3JA/topic/configure-kernel-debugger.html#use-kgdb-with-serial-com-port

## カーネルの問題のトラブルシューティング

icon3 DTBの間違いまたは未選択によるの起動エラー

起動時のデバイスツリーの読み込みを確認します。

https://docs.qualcomm.com/doc/80-70020-3JA/topic/common_troubleshooting.html#boot-failure-due-to

<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewbox="0 0 16 16" fill="none" aria-label="|icon3|">
  <path d="M8 2V14M3.33333 2H12.6667C13.403 2 14 2.59695 14 3.33333V12.6667C14 13.403 13.403 14 12.6667 14H3.33333C2.59695 14 2 13.403 2 12.6667V3.33333C2 2.59695 2.59695 2 3.33333 2Z" stroke="#2A2AEA" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"></path>
</svg> シリアルコンソールが動作しない

シリアルポートの構成の問題をデバッグします。

https://docs.qualcomm.com/doc/80-70020-3JA/topic/common_troubleshooting.html#serial-console-not-working

Last Published: Jan 01, 2026

[Next Topic
カーネルの概要](https://docs.qualcomm.com/bundle/publicresource/80-70020-3JA/topics/overview.md)