mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-11-10 23:24:38 +00:00
[new uImage] Fix *.its files location in documentation
Signed-off-by: Bartlomiej Sieka <tur@semihalf.com>
This commit is contained in:
parent
5e339fd9ed
commit
43142e817f
2 changed files with 11 additions and 10 deletions
|
@ -49,10 +49,11 @@ Consider a simple scenario, where a PPC Linux kernel built from sources on the
|
|||
development host is to be booted old-style (non-FDT) by U-Boot on an embedded
|
||||
target. Assume that the outcome of the build is vmlinux.bin.gz, a file which
|
||||
contains a gzip-compressed PPC Linux kernel (the only data file in this case).
|
||||
The uImage can be produced using the image source file examples/kernel.its
|
||||
(note that kernel.its assumes that vmlinux.bin.gz is in the current working
|
||||
directory; if desired, an alternative path can be specified in the kernel.its
|
||||
file). Here's how to create the image and inspect its contents:
|
||||
The uImage can be produced using the image source file
|
||||
doc/uImage.FIT/kernel.its (note that kernel.its assumes that vmlinux.bin.gz is
|
||||
in the current working directory; if desired, an alternative path can be
|
||||
specified in the kernel.its file). Here's how to create the image and inspect
|
||||
its contents:
|
||||
|
||||
[on the host system]
|
||||
$ mkimage -f kernel.its kernel.itb
|
||||
|
@ -159,10 +160,10 @@ Example 2 -- new-style (FDT) kernel booting
|
|||
Consider another simple scenario, where a PPC Linux kernel is to be booted
|
||||
new-style, i.e., with a FDT blob. In this case there are two prerequisite data
|
||||
files: vmlinux.bin.gz (Linux kernel) and target.dtb (FDT blob). The uImage can
|
||||
be produced using image source file examples/kernel_fdt.its like this (note
|
||||
again, that both prerequisite data files are assumed to be present in the
|
||||
current working directory -- image source file kernel_fdt.its can be modified
|
||||
to take the files from some other location if needed):
|
||||
be produced using image source file doc/uImage.FIT/kernel_fdt.its like this
|
||||
(note again, that both prerequisite data files are assumed to be present in
|
||||
the current working directory -- image source file kernel_fdt.its can be
|
||||
modified to take the files from some other location if needed):
|
||||
|
||||
[on the host system]
|
||||
$ mkimage -f kernel_fdt.its kernel_fdt.itb
|
||||
|
@ -292,5 +293,5 @@ Bytes transferred = 1109776 (10ef10 hex)
|
|||
Example 3 -- advanced booting
|
||||
-----------------------------
|
||||
|
||||
Refer to examples/multi.its for an image source file that allows more
|
||||
Refer to doc/uImage.FIT/multi.its for an image source file that allows more
|
||||
sophisticated booting scenarios (multiple kernels, ramdisks and fdt blobs).
|
||||
|
|
|
@ -259,4 +259,4 @@ not* be specified in a configuration node.
|
|||
8) Examples
|
||||
-----------
|
||||
|
||||
Please see examples/*.its for actual image source files.
|
||||
Please see doc/uImage.FIT/*.its for actual image source files.
|
||||
|
|
Loading…
Reference in a new issue