From: Renaud Barbier <Renaud.Barbier@ametek.com>
To: Barebox List <barebox@lists.infradead.org>
Subject: handoff data
Date: Tue, 22 Jul 2025 11:08:43 +0000 [thread overview]
Message-ID: <DM5PR07MB35323F18EB9CB31A85BCEEF0EC5CA@DM5PR07MB3532.namprd07.prod.outlook.com> (raw)
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
next reply other threads:[~2025-07-22 11:12 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-07-22 11:08 Renaud Barbier [this message]
2025-07-22 12:16 ` Ahmad Fatoum
2025-07-22 15:46 ` Renaud Barbier
2025-07-22 16:05 ` Ahmad Fatoum
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=DM5PR07MB35323F18EB9CB31A85BCEEF0EC5CA@DM5PR07MB3532.namprd07.prod.outlook.com \
--to=renaud.barbier@ametek.com \
--cc=barebox@lists.infradead.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox