On our LS1046A based board (v2022.03) we used to pass the results of memory tests in the PBL through the OCRAM to the barebox load. I see there is handoff data support.
In my board lowlevel.c code, I have added the call: handoff_add_arm_machine(0x12345678); And then try to read it back from device_initcall: machine = handoff_data_get_entry(HANDOFF_DATA_ARM_MACHINE, &hsize); printf("machine = %ld, %p\n", hsize, machine); However, both the machine pointer and size are set to 0. Am I missing something in the process? Cheers, Renaud