From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail02.groups.io (mail02.groups.io [66.175.222.108]) by spool.mail.gandi.net (Postfix) with ESMTPS id 3F0CE7803DB for ; Fri, 15 Sep 2023 10:35:26 +0000 (UTC) DKIM-Signature: a=rsa-sha256; bh=oJ2LjEDzHLBq9ZafNuekMEysgVgvJKhTavWzSDfn3fQ=; c=relaxed/simple; d=groups.io; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version:In-Reply-To:Precedence:List-Subscribe:List-Help:Sender:List-Id:Mailing-List:Delivered-To:Reply-To:List-Unsubscribe-Post:List-Unsubscribe:Content-Type:Content-Disposition; s=20140610; t=1694774124; v=1; b=c/22ucez1YB/iPfIAnB6XUQK+VZ64LJXjsR2WpEp+gB/d3FA/F2p9gfwtnErACvTMu4tTxUV VwXR1ZfCbRjFT0BzOmcoV7dYCMqNfpiR0392RqLfefI7DyLAS/WEBFXeQ13/dwytabqTWt6cHa9 seyerFNckiGFtKZPwOdymJV8= X-Received: by 127.0.0.2 with SMTP id ulb9YY7687511xAKq7l8PiLr; Fri, 15 Sep 2023 03:35:24 -0700 X-Received: from mail-pg1-f179.google.com (mail-pg1-f179.google.com [209.85.215.179]) by mx.groups.io with SMTP id smtpd.web10.17564.1694774124058629329 for ; Fri, 15 Sep 2023 03:35:24 -0700 X-Received: by mail-pg1-f179.google.com with SMTP id 41be03b00d2f7-564b6276941so1571523a12.3 for ; Fri, 15 Sep 2023 03:35:23 -0700 (PDT) X-Gm-Message-State: PLQ6T4408lUE6dwov7FSk2DMx7686176AA= X-Google-Smtp-Source: AGHT+IHoH+DhMTkVLcOj6cJ9uS52yCqz1Qf1jjcdAmkpmZKsKN85Kley6nEgFqUvn14mSAk0iAkxIw== X-Received: by 2002:a17:90a:5901:b0:268:b7a2:62e8 with SMTP id k1-20020a17090a590100b00268b7a262e8mr1070265pji.7.1694774123337; Fri, 15 Sep 2023 03:35:23 -0700 (PDT) X-Received: from sunil-laptop ([106.51.189.46]) by smtp.gmail.com with ESMTPSA id ne10-20020a17090b374a00b002609cadc56esm2775491pjb.11.2023.09.15.03.35.20 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 15 Sep 2023 03:35:22 -0700 (PDT) Date: Fri, 15 Sep 2023 16:05:17 +0530 From: "Sunil V L" To: caiyuqing_hz@163.com Cc: devel@edk2.groups.io, quic_llindhol@quicinc.com, libing1202@outlook.com, inochiama@outlook.com Subject: Re: [edk2-devel] [PATCH v3 0/8] EDK2 on RISC-V Sophgo SG2042 platform Message-ID: References: MIME-Version: 1.0 In-Reply-To: Precedence: Bulk List-Subscribe: List-Help: Sender: devel@edk2.groups.io List-Id: Mailing-List: list devel@edk2.groups.io; contact devel+owner@edk2.groups.io Reply-To: devel@edk2.groups.io,sunilvl@ventanamicro.com List-Unsubscribe-Post: List-Unsubscribe=One-Click List-Unsubscribe: Content-Type: text/plain; charset=us-ascii Content-Disposition: inline X-GND-Status: LEGIT Authentication-Results: spool.mail.gandi.net; dkim=pass header.d=groups.io header.s=20140610 header.b="c/22ucez"; dmarc=none; spf=pass (spool.mail.gandi.net: domain of bounce@groups.io designates 66.175.222.108 as permitted sender) smtp.mailfrom=bounce@groups.io On Thu, Sep 07, 2023 at 06:25:43PM +0800, caiyuqing_hz@163.com wrote: > From: caiyuqing379 <202235273@mail.sdu.edu.cn> > > Description: > Deploy EDK2 to run on 64-core CPU under RISC-V architecture, and successfully boot to OS. > Implementation can be found on https://github.com/AII-SDU/edk2-platforms/tree/devel-Sophgo/SG2042Pkg/Platform/Sophgo. > > Current progress and status: > 1.Adopted the scheme of separating OpenSBI and EDK2. It follows PEI less design. > 2.The startup process is roughly: ZSBL + FSBL + OpenSBI + EDK2 + GRUB + Linux OS. > The boot medium is SD card, where ZSBL is loaded and executed by an auxiliary MCU, performing initial initialization > operations such as DIMM initialization. FSBL then continues with further initialization tasks. OpenSBI is used to > initialize the hardware platform and kernel. Additionally, we have upgraded the OpenSBI from version V0.9 to V1.2 to > align with community progress. EDK2, running in S-mode, handles configuration operations, primarily completing the > SD card driver in the DXE stage, while PCIe driver testing and follow-up work are planned. GRUB2 is used to load the > operating system, facilitating subsequent operations. > > Testing: > 1.Test the project on Sophgo SG2042 EVB and be able to launch Linux OS > 2.Test the project on Milk V Pioneer board and is able to boot into the UEFI shell. > However, the SD card driver could not correctly recognize all partitions and start Linux OS. > > Current limitation: > 1.PCIE driver is not currently supported. > 2.MMU support > SG2042 (Xuantie C920) MMU can be enabled in SV39 mode. Introduce the PCD variable > PcdForceNoMMU to disable MMU configuration. Currently, enabling MMU results in a > timeout for reading data blocks from the SD card, So MMU is disabled by default. > 3.Clang toolchain support > Build the port using the CLANGDWARF toolchain (clang version 18.0.0). It is able > to build successfully but the compiled binary was not fully work. > Please add patch revision history which helps reviewers to understand what has changed compared to previous version of the series. > Signed-off-by: caiyuqing379 <202235273@mail.sdu.edu.cn> > Co-authored-by: USER0FISH > Cc: dahogn > Cc: meng-cz > Cc: yli147 > Cc: ChaiEvan > Cc: Sunil V L > Cc: Leif Lindholm > As per Maintainers.txt, Leif and Mike are high level maintainers for edk2-platforms. Please CC both in future. Thanks, Sunil -=-=-=-=-=-=-=-=-=-=-=- Groups.io Links: You receive all messages sent to this group. View/Reply Online (#108706): https://edk2.groups.io/g/devel/message/108706 Mute This Topic: https://groups.io/mt/101213489/7686176 Group Owner: devel+owner@edk2.groups.io Unsubscribe: https://edk2.groups.io/g/devel/unsub [rebecca@openfw.io] -=-=-=-=-=-=-=-=-=-=-=-