12aefbef0SMatt RedfearnWhat: /sys/class/remoteproc/.../firmware 22aefbef0SMatt RedfearnDate: October 2016 3fb615d61SPaul BurtonContact: Matt Redfearn <matt.redfearn@mips.com> 42aefbef0SMatt RedfearnDescription: Remote processor firmware 52aefbef0SMatt Redfearn 62aefbef0SMatt Redfearn Reports the name of the firmware currently loaded to the 72aefbef0SMatt Redfearn remote processor. 82aefbef0SMatt Redfearn 92aefbef0SMatt Redfearn To change the running firmware, ensure the remote processor is 102aefbef0SMatt Redfearn stopped (using /sys/class/remoteproc/.../state) and write a new filename. 112aefbef0SMatt Redfearn 122aefbef0SMatt RedfearnWhat: /sys/class/remoteproc/.../state 132aefbef0SMatt RedfearnDate: October 2016 14fb615d61SPaul BurtonContact: Matt Redfearn <matt.redfearn@mips.com> 152aefbef0SMatt RedfearnDescription: Remote processor state 162aefbef0SMatt Redfearn 172aefbef0SMatt Redfearn Reports the state of the remote processor, which will be one of: 182aefbef0SMatt Redfearn 192aefbef0SMatt Redfearn "offline" 202aefbef0SMatt Redfearn "suspended" 212aefbef0SMatt Redfearn "running" 222aefbef0SMatt Redfearn "crashed" 232aefbef0SMatt Redfearn "invalid" 242aefbef0SMatt Redfearn 252aefbef0SMatt Redfearn "offline" means the remote processor is powered off. 262aefbef0SMatt Redfearn 272aefbef0SMatt Redfearn "suspended" means that the remote processor is suspended and 282aefbef0SMatt Redfearn must be woken to receive messages. 292aefbef0SMatt Redfearn 302aefbef0SMatt Redfearn "running" is the normal state of an available remote processor 312aefbef0SMatt Redfearn 322aefbef0SMatt Redfearn "crashed" indicates that a problem/crash has been detected on 332aefbef0SMatt Redfearn the remote processor. 342aefbef0SMatt Redfearn 352aefbef0SMatt Redfearn "invalid" is returned if the remote processor is in an 362aefbef0SMatt Redfearn unknown state. 372aefbef0SMatt Redfearn 382aefbef0SMatt Redfearn Writing this file controls the state of the remote processor. 392aefbef0SMatt Redfearn The following states can be written: 402aefbef0SMatt Redfearn 412aefbef0SMatt Redfearn "start" 422aefbef0SMatt Redfearn "stop" 432aefbef0SMatt Redfearn 442aefbef0SMatt Redfearn Writing "start" will attempt to start the processor running the 452aefbef0SMatt Redfearn firmware indicated by, or written to, 462aefbef0SMatt Redfearn /sys/class/remoteproc/.../firmware. The remote processor should 472aefbef0SMatt Redfearn transition to "running" state. 482aefbef0SMatt Redfearn 492aefbef0SMatt Redfearn Writing "stop" will attempt to halt the remote processor and 502aefbef0SMatt Redfearn return it to the "offline" state. 516ed756aaSSuman Anna 526ed756aaSSuman AnnaWhat: /sys/class/remoteproc/.../name 536ed756aaSSuman AnnaDate: August 2019 546ed756aaSSuman AnnaKernelVersion: 5.4 556ed756aaSSuman AnnaContact: Suman Anna <s-anna@ti.com> 566ed756aaSSuman AnnaDescription: Remote processor name 576ed756aaSSuman Anna 586ed756aaSSuman Anna Reports the name of the remote processor. This can be used by 596ed756aaSSuman Anna userspace in exactly identifying a remote processor and ease 606ed756aaSSuman Anna up the usage in modifying the 'firmware' or 'state' files. 61