Coder Social home page Coder Social logo

microsoft / mu_oem_sample Goto Github PK

View Code? Open in Web Editor NEW
40.0 11.0 48.0 914 KB

Project Mu OEM Sample Code

Home Page: https://microsoft.github.io/mu/

License: Other

C 94.17% Python 2.35% Assembly 3.06% BitBake 0.42%
uefi firmware uefi-development projectmu

mu_oem_sample's Introduction

Project Mu Oem Sample Repository

Host Type & Toolchain Build Status Test Status Code Coverage
Windows_VS WindowsCiBuild WindowsCiTest WindowsCiCoverage
Ubuntu_GCC5 UbuntuCiBuild UbuntuCiTest UbuntuCiCoverage

This repository is part of Project Mu. Please see Project Mu for details https://microsoft.github.io/mu

Branch Status - release/202311

Status

In Development

Entered Development

Dec 2023

Anticipated Stabilization

Feb 2024

Branch Changes - release/202311

Breaking Changes-dev

  • Incomplete

Main Changes-dev

  • Incomplete

Bug Fixes-dev

  • Incomplete

Branched from 202302

Commit: b340920dce8c0cd7c87865386ae8dc53ecf230e0

Code of Conduct

This project has adopted the Microsoft Open Source Code of Conduct https://opensource.microsoft.com/codeofconduct/

For more information see the Code of Conduct FAQ https://opensource.microsoft.com/codeofconduct/faq/ or contact [email protected]. with any additional questions or comments.

Contributions

Contributions are always welcome and encouraged! Please open any issues in the Project Mu GitHub tracker and read https://microsoft.github.io/mu/How/contributing/

Copyright (C) Microsoft Corporation
SPDX-License-Identifier: BSD-2-Clause-Patent

mu_oem_sample's People

Contributors

apop5 avatar corthon avatar dependabot[bot] avatar dmitryantipov avatar flickdm avatar freekansu avatar javagedes avatar kenlautner avatar kuqin12 avatar makubacki avatar mikeytdisco avatar os-d avatar spbrogan avatar taylorbeebe avatar uefibot avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

mu_oem_sample's Issues

[Bug]: Building for AARCH64 for OemPkg does not link stack cookies

Is there an existing issue for this?

  • I have searched existing issues

Current Behavior

If you attempt to build OemPkg using stuart_ci_build with GCC on WSL2 for AARCH64 you will see the be met with linker errors

Expected Behavior

OemPkg should be built correctly

Steps To Reproduce

  1. Create a WSL2 Environment to build Project MU
  2. Clone this repo
  3. stuart_ci_setup -c .pytool/CISettings.py TOOL_CHAIN_TAG=GCC5
  4. stuart_update -c .pytool/CISettings.py TOOL_CHAIN_TAG=GCC5
  5. stuart_ci_build -c .pytool/CISettings.py TOOL_CHAIN_TAG=GCC5

Build Environment

- OS(s):
   - WSL2 Ubuntu 22.04.2
- Tool Chain(s):
   - GCC5
- Targets Impacted:
   - AARCH64

Version Information

release/202302 and below

Urgency

Low

Are you going to fix this?

I will fix it

Do you need maintainer feedback?

No maintainer feedback needed

Anything else?

No response

[Bug]: DFCI_CertChainingTest report fail when manufacturing mode

Is there an existing issue for this?

  • I have searched existing issues

Current Behavior

Follow the implementation of DfciUiDisplayAuthDialog function, DFCI_CertChainingTest reports 5 Fails when manufacturing mode.

DfciUiDisplayAuthDialog function will accept the enrollment without the proper key when manufacturing mode.

Expected Behavior

mu_oem_sample should provide the sample code which can pass all DFCI test cases.

Should the DfciUiDisplayAuthDialog function be changed as below:

  if (DfciUiIsManufacturingMode ()) {
    *Result = DFCI_MB_IDCANCEL;
    return EFI_SUCCESS;
  }

Steps To Reproduce

BOOLEAN
EFIAPI
DfciUiIsManufacturingMode (
  VOID
  ) {
  return TRUE;
}
  1. Run DFCI_CertChainingTest test case and it will report 5 Fails.

Build Environment

- OS(s): Windows 10
- Tool Chain(s): VS2019
- Targets Impacted:RELEASE

Version Information

Commit: 1709eca4a7e17372b9d0c801cbd1fa8e7cbf7b83

Urgency

Medium

Are you going to fix this?

Someone else needs to fix it

Do you need maintainer feedback?

Maintainer feedback requested

Anything else?

No response

[Bug]: Intune uses Type 01 serial number for 4k hash, DfciIdSupportGetSerialNumber should match expected serial number type

Is there an existing issue for this?

  • I have searched existing issues

Current Behavior

The current behavior is DfciIdSupportGetSerialNumber return the type 03 serial number instead of the intune expected serial number of type 01

https://github.com/microsoft/mu_oem_sample/blob/9174bf2dfa6f339633deefa28747097fb04b43fc/OemPkg/Library/DfciDeviceIdSupportLib/DfciDeviceIdSupportLib.c#LL209C1-L210C1

For example of what Intune expects see:
https://www.powershellgallery.com/packages/Get-WindowsAutoPilotInfo/3.5/Content/Get-WindowsAutoPilotInfo.ps1

Expected Behavior

DfciIdSupportGetSerialNumber should return type 01 serial number

Steps To Reproduce

Set the Type 01 and Type 03 serial numbers to different values
call DfciIdSupportGetSerialNumber and compare against

Get-CimInstance -ClassName Win32_BIOS -Property SerialNumber  | Select-Object -ExpandProperty SerialNumber

Build Environment

- OS(s): Windows 11
- Tool Chain(s): VS2022
- Targets Impacted: RELEASE

Version Information

v2023020000.0.0

Urgency

Medium

Are you going to fix this?

I will fix it

Do you need maintainer feedback?

No maintainer feedback needed

Anything else?

No response

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.