Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-17.2 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER, INCLUDES_PATCH,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED, USER_AGENT_SANE_1 autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id DF42BC48BE5 for ; Wed, 16 Jun 2021 03:17:52 +0000 (UTC) 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 mail.kernel.org (Postfix) with ESMTPS id D1BE8613B6 for ; Wed, 16 Jun 2021 03:17:51 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org D1BE8613B6 Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=konsulko.com Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 0F9408294C; Wed, 16 Jun 2021 05:17:50 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=none (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="mqAyA6pv"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 3B4C38296B; Wed, 16 Jun 2021 05:17:48 +0200 (CEST) Received: from mail-qk1-x72b.google.com (mail-qk1-x72b.google.com [IPv6:2607:f8b0:4864:20::72b]) (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 5207B82935 for ; Wed, 16 Jun 2021 05:17:45 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=none (p=none dis=none) header.from=konsulko.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=trini@konsulko.com Received: by mail-qk1-x72b.google.com with SMTP id g19so1217329qkk.2 for ; Tue, 15 Jun 2021 20:17:45 -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:user-agent; bh=Wt7+n/4Vk1Lioh2TNhP3tXexat+CxKJEsiSR4PyW5Mo=; b=mqAyA6pvAODsbGH2l7A4KGu6K3qtgY048iFnHGRMGMw/6O+vApMr9TDKv6J0P3+U1J dbEIWU1ZghIkMOO+BEZukX02RjjWBRvkddaZJOw9H3cxf/zjxfisNELQzkQUJEgWL/p7 b11knS9yDM3Yam/cDNCntiAaHZyzq11Apmz6I= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to:user-agent; bh=Wt7+n/4Vk1Lioh2TNhP3tXexat+CxKJEsiSR4PyW5Mo=; b=dAN6A3CtfWIl3POMQ751cJ6HzK1PBq8N4KctrKc0RPmYCYWnqDQf977M3VuHP+1M75 imltMBOMWdMcp/z6R0n/G+/hJu23u9Ks4dfEIMSgjP1zxEkt+Y/P9Aht63buAtjr4XlH lhXux5fCYe2BANkwJe5Zn2ZHI1YeEZpZShky9AlJXey553zq3sLjih+kcjzjhBOndoTh nyJHnE0uF6NP5djmemb1m2MrmgE++490sQbM4oEbxIa7097H2dX9HvzVwUZSGifn3USD 3HY4az4NlJgaHw0j7FP7tFlOYTYGGDJRe0gCk7xCkwwyqeBmEjL0vQWd53Fvy3rguksr +ZHg== X-Gm-Message-State: AOAM533L2u4AHzKDHnb91M33W0M3X0pHQagPf75hoDMxagomgVLZ42YA nKxGKW8Y01BFNr8R94MgP1uJzhkuZWEeAQ== X-Google-Smtp-Source: ABdhPJyYyOixkK1lW7XLrS766470oORWN6X/cPZqVXhmXTfCFkViwkUkUtrBzNOT6iQpyhpeBYMlaQ== X-Received: by 2002:a05:620a:12e5:: with SMTP id f5mr2916048qkl.406.1623813464101; Tue, 15 Jun 2021 20:17:44 -0700 (PDT) Received: from bill-the-cat (2603-6081-7b01-cbda-507d-0469-e510-a4e0.res6.spectrum.com. [2603:6081:7b01:cbda:507d:469:e510:a4e0]) by smtp.gmail.com with ESMTPSA id f9sm772751qkl.46.2021.06.15.20.17.43 (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Tue, 15 Jun 2021 20:17:43 -0700 (PDT) Date: Tue, 15 Jun 2021 23:17:41 -0400 From: Tom Rini To: Fabio Estevam Cc: sbabic@denx.de, u-boot@lists.denx.de Subject: Re: [PATCH 1/3] smegw01: Allow booting the Yocto image by default Message-ID: <20210616031741.GO9516@bill-the-cat> References: <20210615233840.2340227-1-festevam@denx.de> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="p+u7T7tYDgrfw07S" Content-Disposition: inline In-Reply-To: <20210615233840.2340227-1-festevam@denx.de> X-Clacks-Overhead: GNU Terry Pratchett User-Agent: Mutt/1.9.4 (2018-02-28) X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.34 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.2 at phobos.denx.de X-Virus-Status: Clean --p+u7T7tYDgrfw07S Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Tue, Jun 15, 2021 at 08:38:38PM -0300, Fabio Estevam wrote: > On the Yocto image there is a single partition and the kernel > and dtb are present in the 'boot' directory. >=20 > Change it accordingly so that the board can boot the Yocto > image by default. >=20 > Use the generic 'load' command instead, which is able to > read from an ext4 partition. >=20 > Signed-off-by: Fabio Estevam > --- > include/configs/smegw01.h | 6 +++--- > 1 file changed, 3 insertions(+), 3 deletions(-) >=20 > diff --git a/include/configs/smegw01.h b/include/configs/smegw01.h > index 50f00136ac46..a92c583c8669 100644 > --- a/include/configs/smegw01.h > +++ b/include/configs/smegw01.h > @@ -29,11 +29,11 @@ > "bootm_size=3D0x10000000\0" \ > "mmcdev=3D0\0" \ > "mmcpart=3D1\0" \ > - "mmcroot=3D/dev/mmcblk0p2 rootwait rw\0" \ > + "mmcroot=3D/dev/mmcblk0p1 rootwait rw\0" \ > "mmcargs=3Dsetenv bootargs console=3D${console},${baudrate} " \ > "root=3D${mmcroot}\0" \ > - "loadimage=3Dfatload mmc ${mmcdev}:${mmcpart} ${loadaddr} ${image}\0" \ > - "loadfdt=3Dfatload mmc ${mmcdev}:${mmcpart} ${fdt_addr} ${fdtfile}\0" \ > + "loadimage=3Dload mmc ${mmcdev}:${mmcpart} ${loadaddr} boot/${image}\0"= \ > + "loadfdt=3Dload mmc ${mmcdev}:${mmcpart} ${fdt_addr} boot/${fdtfile}\0"= \ > "mmcboot=3Decho Booting from mmc ...; " \ > "run mmcargs; " \ > "if run loadfdt; then " \ Shouldn't this be using the generic distro boot and then generating an extlinux.conf in OE? Thanks! --=20 Tom --p+u7T7tYDgrfw07S Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQGzBAABCgAdFiEEGjx/cOCPqxcHgJu/FHw5/5Y0tywFAmDJbVUACgkQFHw5/5Y0 tywsZAv/c9Xhuo+88uK10iriJMbt6Im08HJR33ylDncQH6uSx0ZzasNcH5Pw6t5U xQYknRXNTfHZfn6OYten7bxMgvMFG1IKnyhecgSSqPKsLmWL00bibHmhvimZVHgS w5NwB22mOwlRU5MFUAl8U/qkGpro/MlArqPs57p8J2AsSDY2PPoZvai9KGs+X897 Unhx+0us4q5KCMVQWCJXuhyMNJMJ4fqImHla6MdCudjLDZYcJ6+1vOBlSGBEVnOk yRKdFZzbqr3REVHGGvfP53ZgtcnxqW4UBajRuWweHs5fIlvi7Y63WXR2lVS1ZJRd io2ZsOqThWcln/IsyM1uzDnsvKd7T2omis5cD77s02iLi1E4xsw+B/SNWaHB7Wc5 QPebaLZJpcIeFj7RkRMdxyfyAjm6Ubs+fJRIS8jc8IDPEFWuoNcnVkygn9bVeSSj isCYNlBOsGBB98BGhCHnOh09HANGxw3lcTI60z1+1uBEcfeCwKGXjH0rZz1/ZSaA XqX1I03J =b9Ep -----END PGP SIGNATURE----- --p+u7T7tYDgrfw07S--