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 02F77C433F5 for ; Wed, 29 Dec 2021 22:08:35 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 5E3C98141E; Wed, 29 Dec 2021 23:08:33 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=gmail.com 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=gmail.com header.i=@gmail.com header.b="lcYkmSvy"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id DA96782F73; Wed, 29 Dec 2021 23:08:30 +0100 (CET) Received: from mail-ed1-x529.google.com (mail-ed1-x529.google.com [IPv6:2a00:1450:4864:20::529]) (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 9D26D8141E for ; Wed, 29 Dec 2021 23:08:27 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=tomm.merciai@gmail.com Received: by mail-ed1-x529.google.com with SMTP id o6so91056061edc.4 for ; Wed, 29 Dec 2021 14:08:27 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to; bh=LJlrII+cRX8b+rNKfRvYH102AhakG0bcdQj3P1tHyY4=; b=lcYkmSvy73F8wsS2GDuPRKEOG3nY1Tt7BvlUWumlRYDWuUE0wyrrok9AbYrVcC1tc9 K6Gt4m/w4s+ZRvxtxYFUOhd3Xlav48YLFHEbRDVsVLlAGo9yAbLBsQZvBy87VDXYBdZZ +B7X+UuiFOuTOy72KeHT4BnyIpMdDeeNC+89OpDFvHydWbZsaeb8NAhu+xraws/GySZt xVq+lKFCZkK1LWElXyg07m4Wj1k3ofJoFvTbKNb3ugzh+NyEMJo9aHC4wQJaenVoHewo SzAFGwgSJWq8GMf22usxNinz3JpWB14BD3EO0ZfMEPZZcQMM2eq6Ltxe0LNKzdcqum9l MAqA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to; bh=LJlrII+cRX8b+rNKfRvYH102AhakG0bcdQj3P1tHyY4=; b=tMbcmOH9aVeGSE5gVI7qdASvzi5vYxZvf/BR+zG2aoie14+rY8FfvkVsa4hHWDJeqs laJryxxzUaDBreL67e8Pp8fBZjSgx/MYSeaG9PV2ZwPukr9OBThloqB/gODoTNFonvFT R3IvPviN3b3lMCl3/daIxgLjuWEJSu5l0bt5CajbCjBvs0JYCw9vjD3STMoHNha8y421 ndjENpuj8Hk5N7yaGtD2Y5A0N0G4M+34ol+yB2o6hdr0J5d3lOJ8jW9cn1FVP40GxFjN PWceuBItdLKYQVOjX4s+rLesHUAQarFpVHFJMLiri2TqXrxQlbJoMtbhrtSUjTyGB3Vo KeqQ== X-Gm-Message-State: AOAM533tsmKyxJL9kik3tXPrtdUpgC7I8GxpKyQggOJW7x9ZF4lKC9Fa 3ffmDtc9MzZXljLX8BYZW18= X-Google-Smtp-Source: ABdhPJzKUDbL4BGoWZZLQzkBxv9rMoaxXYNuUSFLl2DOpsiXvaBCjvVOTRK6xz8hFP799MkZdE2O4g== X-Received: by 2002:a17:907:9147:: with SMTP id l7mr22068033ejs.440.1640815707100; Wed, 29 Dec 2021 14:08:27 -0800 (PST) Received: from tom-desktop (net-93-71-218-227.cust.vodafonedsl.it. [93.71.218.227]) by smtp.gmail.com with ESMTPSA id qa41sm7170093ejc.0.2021.12.29.14.08.25 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 29 Dec 2021 14:08:26 -0800 (PST) Date: Wed, 29 Dec 2021 23:08:24 +0100 From: Tommaso Merciai To: Fabio Estevam Cc: Tom Rini , Stefano Babic , Simon Glass , Breno Lima , Francesco Montefoschi , U-Boot-Denx , Peter Robinson , linux-fancy Subject: Re: help on udoo_neo power up on mainline uboot Message-ID: <20211229220824.GA15234@tom-desktop> References: <20211228165221.GA127430@tom-desktop> <20211229203305.GA6524@tom-desktop> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.38 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 On Wed, Dec 29, 2021 at 05:51:14PM -0300, Fabio Estevam wrote: > Hi Tommaso, > > On Wed, Dec 29, 2021 at 5:33 PM Tommaso Merciai wrote: > > > > Please try this patch series from Peter: > > > https://lore.kernel.org/all/20211221123249.455347-1-pbrobinson@gmail.com/T/ > > > > > > Does it boot for you after applying this series? > > > > Hi Fabio, > > I test this series. By that I'm able to boot the board from uSD. > > Thanks. > > Thanks for testing. Glad to know it is booting fine. > > > Below some log's from the board: > > > > U-Boot SPL 2022.01-rc4-00030-gb3f84a939f-dirty (Dec 29 2021 - 21:22:30 +0100) > > Trying to boot from MMC1 > > > > > > U-Boot 2022.01-rc4-00030-gb3f84a939f-dirty (Dec 29 2021 - 21:22:30 +0100) > > > > CPU: Freescale i.MX6SX rev1.2 996 MHz (running at 792 MHz) > > CPU: Extended Commercial temperature grade (-20C to 105C) at 30C > > Reset cause: POR > > Model: UDOO Neo Basic > > Board: UDOO Neo UNDEFINED > > Could you please help to investigate this output? It should not print > "UNDEFINED". > > Could you please add this debug patch below and let me know what it prints? Hi Fabio, I'll check and let u know. This patch these gpio's to get righ ram cfg right? Let me know. Thanks, Tommaso > > --- a/board/udoo/neo/neo.c > +++ b/board/udoo/neo/neo.c > @@ -301,6 +301,9 @@ static int get_board_value(void) > > r184 = gpio_get_value(IMX_GPIO_NR(4, 13)); > r185 = gpio_get_value(IMX_GPIO_NR(4, 0)); > + > + printf("********* r184 is %d\n", r184); > + printf("********* r185 is %d\n", r185); > > /* > * Machine selection - > > > > DRAM: 512 MiB > > MMC: FSL_SDHC: 1, FSL_SDHC: 2 > > Loading Environment from MMC... OK > > In: serial > > Out: serial > > Err: serial > > Net: eth0: ethernet@2188000 > > Hit any key to stop autoboot: 0 > > => > > > > Why this series is not already merged on mainline? > > Let me know. > > Hopefully, Tom or Stefano can pick up Peter's series in time for the > 2022.01 release. > > Thanks