Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from phobos.denx.de (phobos.denx.de [85.214.62.61]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 33207C43334 for ; Wed, 15 Jun 2022 17:30:27 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id E784A84563; Wed, 15 Jun 2022 19:30:24 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=konsulko.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Authentication-Results: phobos.denx.de; dkim=pass (1024-bit key; unprotected) header.d=konsulko.com header.i=@konsulko.com header.b="CTqOR6Zq"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 1733C84565; Wed, 15 Jun 2022 19:30:23 +0200 (CEST) Received: from mail-qk1-x72f.google.com (mail-qk1-x72f.google.com [IPv6:2607:f8b0:4864:20::72f]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits)) (No client certificate requested) by phobos.denx.de (Postfix) with ESMTPS id C49248450A for ; Wed, 15 Jun 2022 19:30:19 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=konsulko.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=trini@konsulko.com Received: by mail-qk1-x72f.google.com with SMTP id o73so9252310qke.7 for ; Wed, 15 Jun 2022 10:30:19 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=konsulko.com; s=google; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to; bh=NIpv7QZFu3TtufkCPCsFE222CSCspBxW8NNC+hgNE9E=; b=CTqOR6ZqY9O+Nn1RC/COZIKhqYkhnwhbzhp+q6p46DjoPobD9Ijxok7JiDH1FZoCjF cg3PKIVeUooiYNJpkDvp1LXntstDpcqmJvePfX3r/9wd58iYct1t5TddYCnAMYpl0XHA rJ0R3kXeRjlAwuvyDq6ldLtig2crK3lwDI54s= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to; bh=NIpv7QZFu3TtufkCPCsFE222CSCspBxW8NNC+hgNE9E=; b=2bPtVtiIB+yJI7Fcq1yZxHGoEeZ3Z1l5YNdjQIwdmBDXc9XsE6vQLpZh1WHE7aUQ5x vsvUj894BQ4owPfQ1hGybyu2+FvlfLeIVNfc1t4+XL+to+ZjW+7wDM85adcTJeB9nDZY dFOUrRatw4vooB12AGMGVuJJl7zN34jC0q91Tt94jYbIrye2Wo7OQ/lla21tqDV4M3SZ 0FbcUU1MWjDtzKDV2k70iQ07sWOIPrkoR65y6A23TF+ftnjXIG19IOZL/nqm8D5H+jgr xlNcFyDn9YbyyyuLZ+DVBnVnun/GsyYg4VZElSCekx+0cWGTAsvFt+23Zs+yHvggnGyD pCqg== X-Gm-Message-State: AJIora8R+wZ9QWFWz/AsEZ/v/43cwzqBDEBECj6IDg5wzgXudnuKsoPi I0PzubEQ324PsD+dLjOqOcObFg== X-Google-Smtp-Source: AGRyM1uQ4BZqHlXwW0/WxSL0x1ynJw808CHJVdeYLd3SWhEqHW9mZwzD8khjiY75ZM3Ql61UVdWgZg== X-Received: by 2002:a05:620a:4007:b0:6a6:d0ec:94a9 with SMTP id h7-20020a05620a400700b006a6d0ec94a9mr629184qko.179.1655314218579; Wed, 15 Jun 2022 10:30:18 -0700 (PDT) Received: from bill-the-cat (cpe-65-184-195-139.ec.res.rr.com. [65.184.195.139]) by smtp.gmail.com with ESMTPSA id i23-20020a05620a151700b006a6f6cdfd94sm11938681qkk.117.2022.06.15.10.30.17 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 15 Jun 2022 10:30:17 -0700 (PDT) Date: Wed, 15 Jun 2022 13:30:15 -0400 From: Tom Rini To: Sean Anderson Cc: u-boot@lists.denx.de, Stefan Roese , Marek Vasut , Simon Glass , Pali =?iso-8859-1?Q?Roh=E1r?= , Marek =?iso-8859-1?Q?Beh=FAn?= , Jagan Teki , Nathan Barrett-Morrison Subject: Re: [PATCH v3 0/9] spl: Use common function for loading/parsing images Message-ID: <20220615173015.GA3288278@bill-the-cat> References: <20220505201655.645692-1-sean.anderson@seco.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="G4iJoqBmSsgzjUCe" Content-Disposition: inline In-Reply-To: <20220505201655.645692-1-sean.anderson@seco.com> X-Clacks-Overhead: GNU Terry Pratchett X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.39 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" X-Virus-Scanned: clamav-milter 0.103.5 at phobos.denx.de X-Virus-Status: Clean --G4iJoqBmSsgzjUCe Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Thu, May 05, 2022 at 04:16:46PM -0400, Sean Anderson wrote: > This series adds support for loading all image types (Legacy, FIT (with > and without LOAD_FIT_FULL), and i.MX) to the MMC, SPI, NOR, NET, FAT, > and EXT load methods. It does this by introducing a helper function > which handles the minutiae of invoking the proper parsing function, and > reading the rest of the image. >=20 > Hopefully, this will make it easier for load methods to support all > image types that U-Boot supports, without having undocumented > unsupported image types. I applied this to several loaders which were > invoking spl_load_simple_fit and/or spl_parse_image_header, but I did > not use it with others (e.g. DFU/RAM) which had complications in the > mix. This needs to be re-based, sorry. I manually updated 6/9 but now my mx6cuboxi fails to MMC boot and it's more likely a merge error than a new problem, since we iterated over this before I think. Thanks! --=20 Tom --G4iJoqBmSsgzjUCe Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQGzBAABCgAdFiEEGjx/cOCPqxcHgJu/FHw5/5Y0tywFAmKqFyEACgkQFHw5/5Y0 tyyXDQwAgrs1j7Cowl6tT5vHaQnQ16a24mVi+Nqpxzs5KLLQhX2e/B0J7Vxov7Fo Hiwr6Xyuz2mPwphqN9inT8dBRMmfPHHT/LLj5dES27kx23PKe26diiTIZETIT1uM GmWTHbHGZxvYhp0Q8DHSUgBGOvjAyN9ZI/z8lKXJBjxMw1eW/gsSK7YhIgRehsVs xwWRDy/fNIXgwmOYl4FP83s7hvFAm4eVPjsOFjOhm2GjtOse2KtrNimLU8vfAfGe DtX4fDuM4UL/MKTt8PRwveucgMOaAl8fKaNVt5w7GZll9v2gaoRAgapj7S3Frk0k P/EWX5yqisQLEoblHAKYSy4J1gYHIFpY7CYsyommvGfG6ZSrbzzpEQ/NO2UGWSpF snpJqRvmm2nzwcDOT45LRpmWlFdPx2qQgt1PcNr5SRYSexPYBQ0/DH+/sQhG51GY V/erohbPuRLqm42wpTj+NjlyTxvZrMkByONgl6lFYaVU2w2MNAFQUnJ+qDG3i+ld p7dFd6Ld =FXWi -----END PGP SIGNATURE----- --G4iJoqBmSsgzjUCe--