See my comment, this should fix all payload types.
1 comment:
prog_entry_arg should contain the argument to the payload.
So the problem is within selfboot as it puts the coreboot tables into args, whereas we need the fdt in the case of an elf payload.
I also discussed this with Ron and he also suggested to just work around it in riscv:
Please do the following here:
/*
* Workaround selfboot putting the coreboot table into prog_entry_arg
*/
if (prog_cbfs_type(payload) == CBFS_TYPE_SELF) {
fdt = HLS()->fdt;
break;
To view, visit change 31477. To unsubscribe, or for help writing mail filters, visit settings.