Received: by 2002:a05:6a10:8c0a:0:0:0:0 with SMTP id go10csp2323346pxb; Fri, 29 Jan 2021 21:49:12 -0800 (PST) X-Google-Smtp-Source: ABdhPJypSRcRFVcGc3YG3nMDxmybX28x1resf2yQSCL+Bo/dYHJ4xeA2lP1fBbFc6XOpoFpb/E/Y X-Received: by 2002:a17:906:803:: with SMTP id e3mr7518326ejd.346.1611985752479; Fri, 29 Jan 2021 21:49:12 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1611985752; cv=none; d=google.com; s=arc-20160816; b=fpwyMNM3vHKcmohjaUBCDf3WyZZp7gdncIBaLqI/e09T5fGtwptPIfET8CvkF9BV9J 8uT/+tR5GIc6b57WdHeEzY5VBkE+pvb/NK8QUCuGsHVZscsqdJTEWN7Bed6j88t7tE92 NDVdlVr9NuT+zzv+XMfpnPazXfi9E+GXaAT8ICVPt8KZDEXIeEwPLEbXI1gTcf0fGWKo UxF26je9pJBQSZo9vJc32ouOw9M9nmyxwI3XhnRB7SWVzq5NZnM9Tvb7RBaaFEuiApE2 Evb2NAI6wjoWzdK08/s7H/a6a5cz1z3cF+jSIYs57lKuyuijPq4SpL5CEfZzUFyLrfIO rbdA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:dkim-signature; bh=YO+dTyu0Ai+JgXkbLN4mpIgMxzzbIfn+Gkh1UirZ+w0=; b=Y/fFLOvgmTcKsOhNIEFuxmvOrVG/pkY8RKXmmMU84P6blbjLR8Q/1Vrx5pGKAKV2Cn oFgFq66/Bemukqtm2LJ4MPw3mPrjZ2uOev2GNsY/4S7L27I3UwTw68UNMnd604Nqmznf NytepozOQLZk6cTya3rJhptGv1BvUjQcuBK1S1Z1tcBThJdjeplUhMbUgchhdiaPIstt DyMQ/e+5Ah/HqyEJ1F2jkI9yEQNjRSJWP5se9VvluK1wRTkZXgvYWSf4EZHhMOVd4Mr7 Nwoh2UML8b4rqW1WZxQRcKXoRv5q/52soudtkUVwfeOxnOGszWxpXJO/9zfifr9GHB/F cdCA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=Ql+2kWyO; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id x11si5926903eje.466.2021.01.29.21.48.48; Fri, 29 Jan 2021 21:49:12 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=Ql+2kWyO; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233839AbhA3FnK (ORCPT + 99 others); Sat, 30 Jan 2021 00:43:10 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:38314 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233803AbhA3FlQ (ORCPT ); Sat, 30 Jan 2021 00:41:16 -0500 Received: from mail-pj1-x102e.google.com (mail-pj1-x102e.google.com [IPv6:2607:f8b0:4864:20::102e]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id CF009C061573; Fri, 29 Jan 2021 21:40:35 -0800 (PST) Received: by mail-pj1-x102e.google.com with SMTP id s24so6864721pjp.5; Fri, 29 Jan 2021 21:40:35 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=YO+dTyu0Ai+JgXkbLN4mpIgMxzzbIfn+Gkh1UirZ+w0=; b=Ql+2kWyOoQtxwkc7Xh87pKZeIG5pnj5MbLPeUbWgtyVrkfmOGwl/+FpLlElmQdaxZi kGp50s4fNPeACBJdAE2+925S4nPXN6N/MUg7MxL5m/Zh8+BwykJmpqZXt2qOULjtMAH4 A2J7rSvNmjxCXQQnEz7gMbVKvnXAEyOI+1Ql8RoC20O8VR2SZXafFusnzteAS3205ZIb 7QWmbPnqKhaKO6zcIA1cnOWJogY6uqga+9DpoZX3d3YXEyCT8Q8hsmtRwjro4UkC1hTf 4OY0EH0VtHvA5A28/EAIXezKfKToShwqd7TIyL37SpfejuWAn192PDHNqdPckCI1GqlP A6fw== 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:mime-version :content-transfer-encoding; bh=YO+dTyu0Ai+JgXkbLN4mpIgMxzzbIfn+Gkh1UirZ+w0=; b=LxWnsfkuijVc6lsrirCu3lppk25LDLZOmssLM2f3hvU8/xFGdBTOU8j+MoIJxghu2A pRiQTo2kdiKIOikiiqe/S+2MCUAmeplBDJEwsU3wMmJd1YrnkCLZ21IF+KqUC02tytOq E0O8j63kgQDysToezW4cP1VySoISOdzmW9jhc1o5LZG+xTdAoYpWmDWZ5Cm6qnmWkb5c GAq5Xw9oiV0wIrpX2aGF9n2rpuY7a7Imdc1fsE+bM/ANFXUpAlN0c9LqdPvt7ouUJHnj Bc8dW2lbE3sqK4Y4KDOJxeXdn0TE6YDq8gPRUJ8kj9v1NIeXZzW2oJOxFkowfEZMRMxz IV9A== X-Gm-Message-State: AOAM532TE/8DS5U+EmuG7Q1XWadBWPj/XyWWCFgur1OBUSJpdV7196rT Z3481pbyaiUCDY5dazxKe+s= X-Received: by 2002:a17:902:9005:b029:da:f580:c5f7 with SMTP id a5-20020a1709029005b02900daf580c5f7mr8076247plp.85.1611985235315; Fri, 29 Jan 2021 21:40:35 -0800 (PST) Received: from localhost.localdomain (199.19.111.227.16clouds.com. [199.19.111.227]) by smtp.gmail.com with ESMTPSA id k10sm10942376pfk.0.2021.01.29.21.40.30 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 29 Jan 2021 21:40:34 -0800 (PST) From: Artem Lapkin X-Google-Original-From: Artem Lapkin To: narmstrong@baylibre.com Cc: khilman@baylibre.com, robh+dt@kernel.org, jbrunet@baylibre.com, christianshewitt@gmail.com, martin.blumenstingl@googlemail.com, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-amlogic@lists.infradead.org, linux-kernel@vger.kernel.org, art@khadas.com, nick@khadas.com, gouwa@khadas.com Subject: [PATCH] arm64: dts: meson-gx: remove wrong reserved BL31 memory Date: Sat, 30 Jan 2021 13:40:22 +0800 Message-Id: <20210130054022.2020338-1-art@khadas.com> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Kernel boot fail on Khadas VIM1 VIM2 (meson GX) boards SOLUTION: just remove wrong mem reservation for 0x10000000 0x200000 ## Booting kernel from Legacy Image at 08080000 ... Image Name: kernel Image Type: AArch64 Linux Kernel Image (lzma compressed) Data Size: 4657736 Bytes = 4.4 MiB Load Address: 0f080000 Entry Point: 0f080000 Verifying Checksum ... OK ## Flattened Device Tree blob at 08008000 Booting using the fdt blob at 0x8008000 Uncompressing Kernel Image ERROR: reserving fdt memory region failed (addr=10000000 size=200000) Loading Device Tree to 000000007bf23000, end 000000007bf2d3ce ... OK Starting kernel ... bl31 reboot reason: 0xd bl31 reboot reason: 0x0 system cmd 1. Signed-off-by: Artem Lapkin --- arch/arm64/boot/dts/amlogic/meson-gx.dtsi | 6 ------ 1 file changed, 6 deletions(-) diff --git a/arch/arm64/boot/dts/amlogic/meson-gx.dtsi b/arch/arm64/boot/dts/amlogic/meson-gx.dtsi index 726b91d3a..71083b89d 100644 --- a/arch/arm64/boot/dts/amlogic/meson-gx.dtsi +++ b/arch/arm64/boot/dts/amlogic/meson-gx.dtsi @@ -32,12 +32,6 @@ hwrom_reserved: hwrom@0 { no-map; }; - /* 2 MiB reserved for ARM Trusted Firmware (BL31) */ - secmon_reserved: secmon@10000000 { - reg = <0x0 0x10000000 0x0 0x200000>; - no-map; - }; - /* Alternate 3 MiB reserved for ARM Trusted Firmware (BL31) */ secmon_reserved_alt: secmon@5000000 { reg = <0x0 0x05000000 0x0 0x300000>; -- 2.25.1