From mboxrd@z Thu Jan 1 00:00:00 1970 X-GM-THRID: 6976277815930912768 X-Received: by 2002:a05:6512:3da2:: with SMTP id k34mr1952472lfv.475.1624350369371; Tue, 22 Jun 2021 01:26:09 -0700 (PDT) X-BeenThere: isar-users@googlegroups.com Received: by 2002:a2e:8790:: with SMTP id n16ls5652164lji.11.gmail; Tue, 22 Jun 2021 01:26:08 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyVI7oWDfLCjsu2In7tL1qW1bZbbQBmg6anCVUcLUxCz0K0gSw1cFBgjcSUNcMP8HNKWuzE X-Received: by 2002:a2e:a315:: with SMTP id l21mr2282995lje.158.1624350368056; Tue, 22 Jun 2021 01:26:08 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1624350368; cv=none; d=google.com; s=arc-20160816; b=yaOQ9Ua3N1kr481WPbASP3cb0hPgbU7klW+zK7lMdxcxH67Ai/ag7afldBn8+aFNo4 RSt7HHI5CEtbe/vDsT0zMisngqW2KsiYMr8WTyCvH4ugczxqOxhWpPhl6dnHA579WdTg Gwf3GM90lBjflEADJe4m3NuqgUmdMmGm5zinGrLg6eQhZSGL9nxzY1jOwJECeYS9LAk7 snBOEXMaQWxjBSyeyvHb5R5SmD6Kysm82PGF5eJ1CjVKYtxVGPJhBvZTjN8dx7eu1B07 rO7IU1bYk6nGEjwpyXOiCp0RZFib4CLCKcdtnkpKt1vs3LrBrClBe53gK0R2tXNIl0DV Ikow== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:content-language:in-reply-to:mime-version :user-agent:date:message-id:references:cc:to:from:subject; bh=tlMo+4nRkF6DBZrE8c79mpfAQ5MjTuinMSQwPnX32zU=; b=V30GNZuqLDQlDh1zliLjWUm6JPS5uVmVwIrjNDGsKLAyZ9/yXjDh1z6ZzDajTXU9j8 SWJ5JrJF5j6xthYxATynicWl8mjw0u8zfVQusEs+Atfy16PmyeEbSM1LfPrXoTcgomXK A1fkbYdPoek+gu94XOF/l//6OSvfV9YB3zpPl0lCEzHDuVzkPYVibQeqsDFAgyTw8hBL CHpzpeZYUVn7iIBNJzOhoSDpteJ1NjcR6YMFvMcKHbf8aZYYqQey471CfsrJDvjZde5e /ewXcbng40/owmFEgM65UhZtgwbVK8hv9pM05sJwbPVd5oEchdGJoDhotQBraYS5wRMk CqTw== ARC-Authentication-Results: i=1; gmr-mx.google.com; spf=pass (google.com: domain of jan.kiszka@siemens.com designates 192.35.17.28 as permitted sender) smtp.mailfrom=jan.kiszka@siemens.com; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=siemens.com Return-Path: Received: from goliath.siemens.de (goliath.siemens.de. [192.35.17.28]) by gmr-mx.google.com with ESMTPS id j2si42941lfe.8.2021.06.22.01.26.07 for (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Tue, 22 Jun 2021 01:26:07 -0700 (PDT) Received-SPF: pass (google.com: domain of jan.kiszka@siemens.com designates 192.35.17.28 as permitted sender) client-ip=192.35.17.28; Authentication-Results: gmr-mx.google.com; spf=pass (google.com: domain of jan.kiszka@siemens.com designates 192.35.17.28 as permitted sender) smtp.mailfrom=jan.kiszka@siemens.com; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=siemens.com Received: from mail2.sbs.de (mail2.sbs.de [192.129.41.66]) by goliath.siemens.de (8.15.2/8.15.2) with ESMTPS id 15M8Q6Eb002501 (version=TLSv1.2 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Tue, 22 Jun 2021 10:26:06 +0200 Received: from [167.87.93.200] ([167.87.93.200]) by mail2.sbs.de (8.15.2/8.15.2) with ESMTP id 15M8Q50H014497; Tue, 22 Jun 2021 10:26:05 +0200 Subject: Re: [PATCH] u-boot: Use new makefile target for u-boot-initial-env where available From: Jan Kiszka To: isar-users Cc: Harald Seiler References: Message-ID: <0c15ae6b-d3a1-0df6-17f6-1fe3cede70cd@siemens.com> Date: Tue, 22 Jun 2021 10:26:05 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.10.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit X-TUID: GF3XEpZUbvtY On 21.06.21 18:00, Jan Kiszka wrote: > From: Jan Kiszka > > Since 2019.07, u-boot-initial-env is available as build target. Latest > U-Boot has troubles running the get_default_envs.sh script, so better > switch to the official target where available. > > Signed-off-by: Jan Kiszka > --- > meta/recipes-bsp/u-boot/files/debian/rules | 8 ++++++-- > 1 file changed, 6 insertions(+), 2 deletions(-) > > diff --git a/meta/recipes-bsp/u-boot/files/debian/rules b/meta/recipes-bsp/u-boot/files/debian/rules > index 85bda91..a5c2cd2 100755 > --- a/meta/recipes-bsp/u-boot/files/debian/rules > +++ b/meta/recipes-bsp/u-boot/files/debian/rules > @@ -3,7 +3,7 @@ > # Debian rules for custom U-Boot build > # > # This software is a part of ISAR. > -# Copyright (c) Siemens AG, 2018 > +# Copyright (c) Siemens AG, 2018-2021 > # > # SPDX-License-Identifier: MIT > > @@ -15,7 +15,11 @@ endif > override_dh_auto_build: > $(MAKE) $(PARALLEL_MAKE) $(U_BOOT_CONFIG) > $(MAKE) $(PARALLEL_MAKE) ${U_BOOT_BIN} > - ./scripts/get_default_envs.sh >u-boot-initial-env > + $(MAKE) -n u-boot-initial-env >/dev/null 2>&1; if [ $$? -ne 2 ]; then \ > + $(MAKE) $(PARALLEL_MAKE) u-boot-initial-env; \ > + else \ > + ./scripts/get_default_envs.sh >u-boot-initial-env; \ > + fi > $(MAKE) $(PARALLEL_MAKE) $(SET_CROSS_BUILD_TOOLS) NO_SDL=1 tools-only envtools > > override_dh_auto_install: > Meanwhile, the u-boot issue is being fixed [1], but I still think we should go this way. Jan [1] https://www.mail-archive.com/u-boot@lists.denx.de/msg409446.html -- Siemens AG, T RDA IOT Corporate Competence Center Embedded Linux