From mboxrd@z Thu Jan 1 00:00:00 1970 Delivery-date: Thu, 04 Jan 2024 10:29:04 +0100 Received: from metis.whiteo.stw.pengutronix.de ([2a0a:edc0:2:b01:1d::104]) by lore.white.stw.pengutronix.de with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.96) (envelope-from ) id 1rLK2C-003LiF-1Y for lore@lore.pengutronix.de; Thu, 04 Jan 2024 10:29:04 +0100 Received: from localhost ([127.0.0.1] helo=metis.whiteo.stw.pengutronix.de) by metis.whiteo.stw.pengutronix.de with esmtp (Exim 4.92) (envelope-from ) id 1rLK2B-0003NT-RN; Thu, 04 Jan 2024 10:29:03 +0100 Received: from mail-am6eur05on2079.outbound.protection.outlook.com ([40.107.22.79] helo=EUR05-AM6-obe.outbound.protection.outlook.com) by metis.whiteo.stw.pengutronix.de with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1rLK1Y-0003NK-1m for ptxdist@pengutronix.de; Thu, 04 Jan 2024 10:28:24 +0100 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=kIHjlm+ysq/j602XYMmy3I3Mt80F6Hs+J4MhZT4RA+mwu2OqSeIsYlHGgeEVHhHmG50vqp2I4MKzGBXTN4VElPFhYDJdR6RayfR2KtFfRkCQfKwaVnoJQK7v5aGnIfdVKMCP/K0MBKwaQWTZ6nLZ+S1ppKS5PZSfqmQ3OZ4Cc3NJADNG65sHN0Qsj1rUZeTW6d1lteUvQ0+9AzWjOBeH+Nw37JkjtBZVZFh15jq40+nsCWgeKbOllIs12LilWA47i4pEkSnC8tj8Jf1qdxvcbp37+exJOo32Dnf7PXNyiNlh4B3qS4+S11Kl2icVMEWXp2/ax/ih7pS8h+KGuID5hQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=ZiIHYWhxYYTMFRDB5UawDE1jNCrSAio0IwJhSK8TIKw=; b=VxS5XIZ/kMNtSTajl+a0SWeu5EFtTwOk/I8rqCDg9CK+bKb2dmFdP+8LH1FCiAb9mzelpRsH7SSl3wbewhdz9wIup4nIsHWPZkE7awvJQMcDnnkWC25/Z6AEIiEwNEtVG9NkUcP5nefuKiGhsG+M0SYVKwM73Wl4OLw4a93iDSBcEEDZOuNzG/5K0tpyz6/PEVx3thbUmpMQ/ASk3J7J4wz5mt8Zi+Bgg4d8xDVdFTU2nkMToIkOhoKOevBHNberkXTVojJDUMWDU0ySXguMppAh7fC1ejr9RFDUtfbL8Ga51KD71OpJXQJ4Y7g+Rl6gR5bMejLwnEpp30DWU0+8Ng== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=t2data.com; dmarc=pass action=none header.from=t2data.com; dkim=pass header.d=t2data.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=t2datacom.onmicrosoft.com; s=selector1-t2datacom-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=ZiIHYWhxYYTMFRDB5UawDE1jNCrSAio0IwJhSK8TIKw=; b=Wllre4hDnIx0HTwIogs9XrR17swG8nP4iEcnKE9CKvGj3LjhY29lK/mkzx9m0GMXQ1bE7yUWgCUFiQR1vBpKUnLKCABiAM1Cw/Wv+9i+G8eQ1nraMx5cP4GfXJjiQA/ZZRXlarRfYhhkmEnGTs6TbbmET1ocDgLMDY3zwvGiF4I= Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=t2data.com; Received: from DB9P251MB0618.EURP251.PROD.OUTLOOK.COM (2603:10a6:10:334::22) by DB9P251MB0593.EURP251.PROD.OUTLOOK.COM (2603:10a6:10:335::22) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7159.14; Thu, 4 Jan 2024 09:28:21 +0000 Received: from DB9P251MB0618.EURP251.PROD.OUTLOOK.COM ([fe80::4aef:7398:a753:3fe8]) by DB9P251MB0618.EURP251.PROD.OUTLOOK.COM ([fe80::4aef:7398:a753:3fe8%4]) with mapi id 15.20.7159.013; Thu, 4 Jan 2024 09:28:21 +0000 Message-ID: Date: Thu, 4 Jan 2024 10:26:42 +0100 User-Agent: Mozilla Thunderbird Content-Language: en-US To: oss-lists@triops.cz References: <20240103192352.3447044-1-christian.melki@t2data.com> From: Christian Melki In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-ClientProxiedBy: GVX0EPF00011B51.SWEP280.PROD.OUTLOOK.COM (2603:10a6:144:1:0:8:0:b) To DB9P251MB0618.EURP251.PROD.OUTLOOK.COM (2603:10a6:10:334::22) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: DB9P251MB0618:EE_|DB9P251MB0593:EE_ X-MS-Office365-Filtering-Correlation-Id: 2e77497c-c153-4eef-7ee6-08dc0d077de6 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: fgfECUWZapq3j/16GgzBB1M/X/X9COX1iSVeXqd1wWEkZ1O5oFBtLbHCOrlmEdSvXwzlTx4dJcAS28ol+ncRbwYL19yDweITxMjzaznuVWQ7068NRyfVI8SCNqSPIBuDttn1csE8KYJK+MMG6RBY1HHziNiOBdFEoxzOzPwtkTaGn7O1Y248odUp+Sq/bCToPq3pFWNDbojtRKcz2Ms/SGGjyXDSxTNFHgvUrK+CgcXbdVitoLI4xo/xCG2tIkXPX8cSpZ90gtX/sWBJ3gL2mnV3mKJKIS1lhhbDJV5QatKXw5lY9i+X8EfeutmlX8ABZcF7/3K8uoaoyy/KQIId+lMgx8JOPJyA9uDMzdnnUQ+p7A6paJQHXaWJp3ASRafp+yPvkVXh9es2HO5Q7rvg5kD4Y1WtfOebimti+ydwU3tS9TA1t7zS4HIYuIwyqlR9tHSjXOSJOk5AXdBazF+RqTBQxRVQWXKwbuh1ggtX0QH48A/Qjt7KW8vxpkdAeH3IF9/vRwKbJ2DsTP2YxZQDl1v3ZjvkllZ0d6FHxmSBh/YqePacHtYSb5iO7C7KrxPHBbLM8M+S1zUBv+2zJZvwTjWQV9llxgb5IRpTV5z1AlH4KWLRG9DVET8lbLSWeOYq4zYaOaZmx1z9h2yjsLU3MFj0YjkhmIMh9vGoMuJvSMsu5H5enT7mngMC2ku2vyny X-Forefront-Antispam-Report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:DB9P251MB0618.EURP251.PROD.OUTLOOK.COM; PTR:; CAT:NONE; SFS:(13230031)(136003)(396003)(376002)(366004)(39830400003)(346002)(230922051799003)(230273577357003)(230173577357003)(451199024)(186009)(1800799012)(64100799003)(41300700001)(5660300002)(2906002)(4326008)(8676002)(8936002)(2616005)(83380400001)(53546011)(26005)(6506007)(6512007)(6666004)(86362001)(31686004)(31696002)(38100700002)(36756003)(6486002)(6916009)(44832011)(966005)(316002)(66476007)(66556008)(478600001)(66946007)(43740500002)(45980500001); DIR:OUT; SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?B?Z3Ixbk1iaWU1b2tQYXVLOWlGUkk1ZnJ2ajJXNDcvdWMyekhLUnFxSitoZmRz?= =?utf-8?B?TGI4YWw5TVgzWGhaR1B6RkUvZThSVkhQZ2w4dFJ2bXRqMS9KMnMzd3daTlZZ?= =?utf-8?B?L3VhT0hFWTFPWW54dkd2eUtxZUlMMkhIOUpiV2c1WllBditHRFRkNllhRFA0?= =?utf-8?B?KzlhaU5tQlFiSVdZRjhXOFg5TWJlb3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WUvd2d2Q3paWnJmemNJQnl3bXp5OWw2ekVObnlIejBKMC8rMnhq?= =?utf-8?B?VHhKOHloczZBNmdxa24rNWgyc2kwdllLaDFTNmZzREhyZUVBT1gyeFR4RXhG?= =?utf-8?B?bmVCelhtRURXQnlOQnAxeHMzU3U4RjZBRG5oc3lHT0llU2dqR0ZmMEtMMytP?= =?utf-8?B?bnc9PQ==?= X-OriginatorOrg: t2data.com X-MS-Exchange-CrossTenant-Network-Message-Id: 2e77497c-c153-4eef-7ee6-08dc0d077de6 X-MS-Exchange-CrossTenant-AuthSource: DB9P251MB0618.EURP251.PROD.OUTLOOK.COM X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 04 Jan 2024 09:28:20.9637 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 27928da5-aacd-4ba1-9566-c748a6863e6c X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: +AS/CuQevyq8ySSnUxtEwwUjWGvL1OUuPppHpRxYsFSOeYH9CXu2A7WWxu+p4hWjuwC9eWn/BseFYRmaCuzzIjYZ1tJz8eyH/F7jYiATo0M= X-MS-Exchange-Transport-CrossTenantHeadersStamped: DB9P251MB0593 X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on metis.whiteo.stw.pengutronix.de X-Spam-Level: X-Spam-Status: No, score=-2.1 required=4.0 tests=AWL,BAYES_00,DKIM_SIGNED, DKIM_VALID,RCVD_IN_DNSWL_NONE,RCVD_IN_MSPIKE_H2,SPF_HELO_PASS,SPF_PASS, T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.2 Subject: Re: [ptxdist] [PATCH] libfdt: New package. X-BeenThere: ptxdist@pengutronix.de X-Mailman-Version: 2.1.29 Precedence: list List-Id: PTXdist Development Mailing List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: ptxdist@pengutronix.de Cc: ptxdist@pengutronix.de Sender: "ptxdist" X-SA-Exim-Connect-IP: 127.0.0.1 X-SA-Exim-Mail-From: ptxdist-bounces@pengutronix.de X-SA-Exim-Scanned: No (on metis.whiteo.stw.pengutronix.de); SAEximRunCond expanded to false Hi Ladis, On 1/4/24 10:12 AM, Ladislav Michl wrote: > Hi, > > On Wed, Jan 03, 2024 at 08:23:52PM +0100, Christian Melki wrote: >> Add the device-tree-compiler source as libfdt. >> I guess the package could have been named dtc as a target >> variant with libfdt, but I don't know of any uses of the >> dtc on target environments. > > Appended my version created about two years ago... Those DTC tools > were used to patch devicetree during on field board upgrade when > moving from ancient kernel. Flash repartioning was part of that > upgrade as well as use of RAUC. Basically all userspace was moved > to ramdisk, detached from flash, new image was prepared and flashed > at once - single point of failure, board was dead when this failed, > but as far as I know, it never happened. So yes, dtc on target > environment is very usefull :) > Oh. Didn't know you already had a version. I would probably have written my own tool using libfdt, integrated into something else. :) But that isn't saying there is no need for anyone. >> So the only use I can think of is libfdt. I think the name is more >> accurate towards usage, but it isn't as symmetrical as the >> typical host-* and normal variants. > > In case you reconsider, I'll merge your and my variant (I didn't > bother with licenses as it was part of local BSP). I'll gladly reconsider. It's perfectly fine if there are usecases. Please go ahead and do a merge if you like. But keep binaries as optional. I prefer it that way. Either way, libfdt needs to happen on target because of qemu afaict. > >> The use of libfdt is separate from the host-dtc usage too, >> so whatever version you'd use for external device trees are probably >> not the same as target lifdt. There you'd typically want the latest >> version. >> >> This work is prepping for qemu 8.2.0+, as it requires libfdt >> as a separate library. It has stopped providing one internally. >> >> Signed-off-by: Christian Melki >> --- >> rules/libfdt.in | 9 +++++++ >> rules/libfdt.make | 69 +++++++++++++++++++++++++++++++++++++++++++++++ >> 2 files changed, 78 insertions(+) >> create mode 100644 rules/libfdt.in >> create mode 100644 rules/libfdt.make >> >> diff --git a/rules/libfdt.in b/rules/libfdt.in >> new file mode 100644 >> index 000000000..3e30062e9 >> --- /dev/null >> +++ b/rules/libfdt.in >> @@ -0,0 +1,9 @@ >> +## SECTION=system_libraries >> + >> +menuconfig LIBFDT >> + tristate >> + prompt "libfdt " >> + help >> + libfdt is the flattend device tree library. >> + It's technically a part of the device tree compiler code, >> + but for target uses, libfdt is sometimes required. >> \ No newline at end of file >> diff --git a/rules/libfdt.make b/rules/libfdt.make >> new file mode 100644 >> index 000000000..a7f5cc566 >> --- /dev/null >> +++ b/rules/libfdt.make >> @@ -0,0 +1,69 @@ >> +# -*-makefile-*- >> +# >> +# Copyright (C) 2023 Christian Melki >> +# >> +# For further information about the PTXdist project and license conditions >> +# see the README file. >> +# >> + >> +# >> +# We provide this package >> +# >> +PACKAGES-$(PTXCONF_LIBFDT) += libfdt >> + >> +# >> +# Paths and names >> +# >> +LIBFDT_VERSION := 1.7.0 >> +LIBFDT_MD5 := f8b4469ad89f4b882091895ec60dde6b >> +LIBFDT := dtc-$(LIBFDT_VERSION) >> +LIBFDT_SUFFIX := tar.gz >> +LIBFDT_URL := https://git.kernel.org/pub/scm/utils/dtc/dtc.git/snapshot/$(LIBFDT).$(LIBFDT_SUFFIX) >> +LIBFDT_SOURCE := $(SRCDIR)/$(LIBFDT).$(LIBFDT_SUFFIX) >> +LIBFDT_DIR := $(BUILDDIR)/$(LIBFDT) >> +LIBFDT_LICENSE := BSD-2-Clause OR GPL-2.0 >> +LIBFDT_LICENSE_FILES := \ >> + file://README.license;md5=a1eb22e37f09df5b5511b8a278992d0e \ >> + file://GPL;md5=b234ee4d69f5fce4486a80fdaf4a4263 \ >> + file://BSD-2-Clause;md5=5d6306d1b08f8df623178dfd81880927 >> + >> +# ---------------------------------------------------------------------------- >> +# Prepare >> +# ---------------------------------------------------------------------------- >> + >> +LIBFDT_CONF_TOOL := NO >> + >> +LIBFDT_MAKE_ENV := \ >> + $(CROSS_ENV) >> + >> +LIBFDT_MAKE_OPT := \ >> + PREFIX=/usr \ >> + NO_PYTHON=1 \ >> + NO_VALGRIND=1 \ >> + NO_YAML=1 >> + >> +LIBFDT_INSTALL_OPT := \ >> + $(LIBFDT_MAKE_OPT) \ >> + install-includes \ >> + install-lib >> + >> +# ---------------------------------------------------------------------------- >> +# Target-Install >> +# ---------------------------------------------------------------------------- >> + >> +$(STATEDIR)/libfdt.targetinstall: >> + @$(call targetinfo) >> + >> + @$(call install_init, libfdt) >> + @$(call install_fixup, libfdt,PRIORITY,optional) >> + @$(call install_fixup, libfdt,SECTION,base) >> + @$(call install_fixup, libfdt,AUTHOR,"Christian Melki ") >> + @$(call install_fixup, libfdt,DESCRIPTION,missing) >> + >> + @$(call install_lib, libfdt, 0, 0, 0644, libfdt-$(LIBFDT_VERSION)) >> + >> + @$(call install_finish, libfdt) >> + >> + @$(call touch) >> + >> +# vim: syntax=make >> -- >> 2.34.1 >> > > PACKAGES-$(PTXCONF_DTC) += dtc > > # > # Paths and names > # > DTC_VERSION := 1.6.0 > DTC_MD5 := cd36ac756290597f3cf1c5b6cfe12e77 > DTC := dtc-v$(DTC_VERSION) > DTC_SUFFIX := tar.gz > DTC_URL := https://git.kernel.org/pub/scm/utils/dtc/dtc.git/snapshot/$(DTC).$(DTC_SUFFIX) > DTC_SOURCE := $(SRCDIR)/$(DTC).$(DTC_SUFFIX) > DTC_DIR := $(BUILDDIR)/$(DTC) > DTC_LICENSE := GPL-2.0-only > > # ---------------------------------------------------------------------------- > # Prepare > # ---------------------------------------------------------------------------- > > DTC_CONF_TOOL := NO > DTC_MAKE_OPT := \ > PREFIX=/usr \ > NO_PYTHON=1 \ > NO_VALGRIND=1 \ > NO_YAML=1 \ > $(CROSS_ENV_CC) > > DTC_INSTALL_OPT := \ > $(DTC_MAKE_OPT) \ > install-bin \ > install-lib > > # ---------------------------------------------------------------------------- > # Target-Install > # ---------------------------------------------------------------------------- > > DTC_BIN-y := > DTC_BIN-$(PTXCONF_DTC_DTC) += dtc > DTC_BIN-$(PTXCONF_DTC_DTDIFF) += dtdiff > DTC_BIN-$(PTXCONF_DTC_FDTDUMP) += fdtdump > DTC_BIN-$(PTXCONF_DTC_FDTGET) += fdtget > DTC_BIN-$(PTXCONF_DTC_FDTOVERLAY) += fdtoverlay > DTC_BIN-$(PTXCONF_DTC_FDTPUT) += fdtput > > $(STATEDIR)/dtc.targetinstall: > @$(call targetinfo) > > @$(call install_init, dtc) > @$(call install_fixup, dtc,PRIORITY,optional) > @$(call install_fixup, dtc,SECTION,base) > @$(call install_fixup, dtc,AUTHOR,"Ladislav Michl ") > @$(call install_fixup, dtc,DESCRIPTION,missing) > > @$(call install_lib, dtc, 0, 0, 0644, libfdt-$(DTC_VERSION)) > > @$(foreach tool, $(DTC_BIN-y), \ > $(call install_copy, dtc, 0, 0, 0755, -, \ > /usr/bin/$(tool));) > > @$(call install_finish, dtc) > > @$(call touch) > > # vim: syntax=make >