|
|
@ -89,3 +89,20 @@ echo on > /sys/kernel/debug/rknpu/power |
|
|
|
\begin{minted}[bgcolor=lightgray!30,fontsize=\scriptsize]{bash} |
|
|
|
echo off > /sys/kernel/debug/rknpu/power |
|
|
|
\end{minted} |
|
|
|
|
|
|
|
|
|
|
|
\chapter{U-Boot 快捷键} |
|
|
|
|
|
|
|
RK平台提供串口组合键触发一些事件用于调试、烧写(如果无法触发,请多尝试几次;启用 secure-boot |
|
|
|
时无效)。\textbf{开机时长按}: |
|
|
|
|
|
|
|
\begin{itemize}[itemsep=0pt,topsep=0pt,parsep=0pt] |
|
|
|
\item \texttt{ctrl+c:}进入 U-Boot 命令行模式; |
|
|
|
\item \texttt{ctrl+d:}进入 loader 烧写模式; |
|
|
|
\item \texttt{ctrl+b:}进入 maskrom 烧写模式; |
|
|
|
\item \texttt{ctrl+f:}进入 fastboot 模式; |
|
|
|
\item \texttt{ctrl+m:}打印 bidram/system 信息; |
|
|
|
\item \texttt{ctrl+i:}使能内核 initcall\_debug; |
|
|
|
\item \texttt{ctrl+p:}打印 cmdline 信息; |
|
|
|
\item \texttt{ctrl+s:}``Starting kernel...'' 之后进入 U-Boot 命令行; |
|
|
|
\end{itemize} |