From patchwork Mon Mar 21 10:47:27 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Robert Marko X-Patchwork-Id: 1607680 X-Patchwork-Delegate: ynezz@true.cz Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: bilbo.ozlabs.org; dkim=pass (2048-bit key; secure) header.d=lists.infradead.org header.i=@lists.infradead.org header.a=rsa-sha256 header.s=bombadil.20210309 header.b=P3iPmEiT; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=sartura-hr.20210112.gappssmtp.com header.i=@sartura-hr.20210112.gappssmtp.com header.a=rsa-sha256 header.s=20210112 header.b=F6jnc9Pw; dkim-atps=neutral Authentication-Results: ozlabs.org; spf=none (no SPF record) smtp.mailfrom=lists.openwrt.org (client-ip=2607:7c80:54:e::133; helo=bombadil.infradead.org; envelope-from=openwrt-devel-bounces+incoming=patchwork.ozlabs.org@lists.openwrt.org; receiver=) Received: from bombadil.infradead.org (bombadil.infradead.org [IPv6:2607:7c80:54:e::133]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by bilbo.ozlabs.org (Postfix) with ESMTPS id 4KMWgZ15Bpz9s09 for ; Mon, 21 Mar 2022 21:53:29 +1100 (AEDT) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:Message-Id:Date:Subject:Cc :To:From:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References: List-Owner; bh=Cae4CSGNV/1EstI5EGen6fcAK6TGJS3mG8vPmv/zEnI=; b=P3iPmEiT6MUQYG c+NNg2aOJv/PDSPAmgxe7xKFlezHBPt6TqUVlmyi77diKyMHpg5gsucv7Or0UoESmYxbyuvaE+aMA Q3I9Mid5q03kGvS5V5iPnHRdiALl/R3AhRIyXfzkdkDkxGIxVPSpRqoFZKoindI2JGsEiMUunjHGo 8rJbB5DIjYTqb81k0+KZiYUtsCEpO2OUduTzkgPmYa0pCzW1FS6GWjNu9PLrLAUEtk0RNF1Zel8AB xPeFm5GVuEcobQHzrxb8y2xAVYBqGGVkiae8y8CWRJpFVKm+Q4uwweTptBFMI6dSvA3E1d5LP8rCf fuyTDtVZu+VDCJFJkUJw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1nWFZf-007MJT-0m; Mon, 21 Mar 2022 10:47:43 +0000 Received: from mail-ed1-x532.google.com ([2a00:1450:4864:20::532]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1nWFZZ-007MIg-53 for openwrt-devel@lists.openwrt.org; Mon, 21 Mar 2022 10:47:38 +0000 Received: by mail-ed1-x532.google.com with SMTP id w25so17269233edi.11 for ; Mon, 21 Mar 2022 03:47:35 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sartura-hr.20210112.gappssmtp.com; s=20210112; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=Er/O7GAoANkZ6o/+IIVkkI0Ll8GZkcFNC5idYg3Zpm4=; b=F6jnc9PwKALNIS7tGCl6fKGM9VjQSr69pEGJXhsDFM2/rEb0+flCM2a+gQbFY9sC/4 Vg+dOAUKFd7Losnh2OZ3R7zM6yTfq2Yp+Zwym9E5F7fLWvZbUur8Ea+TO6UktHPUpWGv tZ1hhQTbNuzBjfm04UBQgahiNKT4ZOrMqyAs3tXU6XE546dgeUxGVTLjqd6uid0qXkXS 3bBNXTYoKzU2lHjjDSRC5uAXKYFzozOejkV8/lWU6DJaf1UFCH7ToriBT7r7rIsCSgXb h0zNfkVfEtn3Ly80wy2X5JEtUNGRYawQCHRHAquhRbiYDLi7iwNFQ7ngSvyPlPjuSaAa 8/Gg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=Er/O7GAoANkZ6o/+IIVkkI0Ll8GZkcFNC5idYg3Zpm4=; b=ambMaUpI9OljarJbP9sJ0SXpz0gVNxIazHc66J+IiDtpTXSZ3S3BlK3O5zLR9rJLc4 B0CrL0/jaaKVKmCGfOkzLN9Vu5NMRCgxpRqTfbyNU/sBQe/Bi5Fj/ppesukI8hAy17t2 PiS8fIZAHmBJGixJahO1jGtqGyoDnghCYycJUjE/tO4BmmWBgXSvXdX6VIG+Ec733Olc XDRFRpPuARA1ybSMm/37kdGoE/9e2BjZmC09YsqQW7M9Rh5hIny1C+N5yI7hXAdHOLxo zqnEF/x6FIIsqs+w/58qDP3xuRxGZK5hiSQJ6rq+IhlG8lQW739uHSM/QxNrJAg2zoWV +Jsg== X-Gm-Message-State: AOAM531GuUMzd1xJorJyzgm1plFsh6FrgMGNN0phbp5YVN5eGtlXGGlb wri5CdcTp8pmOoWHN6Qc+/uaoem7VPxxLOy6TdzttB62Ef1Y1czcomCidh4DwpT45ZMprSBYpc2 5aoSYgQSTh1NAHeFftksE9qOrZYvLW6ddkRygFZ7MsrsHGwSi1dJPF+uLxidOv/rDMzSDND6ZOp ZJBeT5Lou53I+ETg== X-Google-Smtp-Source: ABdhPJz5rWhn5uuoBeBevou9wvFICOGyUL04OFNFveyLnkJfOGjGKfvz9YTARKBLmYrvDZcQps1pnA== X-Received: by 2002:aa7:cc82:0:b0:410:d2b0:1a07 with SMTP id p2-20020aa7cc82000000b00410d2b01a07mr22456076edt.359.1647859654290; Mon, 21 Mar 2022 03:47:34 -0700 (PDT) Received: from fedora.robimarko.hr (cpezg-94-253-144-57-cbl.xnet.hr. [94.253.144.57]) by smtp.googlemail.com with ESMTPSA id bq23-20020a170906d0d700b006db0372d3a2sm6690113ejb.20.2022.03.21.03.47.33 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 21 Mar 2022 03:47:34 -0700 (PDT) From: Robert Marko To: openwrt-devel@lists.openwrt.org Cc: Robert Marko Subject: [PATCH 1/2] mvebu: udpu: fix initramfs booting Date: Mon, 21 Mar 2022 11:47:27 +0100 Message-Id: <20220321104728.349524-1-robert.marko@sartura.hr> X-Mailer: git-send-email 2.35.1 MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220321_034737_285524_FD1F502F X-CRM114-Status: UNSURE ( 9.68 ) X-CRM114-Notice: Please train this message. X-Spam-Score: 0.0 (/) X-Spam-Report: Spam detection software, running on the system "bombadil.infradead.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: uDPU provides a FIT based initramfs, but currently gets stuck after U-boot starts the kernel at "Starting kernel..". It is due to the load address being too low, so increase it in order to get the initramfs booting again. Content analysis details: (0.0 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -0.0 SPF_PASS SPF: sender matches SPF record 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily valid -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at https://www.dnswl.org/, no trust [2a00:1450:4864:20:0:0:0:532 listed in] [list.dnswl.org] X-BeenThere: openwrt-devel@lists.openwrt.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: OpenWrt Development List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "openwrt-devel" Errors-To: openwrt-devel-bounces+incoming=patchwork.ozlabs.org@lists.openwrt.org uDPU provides a FIT based initramfs, but currently gets stuck after U-boot starts the kernel at "Starting kernel..". It is due to the load address being too low, so increase it in order to get the initramfs booting again. Signed-off-by: Robert Marko --- target/linux/mvebu/image/cortexa53.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/target/linux/mvebu/image/cortexa53.mk b/target/linux/mvebu/image/cortexa53.mk index ca3a53f992..46f04fe7cc 100644 --- a/target/linux/mvebu/image/cortexa53.mk +++ b/target/linux/mvebu/image/cortexa53.mk @@ -82,7 +82,7 @@ define Device/methode_udpu DEVICE_VENDOR := Methode DEVICE_MODEL := micro-DPU (uDPU) DEVICE_DTS := armada-3720-uDPU - KERNEL_LOADADDR := 0x00080000 + KERNEL_LOADADDR := 0x00800000 KERNEL_INITRAMFS := kernel-bin | gzip | fit gzip $$(KDIR)/image-$$(DEVICE_DTS).dtb KERNEL_INITRAMFS_SUFFIX := .itb DEVICE_PACKAGES += f2fs-tools fdisk kmod-i2c-pxa