mirror of
https://github.com/u-boot/u-boot.git
synced 2025-05-07 12:49:24 +00:00

Add common smbios information that can be used by all armv8 platforms and set it as default for qemu-arm64. >From now smbios library can load values from here for those fields doesn't exist in the sysinfo driver. To run this with QEMU arm64, we need to dump the generated DTB from QEMU first, merge it with the one we build and then re-run QEMU with the merged DTB. ``` qemu-system-aarch64 -machine virt -machine dumpdtb=qemu.dtb cat <(dtc -I dtb qemu.dtb) <(dtc -I dtb ./dts/dt.dtb | \ grep -v /dts-v1/) | dtc - -o merged.dtb qemu-system-aarch64 -machine virt -nographic -bios u-boot.bin \ -dtb merged.dtb ``` For details please take reference on dt_qemu.rst Signed-off-by: Raymond Mao <raymond.mao@linaro.org>
15 lines
234 B
Text
15 lines
234 B
Text
// SPDX-License-Identifier: GPL-2.0+ OR MIT
|
|
/*
|
|
* Empty device tree for qemu_arm64
|
|
|
|
* Copyright 2021 Google LLC
|
|
*/
|
|
|
|
/dts-v1/;
|
|
|
|
#if defined(CONFIG_SYSINFO_SMBIOS) && !defined(QFW_SMBIOS)
|
|
#include "smbios_generic.dtsi"
|
|
#endif
|
|
|
|
/ {
|
|
};
|