surenyi
8 months ago
7 changed files with 140 additions and 9 deletions
Before Width: | Height: | Size: 18 KiB After Width: | Height: | Size: 17 KiB |
Binary file not shown.
Binary file not shown.
@ -1,8 +1,72 @@ |
|||
\chapter{程序文件烧写} |
|||
\chapter{系统安装} |
|||
|
|||
电脑需要安装瑞芯微的 USB 驱动程序。 |
|||
\section{烧写系统文件} |
|||
电脑需要安装瑞芯微的 USB 驱动程序。接上 USB 线,运行 TKDevTool.exe,上电进入 maskrom 模式: |
|||
\begin{figure}[H] |
|||
\centering |
|||
\includegraphics[width=\textwidth]{burn.png} |
|||
\caption{RKDevTooL 配置} |
|||
\end{figure} |
|||
|
|||
\section{配置系统} |
|||
在调试串口上按住 {\kx「}CTRL-C{\kx」}并上电开机,将调试串口停止在 U-Boot 的命令行上, |
|||
用 {\kx「}\textcolor{blue!80}{\tt setsn}{\kx」},将板卡的编号设置进去,例如: |
|||
|
|||
\begin{figure}[H] |
|||
\centering |
|||
\begin{tikzpicture} |
|||
\node [anchor=south west, inner sep=0] (image) at (0,0) { |
|||
\begin{tcolorbox}[colframe=gray!20] |
|||
\begin{footnotesize} |
|||
\begin{Verbatim} |
|||
=> setsn A2246002 |
|||
Generate ethaddr: 72:a2:24:60:02:01 |
|||
Generate eth1addr: 72:a2:24:60:02:02 |
|||
Writing to MMC(0)... done |
|||
\end{Verbatim} |
|||
\end{footnotesize} |
|||
\end{tcolorbox} |
|||
}; |
|||
\begin{scope}[ |
|||
x={($0.1*(image.south east)$)}, |
|||
y={($0.1*(image.north west)$)} |
|||
] |
|||
% grid for debugging |
|||
%\draw [lightgray, step=1] (image.south west) grid (image.north east); |
|||
%\foreach \x in {0, 1, ..., 10} {\node [below] at (\x, 0) {\x};} |
|||
%\foreach \y in {0, 1, ..., 10} {\node [left] at (0, \y) {\y};} |
|||
\draw [red,thick, rounded corners] (0.7, 7.0) rectangle (2.6, 9.0); |
|||
\end{scope} |
|||
\end{tikzpicture} |
|||
\caption{设置板卡编号} |
|||
\end{figure} |
|||
|
|||
将板卡名称设置为项目名并保存,例如: |
|||
\begin{figure}[H] |
|||
\centering |
|||
\begin{tikzpicture} |
|||
\node [anchor=south west, inner sep=0] (image) at (0,0) { |
|||
\begin{tcolorbox}[colframe=gray!20] |
|||
\begin{footnotesize} |
|||
\begin{Verbatim} |
|||
=> setenv board_name SY-3588J01A |
|||
=> saveenv |
|||
Saving Environment to MMC... |
|||
Writing to MMC(0)... done |
|||
\end{Verbatim} |
|||
\end{footnotesize} |
|||
\end{tcolorbox} |
|||
}; |
|||
\begin{scope}[ |
|||
x={($0.1*(image.south east)$)}, |
|||
y={($0.1*(image.north west)$)} |
|||
] |
|||
% grid for debugging |
|||
%\draw [lightgray, step=1] (image.south west) grid (image.north east); |
|||
%\foreach \x in {0, 1, ..., 10} {\node [below] at (\x, 0) {\x};} |
|||
%\foreach \y in {0, 1, ..., 10} {\node [left] at (0, \y) {\y};} |
|||
\draw [red,thick, rounded corners] (0.7, 5.0) rectangle (4.5, 9.0); |
|||
\end{scope} |
|||
\end{tikzpicture} |
|||
\caption{设置板卡名称} |
|||
\end{figure} |
Loading…
Reference in new issue