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 79145C433EF for ; Wed, 18 May 2022 10:53:32 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 70FB18427D; Wed, 18 May 2022 12:53:30 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=kernel.org Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Authentication-Results: phobos.denx.de; dkim=pass (2048-bit key; unprotected) header.d=kernel.org header.i=@kernel.org header.b="jjQG5K/p"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 3B34284282; Wed, 18 May 2022 12:53:28 +0200 (CEST) Received: from ams.source.kernel.org (ams.source.kernel.org [145.40.68.75]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by phobos.denx.de (Postfix) with ESMTPS id 36DF08427E for ; Wed, 18 May 2022 12:53:25 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=kernel.org Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=pali@kernel.org Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ams.source.kernel.org (Postfix) with ESMTPS id C19E4B81EFA; Wed, 18 May 2022 10:53:24 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 68494C385AA; Wed, 18 May 2022 10:53:23 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1652871203; bh=jrr0poKK4uMcaS1EupLr3f72sFmkqv8r5FeFX4VQDcQ=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=jjQG5K/pFIAG5pRHEu8lchMwcXHj/YrmzkxS4LahbwxjJw6U/5YA9cu7l+8+mjgXD WHgpp9f4nxIKhDXVMA4R6aZ5N7gGaUZ0rs886lWPUDOKGWN+IR+3sNy2LG2mOMKERx DCmcWyhdgqdqPLWdRr68Ly5UdFvhLpRJmDM9aTeZCoz1DJdmIGldzd//+UbMXqphOG PU/Nf2apRN1FEAj2Eo7J4fq1JqgqcER2N4F0zeBT+3IaMDOPdQZVK8nOaqmWXOilqF 1JF/1c6nDIzHzGewkLN41BUfjVbkdUbOPbs2NmEmCkmpBixGGHFTKS/frCIO/hCVsf FhoCBP4V7l6bg== Received: by pali.im (Postfix) id 9DE585E6; Wed, 18 May 2022 12:53:20 +0200 (CEST) Date: Wed, 18 May 2022 12:53:20 +0200 From: Pali =?utf-8?B?Um9ow6Fy?= To: "Priyanka Jain (OSS)" Cc: Qiang Zhao , Shengzhou Liu , Alexander Graf , Bin Meng , Wolfgang Denk , Sinan Akman , "u-boot@lists.denx.de" Subject: Re: [PATCH 1/2] powerpc: mpc85xx: Add support for generating QorIQ pre-PBL eSDHC boot sector Message-ID: <20220518105320.kv7vimvnu4xp3szc@pali> References: <20220405134032.704-1-pali@kernel.org> <20220405134032.704-2-pali@kernel.org> <20220425123614.zh3vijo25z5b4plw@pali> <20220511205928.4bdkyxprz3u2z5yb@pali> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20220511205928.4bdkyxprz3u2z5yb@pali> User-Agent: NeoMutt/20180716 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 On Wednesday 11 May 2022 22:59:28 Pali Rohár wrote: > On Monday 25 April 2022 14:36:14 Pali Rohár wrote: > > On Monday 25 April 2022 05:25:34 Priyanka Jain (OSS) wrote: > > > >-----Original Message----- > > > >From: U-Boot On Behalf Of Pali Rohár > > > >Sent: Tuesday, April 5, 2022 7:11 PM > > > >To: Priyanka Jain ; Qiang Zhao ; > > > >Shengzhou Liu ; Alexander Graf ; > > > >Bin Meng ; Wolfgang Denk ; Sinan > > > >Akman > > > >Cc: u-boot@lists.denx.de > > > >Subject: [PATCH 1/2] powerpc: mpc85xx: Add support for generating QorIQ pre- > > > >PBL eSDHC boot sector > > > > > > > >QorIQ U-Boot binary for SD card booting compiled during build process (either u- > > > >boot.bin or u-boot-with-spl.bin) cannot be directly loaded by QorIQ pre-PBL > > > >BootROM. Compiled U-Boot binary first needs to be processed by Freescale > > > >boot_format tool as described in doc/README.mpc85xx-sd-spi-boot > > > > > > > >BootROM requires that image on SD card must contain special boot sector. > > > >Implement support for generating this special boot sector directly in U-Boot start > > > >code. Boot sector needs to be at the beginning of the image, so when compiling > > > >only proper U-Boot without SPL then it needs to be in proper U-Boot. When > > > >compiling SPL with proper U-Boot then it needs to be only in SPL. > > > > > > > >Support can be enabled by a new config option > > > >FSL_PREPBL_ESDHC_BOOT_SECTOR. > > > >Via other two additional options FSL_PREPBL_ESDHC_BOOT_SECTOR_START and > > > >FSL_PREPBL_ESDHC_BOOT_SECTOR_DATA it is possible to tune how final U-Boot > > > >image could be stored on the SD card. > > > > > > > >Signed-off-by: Pali Rohár > > > >--- > > > > > > Kindly rebase the series to master. > > > > > > Regards > > > Priyanka > > > > Hello! Both patches still applies cleanly on master, just they depend > > on another patch series (powerpc: mpc85xx: Fix and cleanup mpc85xx code) > > which I mentioned in cover letter and therefore needs V2 patch of > > "powerpc: mpc85xx: Set TEXT_BASE addresses to real base values" which I > > sent recently. > > I sent a new version v2 of this patch, see email: > [PATCH v2] powerpc: mpc85xx: Add support for generating QorIQ pre-PBL eSDHC boot sector Priyanka: PING