Skip to content

Ampere platform improvements#926

Open
bexcran wants to merge 10 commits intotianocore:masterfrom
bexcran:ampere-improvements-01
Open

Ampere platform improvements#926
bexcran wants to merge 10 commits intotianocore:masterfrom
bexcran:ampere-improvements-01

Conversation

@bexcran
Copy link
Contributor

@bexcran bexcran commented Jan 2, 2026

Various fixes and improvements to ASRock Rack ALTRAD8UD-1L2T, ALTRAD8UD2-1L2Q and Ampere Mt. Jade.

bexcran added 10 commits January 2, 2026 11:17
Since the ASRock Rack boards are 1 DPC, there are 8 DIMM channels.
Update the board setting configurations to tell TF-A to only look
for 8 and not 16 as on Mt Jade (which is a 2 DPC board).

Update the Type 17 SMBIOS code to remove the workaround.

Signed-off-by: Rebecca Cran <rebecca@bsdio.com>
…duct

Instead of having a fixed string "Mt. Jade" in the PlatformInfoDxe, get
it from a PCD. Also, set the other system and board PCDs so it's possible
to get reasonable values in SMBIOS even if SSIF support isn't built in.
This provides a slight reduction in boot time.

Signed-off-by: Rebecca Cran <rebecca@bsdio.com>
Since this firmware isn't affiliated with ASRock Rack, stop claiming
it is in SMBIOS, and instead report it being from "EDK II".

Signed-off-by: Rebecca Cran <rebecca@bsdio.com>
Signed-off-by: Rebecca Cran <rebecca@bsdio.com>
Signed-off-by: Rebecca Cran <rebecca@bsdio.com>
"set -x" was mistakenly included in buildfw.sh. Switch it to errexit.

Signed-off-by: Rebecca Cran <rebecca@bsdio.com>
As per other platforms, HTTP connections should probably be allowed
by default.

Signed-off-by: Rebecca Cran <rebecca@bsdio.com>
Fix OemMiscLib in JadePkg following changes to SMBIOS cache
definitions.

Signed-off-by: Rebecca Cran <rebecca@bsdio.com>
Improve SMBIOS support by moving tables 8,9,41 into a new
SmbiosBoardSpecificDxe and customizing it per board: for
example the ALTRAD8UD-1L2T has 2 RJ-45 Ethernet ports while
the ALTRAD8UD2-1L2Q has 2 SFP28 ports.

Fix copy/paste errors between tables 11 and 12, and update table 19
to only populate based on the number of active sockets.

Since the IO Expander on this platform appears not to be accessible
from the host, delete IOExpanderLib.

Signed-off-by: Rebecca Cran <rebecca@bsdio.com>
Capsule and Secure Boot support require additional files which are
generated via buildfw.sh. To support builds using Stuart or the
traditional build.py, add support for not building capsules, and
change the default for Secure Boot to off.

Signed-off-by: Rebecca Cran <rebecca@bsdio.com>
@hrw
Copy link
Contributor

hrw commented Jan 3, 2026

Where "SYS and TF-A version 2.10.20250506" can be found?

Other than 'mail Ampere and hope'?

@bexcran
Copy link
Contributor Author

bexcran commented Jan 3, 2026

Where "SYS and TF-A version 2.10.20250506" can be found?
Other than 'mail Ampere and hope'?

You will need a signed NDA with Ampere to access Customer Connect to download the 2.10g SRP.

@hrw
Copy link
Contributor

hrw commented Jan 4, 2026

Does SMPro firmware also requires update when new TF-A is used?

@bexcran
Copy link
Contributor Author

bexcran commented Jan 4, 2026

Does SMPro firmware also requires update when new TF-A is used?

Yes, they're supposed to be matched so the same version of SYS is running as TF-A.

@hrw
Copy link
Contributor

hrw commented Jan 4, 2026

So now I need to find out does every Ampere Altra system uses same SMPro.

Gigabyte provides MP32_AR0_scp_signed_2.10.20250506_SHA256.hpm for their systems. Will have to look at updates from other vendors and compare.

@bexcran
Copy link
Contributor Author

bexcran commented Jan 4, 2026

So now I need to find out does every Ampere Altra system uses same SMPro.

Yes, they do use the same SMPro binary.

@bexcran
Copy link
Contributor Author

bexcran commented Jan 19, 2026

Ping? Could I get some reviews on this please?

gEfiMdeModulePkgTokenSpaceGuid.PcdFirmwareReleaseDateString|L"MM/DD/YYYY"

[PcdsDynamicExDefault.common.DEFAULT]
!if $(CAPSULE_ENABLE) == TRUE
Copy link
Contributor

@vishalo vishalo Feb 3, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This affects the Jade build too. Is it possible to update the JadePkg DSC and FDF files along with this change ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants