GithubHelp home page GithubHelp logo

lumia930pkg's Introduction

Lumia930Pkg

WIP Custom ARM UEFI firmware for Lumia930

alt text

Current Status

EMMC MMU PMIC GPIO Working

Linux Notes

alt text Linux kernel do boot but crashes pretty soon.
All four cores are up after a recent update of bootshim
You will need a device tree with the kernel.
Some development of the device specific device tree is needed.
For a partially working kernel, see https://github.com/rickliu2000/linux_nokia_msm8974

TO-DO

We no longer need to implement MpPark since the recent update of bootshim by @imbushuo. A ram patch stops core 1-3 from being powered on before the old firmware exits

lumia930pkg's People

Contributors

rickliu2000 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

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

lumia930pkg's Issues

Compilation error

好像无法编译,我更改了许多个edk2的版本,他都无法正常编译
LOG:
collect2: error: ld returned 1 exit status
make: *** [GNUmakefile:364: /mnt/e/640xl/edk2/Build/Lumia830-ARM/DEBUG_GCC5/ARM/MdeModulePkg/Universal/Disk/UnicodeCollation/EnglishDxe/EnglishDxe/DEBUG/EnglishDxe.dll] Error 1
build.py...
: error 7000: Failed to execute command
make -s tbuild [/mnt/e/640xl/edk2/Build/Lumia830-ARM/DEBUG_GCC5/ARM/MdeModulePkg/Universal/Disk/UnicodeCollation/EnglishDxe/EnglishDxe]

build.py...
: error 7000: Failed to execute command
make -s tbuild [/mnt/e/640xl/edk2/Build/Lumia830-ARM/DEBUG_GCC5/ARM/MdeModulePkg/Universal/DevicePathDxe/DevicePathDxe]

build.py...
: error 7000: Failed to execute command
make -s tbuild [/mnt/e/640xl/edk2/Build/Lumia830-ARM/DEBUG_GCC5/ARM/EmbeddedPkg/RealTimeClockRuntimeDxe/RealTimeClockRuntimeDxe]

build.py...
: error 7000: Failed to execute command
make -s tbuild [/mnt/e/640xl/edk2/Build/Lumia830-ARM/DEBUG_GCC5/ARM/MdeModulePkg/Universal/MonotonicCounterRuntimeDxe/MonotonicCounterRuntimeDxe]

build.py...
: error 7000: Failed to execute command
make -s tbuild [/mnt/e/640xl/edk2/Build/Lumia830-ARM/DEBUG_GCC5/ARM/MdeModulePkg/Universal/PrintDxe/PrintDxe]

build.py...
: error 7000: Failed to execute command
make -s tbuild [/mnt/e/640xl/edk2/Build/Lumia830-ARM/DEBUG_GCC5/ARM/Lumia830Pkg/Driver/BamDxe/BamDxe]

build.py...
: error 7000: Failed to execute command
make -s tbuild [/mnt/e/640xl/edk2/Build/Lumia830-ARM/DEBUG_GCC5/ARM/MdeModulePkg/Universal/Console/GraphicsConsoleDxe/GraphicsConsoleDxe]

build.py...
: error 7000: Failed to execute command
make -s tbuild [/mnt/e/640xl/edk2/Build/Lumia830-ARM/DEBUG_GCC5/ARM/MdeModulePkg/Universal/CapsuleRuntimeDxe/CapsuleRuntimeDxe]

build.py...
: error 7000: Failed to execute command
make -s tbuild [/mnt/e/640xl/edk2/Build/Lumia830-ARM/DEBUG_GCC5/ARM/MdeModulePkg/Universal/BdsDxe/BdsDxe]

build.py...
: error 7000: Failed to execute command
make -s tbuild [/mnt/e/640xl/edk2/Build/Lumia830-ARM/DEBUG_GCC5/ARM/MdeModulePkg/Universal/Console/ConSplitterDxe/ConSplitterDxe]

build.py...
: error 7000: Failed to execute command
make -s tbuild [/mnt/e/640xl/edk2/Build/Lumia830-ARM/DEBUG_GCC5/ARM/Lumia830Pkg/Driver/SdhciMMCHSDxe/SdhciMMCHS]

build.py...
: error 7000: Failed to execute command
make -s tbuild [/mnt/e/640xl/edk2/Build/Lumia830-ARM/DEBUG_GCC5/ARM/FatPkg/EnhancedFatDxe/Fat]

build.py...
: error 7000: Failed to execute command
make -s tbuild [/mnt/e/640xl/edk2/Build/Lumia830-ARM/DEBUG_GCC5/ARM/MdeModulePkg/Core/Dxe/DxeMain]

build.py...
: error F002: Failed to build module
/mnt/e/640xl/edk2/MdeModulePkg/Universal/Disk/UnicodeCollation/EnglishDxe/EnglishDxe.inf [ARM, GCC5, DEBUG]

Error while compiling

Hello there! I wanted to try this out but when i try to compile it i get the following error:
``chaosleo07@chaosleo07-HP-Elite-7500-Series-MT:~/edk2$ build -a ARM -p Lumia930Pkg/Lumia930.dsc -t GCC5 -j$(nproc) -s -n 0
Build environment: Linux-5.4.0-72-generic-x86_64-with-elementary-5.1.7-hera
Build start time: 12:27:39, May.07 2021

WORKSPACE = /home/chaosleo07/edk2
EDK_TOOLS_PATH = /home/chaosleo07/edk2/BaseTools
CONF_PATH = /home/chaosleo07/edk2/Conf
PYTHON_COMMAND = /usr/bin/python3.6

Processing meta-data .
Architecture(s) = ARM
Build target = DEBUG
Toolchain = GCC5

Active Platform = /home/chaosleo07/edk2/Lumia930Pkg/Lumia930.dsc

build.py...
/home/chaosleo07/edk2/Lumia930Pkg/Lumia930.dsc(...): error 4000: Instance of library class [RegisterFilterLib] is not found
in [/home/chaosleo07/edk2/MdePkg/Library/BaseIoLibIntrinsic/BaseIoLibIntrinsic.inf] [ARM]
consumed by module [/home/chaosleo07/edk2/Lumia930Pkg/PrePi/PrePi.inf]

  • Failed -
    Build end time: 12:27:39, May.07 2021
    Build total time: 00:00:01
    ``

This is the Build command im using:
build -a ARM -p Lumia930Pkg/Lumia930.dsc -t GCC5 -j$(nproc) -s -n 0

what can i do to fix this

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.