@@ -45,7 +45,7 @@ in the SDK package that can be run from ARM Linux.
4545The remoteproc driver is hard-coded to look for specific files when
4646loading the R5F, C66x and C71x cores. Here are the files it looks for on an J721E device:
4747
48- ::
48+ .. code-block :: text
4949
5050 +------------------+-----------------+----------------------+-----------------------+
5151 | Core Name | RemoteProc Name | Description | Firmware File Name |
@@ -58,23 +58,23 @@ loading the R5F, C66x and C71x cores. Here are the files it looks for on an J721
5858 +------------------+-----------------+----------------------+-----------------------+
5959 | C71x | 65800000.c7x | C71x core | j7-c71_1-fw |
6060 +------------------+-----------------+----------------------+-----------------------+
61- | R5F | 41000000.r5f | R5F core(MCU domain) | j7-mcu-r5f0_0-fw |
61+ | R5F | 41000000.r5f | R5F core(MCU domain) | j7-mcu-r5f0_0-fw |
6262 +------------------+-----------------+----------------------+-----------------------+
63- | R5F | 41400000.r5f | R5F core(MCU domain) | j7-mcu-r5f0_1-fw |
63+ | R5F | 41400000.r5f | R5F core(MCU domain) | j7-mcu-r5f0_1-fw |
6464 +------------------+-----------------+----------------------+-----------------------+
65- | R5F | 5c00000.r5f | R5F core(MAIN domain)| j7-main-r5f0_0-fw |
65+ | R5F | 5c00000.r5f | R5F core(MAIN domain)| j7-main-r5f0_0-fw |
6666 +------------------+-----------------+----------------------+-----------------------+
67- | R5F | 5d00000.r5f | R5F core(MAIN domain)| j7-main-r5f0_1-fw |
67+ | R5F | 5d00000.r5f | R5F core(MAIN domain)| j7-main-r5f0_1-fw |
6868 +------------------+-----------------+----------------------+-----------------------+
69- | R5F | 5e00000.r5f | R5F core(MAIN domain)| j7-main-r5f1_0-fw |
69+ | R5F | 5e00000.r5f | R5F core(MAIN domain)| j7-main-r5f1_0-fw |
7070 +------------------+-----------------+----------------------+-----------------------+
71- | R5F | 5f00000.r5f | R5F core(MAIN domain)| j7-main-r5f1_1-fw |
71+ | R5F | 5f00000.r5f | R5F core(MAIN domain)| j7-main-r5f1_1-fw |
7272 +------------------+-----------------+----------------------+-----------------------+
7373
7474 Generally on a target file system the above files are soft linked to the
7575intended executable FW files:
7676
77- ::
77+ .. code-block :: console
7878
7979 root@j721e-evm:~# ls -l /lib/firmware/
8080 lrwxrwxrwx 1 root root 69 Mar 9 2018 j7-c66_0-fw -> /lib/firmware/ti-ipc/j721e/ipc_echo_test_c66xdsp_1_release_strip.xe66
@@ -98,23 +98,23 @@ For updating MCU (DM) R5F firmware binary, tispl.bin needs to be recompiled with
9898
9999#. Go to linux installer and replace the existing R5F MCU (DM) firmware binary with the new one
100100
101- ::
101+ .. code-block :: console
102102
103- host# cp <path_to_new_fw_binary>/ipc_echo_testb_freertos_mcu1_0_release.xer5f <path_to_linux_installer>/board-support/prebuilt-images/ti-dm/j721e/ipc_echo_testb_mcu1_0_release_strip.xer5f
103+ host# cp <path_to_new_fw_binary>/ipc_echo_testb_freertos_mcu1_0_release.xer5f <path_to_linux_installer>/board-support/prebuilt-images/ti-dm/j721e/ipc_echo_testb_mcu1_0_release_strip.xer5f
104104
105105 #. Recompile u-boot to regenerate tispl.bin using the top level makefile.
106106
107- ::
107+ .. code-block :: console
108108
109- host# make u-boot
109+ host# make u-boot
110110
111- Please refer to :ref: `top-level-makefile ` for more details on Top Level makefile.
111+ Please refer to :ref: `top-level-makefile ` for more details on Top Level makefile.
112112
113113#. Replace the updated tispl.bin containing new R5F firmware binary in the boot partition of sdcard and reboot
114114
115- ::
115+ .. code-block :: console
116116
117- host# sudo cp board-support/u-boot_build/A72/tispl.bin /media/$USER/boot
117+ host# sudo cp board-support/u-boot_build/A72/tispl.bin /media/$USER/boot
118118
119119 .. _booting_remote_cores_from_Linux_console :
120120
@@ -125,7 +125,7 @@ To reload a remote core with new executables, please follow the below steps.
125125
126126First, identify the remotproc node associated with the remote core:
127127
128- ::
128+ .. code-block :: console
129129
130130 root@j721e-evm:~# head /sys/class/remoteproc/remoteproc*/name
131131 ==> /sys/class/remoteproc/remoteproc0/name <==
@@ -190,20 +190,20 @@ First, identify the remotproc node associated with the remote core:
190190
191191 Then, use the sysfs interface to stop the remote core. For example, to stop the Main R5F0
192192
193- ::
193+ .. code-block :: console
194194
195195 root@j721e-evm:~# echo stop > /sys/class/remoteproc/remoteproc4/state
196196 [ 277.626160] remoteproc remoteproc4: stopped remote processor 5c00000.r5f
197197
198198 If needed, update the firmware symbolic link to point to a new firmware:
199199
200- ::
200+ .. code-block :: console
201201
202202 root@j721e-evm:/lib/firmware# ln -sf /lib/firmware/ti-ipc/j721e/ipc_echo_test_mcu2_1_release_strip.xer5f j7-main-r5f0_1-fw
203203
204204 Finally, use the sysfs interface to start the remote core:
205205
206- ::
206+ .. code-block :: console
207207
208208 root@j721e-evm:~# echo start > /sys/class/remoteproc/remoteproc4/state
209209 [ 311.633427] remoteproc remoteproc4: powering up 5c00000.r5f
@@ -228,7 +228,7 @@ memory carveouts (DMA pools) are shown below.
228228
229229See the devicetree bindings documentation for more details: `Documentation/devicetree/bindings/remoteproc/ti,k3-r5f-rproc.yaml <https://git.ti.com/cgit/ti-linux-kernel/ti-linux-kernel/tree/Documentation/devicetree/bindings/remoteproc/ti,k3-r5f-rproc.yaml?h=ti-linux-6.6.y >`__
230230
231- ::
231+ .. code-block :: text
232232
233233 +------------------+--------------------+---------+----------------------------+
234234 | Memory Section | Physical Address | Size | Description |
@@ -270,6 +270,7 @@ See the devicetree bindings documentation for more details: `Documentation/devic
270270 | R5F(main) Pool | 0xa5100000 | 15MB | R5F externel code/data mem |
271271 +------------------+--------------------+---------+----------------------------+
272272
273+ .. code-block :: console
273274
274275 root@j721e-evm:~# dmesg | grep Reserved
275276 [ 0.000000] Reserved memory: created CMA memory pool at 0x00000008e0000000, size 512 MiB
@@ -319,7 +320,7 @@ M4F and R5F external memory section sizes in their respective linker mapfiles.
319320
320321arch/arm64/boot/dts/ti/k3-j721e-som-p0.dtsi
321322
322- ::
323+ .. code-block :: text
323324
324325 reserved_memory: reserved-memory {
325326 #address-cells = <2>;
0 commit comments