Branch: refs/heads/unbind_rpmsg_dev
Home: https://github.com/OpenAMP/openamp-system-reference
Commit: a5dd6735f0961e1b0311d93c93a6e79d389de727
https://github.com/OpenAMP/openamp-system-reference/commit/a5dd6735f0961e1b…
Author: Tanmay Shah <tanmay.shah(a)amd.com>
Date: 2024-06-27 (Thu, 27 Jun 2024)
Changed paths:
M examples/linux/common/common.c
M examples/linux/common/common.h
M examples/linux/rpmsg-echo-test/echo_test.c
M examples/linux/rpmsg-mat-mul/mat_mul_demo.c
M examples/linux/rpmsg-proxy-app/proxy_app.c
Log Message:
-----------
examples: linux: unbind rpmsg device
RPMsg linux app should unbind rpmsg device from char driver once
communication is done. Without unbind, rpmsg app can't bind same
device with rpmsg char driver again.
Signed-off-by: Tanmay Shah <tanmay.shah(a)amd.com>
To unsubscribe from these emails, change your notification settings at https://github.com/OpenAMP/openamp-system-reference/settings/notifications
Branch: refs/heads/unbind_rpmsg_dev
Home: https://github.com/OpenAMP/openamp-system-reference
Commit: aec2a40d94df2bde4660c9d995ccca096e7ec92b
https://github.com/OpenAMP/openamp-system-reference/commit/aec2a40d94df2bde…
Author: Arnaud Pouliquen <arnaud.pouliquen(a)foss.st.com>
Date: 2024-05-20 (Mon, 20 May 2024)
Changed paths:
M west.yml
Log Message:
-----------
west: update to zephyr 3.6
Update to the last Zephyr release
Signed-off-by: Arnaud Pouliquen <arnaud.pouliquen(a)foss.st.com>
Commit: 132e8a4b5f8e9b2fae753c42011d9384ae843898
https://github.com/OpenAMP/openamp-system-reference/commit/132e8a4b5f8e9b2f…
Author: Arnaud Pouliquen <arnaud.pouliquen(a)foss.st.com>
Date: 2024-05-20 (Mon, 20 May 2024)
Changed paths:
M west.yml
Log Message:
-----------
west: update to openamp and libmetal v2024.05
Update to the last openamp and libmetal versions
Signed-off-by: Arnaud Pouliquen <arnaud.pouliquen(a)foss.st.com>
Commit: a364e30755000a3cd585cf625bb73c65c5155fb3
https://github.com/OpenAMP/openamp-system-reference/commit/a364e30755000a3c…
Author: Tanmay Shah <tanmay.shah(a)amd.com>
Date: 2024-06-27 (Thu, 27 Jun 2024)
Changed paths:
M examples/linux/common/common.c
M examples/linux/common/common.h
M examples/linux/rpmsg-echo-test/echo_test.c
M examples/linux/rpmsg-mat-mul/mat_mul_demo.c
M examples/linux/rpmsg-proxy-app/proxy_app.c
Log Message:
-----------
examples: linux: unbind rpmsg device
RPMsg linux app should unbind rpmsg device from char driver once
communication is done. Without unbind, rpmsg app can't bind same
device with rpmsg char driver again.
Signed-off-by: Tanmay Shah <tanmay.shah(a)amd.com>
Compare: https://github.com/OpenAMP/openamp-system-reference/compare/aec2a40d94df%5E…
To unsubscribe from these emails, change your notification settings at https://github.com/OpenAMP/openamp-system-reference/settings/notifications
________________________________
Von: Tanmay Shah <tanmay.shah(a)amd.com>
Gesendet: Donnerstag, 6. Juni 2024 17:44
An: Andreas Pankoke <APankoke(a)comprion.com>
Betreff: Re: AW: [Openamp-rp] c++ in xlinx linux
Hello,
On 6/6/24 10:24 AM, Andreas Pankoke wrote:
> Hello,
> thanks for your reply.
>
> Are you trying to load R5 firmware written in C++ from Linux kernel?
> Or R5 firmware for one core in C++ is getting loaded from another R5 core in split mode?
>
> No. Iam loading the R5 Program via OpenAMP from the Linux Kernel in R5_0 like this. The R5 should be running in split-Mode. This is configured via the Device-tree:
>
> echo CLWaveNFC_Test02.elf > /sys/class/remoteproc/remoteproc0/firmware
> echo start > state
>
If you are executing these steps, then OpenAMP loader isn't used at all if I understand correctly.
Instead it's elf loader in linux kernel.
Here: https://github.com/torvalds/linux/blob/v6.10-rc2/drivers/remoteproc/remotep…
As of now, on Xilinx platform C++ loading isn't tested.
Thanks.
Yes this one is failing I think.
BR
Andreas
> The Program has been written in C++.
>
> "these things" could you please explain specifics?
>
> Were working on the Xilinx branch.
> I mean the fix in the OpenAMP branch regarding the fix:
> #27
> https://github.com/OpenAMP/open-amp/issues/27
>
> I would like to know, if it is possible to get this, c++ loading, running on the Xilinx side.
>
> Xilinx's Petalinux releases usually rely on upstream OpenAMP and Libmetal library releases.
> As of now once changes are merged in upstream OpenAMP and Libmetal libraries,
> they are picked up in .1 release cycle of Petalinux.
>
> I get the error with every Release of petalinux I've tested (2021.2 & 2024.1)
>
> the error(s) is(are) essentially the following:
> [ 801.017356][ T1162] remoteproc remoteproc0: trace0 added: da 0x3ee00220, len 0x1000
> [ 801.027989][ T1162] remoteproc remoteproc0: bad phdr da 0x0 mem 0x19680
> [ 801.034608][ T1162] remoteproc remoteproc0: Failed to load program segments: -22
> [ 801.047128][ T1162] remoteproc remoteproc0: Boot failed: -22
>
> BR
> Andreas
>
>
>
> ________________________________
> Von: Tanmay Shah <tanmay.shah(a)amd.com>
> Gesendet: Donnerstag, 6. Juni 2024 16:32
> An: Andreas Pankoke <APankoke(a)comprion.com>; openamp-rp(a)lists.openampproject.org <openamp-rp(a)lists.openampproject.org>
> Betreff: Re: [Openamp-rp] c++ in xlinx linux
>
> Hello,
>
> I would like you understand your use case first.
> Please find my questions inline.
>
>
> On 6/6/24 8:29 AM, Andreas Pankoke via Openamp-rp wrote:
>> We are COMPRION GmbH from Germany, and we are using the Xilinx FPGA
>> ZynqMP XCZU3EG for our new testing-devices.
>>
>> I'am an embedded engineer, with the responsibillity to program the
>> ZynqMP Linux and R5 Progs.
>>
>> Currently I've the problem, that a load of a c++ program via remoteproc
>> doesnot work in the xilinx petalinux.
>
> Are you trying to load R5 firmware written in C++ from linux kernel?
> Or R5 firmware for one core in C++ is getting loaded from another R5 core in split mode?
>
>>
>> Maybe there is someone how can help me out....
>>
>> We are working with the petalinux 2021.2 release.
>>
>> I've tested the new 2024.1 release, but there are no changes to the
>> issue.
>>
>> The c++ prog. doesnot load.
>>
>> I've searched the openAMP github for such issues, and I found this one:
>>
>> https://github.com/OpenAMP/open-amp/issues/27
>>
>> which has been closed in 2018.
>>
>> My question is now: How to get these things in the xilinx branch, or is
>> there a branch which has been fixed this issue?
>
> "these things" could you please explain specifics?
>
> Xilinx's Petalinux releases usually rely on upstream OpenAMP and Libmetal library releases.
> As of now once changes are merged in upstream OpenAMP and Libmetal libraries,
> they are picked up in .1 release cycle of Petalinux.
>
>>
>> Thank you in advance.
>>
>> BR Andreas
>>
>>
>
>
__________________________________________________________________
Von: Tanmay Shah <tanmay.shah(a)amd.com>
Gesendet: Donnerstag, 6. Juni 2024 17:44
An: Andreas Pankoke <APankoke(a)comprion.com>
Betreff: Re: AW: [Openamp-rp] c++ in xlinx linux
Hello,
On 6/6/24 10:24 AM, Andreas Pankoke wrote:
> Hello,
> thanks for your reply.
>
> Are you trying to load R5 firmware written in C++ from Linux kernel?
> Or R5 firmware for one core in C++ is getting loaded from another R5
core in split mode?
>
> No. Iam loading the R5 Program via OpenAMP from the Linux Kernel in
R5_0 like this. The R5 should be running in split-Mode. This is
configured via the Device-tree:
>
> echo CLWaveNFC_Test02.elf >
/sys/class/remoteproc/remoteproc0/firmware
> echo start > state
>
If you are executing these steps, then OpenAMP loader isn't used at all
if I understand correctly.
Instead it's elf loader in linux kernel.
Here:
[1]https://github.com/torvalds/linux/blob/v6.10-rc2/drivers/remoteproc/
remoteproc_elf_loader.c
As of now, on Xilinx platform C++ loading isn't tested.
Thanks.
Yes this one is failing I think.
BR
Andreas
> The Program has been written in C++.
>
> "these things" could you please explain specifics?
>
> Were working on the Xilinx branch.
> I mean the fix in the OpenAMP branch regarding the fix:
> #27
> [2]https://github.com/OpenAMP/open-amp/issues/27
>
> I would like to know, if it is possible to get this, c++ loading,
running on the Xilinx side.
>
> Xilinx's Petalinux releases usually rely on upstream OpenAMP and
Libmetal library releases.
> As of now once changes are merged in upstream OpenAMP and Libmetal
libraries,
> they are picked up in .1 release cycle of Petalinux.
>
> I get the error with every Release of petalinux I've tested (2021.2 &
2024.1)
>
> the error(s) is(are) essentially the following:
> [ 801.017356][ T1162] remoteproc remoteproc0: trace0 added: da
0x3ee00220, len 0x1000
> [ 801.027989][ T1162] remoteproc remoteproc0: bad phdr da 0x0 mem
0x19680
> [ 801.034608][ T1162] remoteproc remoteproc0: Failed to load program
segments: -22
> [ 801.047128][ T1162] remoteproc remoteproc0: Boot failed: -22
>
> BR
> Andreas
>
>
>
> ________________________________
> Von: Tanmay Shah <tanmay.shah(a)amd.com>
> Gesendet: Donnerstag, 6. Juni 2024 16:32
> An: Andreas Pankoke <APankoke(a)comprion.com>;
openamp-rp(a)lists.openampproject.org
<openamp-rp(a)lists.openampproject.org>
> Betreff: Re: [Openamp-rp] c++ in xlinx linux
>
> Hello,
>
> I would like you understand your use case first.
> Please find my questions inline.
>
>
> On 6/6/24 8:29 AM, Andreas Pankoke via Openamp-rp wrote:
>> We are COMPRION GmbH from Germany, and we are using the Xilinx
FPGA
>> ZynqMP XCZU3EG for our new testing-devices.
>>
>> I'am an embedded engineer, with the responsibillity to program
the
>> ZynqMP Linux and R5 Progs.
>>
>> Currently I've the problem, that a load of a c++ program via
remoteproc
>> doesnot work in the xilinx petalinux.
>
> Are you trying to load R5 firmware written in C++ from linux kernel?
> Or R5 firmware for one core in C++ is getting loaded from another R5
core in split mode?
>
>>
>> Maybe there is someone how can help me out....
>>
>> We are working with the petalinux 2021.2 release.
>>
>> I've tested the new 2024.1 release, but there are no changes to
the
>> issue.
>>
>> The c++ prog. doesnot load.
>>
>> I've searched the openAMP github for such issues, and I found
this one:
>>
>> [3]https://github.com/OpenAMP/open-amp/issues/27
>>
>> which has been closed in 2018.
>>
>> My question is now: How to get these things in the xilinx branch,
or is
>> there a branch which has been fixed this issue?
>
> "these things" could you please explain specifics?
>
> Xilinx's Petalinux releases usually rely on upstream OpenAMP and
Libmetal library releases.
> As of now once changes are merged in upstream OpenAMP and Libmetal
libraries,
> they are picked up in .1 release cycle of Petalinux.
>
>>
>> Thank you in advance.
>>
>> BR Andreas
>>
>>
>
>
References
1. https://github.com/torvalds/linux/blob/v6.10-rc2/drivers/remoteproc/remotep…
2. https://github.com/OpenAMP/open-amp/issues/27
3. https://github.com/OpenAMP/open-amp/issues/27
We are COMPRION GmbH from Germany, and we are using the Xilinx FPGA ZynqMP XCZU3EG for our new testing-devices.
I'am an embedded engineer, with the responsibillity to program the ZynqMP Linux and R5 Progs.
Currently I've the problem, that a load of a c++ program via remoteproc doesnot work in the xilinx petalinux.
Maybe there is someone how can help me out....
We are working with the petalinux 2021.2 release.
I've tested the new 2024.1 release, but there are no changes to the issue.
The c++ prog. doesnot load.
I've searched the openAMP github for such issues, and I found this one:
https://github.com/OpenAMP/open-amp/issues/27
which has been closed in 2018.
My question is now: How to get these things in the xilinx branch, or is there a branch which has been fixed this issue?
Thank you in advance.
BR Andreas
We are COMPRION GmbH from Germany, and we are using the Xilinx FPGA
ZynqMP XCZU3EG for our new testing-devices.
I'am an embedded engineer, with the responsibillity to program the
ZynqMP Linux and R5 Progs.
Currently I've the problem, that a load of a c++ program via remoteproc
doesnot work in the xilinx petalinux.
Maybe there is someone how can help me out....
We are working with the petalinux 2021.2 release.
I've tested the new 2024.1 release, but there are no changes to the
issue.
The c++ prog. doesnot load.
I've searched the openAMP github for such issues, and I found this one:
https://github.com/OpenAMP/open-amp/issues/27
which has been closed in 2018.
My question is now: How to get these things in the xilinx branch, or is
there a branch which has been fixed this issue?
Thank you in advance.
BR Andreas