Linux lumia 950 xl

Saved searches

Use saved searches to filter your results more quickly

You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session. You switched accounts on another tab or window. Reload to refresh your session.

Non-EOL (yes!) AArch64 UEFI firmware for Lumia 950 / Lumia 950 XL

License

WOA-Project/Lumia950XLPkg

This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?

Sign In Required

Please sign in to use Codespaces.

Launching GitHub Desktop

If nothing happens, download GitHub Desktop and try again.

Launching GitHub Desktop

If nothing happens, download GitHub Desktop and try again.

Launching Xcode

If nothing happens, download Xcode and try again.

Launching Visual Studio Code

Your codespace will open once ready.

There was a problem preparing your codespace, please try again.

Latest commit

Git stats

Files

Failed to load latest commit information.

README.md

EDK2 UEFI Implementation for Lumia 950 and Lumia 950 XL

You can download the latest UEFI build by clicking the Azure Pipelines icon below. Click Artifacts button in Azure Pipelines, then download UEFI.elf in ELF directory.

This package demonstrates an AArch64 UEFI implementation for hacked Lumia 950 and Lumia 950 XL. Currently it is able to boot Windows 10 ARM64 as well as various Linux distros. See notes below for more details. Please be aware that MSM8992 devices have limited support.

Hapanero support has been dropped as of 2020/11. Hapanero users are expected to completely understand all hardware, firmware and software implementation details, thus there’s no point to keep an untested target floating in this project. For existing Hapanero owners, please build and fix this firmware by yourself (use 950 XL configuration as the blueprint), but no PR regarding Hapanero will be accepted.

Applicable to all supported targets unless noted.

  • Low-speed I/O: I2C, SPI, GPIO, SPMI and Pinmux (TLMM).
  • Power Management: PMIC and Resource Power Manager (RPM).
  • High-speed I/O for firmware and HLOS: eMMC (SDR50 in firmware, HS200/HS400 in OS) and microSD (be aware that a few cards are unsupported), PCI Express (Firmware-configured, HLOS Only, x2 Lane)
  • Peripherals: Touchscreen (QUP I2C), side-band buttons (TLMM GPIO and PMIC GPIO) and Lattice UC120 (iCE5LP2K) FPGA configuration
  • Display FrameBuffer depends on stock Qualcomm UEFI for boostrapping, MDP is not fully implemented.
Читайте также:  Linux общие папки nfs

I am too busy to write an average-user tutorial. So, if you are interested in, you are welcome to contribute to an easy instruction for all Lumia 950 (XL) users.

Or you can buy me a coffee: PayPal.

If you are familiar with EDK2, you don’t need to use my build script.

  • Checkout a copy of EDK2. We are currently tracking the master branch. At least commit 1b6b4a83e1d85e48837068dfe409f5557b50d71d works without further modification.
  • Checkout this repository under EDK2’s worktree.
  • Install ACPI tools from your package manager or ACPICA website.
  • Install uuid-dev and python (or equivalent package on your distribution).
  • Install Linaro AArch64 GCC toolchains, my build script uses gcc-linaro-7.5.0-2019.12 . Then untar them. I place everything under /opt directory, so I have directories like /opt/gcc-linaro-7.5.0-2019.12-x86_64_aarch64-elf/bin . If you placed it somewhere else, modify build scripts. If you are macOS user, bootstrap the toolchain using ct-ng.
  • Run EDK2 BaseTools setup ( make -C BaseTools ).
  • Copy rundbbuild.sh in Tools directory to your EDK2 worktree root directory.
  • By default only MSM8994 target is built. To build all, set environment variable BUILDALL .
  • Start build: . rundbbuild.sh —950xl —development

If you checked out the EDK2 repository under Windows and build it using WSL, you will have trouble locating BaseTools Python classes due to file case sensitive behavior changes in WSL. Run the following PowerShell script under EDK2 directory prior to build:

Get-ChildItem .\BaseTools\ -Directory -Recurse | Foreach-Object

You only need to run it once.

Per UEFI specification, ARM32 UEFI cannot boot ARM64 binaries directly. A recent engineering change removed the dependency of Little Kernel. LK can still boot it, but the path is untested.

To run this UEFI build on Lumia 950 XL, the following procedure is required:

  • Check out Boot Shim. This Boot Manager Application implements a simple ELF loader for the kickstarter (LK) with Secure Monitor Call for EL1 transition. You will need branch msm8994-aa64 .
  • Place UEFI.elf in the WP EFIESP root directory, copy Boot Shim EFI application to the EFIESP partition, create a new BCD entry for it.
  • Select this boot entry to enter UEFI.

To re-flash UEFI, simply place new UEFI.elf in WP EFIESP root directory.

Qualcomm Snapdragon MSM8992/MSM8994 implements a subset of PSCI interface for multi-processor startup. However, required commands like PSCI_SYSTEM_OFF and PSCI_SYSTEM_RESET are not implemented. Hence we use PMIC to shutdown platform (there’s a bug in RT that will be fixed) instead of PSCI. Additionally, 8992/8994 uses HVC call for PSCI commands instead of SMC call.

The ACPI tables are copied from stock Windows Phone FFU, hence these device IDs are likely not be recognized by Linux.

To get started, starts with the device tree of Qualcomm MSM8994 MTP. The repository devicetree-rebasing with DT content from Android Linux Kernel is sufficient for DT development. To boot with device tree, add it in your GRUB configuration:

devicetree /lumia-950-xl.dtb linux /vmlinuz . acpi=no 

PSCI partially works in EL1. If you want to use PSCI for multi-processor startup, add the following code to your DT:

Читайте также:  Listing links in linux

And use psci for core-enable method. If you are using EL2 startup, use spin-table with per_cpu_mailbox_addr + 0x8 as the release address.

For MSM8994, PCI Express Root Port 1 is firmware-initialized. Similarly, MSM8992 have PCI Express Root Port 0 initialized. Hence it is not necessary to supply qcom,pcie in device tree. Instead, supply a firmware-initialized PCI bus device pci-host-ecam-generic . ACPI MCFG table is supplied for your reference.

Note: interrupt is not configured in the example below (therefore ath10k will crash the system if loaded.)

pci@f8800000 < compatible = "pci-host-ecam-generic"; device_type = "pci"; #address-cells = ; #size-cells = ; bus-range = ; #interrupt-cells = ; reg = ; ranges = ; status = "okay"; >; 

All code except drivers in GPLDriver directory are licensed under BSD 2-Clause. GPL Drivers are licensed under GPLv2 license.

About

Non-EOL (yes!) AArch64 UEFI firmware for Lumia 950 / Lumia 950 XL

Источник

You can run Windows 10 (or Linux) on a Lumia 950 XL smartphone

Microsoft’s long-rumored Surface Phone may still be nothing but a rumor… but if you happen to be one of the folks who bought the company’s last smartphone, it looks like you can now turn the Lumia 950 XL into a full-fledged PC.

The phone originally shipped in 2015 with Windows 10 Mobile software and features a Qualcomm Snapdragon 810 processor, 3GB of RAM, and 32GB of storage.

Hacker Ben | imbushuo has been working to bring a modified UEFI bootloader to the phone, allowing you to replace the outdated (and all-but-dead) operating system, and now he’s released tools and instructions that let you load Windows 10 on ARM or Linux.

The process isn’t for beginners, and takes a bit of technical know-how. But basically it involves using WPInternals 2.4 to unlock the phone, then loading some tools that will let you load the recently-released desktop version of Windows 10 built for devices with ARM-based processors.

Theoretically, the same technique should let you run a GNU/Linux operating system like Ubuntu, Debian, or Arch on the Lumia 950 XL, but there’s still some work that would need to be done in order for a Linux distribution to recognize all of the phone’s hardware.

It’s also worth keeping in mind that while Windows 10 on ARM allows you to run Win32 apps developed for computers with x86 processors, it relies on emulation to do that. Early reviews suggest that computers with Qualcomm Snapdragon 835 chips are sluggish when running x86 apps… so don’t expect stellar performance from a phone with a Qualcomm chip that’s several generations older than that. The operating system also isn’t really designed for devices with 5.7 inch displays, so some menus, icons, and other items may be a little too tiny to be useful.

Still, this opens the door for breathing some sort of new life into an aging phone by making it possible to run up-to-date Universal Windows Platform apps that are compiled to run natively on devices with ARM-based processors. At a time when many developers have stopped making Windows 10 Mobile versions of their apps, that’s… something.

On the other hand, Windows 10 on ARM isn’t really designed to run on phones, so you may not be able to do some basic things… like make phone calls.

Читайте также:  Opencv linux or windows

Right now, the best reason for running Windows 10 on a Lumia 950 XL is probably “because I can.” But it’s always exciting to see independent developers add new capabilities to old devices in this way.

Support Liliputing

Liliputing’s primary sources of revenue are advertising and affiliate links (if you click the «Shop» button at the top of the page and buy something on Amazon, for example, we’ll get a small commission).

But there are several ways you can support the site directly even if you’re using an ad blocker* and hate online shopping.

Contribute to our Patreon campaign

Contribute via PayPal

* If you are using an ad blocker like uBlock Origin and seeing a pop-up message at the bottom of the screen, we have a guide that may help you disable it.

Subscribe to Liliputing via Email

5 replies on “You can run Windows 10 (or Linux) on a Lumia 950 XL smartphone”

This is cool except if you want a dedicated windows pocket computer, you’re better off with the GDP win.

This is a proof of concept for Win10 on ARM chips, which may offer a path forward for the 30 million or so Windows phone users (like me and my employees).

There are bunch of Android phones out there, why would want to install it on a smooth Lumia? P.S. Some Windows Phone users are former Android user (like me).

Follow

Recent Posts

Latest Deals

Disclosure: Some links on this page may be monetized by Skimlinks and Amazon’s and eBay’s affiliate programs.

Источник

Linux lumia 950 xl

В этом году Microsoft прекратила официально поддерживать Windows 10 Mobile. Компания из Редмонда поддерживала данную операционную систему в течение трех лет, выпуская исправления безопасности и ошибок. Внедрение новых функций в Windows 10 Mobile было прекращено после выпуска обновления Creators Update.
Есть люди, которые до сих пор используют свои устаревшие телефоны на мобильной Windows. Для тех, кто все еще пользуется своим флагманским телефоном Lumia, есть хорошие новости. В дополнение к Windows 10 на ARM теперь можно установить Ubuntu на Lumia 950/950 XL.

Lumia 950 XL

реклама

Разработчик Gustave сейчас экспериментирует с Ubuntu Focal Fossa для телефонов Lumia, используя порт ядра, разработанный пользователем под ником imbushuo в 2018 году. По словам разработчика, последняя версия ядра для Linux теперь работает без проблем на Lumia 950 XL.

Lumia 950 XL with Linux

Несколько лет назад данный разработчик смог успешно установить Android Nougat на Nokia Lumia 520 и 525 — эти два телефона изначально не имели возможности официально обновиться до Windows 10 Mobile.
В прошлом месяце разработчик под ником Ben выпустил новую версию инструмента под названием «Lumia950XLPgk», позволяющую использовать мультизагрузку ОС на смартфоне. Инструмент «Lumia950XLPgk» добавляет поддержку загрузки с SD-карты и выбора ОС при запуске, таких как Linux и Android.
Одному из разработчиков удалось запустить TWRP (Team Win Recovery Project) на Lumia 950. Наличие TWRP на смартфоне позволяет провести установку кастомной прошивки на базе Android.

Источник

Оцените статью
Adblock
detector