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)PhilippOn 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
------------------