<div dir="ltr"><p style="font-size:12.8000001907349px">I am porting the coreboot to a platform with a new AMD APU, which is close to Kabini and Mullins.<u></u><u></u></p><p style="font-size:12.8000001907349px">Now the board can boot Ubuntu and Windows 7. But it failed to boot Windows 8.<u></u><u></u></p><p style="font-size:12.8000001907349px">It crashes at a very early stage, which seems to be Windows bootloader. The debug message of SeaBIOS is attached.<u></u><u></u></p><p style="font-size:12.8000001907349px"><u></u> <u></u></p><p style="font-size:12.8000001907349px">The interrupt routine installed by SeaBIOS still work. We can see handle_13, handle_08, handle_1a are called once in a while.<u></u><u></u></p><p style="font-size:12.8000001907349px">There is no BSOD. There is only a windows logo on the monitor, without progress ring of Windows 8.<u></u><u></u></p><p style="font-size:12.8000001907349px">Even the debug version of windows 8 doesn't help, because it crashes before the image is loaded.<u></u><u></u></p><p style="font-size:12.8000001907349px"><u></u> <u></u></p><p style="font-size:12.8000001907349px">Is there any more way to debug windows 8 bootloader?<u></u><u></u></p><p style="font-size:12.8000001907349px"><u></u> <u></u></p><p style="font-size:12.8000001907349px">Zheng<u></u><u></u></p><p style="font-size:12.8000001907349px"><u></u> <u></u></p><p style="font-size:12.8000001907349px"><u></u> <u></u></p><p style="font-size:12.8000001907349px">serial output<u></u><u></u></p><p style="font-size:12.8000001907349px">---------------------<u></u><u></u></p><p style="font-size:12.8000001907349px">.......<u></u><u></u></p><p style="font-size:12.8000001907349px">.......<u></u><u></u></p><p style="font-size:12.8000001907349px">handle_08<u></u><u></u></p><p style="font-size:12.8000001907349px">enter handle_15:<u></u><u></u></p><p style="font-size:12.8000001907349px">   a=0000e820  b=00000006  c=00000018  d=534d4150 ds=0000 es=3004 ss=9000<u></u><u></u></p><p style="font-size:12.8000001907349px">  si=00000000 di=00000000 bp=00000000 sp=0000ffd6 cs=2000 ip=0a25  f=0256 enter handle_13:<u></u><u></u></p><p style="font-size:12.8000001907349px">   a=00004200  b=00000000  c=00000000  d=00000080 ds=3024 es=0000 ss=9000<u></u><u></u></p><p style="font-size:12.8000001907349px">  si=00000000 di=00000000 bp=00000000 sp=0000ffd6 cs=2000 ip=0a1d  f=0256 disk_op d=0x000f98e0 lba=0 buf=0x00030000 count=1 cmd=2<u></u><u></u></p><p style="font-size:12.8000001907349px">AHCI/0: send cmd ...<u></u><u></u></p><p style="font-size:12.8000001907349px">handle_08<u></u><u></u></p><p style="font-size:12.8000001907349px">AHCI/0: ... intbits 0x1, status 0x50 ...<u></u><u></u></p><p style="font-size:12.8000001907349px">AHCI/0: ... finished, status 0x50, OK<u></u><u></u></p><p style="font-size:12.8000001907349px">ahci disk read, lba      0, count   1, buf 0x00030000, rc 0<u></u><u></u></p><p style="font-size:12.8000001907349px">enter handle_13:<u></u><u></u></p><p style="font-size:12.8000001907349px">   a=00004200  b=00000000  c=00000000  d=00000080 ds=3204 es=0000 ss=9000<u></u><u></u></p><p style="font-size:12.8000001907349px">  si=00000000 di=00000000 bp=00000000 sp=0000ffd6 cs=2000 ip=0a1d  f=0256 disk_op d=0x000f98e0 lba=2048 buf=0x00030000 count=16 cmd=2<u></u><u></u></p><p style="font-size:12.8000001907349px">AHCI/0: send cmd ...<u></u><u></u></p><p style="font-size:12.8000001907349px">AHCI/0: ... intbits 0x1, status 0x50 ...<u></u><u></u></p><p style="font-size:12.8000001907349px">AHCI/0: ... finished, status 0x50, OK<u></u><u></u></p><p style="font-size:12.8000001907349px">ahci disk read, lba    800, count  10, buf 0x00030000, rc 0<u></u><u></u></p><p style="font-size:12.8000001907349px">enter handle_1a:<u></u><u></u></p><p style="font-size:12.8000001907349px">   a=00000000  b=00000000  c=00000000  d=00000000 ds=0000 es=0000 ss=9000<u></u><u></u></p><p style="font-size:12.8000001907349px">  si=00000000 di=00000000 bp=00000000 sp=0000ffd6 cs=2000 ip=0a39  f=0256<u></u><u></u></p><p style="font-size:12.8000001907349px">handle_08<u></u><u></u></p><p style="font-size:12.8000001907349px">enter handle_1a:<u></u><u></u></p><p style="font-size:12.8000001907349px">   a=00000000  b=00000000  c=00000000  d=00000000 ds=0000 es=0000 ss=9000<u></u><u></u></p><p style="font-size:12.8000001907349px">  si=00000000 di=00000000 bp=00000000 sp=0000ffd6 cs=2000 ip=0a39  f=0256 enter handle_13:<u></u><u></u></p><p style="font-size:12.8000001907349px">   a=00004200  b=00000000  c=00000000  d=00000080 ds=3804 es=0000 ss=9000<u></u><u></u></p><p style="font-size:12.8000001907349px">  si=00000000 di=00000000 bp=00000000 sp=0000ffd6 cs=2000 ip=0a1d  f=0256 disk_op d=0x000f98e0 lba=7166912 buf=0x00030000 count=64 cmd=2<u></u><u></u></p><p style="font-size:12.8000001907349px">AHCI/0: send cmd ...<u></u><u></u></p><p style="font-size:12.8000001907349px">handle_08<u></u><u></u></p><p style="font-size:12.8000001907349px">AHCI/0: ... intbits 0x1, status 0x50 ...<u></u><u></u></p><p style="font-size:12.8000001907349px">AHCI/0: ... finished, status 0x50, OK<u></u><u></u></p><p style="font-size:12.8000001907349px">ahci disk read, lba 6d5bc0, count  40, buf 0x00030000, rc 0 enter handle_1a:<u></u><u></u></p><p style="font-size:12.8000001907349px">   a=00000000  b=00000000  c=00000000  d=00000000 ds=0000 es=0000 ss=9000<u></u><u></u></p><p style="font-size:12.8000001907349px">  si=00000000 di=00000000 bp=00000000 sp=0000ffd6 cs=2000 ip=0a39  f=0256 enter handle_13:<u></u><u></u></p><p style="font-size:12.8000001907349px">   a=00004200  b=00000000  c=00000000  d=00000080 ds=3204 es=0000 ss=9000<u></u><u></u></p><p style="font-size:12.8000001907349px">  si=00000000 di=00000000 bp=00000000 sp=0000ffd6 cs=2000 ip=0a1d  f=0256 disk_op d=0x000f98e0 lba=31249832 buf=0x00030000 count=16 cmd=2<u></u><u></u></p><p style="font-size:12.8000001907349px">AHCI/0: send cmd ...<u></u><u></u></p><p style="font-size:12.8000001907349px">handle_08<u></u><u></u></p><p style="font-size:12.8000001907349px">AHCI/0: ... intbits 0x1, status 0x50 ...<u></u><u></u></p><p style="font-size:12.8000001907349px">AHCI/0: ... finished, status 0x50, OK<u></u><u></u></p><p style="font-size:12.8000001907349px">ahci disk read, lba 1dcd5a8, count  10, buf 0x00030000, rc 0 enter handle_1a:<u></u><u></u></p><p style="font-size:12.8000001907349px">   a=00000000  b=00000000  c=00000000  d=00000000 ds=0000 es=0000 ss=9000<u></u><u></u></p><p style="font-size:12.8000001907349px">  si=00000000 di=00000000 bp=00000000 sp=0000ffd6 cs=2000 ip=0a39  f=0256 enter handle_1a:<u></u><u></u></p><p style="font-size:12.8000001907349px">   a=00000000  b=00000000  c=00000000  d=00000000 ds=0000 es=0000 ss=9000<u></u><u></u></p><p style="font-size:12.8000001907349px">  si=00000000 di=00000000 bp=00000000 sp=0000ffd6 cs=2000 ip=0a39  f=0256 enter handle_1a:<u></u><u></u></p><p style="font-size:12.8000001907349px">   a=00000000  b=00000000  c=00000000  d=00000000 ds=0000 es=0000 ss=9000<u></u><u></u></p><p style="font-size:12.8000001907349px">  si=00000000 di=00000000 bp=00000000 sp=0000ffd6 cs=2000 ip=0a39  f=0256<u></u><u></u></p><p style="font-size:12.8000001907349px">handle_08<u></u><u></u></p><p style="font-size:12.8000001907349px">enter handle_1a:<u></u><u></u></p><p style="font-size:12.8000001907349px">   a=00000000  b=00000000  c=00000000  d=00000000 ds=0000 es=0000 ss=9000<u></u><u></u></p><p style="font-size:12.8000001907349px">  si=00000000 di=00000000 bp=00000000 sp=0000ffd6 cs=2000 ip=0a39  f=0256 enter handle_1a:<u></u><u></u></p><p style="font-size:12.8000001907349px">   a=00000200  b=00000000  c=00000000  d=00000000 ds=0000 es=0000 ss=9000<u></u><u></u></p><p style="font-size:12.8000001907349px">  si=00000000 di=00000000 bp=00000000 sp=0000ffd6 cs=2000 ip=0a39  f=0256 enter handle_1a:<u></u><u></u></p><p style="font-size:12.8000001907349px">   a=00000400  b=00000000  c=00000000  d=00000000 ds=0000 es=0000 ss=9000<u></u><u></u></p><p style="font-size:12.8000001907349px">  si=00000000 di=00000000 bp=00000000 sp=0000ffd6 cs=2000 ip=0a39  f=0256 enter handle_1a:<u></u><u></u></p><p style="font-size:12.8000001907349px">   a=00000000  b=00000000  c=00000000  d=00000000 ds=0000 es=0000 ss=9000<u></u><u></u></p><p style="font-size:12.8000001907349px">  si=00000000 di=00000000 bp=00000000 sp=0000ffd6 cs=2000 ip=0a39  f=0256<u></u><u></u></p><p style="font-size:12.8000001907349px">handle_08<u></u><u></u></p><p style="font-size:12.8000001907349px">agesawrapper_amdinitmmio() entry<u></u><u></u></p><p style="font-size:12.8000001907349px">agesawrapper_amdinitmmio() returned AGESA_SUCCESS<u></u><u></u></p><p style="font-size:12.8000001907349px"><u></u> <u></u></p><p style="font-size:12.8000001907349px"><u></u> <u></u></p><p style="font-size:12.8000001907349px">coreboot-4.0-6798-gdd6d81f-dirty Thu Mar 19 20:02:01 CST 2015 starting...<u></u><u></u></p><p style="font-size:12.8000001907349px">BSP Family_Model:<u></u><u></u></p><p style="font-size:12.8000001907349px">cpu_init_detectedx = 00000000<u></u><u></u></p><p style="font-size:12.8000001907349px">agesawrapper_amdinitreset() entry<u></u><u></u></p><p style="font-size:12.8000001907349px">AmdCreateStruct, 188, InterfaceParams->StdHeader.HeapBasePtr=400000<u></u><u></u></p><p style="font-size:12.8000001907349px">Fch OEM config in INIT RESET Done<u></u><u></u></p><p style="font-size:12.8000001907349px">agesawrapper_amdinitreset() returned AGESA_SUCCESS Got past agesawrapper_amdinitreset<u></u><u></u></p><p style="font-size:12.8000001907349px">agesawrapper_amdinitearly() entry<u></u><u></u></p><p style="font-size:12.8000001907349px">AmdCreateStruct, 188, InterfaceParams->StdHeader.HeapBasePtr=400000<u></u><u></u></p><p style="font-size:12.8000001907349px">AmdInitEarly, 239, &EarlyParams->StdHeader=400290 AmdInitEarly, 247, EarlyParams->StdHeader=0 AmdInitEarly, 273, EarlyParams->StdHeader=0 AmdInitEarly, 283, EarlyParams->StdHeader=0 AmdInitEarly, 297, EarlyParams->StdHeader=0 GnbGetScsDataCZ, 183:PspDir=ff860000</p><div><div class="gmail_signature"><br>Yours sincerely,<br>WANG Siyuan</div></div>
</div>