Skip to content

EDK2-MSM port for Xiaomi Poco F5 (SM7475 / Marble) (WIP) #424

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 6 commits into from

Conversation

Yuzuru10
Copy link

Description

What Has Been Done

1. Platform Bring-up

  • Cloned and renamed SM8475 support to Platform/Xiaomi/sm7475/.
  • Renamed and configured .dsc, .fdf, .dec, and other files for sm7475 & marble.

2. .dsc Configuration

  • Updated:
    • PcdSystemMemorySize to match actual RAM.
    • PcdCoreCount, PcdClusterCount using cpuinfo.
    • Memory base addresses using iomem.
  • Added:
    • SerialPortLibQcomGeniSerialPortLib
    • UART base address: 0x894000

3. Apriori Drivers

Manually extracted and included crucial DXE drivers:

  • SmemDxe, DalSysDxe, HwIODxe
  • ChipInfoDxe, ClockDxe, PMICDxe, PlatformInfoDxe, etc.

4. Platform Library Modifications (Silicon/Qualcomm/sm7475/Library/)

  • PlatformMemoryMapLib:
    • Adjusted MMIO/heap regions to avoid memory violations.
  • PlatformPrePiLib:
    • Confirmed UART initialization is in place.
  • marble.dec:
    • Added:
      gEfiMdePkgTokenSpaceGuid.PcdUartBaseAddress|UINT32|0x894000|0

I am assuming that adding these could be good because it can help other people even though it is very very WIP at right now.

Checklist

  • [ +] Have you tested the change you are submitting?
  • [ +] Is the commits history nice and clean?

@Yuzuru10 Yuzuru10 closed this Aug 3, 2025
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.

1 participant