mirror of
https://github.com/u-boot/u-boot.git
synced 2025-04-22 04:44:46 +00:00
qfw: Show the file address if available
Some files have an associated address. Show this with the 'qfw list' command so that it is possible to dump the data. Note that the reference to 'md' is for the md.rst file, not a markdown file. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
This commit is contained in:
parent
125194e6a1
commit
d2e7972d7b
2 changed files with 16 additions and 13 deletions
|
@ -26,7 +26,7 @@ static int qemu_fwcfg_cmd_list_firmware(void)
|
||||||
for (file = qfw_file_iter_init(qfw_dev, &iter);
|
for (file = qfw_file_iter_init(qfw_dev, &iter);
|
||||||
!qfw_file_iter_end(&iter);
|
!qfw_file_iter_end(&iter);
|
||||||
file = qfw_file_iter_next(&iter)) {
|
file = qfw_file_iter_next(&iter)) {
|
||||||
printf("%-56s\n", file->cfg.name);
|
printf("%08lx %-56s\n", file->addr, file->cfg.name);
|
||||||
}
|
}
|
||||||
|
|
||||||
return 0;
|
return 0;
|
||||||
|
|
|
@ -41,18 +41,21 @@ QEMU firmware files are listed via the *qfw list* command:
|
||||||
::
|
::
|
||||||
|
|
||||||
=> qfw list
|
=> qfw list
|
||||||
etc/boot-fail-wait
|
00000000 bios-geometry
|
||||||
etc/smbios/smbios-tables
|
00000000 bootorder
|
||||||
etc/smbios/smbios-anchor
|
000f0060 etc/acpi/rsdp
|
||||||
etc/e820
|
bed14040 etc/acpi/tables
|
||||||
genroms/kvmvapic.bin
|
00000000 etc/boot-fail-wait
|
||||||
genroms/linuxboot.bin
|
00000000 etc/e820
|
||||||
etc/system-states
|
00000000 etc/smbios/smbios-anchor
|
||||||
etc/acpi/tables
|
00000000 etc/smbios/smbios-tables
|
||||||
etc/table-loader
|
00000000 etc/system-states
|
||||||
etc/tpm/log
|
00000000 etc/table-loader
|
||||||
etc/acpi/rsdp
|
00000000 etc/tpm/log
|
||||||
bootorder
|
00000000 genroms/kvmvapic.bin
|
||||||
|
|
||||||
|
Where an address is shown, it indicates where the data is available for
|
||||||
|
inspection, e.g. using the :doc:`md`.
|
||||||
|
|
||||||
The available CPUs can be shown via the *qfw cpus* command:
|
The available CPUs can be shown via the *qfw cpus* command:
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue