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 5BDFBC433EF for ; Wed, 25 May 2022 08:40:20 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 9DF5E83C97; Wed, 25 May 2022 10:40:17 +0200 (CEST) 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=1653468017; bh=U8495FbJhWV5OGMLeFCnEbsb0mJFP5ogh2yK1A8soeM=; h=Date:Subject:To:Cc:References:From:In-Reply-To:List-Id: List-Unsubscribe:List-Archive:List-Post:List-Help:List-Subscribe: From; b=mGbvCqawxBSUlSon0yp+VmS0VDNmGfcyrC/58XM/gXTu+ahkn3FesAffr/aBLrBKn j5E6rr3g/6ScElmNHXH/CKa8CWQMPUi5OXvpebmnoho9kgrWQySn8CJ81FJLGzMDCg nJ5ZrVD6Yk5Odaz071ujxzX6SHbL+RMiglNnJ38kTMoKxtAoSIuczddamzJFASS4/q 2kMUE28ae4vdkiPsCYY53+g6hnlym1WYpG3hF/IuOKrTnoc/wbLaIE+w4LqNHxwpQw Z803PwupvX0neu33k6eMA5Ugxv8jpI+XFq3BgwvI+EGjLPgiQiPWtH1TLHzce49tuH aBPI3alo1Fn9A== Received: from [IPV6:2001:a61:60db:7a01:f4d2:f674:8c35:f2c] (unknown [IPv6:2001:a61:60db:7a01:f4d2:f674:8c35:f2c]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits)) (No client certificate requested) (Authenticated sender: sbabic@denx.de) by phobos.denx.de (Postfix) with ESMTPSA id 7A54A83C61; Wed, 25 May 2022 10:40:14 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=denx.de; s=phobos-20191101; t=1653468014; bh=U8495FbJhWV5OGMLeFCnEbsb0mJFP5ogh2yK1A8soeM=; h=Date:Subject:To:Cc:References:From:In-Reply-To:From; b=ZO1td/LyWunjYI/k4rwOapUZvw/TLn0dRDnm8fU3/1JNkazx+MeHvkjn/wv/0A1Hs ehjT2nqjRYpCbr8AFlQK6zj4i+MxF/inD69SSlycLjijYyD1+e736yghv5s4uUHH37 zhdTRRvPiC4/Dom93Ceu3PbGjFsL/zshx++VsA9Az3H//Btl14/LaKbIUjeDUJTQ9q xfujpCqsEKsTnUvqsiocPslVsYlWh2OVKBdFsJYd6YUckiPOoGgn2bcLKiVbFI7gys 36G1rTrjWaL8P+rxaT8HVKZzGeLev+XJxdva4NmWi+iX6mISOVYv9dhy1l09i3e31c Wb2mgugkLRN7A== Message-ID: <2cb22947-917d-3385-ddba-2fdbcc133656@denx.de> Date: Wed, 25 May 2022 10:40:13 +0200 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.9.1 Subject: Re: [PATCH 1/2] toradex: tdx-cfg-block: add new 8gb apalis-imx8 Content-Language: de-DE To: Marcel Ziswiler , "u-boot@lists.denx.de" , "sbabic@denx.de" Cc: Philippe Schenker , "sjg@chromium.org" , Francesco Dolcini , Denys Drozdov References: <20220509165816.279617-1-dev@pschenker.ch> <8f131e5bb3c2f8053bf813c4ec8d4f303245664e.camel@toradex.com> From: Stefano Babic In-Reply-To: <8f131e5bb3c2f8053bf813c4ec8d4f303245664e.camel@toradex.com> 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 Marcel, Philippe, On 25.05.22 10:12, Marcel Ziswiler wrote: > Hi Stefano > > On Mon, 2022-05-09 at 18:58 +0200, Philippe Schenker wrote: >> From: Philippe Schenker >> >> 0067: Apalis iMX8 QuadMax 8GB Wi-Fi / BT IT >> >> This module is identical to its 4GB counterpart >> 0037: Apalis iMX8 QuadMax 4GB Wi-Fi / BT IT >> except for the RAM size. >> >> Signed-off-by: Philippe Schenker >> Reviewed-by: Francesco Dolcini > > Those two patches are currently still missing. Could you please apply them as well? Thanks! Yes, I solved the long backlog, quite "recent" patches were out of my sight. Marked them for the release, I plan another PR before release. Regards, Stefano > > Cheers > > Marcel > >> --- >> >>  board/toradex/common/tdx-cfg-block.c | 18 ++++++++++++++++-- >>  board/toradex/common/tdx-cfg-block.h |  1 + >>  2 files changed, 17 insertions(+), 2 deletions(-) >> >> diff --git a/board/toradex/common/tdx-cfg-block.c b/board/toradex/common/tdx-cfg-block.c >> index 9c87289ae9..6c8cf4592d 100644 >> --- a/board/toradex/common/tdx-cfg-block.c >> +++ b/board/toradex/common/tdx-cfg-block.c >> @@ -144,6 +144,7 @@ const char * const toradex_modules[] = { >>         [64] = "Verdin iMX8M Plus Quad 2GB Wi-Fi / BT IT", >>         [65] = "Verdin iMX8M Plus QuadLite 1GB IT", >>         [66] = "Verdin iMX8M Plus Quad 8GB Wi-Fi / BT", >> +       [67] = "Apalis iMX8 QuadMax 8GB Wi-Fi / BT IT", >>  }; >> >>  const char * const toradex_carrier_boards[] = { >> @@ -359,6 +360,7 @@ static int get_cfgblock_interactive(void) >>         char *soc; >>         char it = 'n'; >>         char wb = 'n'; >> +       char mem8g = 'n'; >>         int len = 0; >> >>         /* Unknown module by default */ >> @@ -377,6 +379,14 @@ static int get_cfgblock_interactive(void) >>         sprintf(message, "Does the module have Wi-Fi / Bluetooth? [y/N] "); >>         len = cli_readline(message); >>         wb = console_buffer[0]; >> + >> +#if defined(CONFIG_TARGET_APALIS_IMX8) >> +       if ((wb == 'y' || wb == 'Y') && (it == 'y' || it == 'Y')) { >> +               sprintf(message, "Does your module have 8GB of RAM? [y/N] "); >> +               len = cli_readline(message); >> +               mem8g = console_buffer[0]; >> +       } >> +#endif >>  #endif >> >>         soc = env_get("soc"); >> @@ -430,8 +440,12 @@ static int get_cfgblock_interactive(void) >>                 tdx_hw_tag.prodid = COLIBRI_IMX7S; >>         else if (is_cpu_type(MXC_CPU_IMX8QM)) { >>                 if (it == 'y' || it == 'Y') { >> -                       if (wb == 'y' || wb == 'Y') >> -                               tdx_hw_tag.prodid = APALIS_IMX8QM_WIFI_BT_IT; >> +                       if (wb == 'y' || wb == 'Y') { >> +                               if (mem8g == 'y' || mem8g == 'Y') >> +                                       tdx_hw_tag.prodid = APALIS_IMX8QM_8GB_WIFI_BT_IT; >> +                               else >> +                                       tdx_hw_tag.prodid = APALIS_IMX8QM_WIFI_BT_IT; >> +                       } >>                         else >>                                 tdx_hw_tag.prodid = APALIS_IMX8QM_IT; >>                 } else { >> diff --git a/board/toradex/common/tdx-cfg-block.h b/board/toradex/common/tdx-cfg-block.h >> index ddcf699748..43e662e41d 100644 >> --- a/board/toradex/common/tdx-cfg-block.h >> +++ b/board/toradex/common/tdx-cfg-block.h >> @@ -87,6 +87,7 @@ enum { >>         VERDIN_IMX8MPQ_2GB_WIFI_BT_IT, >>         VERDIN_IMX8MPQL_IT, /* 65 */ >>         VERDIN_IMX8MPQ_8GB_WIFI_BT, >> +       APALIS_IMX8QM_8GB_WIFI_BT_IT, >>  }; >> >>  enum { -- ===================================================================== DENX Software Engineering GmbH, Managing Director: Wolfgang Denk HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany Phone: +49-8142-66989-53 Fax: +49-8142-66989-80 Email: sbabic@denx.de =====================================================================