Skip to content

Commit 580a6f1

Browse files
committed
labs/sysdev-kernel-cross-compiling: use \arch instead of \board
Similarly to the previous commit, use \arch instead of \board to decide between Image.gz and zImage. Signed-off-by: Thomas Petazzoni <[email protected]>
1 parent 528f3e4 commit 580a6f1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

labs/sysdev-kernel-cross-compiling/sysdev-kernel-cross-compiling.tex

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -254,7 +254,7 @@ \section{Load and boot the kernel using U-Boot}
254254
reset. Reset the board, and customize \code{bootcmd}:
255255
256256
\begin{ubootinput}
257-
=> setenv bootcmd 'tftp %\zimageboardaddr\ \ifdefstring{\board}{beagleplay}{Image.gz}{zImage}; tftp \dtbboardaddr\ {\dtname}.dtb; \ifdefstring{\arch}{ARM64}{booti}{bootz} \zimageboardaddr\ - \dtbboardaddr'%
257+
=> setenv bootcmd 'tftp %\zimageboardaddr\ \ifdefstring{\arch}{ARM64}{Image.gz}{zImage}; tftp \dtbboardaddr\ {\dtname}.dtb; \ifdefstring{\arch}{ARM64}{booti}{bootz} \zimageboardaddr\ - \dtbboardaddr'%
258258
=> saveenv
259259
\end{ubootinput}
260260

0 commit comments

Comments
 (0)