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 99F51C433F5 for ; Tue, 8 Feb 2022 05:50:53 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 0B47583BB9; Tue, 8 Feb 2022 06:50:51 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=none (p=none dis=none) header.from=denx.de Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=denx.de; s=phobos-20191101; t=1644299451; bh=qRJOh9L0lETcBJqLfmgmFP8jNP4wWvk/YGJlMNqqNWY=; h=Date:Subject:To:Cc:References:From:In-Reply-To:List-Id: List-Unsubscribe:List-Archive:List-Post:List-Help:List-Subscribe: From; b=LJ1CCa4l0sHvljrwJEMIqgTQVb8CIQ2Ew25zO06CDGq+5zQDVVbE3ueCU+olwTji9 DgpmVghEc4u0i83aahbLUW0nWsjbLlQFNjotDxrtpEFx71HNKi76P1ee6g6RnHHcVn T9AqD9s6Lv87vKk2Bqx1PtIo9iHUJmq8luy9EQEW5PFgNY0qnNRx2n6SNJgyUD5Dqo bvHE44euNmbRG63qemNAbXfqakLtrM72pC3wOmfgaXbjP2wtaF0+8oXakyepk96nIH sb7JP8Rgvd7VVGmRWCUMyajegzLazM+Adi4C3HUTXNj8SIHuMTziMnvoKg0wOkoWr3 nF8252fLDuIGA== Received: by phobos.denx.de (Postfix, from userid 109) id A2DEC83C29; Tue, 8 Feb 2022 06:50:49 +0100 (CET) Received: from mout-u-204.mailbox.org (mout-u-204.mailbox.org [IPv6:2001:67c:2050:1::465:204]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) (No client certificate requested) by phobos.denx.de (Postfix) with ESMTPS id F13D58390B for ; Tue, 8 Feb 2022 06:50:46 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=none (p=none dis=none) header.from=denx.de Authentication-Results: phobos.denx.de; spf=fail smtp.mailfrom=sr@denx.de Received: from smtp202.mailbox.org (unknown [91.198.250.118]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-384) server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by mout-u-204.mailbox.org (Postfix) with ESMTPS id 4JtBvB69Zwz9sV3; Tue, 8 Feb 2022 06:50:46 +0100 (CET) Message-ID: Date: Tue, 8 Feb 2022 06:50:42 +0100 MIME-Version: 1.0 Subject: Re: [PATCH] U-Boot ENV in EXT4 support for Espressobin Content-Language: en-US To: Rogier Stam , u-boot@lists.denx.de Cc: =?UTF-8?Q?Pali_Roh=c3=a1r?= References: <7dc41f20-1058-3c30-cd22-334b05733a7f@unrailed.org> <69c75dcd-c9e6-4869-b4de-f21e27e7e93e@unrailed.org> From: Stefan Roese In-Reply-To: <69c75dcd-c9e6-4869-b4de-f21e27e7e93e@unrailed.org> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit 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 Hi Rogier On 2/7/22 23:56, Rogier Stam wrote: > Hi > > Per Pali's comments adapted the patch. This one also includes the > changes necessary for storing ENV in FAT. I also added CONFIG_SCSI for > both ext4 and fat should anyone want to use SCSI instead of AHCI. I have 2 comments, more related to formal patch submission. a) Could you please send patches in-lined, best formatted via "git format-patch" and sent via "git send-email". Otherwise its harder to review and comment the patches. b) Split you patch into 2 logically separated patches. One handling the common "env" files and one handling the Espressobin related files. Thanks, Stefan > Regards > > Rogier > > On 07-02-2022 09:11, Rogier Stam wrote: >> Hi >> >> I was attemting to boot from SATA on an Espressobin. As such I wanted >> to store the Environment in a SATA partition and not in the SPI flash. >> In order to get this running I had to make a few changes, as the >> original code assumes the Environment is always in SPI flash. >> Additionally I also had to force scsci_scan to ensure the AHCI disk / >> partitions could be found. >> >> Hope it will be considered to merge >> >> Regards >> >> Rogier Stam >> Viele Grüße, Stefan Roese -- DENX Software Engineering GmbH, Managing Director: Wolfgang Denk HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany Phone: (+49)-8142-66989-51 Fax: (+49)-8142-66989-80 Email: sr@denx.de