<div>I use bbl as the coreboot's payload, bbl can start and running into the enter_supervisor_mode function, but can't continue. <br></div><div>I added some code to print register state before mret and print memory on target address.</div><div>I debugged it for a long time and didn't know where the problem was. hoping to get your help.</div><div><br></div><div>Below is my output:<br></div><div>```<br></div><div>mhartid  : 2</div>mstatus  : 8000000a00006800<br>mie      : 0000000000000008<br>mtvec    : 0000000080080004<br>mscratch : 000000008008cec0<br>mepc     : 0000000080280000<br>mcause   : 0000000000000002<br>mip      : 0000000000000200<br>sstatus  : 8000000200006000<br>sie      : 0000000000000000<br>stvec    : 0000000080280100<br>sscratch : 0000000000000000<br>sepc     : ffffffe000927ff8<br>scause   : 8000000000000005<br>sip      : 0000000000000200<br>satp     : 0000000000000000<br><br>mhartid  : 1<br>mstatus  : 8000000a00006800<br>mie      : 0000000000000008<br>mtvec    : 0000000080080004<br>mscratch : 000000008008bec0<br>mepc     : 0000000080280000<br>mcause   : 0000000000000002<br>mip      : 0000000000000200<br>sstatus  : 8000000200006000<br>sie      : 0000000000000000<br>stvec    : 0000000080280100<br>sscratch : 0000000000000000<br>sepc     : ffffffe000927ff8<br>scause   : 8000000000000005<br>sip      : 0000000000000200<br>satp     : 0000000000000000<br><br>mhartid  : 3<br>mstatus  : 8000000a00006800<br>mie      : 0000000000000008<br>mtvec    : 0000000080080004<br>mscratch : 000000008008dec0<br>mepc     : 0000000080280000<br>mcause   : 0000000000000002<br>mip      : 0000000000000200<br>sstatus  : 8000000200006000<br>sie      : 0000000000000000<br>stvec    : 0000000080280100<br>sscratch : 0000000000000000<br>sepc     : ffffffe000927ff8<br>scause   : 8000000000000005<br>sip      : 0000000000000200<br>satp     : 0000000000000000<br><br>mhartid  : 4<br>mstatus  : 8000000a00006800<br>mie      : 0000000000000008<br>mtvec    : 0000000080080004<br>mscratch : 000000008008eec0<br>mepc     : 0000000080280000<br>mcause   : 0000000000000001<br>mip      : 0000000000000200<br>sstatus  : 8000000200006000<br>sie      : 0000000000000000<br>stvec    : ffffffe000927c74<br>sscratch : 0000000000000000<br>sepc     : 0000000080282240<br>scause   : 0000000000000003<br>sip      : 0000000000000200<br>satp     : 0000000000000000<br><br>0000000080280000: 73 10 40 10 97 31 d3 00<br>0000000080280008: 93 81 c1 8d 99 62 73 b0<br>0000000080280010: 02 10 93 86 01 16 05 46<br>0000000080280018: af a6 c6 00 d9 ee 2a 84<br>0000000080280020: ae 84 17 01 d0 00 13 01<br>0000000080280028: e1 fd ef 20 00 1f ef 00<br>0000000080280030: 80 02 17 62 d0 00 13 02<br>0000000080280038: e2 a8 23 24 82 02 17 e1<br>0000000080280040: cf 00 13 01 21 fc 09 65<br>0000000080280048: 2a 91 22 85 a6 85 ef 20<br>0000000080280050: 80 27 6f 00 40 68 9b 05<br>0000000080280058: f0 ff 93 95 55 02 17 05<br>0000000080280060: 00 00 13 05 25 fa 89 8d<br>0000000080280068: ae 90 17 05 00 00 13 05<br>0000000080280070: 65 03 2e 95 73 10 55 10<br>0000000080280078: 17 56 db 00 13 06 86 f8<br>```<br><div><sign signid="99"><div style="color:#909090;font-family:Arial Narrow;font-size:12px"><br><br><br><br>------------------</div><div style="font-size:14px;font-family:Verdana;color:#000;"><div style="overflow:hidden;"><div class="l_box" style="float:left;height:100px;margin:35px 10px 10px 0;padding:0 10px 0 15px;border-right:1px solid #dedede;"><div class="logo" style="height:35px;margin:35px 0 0 0;float:left;"><img src="https://exmail.qq.com/cgi-bin/viewfile?type=logo&domain=tya.email"></div></div><div class="c_detail" style="float:left;padding-top:35px;line-height:22px;color:#a0a0a0;zoom:1;"><h4 class="name" style="margin:0;font-size:14px;font-weight:bold;line-height:28px;color:#000;zoom:1;">王翔</h4><p class="position" style="margin:0;">安全研究员</p><p class="department" style="margin:0;">广州市腾御安信息科技有限公司</p><p class="phone" style="margin:0;"></p><p class="mobile" style="margin:0;"></p><p class="addr" style="margin:0;line-height:22px;color:#a0a0a0;">广州市天河区珠江新城华穗路406号保利克洛维二期中景A座1020-1024</p></div></div></div></sign></div><div> </div><div><includetail><!--<![endif]--></includetail></div>