From mboxrd@z Thu Jan 1 00:00:00 1970 X-GM-THRID: 7062708050763710464 X-Received: by 2002:a05:6000:2cc:: with SMTP id o12mr5331493wry.499.1644482757450; Thu, 10 Feb 2022 00:45:57 -0800 (PST) X-BeenThere: isar-users@googlegroups.com Received: by 2002:a05:600c:3c9f:: with SMTP id bg31ls400070wmb.1.canary-gmail; Thu, 10 Feb 2022 00:45:56 -0800 (PST) X-Google-Smtp-Source: ABdhPJzuUeugXkqo7plK6gAw+p4mgGI5CXFOAJSfzUsV1HbL6EjpdytALPkViQvaazmh6ehg0NYI X-Received: by 2002:a1c:a104:: with SMTP id k4mr1236873wme.68.1644482756626; Thu, 10 Feb 2022 00:45:56 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1644482756; cv=none; d=google.com; s=arc-20160816; b=JO/ZjYZiNanelqC8BUXm4WtH0QH8tEEtLHSyUV874XIWDD+MKc50VCoET9uEswJPWH ibDS7d/fICrkNGtqUigdgMCT37bg3cFUZHIlSxZBQxJIYPackLy4dxEc6TrS4+NqpUFj yvlIxR9geGe0u8E4tkvnV6nmb9d6KbkbSXB3ERwG6tTp8bjy3Tm9XxGHSDSVbL3pWvAf YmTqKyolTihSZy4QQOUisEOEDj1mKlgrFTwI91M8te+e7kObB4kj1IgG6XwGa7q01ClY 4BpSnzkX8H1G3T61QGyiYxxSJc4AxBJbC6PsP1333FeKmsrt5D9l3sC5glcO7+MlwXqY QVvA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-language:content-transfer-encoding:in-reply-to:mime-version :user-agent:date:message-id:from:references:to:subject; bh=nkbcd0SmimL5UTcGTM7augzMkOqF5rR4RtfZuHsnSy4=; b=RS0X7Oi0cqr5txw4nAJsybGdDzl7XnnMZ+C/NNLWmcIzGfPviXbkDWq3xJPWYTOsPG cKQHNxkUxD5iqh/v6tP6mYTMB1tsW6a0BPxkQL5EPWohuzS5skR/spVQdwkYgLcPKp0h Hh3Dsnt+quZO38vUIwoTk91XK9oCo3xTL8i13BlfjCkIbdWyPQmQL0fz5Dc8D2xrpmq3 6s4SssBjJ8VUnfNb3SQt2z/NzXKkQkb7kv1vB6tC2zKX1sugP7wXD/X4GCpnU6ieWlLe 2uEfBCG1QDWrzNpZvOJ6tiM10AFTkSg04PmATc3Hx/xTBpO38iMF+/h6XjD5R0/11/p/ RXCw== ARC-Authentication-Results: i=1; gmr-mx.google.com; spf=pass (google.com: domain of amikan@ilbers.de designates 85.214.156.166 as permitted sender) smtp.mailfrom=amikan@ilbers.de Return-Path: Received: from shymkent.ilbers.de (shymkent.ilbers.de. [85.214.156.166]) by gmr-mx.google.com with ESMTPS id o19si81547wme.1.2022.02.10.00.45.56 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Thu, 10 Feb 2022 00:45:56 -0800 (PST) Received-SPF: pass (google.com: domain of amikan@ilbers.de designates 85.214.156.166 as permitted sender) client-ip=85.214.156.166; Authentication-Results: gmr-mx.google.com; spf=pass (google.com: domain of amikan@ilbers.de designates 85.214.156.166 as permitted sender) smtp.mailfrom=amikan@ilbers.de Received: from [127.0.0.1] (host-80-81-17-52.static.customer.m-online.net [80.81.17.52]) (authenticated bits=0) by shymkent.ilbers.de (8.15.2/8.15.2/Debian-8) with ESMTPSA id 21A8jsr9028909 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Thu, 10 Feb 2022 09:45:55 +0100 Subject: Re: [PATCH 7/7] meta: Add barebox bootloader support To: Jan Kiszka , isar-users@googlegroups.com References: <20220209135411.1313521-1-amikan@ilbers.de> <20220209135411.1313521-8-amikan@ilbers.de> <93d39911-dc1e-13ea-62fc-4af56dcef076@ilbers.de> From: Anton Mikanovich Message-ID: <600fef10-2e34-c875-a336-9d1b479c3d25@ilbers.de> Date: Thu, 10 Feb 2022 11:45:54 +0300 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.14.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Content-Language: en-US X-Spam-Status: No, score=-1.0 required=5.0 tests=ALL_TRUSTED 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: UnIW3VRytUp0 10.02.2022 11:05, Jan Kiszka wrote: > On 10.02.22 08:58, Anton Mikanovich wrote: >>>> diff --git a/meta/recipes-bsp/barebox/barebox_2021.04.0-phy5.bb >>>> b/meta/recipes-bsp/barebox/barebox_2021.04.0-phy5.bb >>>> new file mode 100644 >>>> index 0000000..ed8842c >>>> --- /dev/null >>>> +++ b/meta/recipes-bsp/barebox/barebox_2021.04.0-phy5.bb >>>> @@ -0,0 +1,13 @@ >>>> +# This software is a part of ISAR. >>>> +# Copyright (C) 2022 ilbers GmbH >>>> + >>>> +inherit dpkg >>>> + >>>> +require barebox.inc >>>> + >>>> +SRC_URI += >>>> "https://git.phytec.de/barebox/snapshot/barebox-2021.04.0-phy5.tar.bz2 \ >>> Do we really want to or have to promote downstream BSP anti-patterns >>> here? Upstream barebox does not work? >>> >>> I'm mentioning this as I worked hard to avoid that bad practice for the >>> TF-A, OP-TEE, and U-Boot examples we provide. >> Upstream barebox will probably need some patching. >> But it should be not so hard to adapt, so I can try. > If upstream barebox is incomplete then why use it? Upstream U-Boot works > on that board (that's why we used it so far). > > Jan > Upstream barebox actually boots ok, but when using env generated by phytec yocto it tries to call some extended commands. So there can be two ways: to patch barebox or to change environment.