From patchwork Fri Mar 13 17:42:47 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Otavio Salvador X-Patchwork-Id: 1254563 X-Patchwork-Delegate: ykai007@gmail.com Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org 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=) Authentication-Results: ozlabs.org; dmarc=none (p=none dis=none) header.from=ossystems.com.br 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 48fCjb1cXlz9sRN for ; Sat, 14 Mar 2020 04:43:47 +1100 (AEDT) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id F22D0816BA; Fri, 13 Mar 2020 18:43:27 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=none (p=none dis=none) header.from=ossystems.com.br Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Received: by phobos.denx.de (Postfix, from userid 109) id 09F6D815DA; Fri, 13 Mar 2020 18:43:16 +0100 (CET) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on phobos.denx.de X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00, RCVD_IN_MSPIKE_H3, RCVD_IN_MSPIKE_WL,SPF_HELO_NONE,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.2 Received: from mail-qt1-f194.google.com (mail-qt1-f194.google.com [209.85.160.194]) (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 9676C81578 for ; Fri, 13 Mar 2020 18:43:10 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=none (p=none dis=none) header.from=ossystems.com.br Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=otavio.salvador@gmail.com Received: by mail-qt1-f194.google.com with SMTP id e20so8226677qto.5 for ; Fri, 13 Mar 2020 10:43:10 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:organization:content-transfer-encoding; bh=x7YseYAOwNOnrstA7BdChsle5QyEJQFPiNQa4anf7so=; b=a0t9nF2ihKLtYidBfsrJhmrjzTIebo7AiPid4Ypls5GiaF1wd0F9KGddLEV+q1FxNg HmGHOvI8I8rZRX/ggB6hltVlFb6jWnyANUmSTjmoSFM4jy3Jtivry8vhGJeqHelej62l FPB+IHocbKQ59eHJPmqF3OzKzh1lKr0uygTQVxxnp4S5rrlTqNUzYQNV1D6CN1BsRZEJ ZxPxXcDrOHKMrBz1wXLKw8OExriwVjiZ6AWTnSUWEUQKN0DPj7j/Vu3WXBmiX/jGP3bm iM1jq/7w5ygEtZAK97W5cmuO/bqAWKUPhOZS/ylO8LLxOMuvadPjONmQC7hoBb3bCDWe caLg== X-Gm-Message-State: ANhLgQ2bZX0GwPY5NRm35vQ6iuE6TwGjsRm248FDKRhP6SB4KFc9XRuX iOSdwwn+6WnXLFrbxd3qLsGx+B407TM= X-Google-Smtp-Source: ADFU+vu28wH0qUfqGY8soZuw0NoGDGFmpBnGBjx1zMQSPjiXpJDNqDn0Y0XC+yPVibdrp53JpLyjTw== X-Received: by 2002:ac8:72d1:: with SMTP id o17mr10299209qtp.347.1584121389261; Fri, 13 Mar 2020 10:43:09 -0700 (PDT) Received: from localhost ([177.194.198.25]) by smtp.gmail.com with ESMTPSA id y41sm8623223qtc.72.2020.03.13.10.43.08 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 13 Mar 2020 10:43:08 -0700 (PDT) From: Otavio Salvador To: U-Boot Mailing List , Jason Zhu , Vicent Chi , Andy Yan , Philipp Tomsic , Tony Xie , Heiko Stuebner Cc: Otavio Salvador Subject: [PATCH 3/4] elgin-rv1108: Avoid adc_channel_single_shot error Date: Fri, 13 Mar 2020 14:42:47 -0300 Message-Id: <20200313174248.925841-4-otavio@ossystems.com.br> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20200313174248.925841-1-otavio@ossystems.com.br> References: <20200313174248.925841-1-otavio@ossystems.com.br> MIME-Version: 1.0 Organization: O.S. Systems Software LTDA. X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.30rc1 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.102.2 at phobos.denx.de X-Virus-Status: Clean Currently the following error message is seen during boot: U-Boot 2020.01-08751-g55759ae141 (Mar 09 2020 - 14:44:52 -0300) Model: Elgin RV1108 R1 board DRAM: 128 MiB APLL: 600000000 DPLL:1200000000 GPLL:1188000000 ACLK_BUS: 148500000 ACLK_PERI:148500000 HCLK_PERI:148500000 PCLK_PERI:74250000 MMC: dwmmc@30110000: 0 Loading Environment from MMC... OK In: serial@10210000 Out: serial@10210000 Err: serial@10210000 Model: Elgin RV1108 R1 board rockchip_dnl_key_pressed: adc_channel_single_shot fail! .... Since the elgin-rv1108 does not use ADC to read the download key status, select CONFIG_ROCKCHIP_BOOT_MODE_REG=0 to avoid such error. Signed-off-by: Otavio Salvador Reviewed-by: Kever Yang --- configs/elgin-rv1108_defconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/configs/elgin-rv1108_defconfig b/configs/elgin-rv1108_defconfig index 80d53f3c10..b6682994f5 100644 --- a/configs/elgin-rv1108_defconfig +++ b/configs/elgin-rv1108_defconfig @@ -4,6 +4,7 @@ CONFIG_SYS_TEXT_BASE=0x60000000 CONFIG_ENV_OFFSET=0x3F8000 CONFIG_ROCKCHIP_RV1108=y CONFIG_TARGET_ELGIN_RV1108=y +CONFIG_ROCKCHIP_BOOT_MODE_REG=0 CONFIG_NR_DRAM_BANKS=1 CONFIG_DEBUG_UART_BASE=0x10210000 CONFIG_DEBUG_UART_CLOCK=24000000