zynqmp_r5_get_tcm_node(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… zynqmp_r5_get_tcm_node β€” ok bestie let me put you on

so this is a page from the Kernel API Manual, section 9 β€” yes we're in the deep kernel lore today, and honestly? iconic of you for showing up 🫢


✨ NAME ✨

zynqmp_r5_get_tcm_node β€” get that TCM info, bestie πŸŽ€

ok so the ideal timeline is literally this: this function parses the tcm node and stores that info in the r5_core instance. that's the dream. that's the vision. πŸ”₯

but right now? for now, Hardcoded TCM information is used πŸ™ˆ β€” not a vibe, but it is what it is. this approach is used because the TCM bindings for system-dt are legit still being developed. so yeah, we're on the hardcoded arc until the binding glow-up drops πŸ’€


🌸 SYNOPSIS 🌸

int zynqmp_r5_get_tcm_node (struct zynqmp_r5_cluster *cluster );

like β€” one argument, spits out an int. simple. clean. main character energy πŸ‘‘


πŸ¦‹ ARGUMENTS πŸ¦‹

  • cluster β€” pointer to a zynqmp_r5_cluster type object. that's it, that's the whole input πŸŽ€

⭐ RETURN ⭐

  • 0 β€” success, we ate, no cap πŸ’–
  • < 0 β€” an error code, failure, not the slay we wanted 😭

🌈 SEE ALSO 🌈

go read the kernel file itself, it's literally right here:

./drivers/remoteproc/xlnx_r5_remoteproc.c

and while you're there, here's the whole friend group 🫢:


⚠️ friendly reminder bestie: the TCM info you're getting back is hardcoded right now, not parsed from the tcm node. the real parsing is coming once those system-dt TCM bindings land. don't @ me, @ the bindings πŸ’…

ok that's the page!! source is ./drivers/remoteproc, dated October 2026 β€” mwah, go touch some registers, ily, bye πŸ§šπŸ’œ

πŸ“¦ where this page comes from