From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from shymkent.ilbers.de ([unix socket]) by shymkent (Cyrus 2.5.10-Debian-2.5.10-3+deb9u2) with LMTPA; Fri, 09 Aug 2024 13:01:05 +0200 X-Sieve: CMU Sieve 2.4 Received: from mail-wm1-f63.google.com (mail-wm1-f63.google.com [209.85.128.63]) by shymkent.ilbers.de (8.15.2/8.15.2/Debian-8+deb9u1) with ESMTPS id 479B14bQ025760 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT) for ; Fri, 9 Aug 2024 13:01:05 +0200 Received: by mail-wm1-f63.google.com with SMTP id 5b1f17b1804b1-42809eb7b99sf10223675e9.0 for ; Fri, 09 Aug 2024 04:01:04 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1723201259; cv=pass; d=google.com; s=arc-20160816; b=NDe5k3e+mAtA/8XCwxunUrJQUi1QSRNyQw6nzqv2YSR0EC5E975WqZt9HeT49iUJ3B /PedsTg0TXgitHRJ4fFRu4pToOB+JEAZOkKecsadAu84WrfEtTGmndfq8LZ7xwBqnqTD LT3BYGt4lY0JSUcHCMUF+e621D32Kk5+ASS235lcvTsHxG2n6+EwIwPtVWtLPu0g17xj ek4JNA2zYe9lRTyLrXuAR4hLPb5d8YIusQJGTXH4nQXPKu2B4T2lucafxKRldXhkl6Jc CmzMQQsGhfe5iRX3/KNHSttcqOOmmQygI4UoNZZ/9QgispBsNPrB8lUvynVSEKvuFPBj yYNQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-unsubscribe:list-subscribe:list-archive:list-help:list-post :list-id:mailing-list:precedence:reply-to:feedback-id:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=eQJ2f4wNOD5bI6Beu0E1hnXubfgB7TR45ixIRZ0aBDM=; fh=+JIfDyfnh5HbfeW8qLQ6PuQHjOAo5obnwMXO7HuXC8s=; b=T8ZSZDoeRDw9juZDGFvYiwbO9/Q2mpjG5toJkLytOJhDRnuC6fS4NgGZMmtLOi89mP 0jmOlqeMFuO6tvjlPnVBTqA1v0tVXDpvWgA81aq1rkTKRdLd+MOw5Gfo/Q/tH7B3ea4Z DJEAiej/CfXvQRfTjykWeU4KYM3Nl6DbiD+BZ12a/aLt8Wm7pPrDjv/1Sd1uWMvtu3dr 7YXxoGyHksh2W0PUUx96oyoVgppucJ3OlhMmlhY7BwrsoElVmgTPw7E6nfjlZ1DQDjSu z6RIJc/pohlfex+5Toa8+4rY7o1crxfWKrwd/9eKUxycu16gqXTIXYDvQogqGk2np0G6 JUjQ==; darn=isar-build.org ARC-Authentication-Results: i=2; gmr-mx.google.com; dkim=pass header.i=@siemens.com header.s=fm1 header.b=XVFN2+GM; spf=pass (google.com: domain of fm-1327153-20240809110055c4a5f4858563deb5c0-14e9y_@rts-flowmailer.siemens.com designates 185.136.65.225 as permitted sender) smtp.mailfrom=fm-1327153-20240809110055c4a5f4858563deb5c0-14E9Y_@rts-flowmailer.siemens.com; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=siemens.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlegroups.com; s=20230601; t=1723201259; x=1723806059; darn=isar-build.org; h=list-unsubscribe:list-subscribe:list-archive:list-help:list-post :list-id:mailing-list:precedence:reply-to :x-original-authentication-results:x-original-sender:feedback-id :mime-version:references:in-reply-to:message-id:date:subject:cc:to :from:from:to:cc:subject:date:message-id:reply-to; bh=eQJ2f4wNOD5bI6Beu0E1hnXubfgB7TR45ixIRZ0aBDM=; b=aAyKdP26msDW1N4XAE8fTpdMGzMQlnVD1Jn+1KcG5H4cxGTf9IU0V3NXIjO7YaaWHV FcmLzXVe2PEzO7l3PGner4NRe2cWsb8vBnFDgrSH9bDkT2L8RdNTefaGeDeilgTo78Cl inzeXta+UzRjiow4WrX1zwyLOv9V+OMMtPbdKNL6j4Go3Ak7U6BtzmwKDoFOe/rFa9nC coMyUMNH3wDPSaH4OqhuyeXM6u/8fuHhQGshJsGumX6vXdXvuko4sg9ZIOgpg5yIJubg 0OSzNTI6g4dMYr2WV4OnWibXZwYXzpbwLIIHGWW1p4QGXB4RmYEFg/14P7zMG+gTZSu+ ahLQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1723201259; x=1723806059; h=list-unsubscribe:list-subscribe:list-archive:list-help:list-post :x-spam-checked-in-group:list-id:mailing-list:precedence:reply-to :x-original-authentication-results:x-original-sender:feedback-id :mime-version:references:in-reply-to:message-id:date:subject:cc:to :from:x-beenthere:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=eQJ2f4wNOD5bI6Beu0E1hnXubfgB7TR45ixIRZ0aBDM=; b=jIKKc5vdopAATtHND4lWdZ7tzJ0nf/3p5cuNaJgj7030Ot95ldsyXaD9btLqGCVdt4 NGAr00zmaj8TV3ROIFVWGJFoUs5jjfviS4jDqWovNxgvGF25c+VOjR+jARIS3Gpx7oU6 Qp+sM9ge3PhJIHyCTvgkRuDTJC91EMpiSr4t078yMs0ulFekKjv4Xw6Abx3Hmo7yMNch JyNaTBFHjxem4JfCjiqPfYun/8oRYH7db9r3cZTYUAtqd88R0QAwva9PAHRlFWBk52D0 /wB5pCdB5Pfph43JIGujQU0MBtnNeteDbFl5IZQ5NFGqwjI5Z/wXT8IeU5B2SKdFNMbP Lk8A== X-Forwarded-Encrypted: i=2; AJvYcCUoaQEj/AJTts8/qGacBF/lAM2jsJt/jqimO6edKHvqKQf4aNq24Dw7Aoj20/f9Ukr8690aKQ5ajHn7BVwxL18ocWk= X-Gm-Message-State: AOJu0Yw1dg+xXXAE9i9kAyuAc6SJ5KLGx05+o6p9fJxL9tuKHWRBFMw+ qomEKHR3TiE6U7LeebTvLW85l+ZzMt7iyn9uczSrAwUoM+0q979b X-Google-Smtp-Source: AGHT+IFGB69zwGuOZT1qZi9XvbbO4UWdWU7ISo334c9KWfqzorNcgYCH9t5Met/yZWHXcysNEoVEMQ== X-Received: by 2002:a05:600c:198e:b0:426:6fb1:6b64 with SMTP id 5b1f17b1804b1-4290b8445d3mr41554465e9.7.1723201258713; Fri, 09 Aug 2024 04:00:58 -0700 (PDT) X-BeenThere: isar-users@googlegroups.com Received: by 2002:a05:600c:1381:b0:426:5216:9af1 with SMTP id 5b1f17b1804b1-4290928f101ls5156535e9.1.-pod-prod-00-eu; Fri, 09 Aug 2024 04:00:57 -0700 (PDT) X-Received: by 2002:a05:600c:46c3:b0:428:f0fc:4e54 with SMTP id 5b1f17b1804b1-4290b8ac7abmr39071675e9.11.1723201256796; Fri, 09 Aug 2024 04:00:56 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1723201256; cv=none; d=google.com; s=arc-20160816; b=q2dxG4Xf1X2fiCFMfz5NLcvhRz3v+UNkh8J45smdxlIKRPEowNT3M3bE2LxshxX/tL LbXmfpeRYbKUIItNVLKl1ZAPjguLhE5UnDjA4YVSne/blMwQoRxRaR7o5OLUZbF/Rkld 2TN614vZQLQEYGq0HcLnkZXwp9qhpHyC5Ie2XT1QFHBehwflAs/lb0pt19uJrIKXHREv brUtL9secYhLmChm/0CeTFHfPyl29f4eeKPJ/4W3F/lhJ8uE4lgI6UFIdP2++qUzVSPn y4kCSbodJfMoL+F7WtDFjVupQ45MblbF4QwnegE8hZQCOBIrdDG3Q28aIqnh/IptqMdS vMPg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=feedback-id:content-transfer-encoding:mime-version:references :in-reply-to:message-id:date:subject:cc:to:from:dkim-signature; bh=6ernyCtO5ALwsDU874DUzv9DjJFP3rlBYFmrDxqVWT0=; fh=uEpizMaC9FZ5RjhWZ8Q38YHTDXG+3EPxv68QQHJHPnI=; b=WnVOqvFBKPxk6/x9dwlla/1rp6bMSc3tg5QO8B2OPymyLhSKBvm8B5vHV/g3ddO2Ds hxh846Xrwt9M5j61OuOHvt/G0Hop/aYXYQPjGkITGpUzwEJcGyvTPZLRyck3M2+0sNm+ 5VRxWKT7tzI19VqLri4v0csDms0GGwXDF9XiYrWtF/9yZblTrCgwpLTKaVqImEXCDu2v W/0vcxGNkBbgjVuW0OTr9Up3UFL6Ikv7eOu8xPKFqb36+xbY4hIUQliZmcjgxC4fmXPz b8mi9C5mFksD7XUpFYQkFZGb25fhA18eDE5a37HHhryrtz3KJ4R1l1pl16aYuPeqb/+M AQ7A==; dara=google.com ARC-Authentication-Results: i=1; gmr-mx.google.com; dkim=pass header.i=@siemens.com header.s=fm1 header.b=XVFN2+GM; spf=pass (google.com: domain of fm-1327153-20240809110055c4a5f4858563deb5c0-14e9y_@rts-flowmailer.siemens.com designates 185.136.65.225 as permitted sender) smtp.mailfrom=fm-1327153-20240809110055c4a5f4858563deb5c0-14E9Y_@rts-flowmailer.siemens.com; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=siemens.com Received: from mta-65-225.siemens.flowmailer.net (mta-65-225.siemens.flowmailer.net. [185.136.65.225]) by gmr-mx.google.com with ESMTPS id 5b1f17b1804b1-4290590aa41si1215445e9.2.2024.08.09.04.00.56 for (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Fri, 09 Aug 2024 04:00:56 -0700 (PDT) Received-SPF: pass (google.com: domain of fm-1327153-20240809110055c4a5f4858563deb5c0-14e9y_@rts-flowmailer.siemens.com designates 185.136.65.225 as permitted sender) client-ip=185.136.65.225; Received: by mta-65-225.siemens.flowmailer.net with ESMTPSA id 20240809110055c4a5f4858563deb5c0 for ; Fri, 09 Aug 2024 13:00:56 +0200 From: "'Nicusor Huhulea' via isar-users" To: isar-users@googlegroups.com Cc: Nicusor Huhulea Subject: [PATCH v2] linux-custom: compile only those specified dtbs Date: Fri, 9 Aug 2024 13:59:32 +0300 Message-Id: <20240809105933.3040701-1-nicusor.huhulea@siemens.com> In-Reply-To: <20240802114105.1767411-1-nicusor.huhulea@siemens.com> References: <20240802114105.1767411-1-nicusor.huhulea@siemens.com> MIME-Version: 1.0 X-Flowmailer-Platform: Siemens Feedback-ID: 519:519-1327153:519-21489:flowmailer X-Original-Sender: nicusor.huhulea@siemens.com X-Original-Authentication-Results: gmr-mx.google.com; dkim=pass header.i=@siemens.com header.s=fm1 header.b=XVFN2+GM; spf=pass (google.com: domain of fm-1327153-20240809110055c4a5f4858563deb5c0-14e9y_@rts-flowmailer.siemens.com designates 185.136.65.225 as permitted sender) smtp.mailfrom=fm-1327153-20240809110055c4a5f4858563deb5c0-14E9Y_@rts-flowmailer.siemens.com; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=siemens.com X-Original-From: Nicusor Huhulea Reply-To: Nicusor Huhulea Content-Type: text/plain; charset="UTF-8" Precedence: list Mailing-list: list isar-users@googlegroups.com; contact isar-users+owners@googlegroups.com List-ID: X-Spam-Checked-In-Group: isar-users@googlegroups.com X-Google-Group-Id: 914930254986 List-Post: , List-Help: , List-Archive: , List-Unsubscribe: , X-Spam-Status: No, score=-4.9 required=5.0 tests=DKIMWL_WL_MED,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,MAILING_LIST_MULTI, RCVD_IN_MSPIKE_H2,RCVD_IN_RP_CERTIFIED,RCVD_IN_RP_RNBL,RCVD_IN_RP_SAFE, SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.2 X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on shymkent.ilbers.de X-TUID: dBbNBfp9Wate Hello, These changes are trying to solve or offer an alternative to the full build(default build) compilation of the kernel which leads to the compilation of all dtbs. This automatic compilation is due to the kernel configuration that automatically includes the compilation of dtbs in the default build process and the makefiles rules in the bsp directories that builds DTBs along with the kernel by default. Compiling the linux kernel using a specific target stops the automatic build of the dtbs, explicitly specifying dtbs files as make targets will instruct the build process to compile only those files. Certain speed and disk space usage test were made. These tests targeted the phyboard-mira(on Kernel Post-6.x and Kernel Pre-6.x 4.19.88) and iot2050(Kernel Post-6.x): specific target: Build needed 00:02:08, 2219688k disk space - linux-phy kernel 6.x full build: Build needed 00:02:14, 2271528k disk space - linux-phy kernel 6.x specific build : Build needed 00:02:19, 2355400k disk space - linux-iot2050 kernel 6.x full build: Build needed 00:02:23, 2356828k disk space - liux-iot2050 kernel 6.x On linux-phy Kernel 6.x the full build took 6 seconds longer than the specific target build and used approximately 50.6 MB more disk space than the specific target build. The iot2050 data is somewhat similar. Based on the data from the dpkg_build.log the benefits of using specific targets reduces build times and resource efficiency. However there can be some potential pitfalls associated with this approach. When the engineer is not intimate with the bsp certain kernel configurations or some dependencies may not be satisfied. And this is why this is enabled only when KERNEL_IMAGETYPE is present.(although the iot2050 builds went well on my side) Nicu -- You received this message because you are subscribed to the Google Groups "isar-users" group. To unsubscribe from this group and stop receiving emails from it, send an email to isar-users+unsubscribe@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/isar-users/20240809105933.3040701-1-nicusor.huhulea%40siemens.com.