From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail05.groups.io (mail05.groups.io [45.79.224.7]) by spool.mail.gandi.net (Postfix) with ESMTPS id 3C95B7803CF for ; Tue, 2 Jul 2024 11:23:19 +0000 (UTC) DKIM-Signature: a=rsa-sha256; bh=6ykkIMJVUvf/HpbaZ2/qkwbnsIEpnZuy1jCmjIe9/c0=; c=relaxed/simple; d=groups.io; h=Subject:To:From:User-Agent:MIME-Version:Date:References:In-Reply-To:Message-ID:Precedence:List-Subscribe:List-Help:Sender:List-Id:Mailing-List:Delivered-To:Reply-To:List-Unsubscribe-Post:List-Unsubscribe:Content-Type; s=20240206; t=1719919399; v=1; b=T75KsXVfbe8z8VR1/lrE8eEJXDxwh6sODzHWiQhnD+2wiBZhMinN8wUkriXVKfdh343TbngT bv4WfvvXcWh5P4EkqRcGl4UnxCKWZ3AeLQ/GxmWNJxANzA6ve/Lc0FsRFLYzoclVoi+P7PEstDG UUNvD5Rbuv/VCFLnTaYAZzmeEcQPRsRawjM/q23Ycbpj8JDx8MJbqOc6XDXjZ4YyYZrPL1Mavry PXUG6k39WD4IoQODDC5pe7cZT52VycyR+Vx5kJU7dMRkbvr4NvgPdPoOJNN18Mu0xLGo9HyApvu d20835ZGwfXrfHqT5l9UNCENkvDEefsZ9H1p+vQAtkBGA== X-Received: by 127.0.0.2 with SMTP id SrsAYY7687511xh5ehwX4j0Z; Tue, 02 Jul 2024 04:23:17 -0700 Subject: Re: [edk2-devel] [PATCH v2] XiangshanSeriesPkg:Add BOSC NanhuDev platform To: "WangYang" , devel@edk2.groups.io From: yyl981210@163.com X-Originating-Location: Beijing, CN (219.141.235.82) X-Originating-Platform: Windows Chrome 124 User-Agent: GROUPS.IO Web Poster MIME-Version: 1.0 Date: Mon, 01 Jul 2024 22:46:45 -0700 References: <1f197736.24.18fa32bdb09.Coremail.wangyang@bosc.ac.cn> In-Reply-To: <1f197736.24.18fa32bdb09.Coremail.wangyang@bosc.ac.cn> Message-ID: <28357.1719899205373950317@groups.io> 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,yyl981210@163.com List-Unsubscribe-Post: List-Unsubscribe=One-Click List-Unsubscribe: X-Gm-Message-State: TAf1tBMMVP3wWgSm0ZdJRi4ox7686176AA= Content-Type: multipart/alternative; boundary="SbxEkCNyFLJi8886f2Mt" X-GND-Status: LEGIT Authentication-Results: spool.mail.gandi.net; dkim=pass header.d=groups.io header.s=20240206 header.b=T75KsXVf; dmarc=fail reason="SPF not aligned (relaxed), DKIM not aligned (relaxed)" header.from=163.com (policy=none); spf=pass (spool.mail.gandi.net: domain of bounce@groups.io designates 45.79.224.7 as permitted sender) smtp.mailfrom=bounce@groups.io --SbxEkCNyFLJi8886f2Mt Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable hi, I have verified the above patch on the bosc platform.
OpenSBI v0.9-31-g1f07ed5
____ =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0_=
____ ____ _____
/ __ \ =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0/ ____=
| =C2=A0_ \_ =C2=A0 _|
| | =C2=A0| |_ __ =C2=A0 ___ _ __ | (___ | |_) || |
| | =C2=A0| | '_ \ / _ \ '_ \ \___ \| =C2=A0_ < | |
| |__| | |_) | =C2=A0__/ | | |____) | |_) || |_
\____/| .__/ \___|_| |_|_____/|____/_____|
| |
|_|

Platform Name =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 : bosc,nanhu-dev
Platform Features =C2=A0 =C2=A0 =C2=A0 =C2=A0 : timer,mfdeleg
Platform HART Count =C2=A0 =C2=A0 =C2=A0 : 2
Firmware Base =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 : 0x80000000
Firmware Size =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 : 112 KB
Runtime SBI Version =C2=A0 =C2=A0 =C2=A0 : 0.3

Domain0 Name =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0: root
Domain0 Boot HART =C2=A0 =C2=A0 =C2=A0 =C2=A0 : 1
Domain0 HARTs =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 : 0*,1*
Domain0 Region00 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0: 0x0000000080000000-0x0=
00000008001ffff ()
Domain0 Region01 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0: 0x0000000000000000-0xf=
fffffffffffffff (R,W,X)
Domain0 Next Address =C2=A0 =C2=A0 =C2=A0: 0x0000000080200000
Domain0 Next Arg1 =C2=A0 =C2=A0 =C2=A0 =C2=A0 : 0x0000000082200000
Domain0 Next Mode =C2=A0 =C2=A0 =C2=A0 =C2=A0 : S-mode
Domain0 SysReset =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0: yes

Boot HART ID =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0: 1
Boot HART Domain =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0: root
Boot HART ISA =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 : rv64imafdcsu
Boot HART Features =C2=A0 =C2=A0 =C2=A0 =C2=A0: scounteren,mcounteren
Boot HART PMP Count =C2=A0 =C2=A0 =C2=A0 : 16
Boot HART PMP Granularity : 4096
Boot HART PMP Address Bits: 34
Boot HART MHPM Count =C2=A0 =C2=A0 =C2=A0: 29
Boot HART MHPM Count =C2=A0 =C2=A0 =C2=A0: 29
Boot HART MIDELEG =C2=A0 =C2=A0 =C2=A0 =C2=A0 : 0x0000000000000222
Boot HART MEDELEG =C2=A0 =C2=A0 =C2=A0 =C2=A0 : 0x000000000000b109
SecStartup() BootHartId: 0x1, DeviceTreeAddress=3D0x82200000
MemoryPeimInitialization: System RAM @ 0x80000000 - 0xFFFFFFFF
MemoryPeimInitialization: Total System RAM @ 0x80A00000 - 0xFFFFFFFF
AddReservedMemoryMap: Adding Reserved Memory Addr =3D 0x80000000, Size =3D =
0x20000
PlatformPeimInitialization: Build FDT HOB - FDT at address: 0x82200000
Loading DxeCore at 0x0081FE0000 EntryPoint=3D0x0081FE0240
DxeMain: MemoryBaseAddress=3D0x82A00000 MemoryLength=3D0x7D600000
HOBLIST address in DXE =3D 0xFFA53018
Memory Allocation 0x00000004 0x80000000 - 0x8001FFFF
Memory Allocation 0x00000004 0x829EF000 - 0x829EFFFF
Memory Allocation 0x00000004 0x829F0000 - 0x829FFFFF
Memory Allocation 0x00000004 0x829DF000 - 0x829EEFFF
Memory Allocation 0x00000004 0x824FD000 - 0x829DEFFF
Memory Allocation 0x00000004 0x8201C000 - 0x824FCFFF
Memory Allocation 0x00000003 0x81FE0000 - 0x8201BFFF
Memory Allocation 0x00000003 0x81FE0000 - 0x8201BFFF
FV Hob =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A00x80200000 - 0x8097FFFF
FV Hob =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A00x8201C000 - 0x824FBFFF
FV2 Hob =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 0x8201C000 - 0x824FBFFF
00000000-0000-0000-0000-000000000000 - 9E21FD93-9C72-4C15-8C4B-E77F1DB2D792
InstallProtocolInterface: D8117CFE-94A6-11D4-9A3A-0090273FC14D 82017690
InstallProtocolInterface: 8F644FA9-E850-4DB1-9CE2-0B44698E8DA4 FFA4F7B0
InstallProtocolInterface: 09576E91-6D3F-11D2-8E39-00A0C969723B FFA4FA98
InstallProtocolInterface: 8F644FA9-E850-4DB1-9CE2-0B44698E8DA4 FFA4F5B0
InstallProtocolInterface: 09576E91-6D3F-11D2-8E39-00A0C969723B FFA46F98
InstallProtocolInterface: 220E73B6-6BDB-4413-8405-B974B108619A FFA4F230
InstallProtocolInterface: 220E73B6-6BDB-4413-8405-B974B108619A FFA46B30
InstallProtocolInterface: FC1BCDB0-7D31-49AA-936A-A4600D9DD083 820176B0
Loading driver 9B680FCE-AD6B-4F3A-B60B-F59899003443
InstallProtocolInterface: 5B1B31A1-9562-11D2-8E3F-00A0C969723B FF5E31C0
Loading driver at 0x000FFE28000 EntryPoint=3D0x000FFE2828A DevicePathDxe.ef=
i
InstallProtocolInterface: BC62157E-3E33-4FEC-9920-2D3B36D750DF FF5E3718
ProtectUefiImageCommon - 0xFF5E31C0
- 0x00000000FFE28000 - 0x0000000000014D00
InstallProtocolInterface: 0379BE4E-D706-437D-B037-EDB82FB772A4 FFE37D58
InstallProtocolInterface: 8B843E20-8132-4852-90CC-551A4E4A7F1C FFE37D98
InstallProtocolInterface: 05C99A21-C70F-4AD2-8A5F-35DF3343F51E FFE37DA8
Loading driver 80CF7257-87AB-47F9-A3FE-D50B76D89541
InstallProtocolInterface: 5B1B31A1-9562-11D2-8E3F-00A0C969723B FF5D7BC0
Loading driver at 0x000FFE1B000 EntryPoint=3D0x000FFE1B28A PcdDxe.efi
InstallProtocolInterface: BC62157E-3E33-4FEC-9920-2D3B36D750DF FF5D7798
ProtectUefiImageCommon - 0xFF5D7BC0
- 0x00000000FFE1B000 - 0x000000000000C400
InstallProtocolInterface: 11B34006-D85B-4D0A-A290-D5A571310EF7 FFE26AA0
InstallProtocolInterface: 13A3F0F6-264A-3EF0-F2E0-DEC512342F34 FFE26B98
InstallProtocolInterface: 5BE40F57-FA68-4610-BBBF-E9C5FCDAD365 FFE26C28
InstallProtocolInterface: FD0F4478-0EFD-461D-BA2D-E58C45FD5F5E FFE26C40
Loading driver B04036D3-4C60-43D6-9850-0FCC090FF054

Press ESC in 1 seconds to skip startup.nsh or any other key to continue.
Shell>
-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D- Groups.io Links: You receive all messages sent to this group. View/Reply Online (#119760): https://edk2.groups.io/g/devel/message/119760 Mute This Topic: https://groups.io/mt/105437172/7686176 Group Owner: devel+owner@edk2.groups.io Unsubscribe: https://edk2.groups.io/g/devel/unsub [rebecca@openfw.io] -=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D- --SbxEkCNyFLJi8886f2Mt Content-Type: text/html; charset="utf-8" Content-Transfer-Encoding: quoted-printable hi, I have verified the above patch on the bosc platform.

<pre>
OpenSBI v0.9-31-g1f07ed5
   ____   &= nbsp;                _____ ____ ___= __
  / __ \               &nbs= p;  / ____|  _ \_   _|
 | |  | |_ __   _= __ _ __ | (___ | |_) || |
 | |  | | '_ \ / _ \ '_ \ \___ \| =  _ < | |
 | |__| | |_) |  __/ | | |____) | |_) || |_=
  \____/| .__/ \___|_| |_|_____/|____/_____|
    =     | |
        |_|

Platform = Name             : bosc,nanhu-dev
Platfo= rm Features         : timer,mfdeleg
Platform HART = Count       : 2
Firmware Base       &nbs= p;     : 0x80000000
Firmware Size        = ;     : 112 KB
Runtime SBI Version       : 0.= 3

Domain0 Name              := root
Domain0 Boot HART         : 1
Domain0 H= ARTs             : 0*,1*
Domain0 Region0= 0          : 0x0000000080000000-0x000000008001ffff= ()
Domain0 Region01          : 0x00000000000= 00000-0xffffffffffffffff (R,W,X)
Domain0 Next Address     &n= bsp;: 0x0000000080200000
Domain0 Next Arg1        = : 0x0000000082200000
Domain0 Next Mode         : = S-mode
Domain0 SysReset          : yes
<= br />Boot HART ID              : 1
= Boot HART Domain          : root
Boot HART IS= A             : rv64imafdcsu
Boot HART F= eatures        : scounteren,mcounteren
Boot HART P= MP Count       : 16
Boot HART PMP Granularity : 4096Boot HART PMP Address Bits: 34
Boot HART MHPM Count     &= nbsp;: 29
Boot HART MHPM Count      : 29
Boot HART= MIDELEG         : 0x0000000000000222
Boot HART ME= DELEG         : 0x000000000000b109
SecStartup() Bo= otHartId: 0x1, DeviceTreeAddress=3D0x82200000
MemoryPeimInitialization= : System RAM @ 0x80000000 - 0xFFFFFFFF
MemoryPeimInitialization: Total= System RAM @ 0x80A00000 - 0xFFFFFFFF
AddReservedMemoryMap: Adding Res= erved Memory Addr =3D 0x80000000, Size =3D 0x20000
PlatformPeimInitial= ization: Build FDT HOB - FDT at address: 0x82200000
Loading DxeCore at= 0x0081FE0000 EntryPoint=3D0x0081FE0240
DxeMain: MemoryBaseAddress=3D0= x82A00000 MemoryLength=3D0x7D600000
HOBLIST address in DXE =3D 0xFFA53= 018
Memory Allocation 0x00000004 0x80000000 - 0x8001FFFF
Memory A= llocation 0x00000004 0x829EF000 - 0x829EFFFF
Memory Allocation 0x00000= 004 0x829F0000 - 0x829FFFFF
Memory Allocation 0x00000004 0x829DF000 - = 0x829EEFFF
Memory Allocation 0x00000004 0x824FD000 - 0x829DEFFF
M= emory Allocation 0x00000004 0x8201C000 - 0x824FCFFF
Memory Allocation = 0x00000003 0x81FE0000 - 0x8201BFFF
Memory Allocation 0x00000003 0x81FE= 0000 - 0x8201BFFF
FV Hob            0x80= 200000 - 0x8097FFFF
FV Hob            0x= 8201C000 - 0x824FBFFF
FV2 Hob           0x820= 1C000 - 0x824FBFFF
              &n= bsp;   00000000-0000-0000-0000-000000000000 - 9E21FD93-9C72-4C15-8C4B-= E77F1DB2D792
InstallProtocolInterface: D8117CFE-94A6-11D4-9A3A-0090273= FC14D 82017690
InstallProtocolInterface: 8F644FA9-E850-4DB1-9CE2-0B446= 98E8DA4 FFA4F7B0
InstallProtocolInterface: 09576E91-6D3F-11D2-8E39-00A= 0C969723B FFA4FA98
InstallProtocolInterface: 8F644FA9-E850-4DB1-9CE2-0= B44698E8DA4 FFA4F5B0
InstallProtocolInterface: 09576E91-6D3F-11D2-8E39= -00A0C969723B FFA46F98
InstallProtocolInterface: 220E73B6-6BDB-4413-84= 05-B974B108619A FFA4F230
InstallProtocolInterface: 220E73B6-6BDB-4413-= 8405-B974B108619A FFA46B30
InstallProtocolInterface: FC1BCDB0-7D31-49A= A-936A-A4600D9DD083 820176B0
Loading driver 9B680FCE-AD6B-4F3A-B60B-F5= 9899003443
InstallProtocolInterface: 5B1B31A1-9562-11D2-8E3F-00A0C9697= 23B FF5E31C0
Loading driver at 0x000FFE28000 EntryPoint=3D0x000FFE2828= A DevicePathDxe.efi
InstallProtocolInterface: BC62157E-3E33-4FEC-9920-= 2D3B36D750DF FF5E3718
ProtectUefiImageCommon - 0xFF5E31C0
  = - 0x00000000FFE28000 - 0x0000000000014D00
InstallProtocolInterface: 03= 79BE4E-D706-437D-B037-EDB82FB772A4 FFE37D58
InstallProtocolInterface: = 8B843E20-8132-4852-90CC-551A4E4A7F1C FFE37D98
InstallProtocolInterface= : 05C99A21-C70F-4AD2-8A5F-35DF3343F51E FFE37DA8
Loading driver 80CF725= 7-87AB-47F9-A3FE-D50B76D89541
InstallProtocolInterface: 5B1B31A1-9562-= 11D2-8E3F-00A0C969723B FF5D7BC0
Loading driver at 0x000FFE1B000 EntryP= oint=3D0x000FFE1B28A PcdDxe.efi
InstallProtocolInterface: BC62157E-3E3= 3-4FEC-9920-2D3B36D750DF FF5D7798
ProtectUefiImageCommon - 0xFF5D7BC0<= br />  - 0x00000000FFE1B000 - 0x000000000000C400
InstallProtocolI= nterface: 11B34006-D85B-4D0A-A290-D5A571310EF7 FFE26AA0
InstallProtoco= lInterface: 13A3F0F6-264A-3EF0-F2E0-DEC512342F34 FFE26B98
InstallProto= colInterface: 5BE40F57-FA68-4610-BBBF-E9C5FCDAD365 FFE26C28
InstallPro= tocolInterface: FD0F4478-0EFD-461D-BA2D-E58C45FD5F5E FFE26C40
Loading = driver B04036D3-4C60-43D6-9850-0FCC090FF054

Press ESC in 1 secon= ds to skip startup.nsh or any other key to continue.
Shell>
&l= t;/pre>

_._,_._,_

Groups.io Links:

=20 You receive all messages sent to this group. =20 =20

View/Reply Online (#119760) | =20 | Mute= This Topic | New Topic
Your Subscriptio= n | Contact Group Owner | Unsubscribe [rebecca@openfw.io]

_._,_._,_
--SbxEkCNyFLJi8886f2Mt--