Skip to content

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