[edk2-devel] How /sys/firmware/fdt getting created

Prabhakar Kushwaha prabhakar.pkin at gmail.com
Tue Oct 29 14:32:05 UTC 2019


Hi All,

I am working on Ubuntu-18.04 with UEFI on ARM64(64 bit) platform. The
UEFI used is having ACPI tables.

I am trying to understand where and how /sys/firmware/fdt is getting
created. is it created by UEFI or grub and passed to Linux?

below is the dts format of /sys/firmware/fdt.

/dts-v1/;

/ {

	chosen {
		linux,uefi-mmap-desc-ver = <0x1>;
		linux,uefi-mmap-desc-size = <0x30>;
		linux,uefi-mmap-size = <0xcc0>;
		linux,uefi-mmap-start = <0x0 0xeda13018>;
		linux,uefi-system-table = <0x0 0xfafd0018>;
		bootargs = "BOOT_IMAGE=/boot/vmlinuz-5.4.0-rc4+
root=UUID=798a858c-4f20-4b99-aa40-99bff9394093 ro crashkernel=2G
console=ttyAMA0";
		linux,initrd-end = <0x0 0xeb381a34>;
		linux,initrd-start = <0x0 0xdd5f5000>;
	};
};

also, under what scenario/config fields is getting added fdt.
	#size-cells = <0x02>;
	#address-cells = <0x02>;

--prabhakar (pk)

-=-=-=-=-=-=-=-=-=-=-=-
Groups.io Links: You receive all messages sent to this group.

View/Reply Online (#49583): https://edk2.groups.io/g/devel/message/49583
Mute This Topic: https://groups.io/mt/39480086/1813853
Group Owner: devel+owner at edk2.groups.io
Unsubscribe: https://edk2.groups.io/g/devel/unsub  [edk2-devel-archive at redhat.com]
-=-=-=-=-=-=-=-=-=-=-=-




More information about the edk2-devel-archive mailing list