From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-pg1-f178.google.com (mail-pg1-f178.google.com [209.85.215.178]) by mx.groups.io with SMTP id smtpd.web12.12929.1572359534146653862 for ; Tue, 29 Oct 2019 07:32:14 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@gmail.com header.s=20161025 header.b=Fe6FhKmZ; spf=pass (domain: gmail.com, ip: 209.85.215.178, mailfrom: prabhakar.pkin@gmail.com) Received: by mail-pg1-f178.google.com with SMTP id j22so3697688pgh.3 for ; Tue, 29 Oct 2019 07:32:14 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=to:from:subject:message-id:date:user-agent:mime-version :content-language:content-transfer-encoding; bh=TLEe1tRMamb37DBICjU0ZS26DQtKS7o0MiMgV/9+xMY=; b=Fe6FhKmZMNky9JTx9MzgjHuzrv7rFgq//Ox2HI3nUGKQHtoiR+bSEMCcSVtLGAOTS9 0iUz8dp4oW9zccS0s1jc5Zs/lRahYDHLtkN+n68H76s6lmsX4fc+pi9C/BQqNfVUdcEQ GYJHaFFfsIoUNCDAliezJqiQ4P55+/l1vRsdPHVeMdm+8pmdSXrY90Kt76uMimU4KkgG Ur9TjkYHdwwfT0IrWSazWX1CCuWeGuCVv839BcxWWTmMzUmRXw56qjISqr0/EqXqgnCR YsRAvBpzX819OnY/xwFH+s6PuD119RAnM+kqHxrDaY3my4OZ7hYKPa1+AMJ8/94Gf5EA CUzA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:to:from:subject:message-id:date:user-agent :mime-version:content-language:content-transfer-encoding; bh=TLEe1tRMamb37DBICjU0ZS26DQtKS7o0MiMgV/9+xMY=; b=ek4vPYMDHeXeY4XuFeX2URrVfaszcrA07tAteJLOB/Yg3VsqLvmsDHtjsaBRl2C1JP 1IM6vZTPdtr09EN7/xIY9Mrc5RfswOm+xD1weNyQd5dq1HjAjM3U1JcGViwm4Lu3/rGb I6tO0yshfi/fVKRTwJJFReh7NcdMw0ChOEXErThWyIC3LkvBTLDGtddRVRuuac/anZsp b+uQrb5anBFi/8f2twaBlCV+4LJcaLi147shj/Qerv/TWF0EYXNdeVifY+b6LDg2C7cp 9JofVCDLBYVPW4X1hsmiI0ThVXR3MPxdqhnx71Jht9sysJjc3Gk8eKj/pqCx4mVHO8XI hj/A== X-Gm-Message-State: APjAAAXIUCUg67SmtmffbK053XQnNQ/MJiV5Wu1hb47hh/D+KaUMMknW jPDqhiuLUc4icGju7/95lmgsJvQepoU= X-Google-Smtp-Source: APXvYqxx7Ng2VNTksPnJg0RjScqL4g0wuwEOn5yNhfkgnIxF0Zzsggt2/Wwdv8fotwgNRdkvDQHt/Q== X-Received: by 2002:a63:f34f:: with SMTP id t15mr28540179pgj.453.1572359533458; Tue, 29 Oct 2019 07:32:13 -0700 (PDT) Return-Path: Received: from [192.168.31.113] ([43.224.157.51]) by smtp.gmail.com with ESMTPSA id b16sm17812227pfb.54.2019.10.29.07.32.10 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Tue, 29 Oct 2019 07:32:12 -0700 (PDT) To: devel@edk2.groups.io From: prabhakar.pkin@gmail.com Subject: How /sys/firmware/fdt getting created Message-ID: Date: Tue, 29 Oct 2019 20:02:05 +0530 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:68.0) Gecko/20100101 Thunderbird/68.2.0 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit 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)