<div>I try to boot linux use coreboot. But I get some error.</div><div>--------------------------------------------------------------------------------</div><div><div>Jumping to boot code at 0000000090000000(0000000000000000)</div><div>CPU0: stack: 0000000080800000 - 0000000080801000, lowest used address 0000000080800004, stack used: 4092 bytes</div><div>Config string: ''</div><div>We don't have virtual memory...</div><div>OK, let's go</div><div>Got timer interrupt but found no timer.</div></div><div>--------------------------------------------------------------------------------</div><div><sign signid="99"><div>This is due to the inability to get configstring.</div><div><br></div><div><br></div><div><div>--------------------------------------------------------------------------------</div><div><div>const char *configstring(void)</div><div>{</div><div><span class="Apple-tab-span" style="white-space:pre">     </span>uint32_t addr = *(uint32_t *)CONFIG_RISCV_CONFIGSTRING;</div><div><span class="Apple-tab-span" style="white-space:pre">      </span>return (const char *)(uintptr_t)addr;</div><div>}</div></div><div><sign signid="99"></sign></div></div><div><div style="color: rgb(0, 0, 0); font-family: Verdana; font-size: 14px;">--------------------------------------------------------------------------------</div><div style="color: rgb(0, 0, 0); font-family: Verdana; font-size: 14px;">The configstring implement by spike or other SOC?</div><div>If this is done through coreboot, maybe a global variable is more appropriate.</div><div>This avoids modifying the link script.</div><div style="color: rgb(0, 0, 0); font-family: Verdana; font-size: 14px;"><br></div><div style="color: rgb(0, 0, 0); font-family: Verdana; font-size: 14px;"><br></div><div style="color: rgb(0, 0, 0); font-family: Verdana; font-size: 14px;"><br></div><div style="color: rgb(0, 0, 0); font-family: Verdana; font-size: 14px;"><br></div><div style="color: rgb(0, 0, 0); font-family: Verdana; font-size: 14px;"><sign signid="99"></sign></div><font color="#909090" face="Arial Narrow"><span style="font-size: 12px;">------------------</span></font></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>