Browse Source

add u-boot shortcut

Signed-off-by: surenyi <surenyi82@163.com>
master
surenyi 3 months ago
parent
commit
bddb2eaeeb
  1. BIN
      pdf/rk3588_guide.pdf
  2. 2
      tex/ext2boot.tex
  3. 17
      tex/freq.tex

BIN
pdf/rk3588_guide.pdf

Binary file not shown.

2
tex/ext2boot.tex

@ -4,7 +4,7 @@ U-Boot 可以通过 ``run boot\_extlinux'' 来启动 ext2 格式的镜像文件
boot.img 文件:
\begin{minted}[bgcolor=lightgray!30,fontsize=\scriptsize]{bash}
mkdir -p tmpdir/extlinux
cp arch/arm64/boot/dts/Image tmpdir
cp arch/arm64/boot/Image tmpdir
cp arch/arm64/boot/dts/rockchip/rk3588-sytc.dtb tmpdir
cat >> tmpdir/extlinux/extlinux.conf << EOF
label kernel-5.10.110

17
tex/freq.tex

@ -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}
Loading…
Cancel
Save