mail archive of the barebox mailing list
 help / color / mirror / Atom feed
* handoff data
@ 2025-07-22 11:08 Renaud Barbier
  2025-07-22 12:16 ` Ahmad Fatoum
  0 siblings, 1 reply; 4+ messages in thread
From: Renaud Barbier @ 2025-07-22 11:08 UTC (permalink / raw)
  To: Barebox List

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
 


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2025-07-22 16:32 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2025-07-22 11:08 handoff data Renaud Barbier
2025-07-22 12:16 ` Ahmad Fatoum
2025-07-22 15:46   ` Renaud Barbier
2025-07-22 16:05     ` Ahmad Fatoum

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox