Received: by 2002:a05:6a10:af89:0:0:0:0 with SMTP id iu9csp1285830pxb; Fri, 21 Jan 2022 14:22:39 -0800 (PST) X-Google-Smtp-Source: ABdhPJwOlo6nV+ZLYxi2XvSeYnXjy/K7h1Uor8d+sU0gxPPNLWgbxcLmcuzxr+lBc6ntrQXhY+e+ X-Received: by 2002:a17:90b:4f46:: with SMTP id pj6mr2657306pjb.166.1642803758857; Fri, 21 Jan 2022 14:22:38 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1642803758; cv=none; d=google.com; s=arc-20160816; b=VQER/E5963kN5pOJmNBUu8wNaMMTEY+WjM3vZbnYItCLM8TXR5gfDgzWNTUtiH/hlD AodxAd4Eop/DAOuQeuUqR3goG8BriKO/V11SBQEKdiDCINYVr2zLlZWq55Qbun7irrcR V4Qb5hLeIDzabxcha2Ao2TDAAHDPvY1TNzmKHjy8ONuhiGWaXiQoccnVLWQI2hLElk2f T8OGvgI20pMi0WdGkgn3iSgO88PwbFRbEVy87X73k+v8H4L6p0XauQpMsjtpfOzvqy1+ FKuF8YQmztXUD6b6d0cMJn2CrkPG4ZEi2CWb2qRa4C/uROgrEanHt/eSAJ+FgvyJn0wu uJtg== 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=benBYMoxl2IjLGX3aLWpdBFmHNqoAhtj/Izde371FoY=; b=09HjSKmD/Zl5jhves2dUGtSh9mEvTbMA4pN1kcvpDxHccQbZngtLnjFtlTB/ch0Btz lpgS0FaE/DlTdg3iyi5L7eueGzFTi1L7358iOywqNY+TT1wydwpjefekDbo/gjbVHRgx dJ6LBj9BC6UUUrK2/DiZnbr72nqfoVvGL3VTWzyiCvyqvxOaaEjWqJP5eSo8nQKUOUJs 1euzIw0K3TOwslOBlygaeSEC+b721o+g945VhwVPUG4hzZ3jg97KPS4OI44p9x/+8S9N KWsN78QiLtbNqgLnRaXYsxorkO8tfVobZ/szFz1LONXv70zy0Yl5WKvhWsYFjre8fx0z lK3w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@konsulko.com header.s=google header.b=rGryBx3v; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id g21si7557943pfc.252.2022.01.21.14.22.26; Fri, 21 Jan 2022 14:22:38 -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=@konsulko.com header.s=google header.b=rGryBx3v; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1346393AbiATPhO (ORCPT + 99 others); Thu, 20 Jan 2022 10:37:14 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:47992 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1376597AbiATPhM (ORCPT ); Thu, 20 Jan 2022 10:37:12 -0500 Received: from mail-yb1-xb33.google.com (mail-yb1-xb33.google.com [IPv6:2607:f8b0:4864:20::b33]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 85F99C06161C for ; Thu, 20 Jan 2022 07:37:12 -0800 (PST) Received: by mail-yb1-xb33.google.com with SMTP id m1so18937936ybo.5 for ; Thu, 20 Jan 2022 07:37:12 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=konsulko.com; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=benBYMoxl2IjLGX3aLWpdBFmHNqoAhtj/Izde371FoY=; b=rGryBx3vren0FD6AusA1Z+oP0Tpy1Yv7hYzLnhMNzuXAN7gebacnfe5EbYerti6xcN GieILVBlmUdl93RlOazApxh6v6WlvnyEViBXaG2HwYjzS1bKFS3RRuucmGFKL6GQhSiu 94GqfAlUFI7XS5NC7SGxGVpma78wezjs4dVdo= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=benBYMoxl2IjLGX3aLWpdBFmHNqoAhtj/Izde371FoY=; b=bxBAxElogRSEZTuUUuWYkQ142O7SqG45r8rf7lwMJWmyMMXZ7aRykmfPkbORZL0ntU k7JoSmPKdGjWxKvJjiptBxlX+/3Tk+DJfb39ZU6m7X7myoL2V3MuD37FMK285HhvkjZb yqOufUKxxbr/8cn+eaHezzJHzDnyCFChWRPY5efXWnJg8qT8Dbu0MNuoz+dlynWAdvuJ h9kwE3OoEREWDwZSaQJvghrDnALRMniGWC0kPUzW4OI/m2GUK1cgEzxSP9sDE/6oisPX e4LQ+8VNHOjvyRW82dpVrDHF7mV5ZpnrlsGF0r+sR54nEE8smC6Diy53N6lhSXOEeN4D ilbw== X-Gm-Message-State: AOAM533DjEw0k3sNCZwj88yOvAS0M+30nRYUH7d8+iEruNYUagc8Nwap znPPsgLNbx5nzGm4vZYuS64kImvQJ7yfl9CPXpHahoKxSMc= X-Received: by 2002:a25:4b84:: with SMTP id y126mr44574295yba.487.1642693031719; Thu, 20 Jan 2022 07:37:11 -0800 (PST) MIME-Version: 1.0 References: <20220120152828.4089364-1-gatecat@ds0.me> In-Reply-To: <20220120152828.4089364-1-gatecat@ds0.me> From: Vitaly Wool Date: Thu, 20 Jan 2022 16:37:00 +0100 Message-ID: Subject: Re: To: Myrtle Shah Cc: linux-riscv , Paul Walmsley , Palmer Dabbelt , LKML Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hey, On Thu, Jan 20, 2022 at 4:30 PM Myrtle Shah wrote: > > These are some initial patches to bugs I found attempting to > get a XIP kernel working on hardware: > - 32-bit VexRiscv processor > - kernel in SPI flash, at 0x00200000 > - 16MB of RAM at 0x10000000 > - MMU enabled > > I still have some more debugging to do, but these at least > get the kernel as far as initialising the MMU, and I would > appreciate feedback if anyone else is working on RISC-V XIP. I'll try to support you as much as I can, unfortunately I don't have any 32-bit RISC-V around so I was rather thinking of extending the RISC-V XIP support to 64-bit non-MMU targets. For now just please keep in mind that there might be some inherent assumptions that a target is 64 bit. Best regards, Vitaly > > _______________________________________________ > linux-riscv mailing list > linux-riscv@lists.infradead.org > http://lists.infradead.org/mailman/listinfo/linux-riscv