From patchwork Sun Sep 26 17:24:22 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Anand Moon X-Patchwork-Id: 1532998 X-Patchwork-Delegate: ykai007@gmail.com Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@ozlabs.org Authentication-Results: ozlabs.org; dkim=pass (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256 header.s=20210112 header.b=Ubp+M73k; dkim-atps=neutral Authentication-Results: ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=lists.denx.de (client-ip=2a01:238:438b:c500:173d:9f52:ddab:ee01; helo=phobos.denx.de; envelope-from=u-boot-bounces@lists.denx.de; receiver=) Received: from phobos.denx.de (phobos.denx.de [IPv6:2a01:238:438b:c500:173d:9f52:ddab:ee01]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 4HHXhK62KKz9t10 for ; Mon, 27 Sep 2021 03:24:48 +1000 (AEST) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 10DF083264; Sun, 26 Sep 2021 19:24:40 +0200 (CEST) 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="Ubp+M73k"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id CB01383264; Sun, 26 Sep 2021 19:24:37 +0200 (CEST) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on phobos.denx.de X-Spam-Level: X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM,SPF_HELO_NONE, SPF_PASS autolearn=ham autolearn_force=no version=3.4.2 Received: from mail-ed1-x52f.google.com (mail-ed1-x52f.google.com [IPv6:2a00:1450:4864:20::52f]) (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 3125880C68 for ; Sun, 26 Sep 2021 19:24:34 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=linux.amoon@gmail.com Received: by mail-ed1-x52f.google.com with SMTP id eg28so59233543edb.1 for ; Sun, 26 Sep 2021 10:24:34 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=mime-version:from:date:message-id:subject:to :content-transfer-encoding; bh=TbAH69lHmmdE+EvP1Gm+3wdNUrlJa1knLPhHF2Jbw2U=; b=Ubp+M73kY2SJKhRxd4vUNd465JRyS8uljPu6nzPKDMYL6MYGMZOgPaezmFJfjxFP3E IROrbB+J4AdC6xtcZaRq1rSum/YQHfX+lF1ByAw9ROtSbj9o777HrQMAtXt/UTpiEElO SJlI5llPBG2nze+xl8uOOa/NRleP/rwILEg9NMlyyvdRy+ixcy/jGQictiGAZRNbJJ7H 85z6dUeDWzC5Vtejs5rO0pAtzvt1oBBgVTxPF5crgcOj5M2uMa0h3xv0LF15Q4WUEaBe Ymvr0i0At+F+UMLZwoDXl419MtyVUvjshMJF8z6PJ214xqzfC22L5dsYFEKGQ8jjsl3g fkZA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:from:date:message-id:subject:to :content-transfer-encoding; bh=TbAH69lHmmdE+EvP1Gm+3wdNUrlJa1knLPhHF2Jbw2U=; b=tFS8WAlW4pbI28q7sc+PKJYnWWyisWm5dYvJX+aoTu4nqevb8EspCP3Dp6BRXT2ucX VOGAU7B3SgWLp/BnKkZAy6yXQi9fr1fMXYbtM9r3CLVMK/SlH7ZBM6xPGj/PRqT9MbRr M+UWBpZDx9UsD0MCFWcffhIAIH0Xx7BHMGptNw8au9YtAkCo06UnkRDg/VD+pnbkC5/0 ER3qofFF02l2t7MlMy8LSIH5MNXYdqFih/tJB3CphB52xU17nDzhrbeG+0ZcYGL6KYV2 u3KDMgvFzeZ3xFU9AaeBVvRyHSnx5nwIlrb89570Vn3pFbyCraEoXVbJSj0rI0ZESo7g 9gdg== X-Gm-Message-State: AOAM532AaBBnWRwqRfulseDl0zIwIJOx3XJNYmLXnjcz0ZDubLqZO9mk VAIDhRRr7bOZP9AVVPsK/ZqTOemT4wE4U+UQCFw= X-Google-Smtp-Source: ABdhPJzfY/rxPioY/KVInhZSf4VChwyb/3Ul8sOAVHJJE3QE8yLIyTH6poAIZmGFNhFgiKWZXRvB7+SmCJ1fVNSF2Rw= X-Received: by 2002:a17:906:12d8:: with SMTP id l24mr22148941ejb.126.1632677073686; Sun, 26 Sep 2021 10:24:33 -0700 (PDT) MIME-Version: 1.0 From: Anand Moon Date: Sun, 26 Sep 2021 22:54:22 +0530 Message-ID: Subject: Radax failed to boot - how to recover the board. To: Kever Yang , Jagan Teki , U-Boot Mailing List X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.34 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 Hi Kever / Jagan, I have Radxa N10 RK3399pro model B 6 GB ram, (4 GB +2GB NPU). When I tried to boot via micro sd card it booted with stock android u-boot, but this u-boot was not enabled all 4BG memory in total. So I tried to replace the image with the latest u-boot. Now when I flash the u-boot to eMMC (onboard) with the latest u-boot it failed to boot. see below. Please help me recover the board, I cannot reset the board via the reset button or nor is it entering the u-boot command prompt. Please advise me on how to proceed.on recovery off the board? Thanks -Anand As per the Radax wiki page the DRAM 6GB 64bit dual channel LPDDR3@1866Mb/s, So I have modified the code as below. $ git diff arch/arm/dts/rk3399pro-rock-pi-n10-u-boot.dtsi U-Boot TPL 2021.10-rc4-00055-g8284d6f838-dirty (Sep 26 2021 - 20:29:22) Channel 0: LPDDR3, 933MHz BW=32 Col=10 Bk=8 CS0 Row=15 CS1 Row=15 CS=2 Die BW=16 Size=2048MB Channel 1: LPDDR3, 933MHz BW=32 Col=10 Bk=8 CS0 Row=15 CS1 Row=15 CS=2 Die BW=16 Size=2048MB 256 stride Trying to boot from&{{▒▒{kk Returning to boot ROM... U,Boot SPL 2021.10-rc4-00055-g8284d6f838-dirty (Sep 26 2021 - 20:29:22 +0530) Trying to boot from MMC1 Card did not respond to voltage select! : -110 spl: mmc init failed with error: -95 SPL: failed to boot from all boot deviceC ### ERROR ### Please RESET the board ### diff --git a/arch/arm/dts/rk3399pro-rock-pi-n10-u-boot.dtsi b/arch/arm/dts/rk3399pro-rock-pi-n10-u-boot.dtsi index 7c66e1145a..08266bb3ac 100644 --- a/arch/arm/dts/rk3399pro-rock-pi-n10-u-boot.dtsi +++ b/arch/arm/dts/rk3399pro-rock-pi-n10-u-boot.dtsi @@ -4,7 +4,7 @@ */ #include "rk3399pro-u-boot.dtsi" -#include "rk3399-sdram-lpddr3-4GB-1600.dtsi" +#include "rk3399-sdram-lpddr3-samsung-4GB-1866.dtsi" Boot failed ...not able to recover the.