public inbox for devel@edk2.groups.io
 help / color / mirror / Atom feed
* How /sys/firmware/fdt getting created
@ 2019-10-29 14:32 prabhakar.pkin
  2019-10-30  7:12 ` [edk2-devel] " Ard Biesheuvel
  0 siblings, 1 reply; 15+ messages in thread
From: prabhakar.pkin @ 2019-10-29 14:32 UTC (permalink / raw)
  To: devel

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)

^ permalink raw reply	[flat|nested] 15+ messages in thread

end of thread, other threads:[~2019-11-04  4:11 UTC | newest]

Thread overview: 15+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-10-29 14:32 How /sys/firmware/fdt getting created prabhakar.pkin
2019-10-30  7:12 ` [edk2-devel] " Ard Biesheuvel
2019-10-30  7:36   ` Prabhakar Kushwaha
2019-10-30  7:44     ` Ard Biesheuvel
2019-10-30  8:16       ` Prabhakar Kushwaha
2019-10-31 10:07         ` Laszlo Ersek
2019-10-31 12:16           ` Leif Lindholm
2019-10-31 18:55             ` dann frazier
     [not found]             ` <15D2D0302F8A1888.21389@groups.io>
2019-10-31 20:34               ` dann frazier
2019-11-01  4:47                 ` Prabhakar Kushwaha
2019-11-01 16:25                   ` dann frazier
2019-11-04  4:11                     ` Prabhakar Kushwaha
2019-10-31 20:29         ` Bhupesh Sharma
2019-11-01  4:51           ` Prabhakar Kushwaha
2019-11-01  5:46             ` Bhupesh Sharma

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox