Received: by 2002:a05:6a10:8c0a:0:0:0:0 with SMTP id go10csp88791pxb; Tue, 2 Feb 2021 23:55:02 -0800 (PST) X-Google-Smtp-Source: ABdhPJzICTsxtscw5UWLNoJUWnXskaoISSChkITt7q6Nu7GQxIap0meFySvmZdCGk0Cd4l+sWWQw X-Received: by 2002:a17:906:a295:: with SMTP id i21mr2002949ejz.334.1612338902256; Tue, 02 Feb 2021 23:55:02 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1612338902; cv=none; d=google.com; s=arc-20160816; b=XozwLsmYOJ3v59M89OK9tH/EGHgUHtsdsCymhnfLOaQcVdoDEyCZMpqnuOMsyXCGM3 /C/L/5tyC1a7NOat9nR9yTvgZ8EHzisCQ931lgEWHyml/p4XX5Yfy9mKtGP+NfTNmWTc xxP7v1fn+/5a/aOWPau4pEYR1GUp4bGnvKCV2120n7pJ9lrv9kYyvMEqpjfqtHkjiJa8 bxvEbAFtiwpGDWn8SmFFEfCvGTK4DgQD/WkNnxCHgb4j6aZwb7eHllo5pXCyFIgaL7LU Grafr/3RphojuHw2IztO2QmzAxi8zb6CP0lDaUXpRxO9pG/vbP31qB4ETVZW1g9jH2w0 8lyg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version:dkim-signature; bh=/BAQACaGiRwEb4Y/imXrzrpIev+XZbRin2Sz6orlDR4=; b=QPEYOC8u8oADrjquQf7+uJ1QkYc1ZnHErhw4l6910TriUH0Gi7kBlxE8+iPZMfa6dI RyLvwQ/AKkvyt2Ky8QPJZ9Zq6F9AE0qNbGV9fQL4cu0rWIYzX6QbiGnv+rU4T+5S5zZx 0AgawLuUBLOkFEAtMgQ61Y+3AHsXdtyFz09FHSvlBfdFb8hPTL0X7I7r54ZXS/lK5nqm I7AW115u78I5IHq3ZMPngh1t8Ssr/GWPZkzV0/W18qRXKO0Uz+I5/Ko3a0ipHoNFPvCD jGgxmMs75C6nrbHdwq9N7KCn8KgyBM1OTAIjrK9D7O5SiKCMGXWraK2XrtY2ws3OrDrL poiQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=Gk5Bf9vd; 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=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id s6si735043edc.573.2021.02.02.23.54.37; Tue, 02 Feb 2021 23:55:02 -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=@kernel.org header.s=k20201202 header.b=Gk5Bf9vd; 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=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232146AbhBCHvC (ORCPT + 99 others); Wed, 3 Feb 2021 02:51:02 -0500 Received: from mail.kernel.org ([198.145.29.99]:53352 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231654AbhBCHvA (ORCPT ); Wed, 3 Feb 2021 02:51:00 -0500 Received: by mail.kernel.org (Postfix) with ESMTPSA id BF4CC64F5C; Wed, 3 Feb 2021 07:50:19 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1612338619; bh=9ZnPLFWxyuVetTdyZ2rsor+35zbCTQFmm3ShxD+mVqY=; h=References:In-Reply-To:From:Date:Subject:To:Cc:From; b=Gk5Bf9vdAcFYZzrPCyBBs5JrE83AKH5RSA9ClK3d+bPSj2wT+GMLKpmU35yKDEGzF RqLH6eYza5hwa9/ZpkTBpaoAStu1czKkIsQmshE9agjqnQppsagQziPWaQT6zHsB9d fNbel7y62aBzWivivTNxebUiHYluvB7u5hfaayoIQc5gD8NmyFzYmMPZSye+5hk6dh xerO5y8MVAf+ta7wU9PtjmKby6wKSSeMw2GFFsDLTiNNimo4nJLUUymRZG++1wm6OM Vif/QsyHtskqdhjysIml3SY3SNDnmUfc3EeD19oSEZOQmBIFuu+vYvfs0okleOtKyH 52zvt+EF7Eakw== Received: by mail-ot1-f48.google.com with SMTP id 36so22506269otp.2; Tue, 02 Feb 2021 23:50:19 -0800 (PST) X-Gm-Message-State: AOAM5321eBWz14p0TYq0hy+PAEwNAA8kx2IlPkH9PDw2rP4BeWAwyNEV dgCQZT0byRQ3qYmwxK0FpPzEGGv5TtnlJp6b3O8= X-Received: by 2002:a05:6830:1256:: with SMTP id s22mr1221124otp.251.1612338618909; Tue, 02 Feb 2021 23:50:18 -0800 (PST) MIME-Version: 1.0 References: <20210117180301.1956-1-alistair@alistair23.me> <20210117180301.1956-3-alistair@alistair23.me> <20210129071341.GH4356@dragon> In-Reply-To: From: Arnd Bergmann Date: Wed, 3 Feb 2021 08:50:02 +0100 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH v2 3/3] arch/arm/configs: Enable VMSPLIT_2G in imx_v6_v7_defconfig To: Alistair Francis Cc: Shawn Guo , Alistair Francis , Arnd Bergmann , Olof Johansson , Rob Herring , Sascha Hauer , Sascha Hauer , Fabio Estevam , dl-linux-imx , linux-arm-kernel , devicetree , Linux Kernel Mailing List Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Feb 3, 2021 at 3:37 AM Alistair Francis wrote: > > On Thu, Jan 28, 2021 at 11:13 PM Shawn Guo wrote: > > > > On Sun, Jan 17, 2021 at 10:03:01AM -0800, Alistair Francis wrote: > > > The reMarkable2 requires VMSPLIT_2G, so lets set this in the > > > imx_v6_v7_defconfig. > > > > Hmm, why is VMSPLIT_2G required by reMarkable2? > > I'm not too sure. It's difficult to debug problems as I only have a > UART but without this I don't see any kernel prints so it seems like > the kernel doesn't get very far. I haven't had any luck with earlycon > on the device so I don't know how I can get more information. In the dts file, I can see that the machine has 1GB of RAM at contiguous addresses. My first guess would be a problem with highmem, as this configuration means that with VMSPLIT_3G there are 768MB of lowmem and 256MB of highmem. Can you try these two things to narrow the problem down further? a) disable CONFIG_HIGHMEM when using VMSPLIT_3G b) use VMSPLIT_3G_OPT If both of them solve the problem, then highmem is likely the root cause. One possible issue might be that the boot loader loads the initramfs or the dtb into a location outside of the first 768 MB of lowmem where it is unreachable in the VMSPLIT_3G configuration. Arnd