With the help from reddit, it works now! The reason is I need to remove the 
code added by this patch.
https://review.coreboot.org/c/coreboot/+/38723/6/src/mainboard/lenovo/t440p/romstage.c
 This patch is for dGPU, my model does not have dGPU. I didn't thought it would 
affect my model, but removed it Win10 works both using SeaBIOS or Tianocore.

There are some issues with Win10:
1, The first thing I notice is there is no sound output. The system speaker 
device present in vendor BIOS is missing in coreboot:
ACPI\PNP0800\4&D8657FD&0

2, Some FN-keys (FN-F4, Fn-F7 to F12) does not work.

3, Card reader's subsystemid is wrong and driver can't be installed.
4, Two more devices which were not present in vendor BIOS but are present in 
coreboot, and these driver can't not be installed:
High Definition Audio Controller  
PCI\VEN_8086&DEV_8C20&SUBSYS_220E17AA&REV_05\3&B1BFB68...
PCI Data Acquisition and Signal Processing Controller 
PCI\VEN_8086&DEV_0C03&SUBSYS_00000000&REV_06\3&B1BFB68...
5, There is a Diagnostic Policy Service kept running.
2020年3月28日 14:54 来自 [email protected]:

>
> I have almost tried everything these days trying to boot Windows 10 using 
> T440p with coreboot, but still haven't succeed.
>
> I had created my Windows 10 installer usb by writing the 
> en_windows_10_business_editions_version_1909_updated_jan_2020_x64_dvd_e9cb5542.iso
>  to usb drive through Rufus, and checked this usb works on a T420 with 
> coreboot. But this usb does not work on T440p.
>
> I have tried SeaBIOS, Tianocore, and with/without VGA BIOS but still not work.
> When using SeaBIOS without VGA BIOS, I can see a loading bar at the bottom 
> but then hanging there.
> When using SeaBIOS with VGA BIOS, the backlight is on but the screen shows 
> nothing.
>
> I tried extract data.vbt from vendor BIOS and replaced the one from source 
> with it, still not work.
>
> I did see one post on reddit mentioned that he had been able to boot Windows 
> 10. > 
> https://www.reddit.com/r/coreboot/comments/enor0h/t440p_tianocore_and_windows_10/
> I was wondering is my hardware different from others' T440p? Then I tried 
> cherry-pick this patch (git fetch > https://review.coreboot.org/coreboot>  
> refs/changes/90/30890/10 && git cherry-pick FETCH_HEAD) and using autoport to 
> generate source of my T440p. Then I compared it with masters' source, but 
> there is not much difference.
>
> I tried changed CPU and RAM but still not work.
>
> Since I make a fresh install of Windows on the T440p, I tried install it on 
> T420 and then change the hard disk to T440p. It still does not work.
> When I use Tianocore, the circle stopped spin and hangs at "Preparing 
> Automatic Repair":
> https://imgur.com/nY9wAQR
> Sometimes it hangs shows a BSOD of "MACHINE CHECK EXCEPTION" But there is no 
> further information > https://imgur.com/HKio1QY>  (I tried to find if there 
> are mce error logs under linux using rasdaemon but I get nothing > 
> https://wiki.archlinux.org/index.php/Machine-check_exception> ) I also 
> checked C:\Windows\minidump to see if there are BSOD dumps but there is none.
>
> I almost out of idea, I will attach all my files, original BIOS (a modded one 
> with ME cleaned, advanced menu unlocked, and whitelist unlocked), auto port 
> generated logs and sources, and the mrc.bin, data.vbt, defconfig, and also my 
> build coreboot.rom. > 
> https://mega.nz/#!TNlCFKjA!rXDhP5K4S8FZpSif8Ntj-NUGKML4kFYtwAG_70XTpsU
> Could anyone help me with this? Could anyone successfully using T440p to boot 
> Windows share the steps you did it and your config or your coreboot.rom (last 
> 4MB)?
>

_______________________________________________
coreboot mailing list -- [email protected]
To unsubscribe send an email to [email protected]

Reply via email to