Skip to content
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

The MEGA Windows on Arm thread #12

Open
diydavindra opened this issue Apr 21, 2018 · 2,102 comments
Open

The MEGA Windows on Arm thread #12

diydavindra opened this issue Apr 21, 2018 · 2,102 comments

Comments

@diydavindra
Copy link

diydavindra commented Apr 21, 2018

So i've gotten pretty close to getting windows 10 arm to boot. But for some reason after selecting the boot device it wont no longer detect the keyboard, when the press any key to continue prompt arrives. The numlock light will turn on but no matter what button i press nothing happens. Also since it doesnt detect a keyboard input it will go back to the last screen and the system seems to lock up at that point.
img_20180420_221029

@diydavindra
Copy link
Author

I've also tried two different keyboards both seem to not have an effect.

@andreiw
Copy link
Owner

andreiw commented Apr 21, 2018

Do me a favor and repeat your experiment with the input being done over the serial input instead of USB. I bet you’ll discover similar behavior.

Actually, please send me a serial log of your experiments produced by a debug build of the UEFI firmware. That should help immensly.

I’ve seen something similar with winload.efi - it draws the pretty “uh-oh” blue screen, but the keys to reboot or exit to firmware don’t work - almost as if the code is waiting for a debugger or if interrupts are disabled. With a debug edk2 build I saw periodic UEFI messages stop printing as well.

@thchi12
Copy link

thchi12 commented Apr 21, 2018

You can try applying the wim file manually,make two partitions on your sdcard or USB,one FAT and one NTFS,then use dism to apply the image and bcdboot to create boot files.

@thchi12
Copy link

thchi12 commented Apr 21, 2018

AFAIK,using the latest firmware Windows still hang at the boot screen,there seems no sign of loading and no 0xc0000225

@diydavindra
Copy link
Author

Sadly i don't have a serial cable to hook up to the pi, tho im not too sure how to communicate with it that way my guess is a serial to usb and putty on my pc. I've seen people posting images of the 0xc0000225 blue screen and i have no idea how they are even getting that far.

@thchi12
Copy link

thchi12 commented Apr 21, 2018

Juat as I said,apply the install.wim manually

@andreiw
Copy link
Owner

andreiw commented Apr 22, 2018

Folks, I've updated the readme.md file with the steps required to build arm64 WinPE USB media. You should be able to follow them provided you have a Windows 10 machine (any will do, x86, amd64 or arm64).

Also, see https://github.com/andreiw/RaspberryPiPkg/tree/master/Binary/prebuilt/2018Apr21-GCC49, which should make it more obvious what is happening. See screenshot. You should be able to repeat my "success" (for lack of a better term, given that we're crashing somewhere in NT after UEFI exits).

img_0673

Since the current version (Apr 21st) and latest WoA WinPE bits seem to act much more reasonably than this ticket implies, I'm closing it as resolved.

@andreiw andreiw closed this as completed Apr 22, 2018
@andreiw andreiw reopened this Apr 22, 2018
@andreiw andreiw changed the title Usb Keyboard Not Working On Prompt Windows on Arm doesn't work [Was: Usb Keyboard Not Working On Prompt] Apr 22, 2018
@andreiw
Copy link
Owner

andreiw commented Apr 22, 2018

Guys, take a look at https://github.com/andreiw/RaspberryPiPkg/tree/master/Binary/prebuilt/2018Apr22-GCC49 and the latest notes in readme.md. Everything you need to repeat is in there.

I can get WinPE booting. If it wasn't for https://twitter.com/ntauthority 's helpful hint, wouldn't be anywhere close.

img_8602 2
img_0957
img_7883 3
img_9027

@andreiw andreiw closed this as completed Apr 22, 2018
@andreiw andreiw reopened this Apr 22, 2018
@andreiw
Copy link
Owner

andreiw commented Apr 22, 2018

I'll see if I can make any progress on SMP.

It would be nice to figure out where the MCCI (https://twitter.com/NTAuthority/status/957886027594641409) USB driver for DWC_OTC can be found.

The rest of the RPi3 drivers are open source and could be hypothetically build with the EWDK (https://github.com/ms-iot/bsp/tree/master/drivers) - untried, but it seems like @NTAUTHORITY built some.

@diydavindra
Copy link
Author

Wow you guys got pretty far, I'm gonna try this in a bit and see what happens.

@thchi12
Copy link

thchi12 commented Apr 22, 2018

wow That's amazing!
Is it possible to use PSCI to get SMP?WOA needs either mppp or psci to get multicore.
According to https://zhuanlan.zhihu.com/p/34572676
Windows has built in support for BCM interrupts,and what's the problem that prevents windows from starting up?

@andreiw
Copy link
Owner

andreiw commented Apr 22, 2018

This firmware already exposes PSCI support (go boot Linux and see ;-)), but the ACPI tables are as-is from MS-IoT and thus still report MPPP and no PSCI in FADT.

@thchi12
Copy link

thchi12 commented Apr 22, 2018

In the earlier versions there were acpi tables for psci ,I wonder whether adding only dsdt ,csrt,dbg2 could help or not.

@andreiw
Copy link
Owner

andreiw commented Apr 22, 2018

@thchi12, nope, unrelated.

@andreiw
Copy link
Owner

andreiw commented Apr 22, 2018

As far as RPi3 support there appears to be a check in Hal validating PIC is not a BCM PIC. That’s why you need a debugger attached to patch out the ‘bls’ following the subtraction and compare.

@diydavindra
Copy link
Author

Would it be possible to use the usb driver from the windows IoT? Cause im trying to get my hands on the file for it.

@thchi12
Copy link

thchi12 commented Apr 22, 2018

I don't think arm32 drivers can be used on arm64@daveb778

@diydavindra
Copy link
Author

@thchi12 Good point i didnt think that through.

@andreiw
Copy link
Owner

andreiw commented Apr 22, 2018

You need a 64-bit driver. IoT core is 32-bit. Hypothetically, if I understood @NTAUTHORITY correctly, the driver might have shipped as part of the NT-based 64-bit Wndows Mobile. I don’t know much about the later, in terms of which version first had AArch64 support (8.1 or 10...).

@diydavindra
Copy link
Author

@andreiw I see, i guess the does beg the question how do we get hold of it.

@thchi12
Copy link

thchi12 commented Apr 22, 2018

It seems that rx-130 phones may have win10m arm64

@diydavindra
Copy link
Author

Oh, also trying to make the pe disk but i keep running into errors. https://puu.sh/A8iYa/2f307aa6a4.png

@thchi12
Copy link

thchi12 commented Apr 22, 2018

Well you can try to grab uup and make an installtion media,keeping only the efi and boot.wim under sources

@diydavindra
Copy link
Author

Nvm just tried a smaller sdcard that did the trick.

@Andrew752
Copy link

Does anyone have link or can type the method to install windows in USB flash drive not in SD card drive. I think it will be faster than SD card drive.

@5ft24dave
Copy link

5ft24dave commented Jul 10, 2019 via email

@Andrew752
Copy link

You are right! everyone knows that's an SSD is better but not everyone have it.

@Andrew752
Copy link

I'm testing now the latest drivers [i think 20-Feb is the latest drivers] but i'm still want Bluetooth driver to full test the drivers with my AI project (Karin).

@driver1998
Copy link
Contributor

@Andrew752 I think there are some USB bluetooth dongles will work with inbox drivers.

@Andrew752
Copy link

I knew but i prefer the built-in components and i think there is only 1 port available in my Pi so using the built-in components will make more USB ports available to use (maybe in adding more storage) [i'm using 1 for mouse and 1 for keyboard and 1 for more storage [external sd card storage]] that make only one USB port left. [sry for my Eng.]

@twoods1969
Copy link

Have you tried a keyboard/mouse combo? That's what I use and it works great and would free up a USB port for you... Just a thought.

@Andrew752
Copy link

I may not tried that but it's not a solution my main point is just to use the built-in components so you will be using all the Raspberry power and abilities. I'm just waiting for the developers while clapping for them for all that great effort which they giving us it for free.

@twoods1969
Copy link

I totally agree, that they deserve a ton of credit. I'm hoping that they'll be able to eventually get Windows 10 working on the new RP4 someday.... 😊

@Andrew752
Copy link

I hope so.

@ljjb97
Copy link

ljjb97 commented Jul 19, 2019

Has anyone tried to get it working on the pi 4?

@andreiw
Copy link
Owner

andreiw commented Jul 19, 2019 via email

@Andrew752
Copy link

Andrew752 commented Sep 2, 2019

I don't like this silence here I feel that I don't have an internet connection to refresh the page and see new content BTW Does anyone find any solutions for the wifi or even the Bluetooth drivers?

@andreiw
Copy link
Owner

andreiw commented Sep 2, 2019

Sorry dude, but there’s nothing more to add on top of what either I or Pete already said.

  • The only meaningful way to do add Pi 4 support must be done working upstream with the Tiano community.
  • The work itself is pretty well identified - most of it is dull and boring - and even a PoC has been done to show the viability of the approach.
  • The quickest way to get there involves financing someone - someone who wants to somit and is skilled and not busy - to do it for 4-6m. I can think of a few companies that would be a good fit for the financing part.
  • No one has solved that last bit yet and I’m a little busy myself. Also, I don’t think waiting for a year while I spend my weekends on the Pi 4 is actually a good deal for anyone.

...nothing more to add at the moment.

A

@Andrew752
Copy link

Okay, I understand. happy weekend Andrei. :)

@falkor2k15
Copy link

Andrei, could you please take me as your student and instruct me on what needs to be done in order to get this working on the pi4? I will agree to work for free most evenings and weekends for the next 6 months; how does that sound?

@shayton
Copy link

shayton commented Oct 15, 2019

Hi all,any news about firmware for raspberry pi 4

@Googulator
Copy link

Yes, development is ongoing here: https://github.com/andreiw/lampone-edk2-platforms/tree/pi4-hack

@ghost
Copy link

ghost commented Oct 29, 2019

It has been a while since I looked at this project. Would someone be kind enough to give me a step by step tutorial on installing Windows 10 on Raspberry. I have seen some changes like some new UEFI firmware or images or things like that, so I don't know what to do. Most tutorials are outdated, so I would appreciate a tutorial.

@mariobalanica
Copy link
Contributor

@satyamedh
Copy link

What happened to the website, is it suspended

@satyamedh
Copy link

worproject.ml

@satyamedh
Copy link

Oh, it's back, It was suspended yesterday(26/11/2019 IST(Indian Standard Time))

@falkor2k15
Copy link

Marcin has WOA running on the Pi4 - albeit with only 1GB of RAM:
https://twitter.com/Marcinoo97/status/1220964722645794817

He cites the following Github repository:
https://github.com/pftf/RPi4/releases/tag/v1.0

@Notupus
Copy link

Notupus commented Jan 26, 2020 via email

@andreiw
Copy link
Owner

andreiw commented Jan 26, 2020 via email

@Notupus
Copy link

Notupus commented Jan 27, 2020 via email

@Notupus
Copy link

Notupus commented Jan 30, 2020 via email

@andreiw
Copy link
Owner

andreiw commented Feb 19, 2020

Folks I'm going to lock this thread down. I wouldn't be surprised if it is the longest thread ever on Github.

It's been a good run but:

So long and thanks for all the fish!

Not going to close it but lock it.

Repository owner locked as resolved and limited conversation to collaborators Feb 19, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests