From mboxrd@z Thu Jan 1 00:00:00 1970 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 1774CC433F5 for ; Fri, 29 Apr 2022 15:13:40 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id D6B4483AE2; Fri, 29 Apr 2022 17:13:37 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=quarantine dis=none) header.from=nic.cz 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; secure) header.d=nic.cz header.i=@nic.cz header.b="P6V9DO3z"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id D143B83F05; Fri, 29 Apr 2022 17:13:34 +0200 (CEST) Received: from mail.nic.cz (mail.nic.cz [217.31.204.67]) (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 4735C83A9F for ; Fri, 29 Apr 2022 17:13:32 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=quarantine dis=none) header.from=nic.cz Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=marek.behun@nic.cz Received: from thinkpad (unknown [172.20.6.87]) by mail.nic.cz (Postfix) with ESMTPS id C28841485DC; Fri, 29 Apr 2022 17:13:31 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=nic.cz; s=default; t=1651245211; bh=S9lK/WTgoSobSrGzDCNuY7PBY106o4DZZjR+lExwvOo=; h=Date:From:To:Cc:Subject:From; b=P6V9DO3zk6AeM6cqKUAsexMm1AuLR8QlAWJ+z5eQN/i8wDAGwCNacCYRXXb8HMpYQ mWI9IBRhvWe7X2t6kq04D5Om5RpJiuCU/TaSuBi+QT/yAURjdqN4fCjfxVBouXE9lt L9mvFDCNFo2f2sOL2kR5n80uSla3xXnbQJ3DVPfg= Date: Fri, 29 Apr 2022 17:13:30 +0200 From: Marek =?UTF-8?B?QmVow7pu?= To: Weijie Gao Cc: Stefan Roese , , GSS_MTK_Uboot_upstream Subject: Re: [PATCH v3 00/15] Add support for MediaTek MT7621 SoC Message-ID: <20220429171330.3f8e3d39@thinkpad> In-Reply-To: <055adba5a54f3d18ea310cdc7616f212bcc6c61e.camel@mediatek.com> References: <20220428181955.1717ea7d@thinkpad> <3363c536747a3519b2a1eb8d22c029bfd02cc507.camel@mediatek.com> <055adba5a54f3d18ea310cdc7616f212bcc6c61e.camel@mediatek.com> X-Mailer: Claws Mail 3.18.0 (GTK+ 2.24.33; x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit 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 Fri, 29 Apr 2022 15:59:44 +0800 Weijie Gao wrote: > On Fri, 2022-04-29 at 08:15 +0200, Stefan Roese wrote: > > Hi Weijie > > > > On 4/29/22 03:23, Weijie Gao wrote: > > > Hi Marek, > > > > > > Yes. MT7621 does need such a proprietary binary for DDR > > > initialization > > > and calibration. That's why I submit only the ram-bootable part > > > here. > > > > > > I'm considering to create a preloader to load and run DDR > > > init&calib > > > binary and ram-bootable u-boot image. The ram-bootable u-boot image > > > can be appended to the proloader to form the flash-bootable > > > bootloader. > > > > > > The source code of preloader will be uploaded to github. > > > > Just to be sure: You are not implementing this preloader as an U-Boot > > SPL loader, as this would conflict with U-Boot's GPL compatibility? > > Yes. Submitting the source code of this binary also violates MTK's non- > disclosure agreement. Isn't it possible to submit the DDR training code in binary version, and somehow call into it from SPL? Marek