public inbox for devel@edk2.groups.io
 help / color / mirror / Atom feed
From: "Sunil V L" <sunilvl@ventanamicro.com>
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
Date: Fri, 15 Sep 2023 16:05:17 +0530	[thread overview]
Message-ID: <ZQQzZcBTarwP331t@sunil-laptop> (raw)
In-Reply-To: <cover.1694010673.git.202235273@mail.sdu.edu.cn>

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 <libing1202@outlook.com>
> Cc: dahogn <dahogn@hotmail.com>
> Cc: meng-cz <mengcz1126@gmail.com>
> Cc: yli147 <yong.li@intel.com>
> Cc: ChaiEvan <evan.chai@intel.com>
> Cc: Sunil V L <sunilvl@ventanamicro.com>
> Cc: Leif Lindholm <quic_llindhol@quicinc.com>
> 
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]
-=-=-=-=-=-=-=-=-=-=-=-



      parent reply	other threads:[~2023-09-15 10:35 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-09-07 10:25 [edk2-devel] [PATCH v3 0/8] EDK2 on RISC-V Sophgo SG2042 platform caiyuqing_hz
2023-09-07 10:25 ` [edk2-devel] [PATCH v3 1/8] Sophgo/SG2042Pkg: Add SmbiosPlatformDxe module caiyuqing_hz
2023-09-15 10:36   ` Sunil V L
2023-09-07 10:25 ` [edk2-devel] [PATCH v3 2/8] Sophgo/SG2042Pkg: Add PlatformUpdateMmuDxe module caiyuqing_hz
2023-09-15 10:41   ` Sunil V L
2023-09-07 10:25 ` [edk2-devel] [PATCH v3 3/8] Sophgo/SG2042Pkg: Add Sophgo SDHCI driver caiyuqing_hz
2023-09-15 10:47   ` Sunil V L
2023-09-15 14:23   ` Leif Lindholm
2023-09-07 10:25 ` [edk2-devel] [PATCH v3 4/8] Sophgo/SG2042Pkg: Add base MMC driver caiyuqing_hz
2023-09-15 10:53   ` Sunil V L
2023-09-15 14:25   ` Leif Lindholm
2023-09-07 10:25 ` [edk2-devel] [PATCH v3 5/8] Sophgo/SG2042Pkg: Add SEC module caiyuqing_hz
2023-09-15 10:57   ` Sunil V L
2023-09-07 10:25 ` [edk2-devel] [PATCH v3 6/8] Sophgo/SG2042_EVB_Board: Add Sophgo SG2042 platform caiyuqing_hz
2023-09-15 11:03   ` Sunil V L
2023-09-07 10:25 ` [edk2-devel] [PATCH v3 7/8] Sophgo/SG2042Pkg: Add SG2042Pkg caiyuqing_hz
2023-09-07 10:25 ` [edk2-devel] [PATCH v3 8/8] Sophgo/SG2042Pkg: Add platform readme and document caiyuqing_hz
2023-09-15 10:35 ` Sunil V L [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-list from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=ZQQzZcBTarwP331t@sunil-laptop \
    --to=devel@edk2.groups.io \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox