pru_rproc_set_firmware(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… pru_rproc_set_firmware(9) πŸ’…

okay bestie, welcome to the Kernel API Manual ✨ β€” this one's a lil kernel function that sets the firmware for a PRU core, and honestly? it's giving "small function, big responsibilities" energy πŸŽ€


🌸 NAME 🌸

pru_rproc_set_firmware β€” set firmware for a PRU core πŸ¦‹

like, it literally does what it says on the tin. no cap.


✨ SYNOPSIS ✨

int pru_rproc_set_firmware (struct rproc *rproc , const char *fw_name );

yes that's the whole vibe check right there πŸ‘‘


🫢 ARGUMENTS 🫢

  • rproc β€” the rproc instance of the PRU πŸ’– this is your main character struct, the whole reason we're here
  • fw_name β€” the new firmware name, or NULL if default is desired 🌈 (yes, NULL is valid and valid is beautiful β€” it means "bestie, just give me the default")

πŸ”₯ RETURN πŸ”₯

  • 0 on success 😌✨
  • or errno in error case πŸ’€ (so like, check it. please. for me.)

πŸ‘‘ SEE ALSO πŸ‘‘

go read those too, iykyk πŸ“šπŸ’…


ngl, if you're poking at this one you're probably already deep in remoteproc land β€” so like, hydrate, read the struct pru_rproc(9) docs, and slay πŸ“

okay that's the whole page bestie, and before you go β€” shoutout to the source ./drivers/remoteproc and to October 2026, the date that carried this entire manual page πŸ’œ mwah, periodt. πŸŽ€

πŸ“¦ where this page comes from