Hi Xiang,
I think the best way to integrate opensbi for now would be to put it into the payloads/external directory and execute it as a rampayload. (in m-mode)
Philipp
On Tue, 2 Apr 2019 at 11:32, 王翔 merle@tya.email wrote:
Hello Dear:
I added some code to support linux binary directly as a payload to boot for RISC-V.
modify: 1. opensbi is an open source sbi implementation( https://github.com/riscv/opensbi) 2. Linux binary is used as the payload of opensbi 3. The elf generated by opensbi compilation is used as the coreboot payload.
Code reference: https://github.com/hardenedlinux/coreboot-HiFiveUnleashed/tree/r1
Whether to consider adding opensbi to 3rdparty? Do you have any suggestions?
XiangWang
王翔
安全研究员
广州市腾御安信息科技有限公司
广州市天河区珠江新城华穗路406号保利克洛维二期中景A座1020-1024