From patchwork Thu Jun 8 13:06:39 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Belisko Marek X-Patchwork-Id: 1792461 X-Patchwork-Delegate: ykai007@gmail.com Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@legolas.ozlabs.org Authentication-Results: legolas.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: legolas.ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256 header.s=20221208 header.b=YgiUdZmy; dkim-atps=neutral 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 ECDSA (P-384) server-digest SHA384) (No client certificate requested) by legolas.ozlabs.org (Postfix) with ESMTPS id 4QcXWs0zP8z20WP for ; Fri, 9 Jun 2023 04:18:16 +1000 (AEST) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id C9CD18598A; Thu, 8 Jun 2023 20:18:10 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=fail (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=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.b="YgiUdZmy"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id BFEDE860B5; Thu, 8 Jun 2023 15:06:55 +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,HTML_MESSAGE, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.2 Received: from mail-lf1-x12d.google.com (mail-lf1-x12d.google.com [IPv6:2a00:1450:4864:20::12d]) (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 20D6284731 for ; Thu, 8 Jun 2023 15:06:53 +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=marek.belisko@gmail.com Received: by mail-lf1-x12d.google.com with SMTP id 2adb3069b0e04-4f655293a38so290508e87.0 for ; Thu, 08 Jun 2023 06:06:53 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1686229612; x=1688821612; h=cc:to:subject:message-id:date:from:mime-version:from:to:cc:subject :date:message-id:reply-to; bh=Z0Ogg2fJZplRr3vDU2+xdC44AU0yLrLshfmFOr/uybk=; b=YgiUdZmyk/iAKtwq2JJXFm9me+7vvi461svxfoB1j4CGrayR/DjxPcrATBWA5vlLAr rVoIj3fBeYXcCr8AfI9rK5CtxM2mSuVgv9YxP/91hIRT0Hr7p7JapYYyk6i03jwffngl SMR6MZMFm1/HxFw7KWmKiIK2/cNyBbf/Sy+LF0+/7b+JGV90CmzgIVhqUMcGXmJTF9Zh w31CxckFESvFPkA7MnXmZNaRG8P5aejyO8V49Fid+tm7MPJq64Eg0PXmf451zFNcijKf S1HKA/MwZ6GNMpNIPUjo38+ibdtXBGFA70Xsr5FGOX0nMJnUG9ey6JEWb7PyKPn7nP4I CJZw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1686229612; x=1688821612; h=cc:to:subject:message-id:date:from:mime-version:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=Z0Ogg2fJZplRr3vDU2+xdC44AU0yLrLshfmFOr/uybk=; b=GsLWa4qqhGnp5XjCjd5DJpgpAJ1FNu3AJ1pQ6xabGLrqzQPN/MLnfbaLEiTHD5oj+m UOtBRadPqsBIyetXUJeejN9X2jEoCdi2tHc12ta099gWxZFUV0JYxtLQd3UgxZyiVJt6 N1GfB3Et60+qOf4RLRaAoA9Ipj7tYEzMmj86OfY1GRwC0ZUu4wQenKGcHVtNw5Z0e0cC KvFyhBV4S33MaRQXTs29D9An+xgeL2HLYi7JQCWD/YhB9Xva3e57YEQFe8+PKYuDomWm JjL+wc/3SNIaq0WRpXQVYdn0pXqzNgx07f6rGiS0LlL+l7KYCq4Moj5dvTh1FAD1Kghm koDQ== X-Gm-Message-State: AC+VfDwEdOFO5n3y95CiQgCFxmQx0bcexUMd+THk4bcWxsEgm69Tmf3n dcu2rak8MN8JHzGjD2GooNIEQh8HF3fEoXre26+EhGrHqeJZJdS0 X-Google-Smtp-Source: ACHHUZ7GTaq4XPRYed1TsaU14NCyZHkTsLSbt8rF7u9MO43BCAE6PONTL4UxQMSQaxa8rQBJQdeC4H/eHU7I/ewKfRk= X-Received: by 2002:a05:651c:8a:b0:2ad:d422:f334 with SMTP id 10-20020a05651c008a00b002add422f334mr3104372ljq.17.1686229611407; Thu, 08 Jun 2023 06:06:51 -0700 (PDT) MIME-Version: 1.0 From: Belisko Marek Date: Thu, 8 Jun 2023 15:06:39 +0200 Message-ID: Subject: rk3328 efuse return just 0 To: U-Boot Mailing List Cc: jonas@kwiboo.se X-Mailman-Approved-At: Thu, 08 Jun 2023 20:18:09 +0200 X-Content-Filtered-By: Mailman/MimeDel 2.1.39 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.8 at phobos.denx.de X-Virus-Status: Clean Hi, I'm using tip of actual master and with this small patches: --- a/configs/rock-pi-e-rk3328_defconfig +++ b/configs/rock-pi-e-rk3328_defconfig @@@ -45,8 -34,6 +45,7 @@@ CONFIG_SPL_I2C= CONFIG_SPL_POWER=y CONFIG_SPL_ATF=y CONFIG_SPL_ATF_NO_PLATFORM_PARAM=y +CONFIG_TPL_SYS_MALLOC_SIMPLE=y - CONFIG_TPL_DRIVERS_MISC=y CONFIG_CMD_BOOTZ=y CONFIG_CMD_GPT=y CONFIG_CMD_MMC=y as for the following issue: /home/marek/data/projects/u-boot/drivers/misc/rockchip-efuse.c:273:(.text.rockchip_efuse_of_to_plat+0x1c): relocation truncated to fit: R_AARCH64_CALL26 against undefined symbol `dev_read_addr_ptr' I'm trying to enable proper ethaddr handling (as in this case cpuid# is used for ethaddr generation). With those enabled options I'm still getting an cpuid# variable set to all '0'. Is there some other fix necessary maybe? Thanks and BR, marek --- a/configs/rock-pi-e-rk3328_defconfig +++ b/configs/rock-pi-e-rk3328_defconfig @@ -73,6 +73,8 @@ CONFIG_FASTBOOT_BUF_ADDR=0x800800 CONFIG_FASTBOOT_CMD_OEM_FORMAT=y CONFIG_ROCKCHIP_GPIO=y CONFIG_SYS_I2C_ROCKCHIP=y +CONFIG_MISC=y +CONFIG_ROCKCHIP_EFUSE=y CONFIG_MMC_DW=y CONFIG_MMC_DW_ROCKCHIP=y CONFIG_ETH_DESIGNWARE=y