<feed xmlns='http://www.w3.org/2005/Atom'>
<title>starfive-tech/u-boot.git/include/remoteproc.h, branch rtthread_AMP</title>
<subtitle>StarFive Tech U-Boot for VisionFive (JH7110) boards (mirror)</subtitle>
<id>https://git.radix-linux.su/starfive-tech/u-boot.git/atom?h=rtthread_AMP</id>
<link rel='self' href='https://git.radix-linux.su/starfive-tech/u-boot.git/atom?h=rtthread_AMP'/>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/starfive-tech/u-boot.git/'/>
<updated>2020-12-13T23:51:08+00:00</updated>
<entry>
<title>dm: treewide: Rename 'platdata' variables to just 'plat'</title>
<updated>2020-12-13T23:51:08+00:00</updated>
<author>
<name>Simon Glass</name>
<email>sjg@chromium.org</email>
</author>
<published>2020-12-03T23:55:18+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/starfive-tech/u-boot.git/commit/?id=caa4daa2ae3dc0a3e516addea5772c9af76abcb0'/>
<id>urn:sha1:caa4daa2ae3dc0a3e516addea5772c9af76abcb0</id>
<content type='text'>
We use 'priv' for private data but often use 'platdata' for platform data.
We can't really use 'pdata' since that is ambiguous (it could mean private
or platform data).

Rename some of the latter variables to end with 'plat' for consistency.

Signed-off-by: Simon Glass &lt;sjg@chromium.org&gt;
</content>
</entry>
<entry>
<title>remoteproc: Remove unused function rproc_elf_sanity_check</title>
<updated>2020-09-30T12:53:38+00:00</updated>
<author>
<name>Sean Anderson</name>
<email>seanga2@gmail.com</email>
</author>
<published>2020-09-15T14:45:07+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/starfive-tech/u-boot.git/commit/?id=b608c54b522c04098ba34471beed214127672931'/>
<id>urn:sha1:b608c54b522c04098ba34471beed214127672931</id>
<content type='text'>
This function is never used anywhere, and it also tries to log with a
nonexistant device.

Signed-off-by: Sean Anderson &lt;seanga2@gmail.com&gt;
Tested-by: Patrick Delaunay &lt;patrick.delaunay@st.com&gt;
</content>
</entry>
<entry>
<title>remoteproc: elf_loader: Add elf resource table load support</title>
<updated>2020-01-07T16:13:25+00:00</updated>
<author>
<name>Fabien Dessenne</name>
<email>fabien.dessenne@st.com</email>
</author>
<published>2019-10-30T13:38:28+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/starfive-tech/u-boot.git/commit/?id=ffcb880de81c7a8fb4328b415bf95cae57bc6b2b'/>
<id>urn:sha1:ffcb880de81c7a8fb4328b415bf95cae57bc6b2b</id>
<content type='text'>
Add rproc_elf_load_rsc_table(), which searches for a resource table in
an elf64/elf32 image, and if found, copies it to device memory.
Add also the elf32 and elf64 variants of this API.
Add a test for this.

Signed-off-by: Fabien Dessenne &lt;fabien.dessenne@st.com&gt;
Acked-by: Patrick Delaunay &lt;patrick.delaunay@st.com&gt;
Reviewed-by: Lokesh Vutla &lt;lokeshvutla@ti.com&gt;
</content>
</entry>
<entry>
<title>remoteproc: elf_loader: Introduce rproc_elf_get_boot_addr() api</title>
<updated>2019-10-11T14:07:34+00:00</updated>
<author>
<name>Lokesh Vutla</name>
<email>lokeshvutla@ti.com</email>
</author>
<published>2019-09-04T10:31:31+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/starfive-tech/u-boot.git/commit/?id=81e39fbd9251bfbef3bc156735e95b67cd7a828f'/>
<id>urn:sha1:81e39fbd9251bfbef3bc156735e95b67cd7a828f</id>
<content type='text'>
Introduce rproc_elf_get_boot_addr() that returns the entry point of
the elf file. This api auto detects the 64/32 bit elf file and returns
the boot addr accordingly.

Signed-off-by: Lokesh Vutla &lt;lokeshvutla@ti.com&gt;
</content>
</entry>
<entry>
<title>remoteproc: elf_loader: Introduce a common elf loader and checker functions</title>
<updated>2019-10-11T14:07:34+00:00</updated>
<author>
<name>Lokesh Vutla</name>
<email>lokeshvutla@ti.com</email>
</author>
<published>2019-09-04T10:31:30+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/starfive-tech/u-boot.git/commit/?id=856c0ad413f52d20963ef6b0fe982a0ca91086f2'/>
<id>urn:sha1:856c0ad413f52d20963ef6b0fe982a0ca91086f2</id>
<content type='text'>
Introduce a common remoteproc elf loader and checker functions that
automatically detects the 64 bit elf file or 32 bit elf file and
loads/checks the sections accordingly.

Signed-off-by: Lokesh Vutla &lt;lokeshvutla@ti.com&gt;
Reviewed-by: Fabien Dessenne &lt;fabien.dessenne@st.com&gt;
</content>
</entry>
<entry>
<title>remoteproc: elf-loader: Add 64 bit elf loading support</title>
<updated>2019-10-11T14:07:34+00:00</updated>
<author>
<name>Lokesh Vutla</name>
<email>lokeshvutla@ti.com</email>
</author>
<published>2019-09-04T10:31:29+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/starfive-tech/u-boot.git/commit/?id=e3c4d6f01fb5c86ee8a67d28cc3a0eb708954e40'/>
<id>urn:sha1:e3c4d6f01fb5c86ee8a67d28cc3a0eb708954e40</id>
<content type='text'>
The current rproc-elf-loader supports loading of only 32 bit elf files.
Introduce support for loading of 64 bit elf files in rproc-elf-loader.

Signed-off-by: Lokesh Vutla &lt;lokeshvutla@ti.com&gt;
Reviewed-by: Fabien Dessenne &lt;fabien.dessenne@st.com&gt;
</content>
</entry>
<entry>
<title>remoteproc: elf_loader: Always check the validity of the image before loading</title>
<updated>2019-10-11T14:07:34+00:00</updated>
<author>
<name>Lokesh Vutla</name>
<email>lokeshvutla@ti.com</email>
</author>
<published>2019-09-04T10:31:28+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/starfive-tech/u-boot.git/commit/?id=14d963d1b51fc7a57b8d561588f163d7cae8ed81'/>
<id>urn:sha1:14d963d1b51fc7a57b8d561588f163d7cae8ed81</id>
<content type='text'>
rproc_elf32_load_image() rely on user to send a valid address for elf loading.
Instead do a sanity check on the address passed by user. This will help
all rproc elf users to not call sanity_check explicitly before calling
elf_loading.

Signed-off-by: Lokesh Vutla &lt;lokeshvutla@ti.com&gt;
Reviewed-by: Fabien Dessenne &lt;fabien.dessenne@st.com&gt;
</content>
</entry>
<entry>
<title>remoteproc: ops: Add elf section size as input parameter to device_to_virt api</title>
<updated>2019-10-11T14:07:33+00:00</updated>
<author>
<name>Lokesh Vutla</name>
<email>lokeshvutla@ti.com</email>
</author>
<published>2019-09-04T10:31:27+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/starfive-tech/u-boot.git/commit/?id=c08eb936263c67312cb55c354277f9dc3433b194'/>
<id>urn:sha1:c08eb936263c67312cb55c354277f9dc3433b194</id>
<content type='text'>
Introduce a new parameter "size" that accepts size of the region to
remoteproc ops callback device_to_virt(). This can enforce more checks
on the region that device_to_virt() is dealing with.

Signed-off-by: Lokesh Vutla &lt;lokeshvutla@ti.com&gt;
Tested-by: Fabien Dessenne &lt;fabien.dessenne@st.com&gt;
Reviewed-by: Fabien Dessenne &lt;fabien.dessenne@st.com&gt;
</content>
</entry>
<entry>
<title>remoteproc: Fix potential build issues with SPL remoteproc</title>
<updated>2019-07-24T18:15:38+00:00</updated>
<author>
<name>Suman Anna</name>
<email>s-anna@ti.com</email>
</author>
<published>2019-07-19T15:27:56+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/starfive-tech/u-boot.git/commit/?id=26557d1025eff712a5fd5ff98cfd831727bdd009'/>
<id>urn:sha1:26557d1025eff712a5fd5ff98cfd831727bdd009</id>
<content type='text'>
The rproc uclass driver can either be built with SPL_REMOTEPROC
or REMOTEPROC, but the function prototypes in remoteproc.h are
defined only when CONFIG_REMOTEPROC is defined. This can cause
build issues in SPL if CONFIG_REMOTEPROC is not selected.

Fix this by replacing the existing precompiler macro usage with
CONFIG_IS_ENABLED.

Fixes: ddf56bc7e3ef ("drivers: Introduce a simplified remoteproc framework")
Signed-off-by: Suman Anna &lt;s-anna@ti.com&gt;
Reviewed-by: Nishanth Menon &lt;nm@ti.com&gt;
Reviewed-by: Lokesh Vutla &lt;lokeshvutla@ti.com&gt;
</content>
</entry>
<entry>
<title>remoteproc: add elf file load support</title>
<updated>2019-07-22T07:21:28+00:00</updated>
<author>
<name>Fabien Dessenne</name>
<email>fabien.dessenne@st.com</email>
</author>
<published>2019-05-31T13:11:33+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/starfive-tech/u-boot.git/commit/?id=7a7c4cb0f0440ce7384e233583b32c75ef534ddc'/>
<id>urn:sha1:7a7c4cb0f0440ce7384e233583b32c75ef534ddc</id>
<content type='text'>
The current implementation supports only binary file load.
Add helpers to support ELF32 format (sanity check, and load).
Note that since an ELF32 image is built for the remote processor, the
load function uses the device_to_virt ops to translate the addresses.
Implement a basic translation for sandbox_testproc.

Add related tests. Test result:
=&gt; ut dm remoteproc_elf
Test: dm_test_remoteproc_elf: remoteproc.c
Test: dm_test_remoteproc_elf: remoteproc.c (flat tree)
Failures: 0

Signed-off-by: Loic Pallardy &lt;loic.pallardy@st.com&gt;
Signed-off-by: Fabien Dessenne &lt;fabien.dessenne@st.com&gt;
Reviewed-by: Lokesh Vutla &lt;lokeshvutla@ti.com&gt;
</content>
</entry>
</feed>
