From nobody Sat Jul 30 01:05:50 2022 X-Original-To: hackers@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4LvmR94q4gz4XbTd for ; Sat, 30 Jul 2022 01:05:57 +0000 (UTC) (envelope-from obsto.clades@zohomail.com) Received: from sender4-pp-o92.zoho.com (sender4-pp-o92.zoho.com [136.143.188.92]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4LvmR83KrLz3lFJ for ; Sat, 30 Jul 2022 01:05:56 +0000 (UTC) (envelope-from obsto.clades@zohomail.com) ARC-Seal: i=1; a=rsa-sha256; t=1659143153; cv=none; d=zohomail.com; s=zohoarc; b=WYVGk6QLNcH6loDY3iLPeII0mCf731w/euDBhX9S3S70aGv74eZcriaU4pgsZl/ZTg908DSa4uCN2KJSwHVdFLdowU/I0YR+V2FUNk5e8du9OQ53Hug03CXCinp6iKYOaG5ccr5KVXQHXcib2XzNOi4uFI9eliddEt3HaoYlx2I= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1659143153; h=Content-Type:Content-Transfer-Encoding:Date:From:In-Reply-To:MIME-Version:Message-ID:References:Subject:To; bh=OJq5hMavammC/LJOoe8bCJbYC0yzPSuUEszR3x2oZ10=; b=WYVUanvAOuHyj7LrxiFwVZfnJ3bmzbT3GuOUyBrnnZbfyEl/yguoIVUlK7kvqMMyZoqf6FFac+q522MsC0aJX2i7QR2WCmJSMTTZuztV6WV/68UV7E9oim+HOWBe992W9jft8/cUwe3tkQxNKBDaKobExsDNkL3UAUdK0DEJkP8= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass header.i=zohomail.com; spf=pass smtp.mailfrom=obsto.clades@zohomail.com; dmarc=pass header.from= DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; t=1659143153; s=zm2022; d=zohomail.com; i=obsto.clades@zohomail.com; h=Message-ID:Date:Date:MIME-Version:Subject:Subject:To:To:References:From:From:In-Reply-To:Content-Type:Content-Transfer-Encoding:Message-Id:Reply-To:Cc; bh=OJq5hMavammC/LJOoe8bCJbYC0yzPSuUEszR3x2oZ10=; b=ax2J71gXKi+4eX5KLxrKsDp0Z24/N2Q6irLG3iiRRFbxbMEENJ29L8kA8f8ytTOJ uu4Q4V2juuu/ej11n4raaU3KiviDjxNWsZ4RvA4SUPKZdnndwLasGtZVq20IjpFTjyh EZ70/x2BR4oZwmT+eI5DibC+S0jtxcA9Hklwhb3A= Received: from [10.0.0.2] (75-172-30-63.tukw.qwest.net [75.172.30.63]) by mx.zohomail.com with SMTPS id 1659143151501863.4113407864423; Fri, 29 Jul 2022 18:05:51 -0700 (PDT) Message-ID: <5a874623-76e4-7fd6-2e81-2aed51f07cbd@zohomail.com> Date: Fri, 29 Jul 2022 18:05:50 -0700 List-Id: Technical discussions relating to FreeBSD List-Archive: https://lists.freebsd.org/archives/freebsd-hackers List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-hackers@freebsd.org MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.11.0 Subject: Re: lua loader Content-Language: en-US To: hackers@freebsd.org References: From: Obsto Clades In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-ZohoMailClient: External X-Rspamd-Queue-Id: 4LvmR83KrLz3lFJ X-Spamd-Bar: ---- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=zohomail.com header.s=zm2022 header.b=ax2J71gX; arc=pass ("zohomail.com:s=zohoarc:i=1"); dmarc=pass (policy=reject) header.from=zohomail.com; spf=pass (mx1.freebsd.org: domain of obsto.clades@zohomail.com designates 136.143.188.92 as permitted sender) smtp.mailfrom=obsto.clades@zohomail.com X-Spamd-Result: default: False [-5.00 / 15.00]; ARC_ALLOW(-1.00)[zohomail.com:s=zohoarc:i=1]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; NEURAL_HAM_SHORT(-1.00)[-1.000]; DMARC_POLICY_ALLOW(-0.50)[zohomail.com,reject]; R_SPF_ALLOW(-0.20)[+ip4:136.143.188.0/24]; R_DKIM_ALLOW(-0.20)[zohomail.com:s=zm2022]; MIME_GOOD(-0.10)[text/plain]; RCVD_COUNT_TWO(0.00)[2]; MLMMJ_DEST(0.00)[hackers@freebsd.org]; RCVD_TLS_LAST(0.00)[]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:2639, ipnet:136.143.188.0/23, country:US]; DKIM_TRACE(0.00)[zohomail.com:+]; MID_RHS_MATCH_FROM(0.00)[]; FROM_HAS_DN(0.00)[]; RCVD_IN_DNSWL_NONE(0.00)[136.143.188.92:from]; TO_MATCH_ENVRCPT_ALL(0.00)[]; RCPT_COUNT_ONE(0.00)[1]; TO_DN_NONE(0.00)[]; DWL_DNSWL_NONE(0.00)[zohomail.com:dkim] X-ThisMailContainsUnwantedMimeParts: N I am also interesting in learning more about the lua loader.  So, if anybody replies to Christopher's question, could you please include me in your replies. On 7/29/22 14:26, Christopher Bowman wrote: > I’ve been looking through the lua code in /boot/loader/lua I can’t really say I understand how the FDT gets loaded or even find the code that does but I am able to load a DTB using: > > load -t dtb /boot/dtb/foo.dtb > > It doesn’t see that overlays are supported (at least in the lua loader). I have a fdt_overlay=“overlay.dtb” statement in my loader.conf but I don’t see it being honored. > Am I correct in understanding that? > > If I’m not correct could someone point me at the code that does the overlay loading so I could look at it? > Thanks > Christopher -- Obsto Clades, LLC