pru_rproc_set_firmware(9)
π 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 herefw_nameβ the new firmware name, orNULLif default is desired π (yes,NULLis valid and valid is beautiful β it means "bestie, just give me the default")
π₯ RETURN π₯
0on success πβ¨- or errno in error case π (so like, check it. please. for me.)
π SEE ALSO π
- Kernel file
./drivers/remoteproc/pru_rproc.cβ the source, the origin story, the mothership π§ enum pru_iomem(9)struct pru_private_data(9)struct pru_rproc(9)pru_rproc_get(9)pru_rproc_put(9)pru_rproc_set_ctable(9)
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
- nixpkgs unstable: linux-manual 7.3.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms