Branch: refs/heads/main
Home: https://github.com/OpenAMP/open-amp
Commit: 1680aada793d78b512f98cc1fa8fc2ee837919e5
https://github.com/OpenAMP/open-amp/commit/1680aada793d78b512f98cc1fa8fc2ee…
Author: Andrew Davis <afd(a)ti.com>
Date: 2024-04-09 (Tue, 09 Apr 2024)
Changed paths:
M lib/include/openamp/remoteproc.h
M lib/remoteproc/remoteproc.c
Log Message:
-----------
remoteproc: Un-inline remoteproc_init_mem() and remoteproc_add_mem()
Having these functions as inline header functions forces the contents of
struct remoteproc_mem to remain externally exposed. It also does not save
space in most cases as every call-site gets the full contents of the
function instead of just a call instruction. Make these normal functions
like all others in remoteproc.h.
Signed-off-by: Andrew Davis <afd(a)ti.com>
To unsubscribe from these emails, change your notification settings at https://github.com/OpenAMP/open-amp/settings/notifications
Branch: refs/heads/main
Home: https://github.com/OpenAMP/open-amp
Commit: 9905d67bd96016b62f37b7031ba0723c7b905570
https://github.com/OpenAMP/open-amp/commit/9905d67bd96016b62f37b7031ba0723c…
Author: Andrew Davis <afd(a)ti.com>
Date: 2024-04-09 (Tue, 09 Apr 2024)
Changed paths:
M lib/rpmsg/rpmsg.c
M lib/rpmsg/rpmsg_internal.h
M lib/rpmsg/rpmsg_virtio.c
Log Message:
-----------
rpmsg: Allow private endpoint data to be set in rpmsg_register_endpoint
There is a private data member in the endpoint struct that is passed into
the callback, but there is no way to populate it. Add this to the
endpoint register function.
Signed-off-by: Andrew Davis <afd(a)ti.com>
Commit: 2807e6481fb3160d21b8220ba704421bedffe712
https://github.com/OpenAMP/open-amp/commit/2807e6481fb3160d21b8220ba704421b…
Author: Andrew Davis <afd(a)ti.com>
Date: 2024-04-09 (Tue, 09 Apr 2024)
Changed paths:
M lib/rpmsg/rpmsg_virtio.c
Log Message:
-----------
rpmsg_virtio: Use priv data in name service callback
The callback allows us to add private data. Use that to store our
rpmsg_device instance instead of extracting it from the endpoint
struct. The contents of that struct are internal to the RPMsg layer.
Signed-off-by: Andrew Davis <afd(a)ti.com>
Compare: https://github.com/OpenAMP/open-amp/compare/c245b3b534e5...2807e6481fb3
To unsubscribe from these emails, change your notification settings at https://github.com/OpenAMP/open-amp/settings/notifications
Branch: refs/heads/main
Home: https://github.com/OpenAMP/open-amp
Commit: a5d7f13538b44c01373f62c1c99e6ccf01fbccd3
https://github.com/OpenAMP/open-amp/commit/a5d7f13538b44c01373f62c1c99e6ccf…
Author: Andrew Davis <afd(a)ti.com>
Date: 2024-04-09 (Tue, 09 Apr 2024)
Changed paths:
M lib/rpmsg/rpmsg_virtio.c
Log Message:
-----------
rpmsg_virtio: Do not make assumptions on struct member order
In rpmsg_virtio_ns_callback() we directly case from rpmsg_device* to
rpmsg_virtio_device*. This only works if rdev is the first member.
Use metal_container_of() to remove this assumption on struct order.
Signed-off-by: Andrew Davis <afd(a)ti.com>
Commit: e76e4cbdfff3259abf3b1090ee1c553165a89668
https://github.com/OpenAMP/open-amp/commit/e76e4cbdfff3259abf3b1090ee1c5531…
Author: Andrew Davis <afd(a)ti.com>
Date: 2024-04-09 (Tue, 09 Apr 2024)
Changed paths:
M lib/rpmsg/rpmsg.c
M lib/rpmsg/rpmsg_internal.h
M lib/rpmsg/rpmsg_virtio.c
Log Message:
-----------
rpmsg: Allow private endpoint data to be set in rpmsg_register_endpoint
There is a private data member in the endpoint struct that is passed into
the callback, but there is no way to populate it. Add this to the
endpoint register function.
Signed-off-by: Andrew Davis <afd(a)ti.com>
Commit: c245b3b534e5bc49e4c2e391a960026fcc607808
https://github.com/OpenAMP/open-amp/commit/c245b3b534e5bc49e4c2e391a960026f…
Author: Andrew Davis <afd(a)ti.com>
Date: 2024-04-09 (Tue, 09 Apr 2024)
Changed paths:
M lib/rpmsg/rpmsg_virtio.c
Log Message:
-----------
rpmsg_virtio: Use priv data in name service callback
The callback allows us to add private data. Use that to store our
rpmsg_device instance instead of extracting it from the endpoint
struct. The contents of that struct are internal to the RPMsg layer.
Signed-off-by: Andrew Davis <afd(a)ti.com>
Compare: https://github.com/OpenAMP/open-amp/compare/89a8a3002fc0...c245b3b534e5
To unsubscribe from these emails, change your notification settings at https://github.com/OpenAMP/open-amp/settings/notifications
Branch: refs/heads/main
Home: https://github.com/OpenAMP/open-amp
Commit: f81114b21d32c21d39375e90efa368922673d051
https://github.com/OpenAMP/open-amp/commit/f81114b21d32c21d39375e90efa36892…
Author: Andrew Davis <afd(a)ti.com>
Date: 2024-04-09 (Tue, 09 Apr 2024)
Changed paths:
M lib/include/openamp/rpmsg.h
M lib/rpmsg/rpmsg.c
Log Message:
-----------
rpmsg: Add API for retrieving message buffer sizes
Add an RPMsg API to get the buffer sizes supported by the backing
transport layer. Add hooks so that transport layers can register
functions to provide this data.
Signed-off-by: Andrew Davis <afd(a)ti.com>
Commit: 52c27fbd91f748f93f46330aff0f12c7dd594f2d
https://github.com/OpenAMP/open-amp/commit/52c27fbd91f748f93f46330aff0f12c7…
Author: Andrew Davis <afd(a)ti.com>
Date: 2024-04-09 (Tue, 09 Apr 2024)
Changed paths:
M lib/rpmsg/rpmsg_virtio.c
Log Message:
-----------
rpmsg_virtio: Connect rpmsg get buffer for the virtio transport layer
RPMsg provides functions to get a transport's backing buffer sizes.
Connect this up for the virtio transport here.
Signed-off-by: Andrew Davis <afd(a)ti.com>
Commit: 89a8a3002fc0e8171b91f0d220608facbaa08342
https://github.com/OpenAMP/open-amp/commit/89a8a3002fc0e8171b91f0d220608fac…
Author: Andrew Davis <afd(a)ti.com>
Date: 2024-04-09 (Tue, 09 Apr 2024)
Changed paths:
M apps/examples/echo/rpmsg-echo.c
M apps/examples/echo/rpmsg-ping.c
M apps/examples/nocopy_echo/rpmsg-nocopy-ping.c
M apps/tests/msg/rpmsg-flood-ping.c
M apps/tests/msg/rpmsg-nocopy-ping.c
M apps/tests/msg/rpmsg-ping.c
Log Message:
-----------
apps: Convert examples to rpmsg_get_{tx,rx}_buffer_size()
The contents of app() in these examples is given a rpmsg_device. We should
not have to know about the backing transport layer. We assume it is virtio
and call into the virtio layer to get the buffer size. This information is
now available from the rpmsg layer. Use those functions to make the app()
agnostic to the backing layer.
Signed-off-by: Andrew Davis <afd(a)ti.com>
Compare: https://github.com/OpenAMP/open-amp/compare/9ddd85c9aae4...89a8a3002fc0
To unsubscribe from these emails, change your notification settings at https://github.com/OpenAMP/open-amp/settings/notifications
Branch: refs/heads/main
Home: https://github.com/OpenAMP/open-amp
Commit: 3758939d83c4d0c945e55e64bba66e6bf01c98e7
https://github.com/OpenAMP/open-amp/commit/3758939d83c4d0c945e55e64bba66e6b…
Author: Andrew Davis <afd(a)ti.com>
Date: 2024-04-05 (Fri, 05 Apr 2024)
Changed paths:
M apps/system/linux/machine/generic/platform_info.c
Log Message:
-----------
apps: linux: generic: Use accessor functions for struct remoteproc_mem
The remoteproc_mem struct contents are internal to remoteproc. The struct
should be accessed using the provided accessors, not directly. This is
done in preparation of making this struct opaque to code outside of
the remoteproc drivers.
Signed-off-by: Andrew Davis <afd(a)ti.com>
Commit: f757dad6f349a5abe734b35425d2c1598c75dee6
https://github.com/OpenAMP/open-amp/commit/f757dad6f349a5abe734b35425d2c159…
Author: Andrew Davis <afd(a)ti.com>
Date: 2024-04-05 (Fri, 05 Apr 2024)
Changed paths:
M apps/examples/load_fw/zynqmp_apu_lcm_rproc_example.c
M apps/examples/load_fw/zynqmp_r5_lcm_rproc_example.c
M apps/examples/load_fw/zynqmp_rpu_lcm_rproc_example.c
Log Message:
-----------
apps: examples: load_fw: Use accessors for remoteproc_mem and rproc
The remoteproc_mem and rproc structs contents are internal to remoteproc.
These should be accessed using the provided accessors, not directly. This
is done in preparation of making these struct opaque to code outside of
the remoteproc drivers.
Signed-off-by: Andrew Davis <afd(a)ti.com>
Commit: 9ddd85c9aae42614dc812bf9560ec280d26f63d7
https://github.com/OpenAMP/open-amp/commit/9ddd85c9aae42614dc812bf9560ec280…
Author: Andrew Davis <afd(a)ti.com>
Date: 2024-04-05 (Fri, 05 Apr 2024)
Changed paths:
M apps/examples/load_fw/zynqmp_apu_lcm_rproc_example.c
M apps/examples/load_fw/zynqmp_r5_lcm_rproc_example.c
M apps/examples/load_fw/zynqmp_rpu_lcm_rproc_example.c
Log Message:
-----------
apps: examples: load_fw: Do not re-init rproc mems list
The memory list is already initialized before this callback is called.
Remove this redundant initialization.
Signed-off-by: Andrew Davis <afd(a)ti.com>
Compare: https://github.com/OpenAMP/open-amp/compare/6623fee76133...9ddd85c9aae4
To unsubscribe from these emails, change your notification settings at https://github.com/OpenAMP/open-amp/settings/notifications
Branch: refs/heads/main
Home: https://github.com/OpenAMP/open-amp
Commit: 6623fee761332f3d9af7597dfb1964754f4e81c6
https://github.com/OpenAMP/open-amp/commit/6623fee761332f3d9af7597dfb196475…
Author: Andrew Davis <afd(a)ti.com>
Date: 2024-04-05 (Fri, 05 Apr 2024)
Changed paths:
M apps/system/linux/machine/generic/platform_info.c
Log Message:
-----------
apps: system: linux: Use metal_io_finish() for closing io
Do not directly call into io->close(), use the accessor function.
While here, do not free the io structure as we did not allocate
it and have no way to know how it was allocated.
Signed-off-by: Andrew Davis <afd(a)ti.com>
To unsubscribe from these emails, change your notification settings at https://github.com/OpenAMP/open-amp/settings/notifications
Branch: refs/heads/main
Home: https://github.com/OpenAMP/open-amp
Commit: 04effe4fc735a4f470723e9c4e1609a5039696e6
https://github.com/OpenAMP/open-amp/commit/04effe4fc735a4f470723e9c4e1609a5…
Author: Zongcheng Han <hanzongcheng(a)huawei.com>
Date: 2024-04-02 (Tue, 02 Apr 2024)
Changed paths:
M lib/remoteproc/remoteproc.c
Log Message:
-----------
remoteproc: drop unnecessary error return value
The rsc_table is checked against NULL in remoteproc_load().
But remoteproc_get_rsc_table() returns ERR_PTR after an error.
The error return value is unnecessary, just return NULL for failure.
Signed-off-by: Zongcheng Han <hanzongcheng(a)huawei.com>
To unsubscribe from these emails, change your notification settings at https://github.com/OpenAMP/open-amp/settings/notifications
Branch: refs/heads/main
Home: https://github.com/OpenAMP/open-amp
Commit: 962b6ef07116e5265216319b107f7f581fbeaa8c
https://github.com/OpenAMP/open-amp/commit/962b6ef07116e5265216319b107f7f58…
Author: Andrew Davis <afd(a)ti.com>
Date: 2024-04-02 (Tue, 02 Apr 2024)
Changed paths:
M lib/include/openamp/rpmsg_virtio.h
Log Message:
-----------
rpmsg_virtio: Deprecate rpmsg_virtio_{create,delete}_virtqueues helpers
These are only used internally by rpmsg_virtio. They also already exist
as part of the virtio API. Do not create an extra wrapper API out of
these functions. Deprecate these functions.
Signed-off-by: Andrew Davis <afd(a)ti.com>
Commit: 435a74175af32949e46f9cf4d3aa7044ada9e0a9
https://github.com/OpenAMP/open-amp/commit/435a74175af32949e46f9cf4d3aa7044…
Author: Andrew Davis <afd(a)ti.com>
Date: 2024-04-02 (Tue, 02 Apr 2024)
Changed paths:
M lib/rpmsg/rpmsg_virtio.c
Log Message:
-----------
rpmsg_virtio: Do not use rpmsg_virtio_{create,delete}_virtqueues helpers
These are only used internally by rpmsg_virtio. They also already exist
as part of the virtio API. Do not create an extra wrapper API out of
these functions. Use the virtio functions directly in rpmsg_virtio.c.
Signed-off-by: Andrew Davis <afd(a)ti.com>
Commit: d233fdc1104a84ba31c00c31e8d87af03c96f0c2
https://github.com/OpenAMP/open-amp/commit/d233fdc1104a84ba31c00c31e8d87af0…
Author: Andrew Davis <afd(a)ti.com>
Date: 2024-04-02 (Tue, 02 Apr 2024)
Changed paths:
M lib/include/openamp/rpmsg_virtio.h
Log Message:
-----------
rpmsg_virtio: Deprecate functions that duplicate virtio functions
Do not expose new functions that reach into structs not belonging to
rpmsg_virtio, that breaks layering. Functions to access these members of
struct virtio are already provided by virtio, use those instead. Deprecate
the unneeded and layer breaking rpmsg_virtio functions for the same.
Signed-off-by: Andrew Davis <afd(a)ti.com>
Commit: 2427641697e5b5536da1b52e3adf849337df5aa4
https://github.com/OpenAMP/open-amp/commit/2427641697e5b5536da1b52e3adf8493…
Author: Andrew Davis <afd(a)ti.com>
Date: 2024-04-02 (Tue, 02 Apr 2024)
Changed paths:
M lib/rpmsg/rpmsg_virtio.c
Log Message:
-----------
rpmsg_virtio: Do not use rpmsg_virtio_{get,set} helpers
These functions are deprecated, use their replacements.
Signed-off-by: Andrew Davis <afd(a)ti.com>
Commit: d13dd90c5627be94dac5957d0096f854dd6c84f9
https://github.com/OpenAMP/open-amp/commit/d13dd90c5627be94dac5957d0096f854…
Author: Andrew Davis <afd(a)ti.com>
Date: 2024-04-02 (Tue, 02 Apr 2024)
Changed paths:
M lib/rpmsg/rpmsg_virtio.c
Log Message:
-----------
rpmsg_virtio: Return error code if waiting for remote fails
If we cannot finish waiting for the remote to be ready to start RPMsg
communication then return and propagate an error.
Signed-off-by: Andrew Davis <afd(a)ti.com>
Compare: https://github.com/OpenAMP/open-amp/compare/d50bb033a9aa...d13dd90c5627
To unsubscribe from these emails, change your notification settings at https://github.com/OpenAMP/open-amp/settings/notifications
Branch: refs/heads/main
Home: https://github.com/OpenAMP/open-amp
Commit: d6b3604022b1305c488380562b49e2e4664900c5
https://github.com/OpenAMP/open-amp/commit/d6b3604022b1305c488380562b49e2e4…
Author: Andrew Davis <afd(a)ti.com>
Date: 2024-04-02 (Tue, 02 Apr 2024)
Changed paths:
M lib/include/openamp/rsc_table_parser.h
M lib/remoteproc/rsc_table_parser.c
Log Message:
-----------
rsc_table_parser: Do not expose internal-only functions
These functions are only used within rsc_table_parser. These should be
only available there and made static. This prevents them from becoming
part of the API.
Signed-off-by: Andrew Davis <afd(a)ti.com>
Commit: a0b2b7c10f1d99fe6431de6455e4ae1adc85293b
https://github.com/OpenAMP/open-amp/commit/a0b2b7c10f1d99fe6431de6455e4ae1a…
Author: Andrew Davis <afd(a)ti.com>
Date: 2024-04-02 (Tue, 02 Apr 2024)
Changed paths:
R lib/include/openamp/rsc_table_parser.h
M lib/remoteproc/remoteproc.c
M lib/remoteproc/rsc_table_parser.c
A lib/remoteproc/rsc_table_parser.h
Log Message:
-----------
rsc_table_parser: Move header to make internal functions internal only
The files in include/openamp are deployed on install and can be used
by applications using the OpenAMP API. The functions in rsc_table_parser
are all internal use only. Move this header out of that location.
Signed-off-by: Andrew Davis <afd(a)ti.com>
Commit: d50bb033a9aa0d469b27f0314dbd0c02aff10a81
https://github.com/OpenAMP/open-amp/commit/d50bb033a9aa0d469b27f0314dbd0c02…
Author: Andrew Davis <afd(a)ti.com>
Date: 2024-04-02 (Tue, 02 Apr 2024)
Changed paths:
M lib/remoteproc/rsc_table_parser.c
Log Message:
-----------
rsc_table_parser: Do not forward declare when not needed
Forward declaration of functions here is not needed, simply move
the function definition to top of the file. No functional change.
Signed-off-by: Andrew Davis <afd(a)ti.com>
Compare: https://github.com/OpenAMP/open-amp/compare/15b4a8b6210e...d50bb033a9aa
To unsubscribe from these emails, change your notification settings at https://github.com/OpenAMP/open-amp/settings/notifications
Branch: refs/heads/virtio-exp-v2023.10
Home: https://github.com/OpenAMP/open-amp
Commit: 963e8c5b1da01a3b038b5106d9b097f1bee1a95c
https://github.com/OpenAMP/open-amp/commit/963e8c5b1da01a3b038b5106d9b097f1…
Author: Dan Milea <dan.milea(a)windriver.com>
Date: 2023-11-07 (Tue, 07 Nov 2023)
Changed paths:
A lib/include/openamp/virtio_rng_drv.h
M lib/virtio_mmio/CMakeLists.txt
A lib/virtio_mmio/virtio_rng_drv.c
Log Message:
-----------
virtio-mmio: entropy device
Added virtio entropy device support.
Signed-off-by: Dan Milea <dan.milea(a)windriver.com>
Commit: e021b8373ad4da995c87a34b41c664afd30a3194
https://github.com/OpenAMP/open-amp/commit/e021b8373ad4da995c87a34b41c664af…
Author: Dan Milea <dan.milea(a)windriver.com>
Date: 2023-11-07 (Tue, 07 Nov 2023)
Changed paths:
A lib/include/openamp/virtio_net_drv.h
M lib/virtio_mmio/CMakeLists.txt
A lib/virtio_mmio/virtio_net_drv.c
Log Message:
-----------
virtio-mmio: network device
Added virtio network device support.
Signed-off-by: Dan Milea <dan.milea(a)windriver.com>
Commit: 23058fc10872af763a11940555dd8f44faffe734
https://github.com/OpenAMP/open-amp/commit/23058fc10872af763a11940555dd8f44…
Author: Dan Milea <dan.milea(a)windriver.com>
Date: 2023-11-07 (Tue, 07 Nov 2023)
Changed paths:
A lib/include/openamp/virtio_serial_drv.h
M lib/virtio_mmio/CMakeLists.txt
A lib/virtio_mmio/virtio_serial_drv.c
Log Message:
-----------
virtio-mmio: console device
Added virtio console device support.
Signed-off-by: Dan Milea <dan.milea(a)windriver.com>
Commit: ead7ad8bb0a0db925e3a7e2a42ca6def8b8c399b
https://github.com/OpenAMP/open-amp/commit/ead7ad8bb0a0db925e3a7e2a42ca6def…
Author: Felipe Neves <felipe.neves(a)linaro.org>
Date: 2023-12-14 (Thu, 14 Dec 2023)
Changed paths:
M cmake/options.cmake
M lib/include/openamp/virtio.h
A lib/include/openamp/virtio_mmio_dev.h
M lib/virtio_mmio/CMakeLists.txt
A lib/virtio_mmio/virtio_mmio_dev.c
Log Message:
-----------
virtio-mmio: add initial support for Virtio MMIO device side
Signed-off-by: Felipe Neves <felipe.neves(a)linaro.org>
virtio_mmio_dev: initial support for device side
virtio mmio transport, it is based on work done originally
by Nicolas Granger from ST: <nicolas.granger01(a)st.com>
Signed-off-by: Felipe Neves <felipe.neves(a)linaro.org>
Commit: a76b28b2486089cd0c861233f4d7bebf8acf63fc
https://github.com/OpenAMP/open-amp/commit/a76b28b2486089cd0c861233f4d7bebf…
Author: Felipe Neves <felipe.neves(a)linaro.org>
Date: 2023-12-14 (Thu, 14 Dec 2023)
Changed paths:
M lib/include/openamp/virtio_mmio.h
R lib/include/openamp/virtio_mmio_dev.h
M lib/virtio_mmio/virtio_mmio_dev.c
Log Message:
-----------
virtio_mmio: unify device and driver interfaces into a
single header file.
Signed-off-by: Felipe Neves <felipe.neves(a)linaro.org>
Compare: https://github.com/OpenAMP/open-amp/compare/963e8c5b1da0%5E...a76b28b24860
To unsubscribe from these emails, change your notification settings at https://github.com/OpenAMP/open-amp/settings/notifications
All,
The meeting today will appear one hour later for anyone in North
American in an area that practices Day Light Savings. This meeting is
tied to UK time and they will not move to daylight savings until the end
of March.
Bill
--
Bill Mills
Principal Technical Consultant, Linaro
+1-240-643-0836
TZ: US Eastern
Work Schedule: Tues/Wed/Thur
Branch: refs/heads/main
Home: https://github.com/OpenAMP/open-amp
Commit: 198e2e69a98931162b08c7193633ad9f1077f9f7
https://github.com/OpenAMP/open-amp/commit/198e2e69a98931162b08c7193633ad9f…
Author: Yongrong Wang <wangyongrong(a)xiaomi.com>
Date: 2024-03-18 (Mon, 18 Mar 2024)
Changed paths:
M lib/include/openamp/remoteproc.h
M lib/include/openamp/remoteproc_virtio.h
M lib/include/openamp/rpmsg.h
M lib/include/openamp/virtio.h
M lib/remoteproc/remoteproc.c
M lib/remoteproc/remoteproc_virtio.c
M lib/rpmsg/rpmsg_virtio.c
Log Message:
-----------
Revert "openamp: add new ops wait_notified() to avoid looping in tx buffer get"
This reverts commit 95802c1d0328d2d0fe97fc744aa213eb8bc0e466.
Signed-off-by: Yongrong Wang <wangyongrong(a)xiaomi.com>
Commit: 15b4a8b6210ef0241fb0f62133ad15ebdf48e9bd
https://github.com/OpenAMP/open-amp/commit/15b4a8b6210ef0241fb0f62133ad15eb…
Author: Yongrong Wang <wangyongrong(a)xiaomi.com>
Date: 2024-03-18 (Mon, 18 Mar 2024)
Changed paths:
M lib/include/openamp/rpmsg.h
M lib/include/openamp/rpmsg_virtio.h
M lib/rpmsg/rpmsg_virtio.c
Log Message:
-----------
openamp: add notify_wait_cb to avoid looping in tx buffer get
Give users a chance to handle the no tx buffer situation when get tx
buffer, with this patch, user can set the notify_wait_cb in driver
and this callback function will be called to handle the wait when no
tx buffer in tx virtqueue.
Signed-off-by: Yongrong Wang <wangyongrong(a)xiaomi.com>
Compare: https://github.com/OpenAMP/open-amp/compare/79b795e954e1...15b4a8b6210e
To unsubscribe from these emails, change your notification settings at https://github.com/OpenAMP/open-amp/settings/notifications
Branch: refs/heads/main
Home: https://github.com/OpenAMP/open-amp
Commit: 79b795e954e15d0d7c37d49fd32ac9cc0315bc3c
https://github.com/OpenAMP/open-amp/commit/79b795e954e15d0d7c37d49fd32ac9cc…
Author: Umair Khan <umair_khan(a)mentor.com>
Date: 2024-02-29 (Thu, 29 Feb 2024)
Changed paths:
M lib/remoteproc/elf_loader.c
Log Message:
-----------
remoteproc: Fix management of non loadable program segments
The elf loader assumes that the last ELF program segment will always
be a LOAD type segment. I deduce this from the fact that the elf_load()
function, when loading the remote ELF sections during the
RPROC_LOADER_READY_TO_LOAD stage, compares the last load segment num
to the total ELF sections to determine if the loading is complete and
it can move to the next stage RPROC_LOADER_POST_DATA_LOAD. If the last
program segment in the ELF is not of type LOAD, the last loaded LOAD
segment never equals total ELF sections. This creates an error
condition and the firmware loading fails. This patch fixes this issue
by comparing the last loaded LOAD segment number with the max LOAD
segment number in the ELF.
Signed-off-by: Umair Khan <umair_khan(a)mentor.com>
To unsubscribe from these emails, change your notification settings at https://github.com/OpenAMP/open-amp/settings/notifications
Branch: refs/heads/main
Home: https://github.com/OpenAMP/libmetal
Commit: 5bab7225cac041c26ecfbc92169d04d55211c4b2
https://github.com/OpenAMP/libmetal/commit/5bab7225cac041c26ecfbc92169d04d5…
Author: Rajiv Mohan <rajiv.mohan(a)amd.com>
Date: 2024-02-23 (Fri, 23 Feb 2024)
Changed paths:
M lib/system/freertos/xlnx/sys.c
M lib/system/generic/xlnx/sys.c
Log Message:
-----------
lib: system: MPU flag check fix for xilinx platform
Check if valid MPU flag is set or not. Current condition checks
if flag is 0 or not, which is not intended use of flags
Signed-off-by: Rajiv Mohan <rajiv.mohan(a)amd.com>
To unsubscribe from these emails, change your notification settings at https://github.com/OpenAMP/libmetal/settings/notifications
Branch: refs/heads/main
Home: https://github.com/OpenAMP/open-amp
Commit: 0c7e4202d0a1c6a6d590eb0c8f9d081dc7aed2ce
https://github.com/OpenAMP/open-amp/commit/0c7e4202d0a1c6a6d590eb0c8f9d081d…
Author: Bowen Wang <wangbowen6(a)xiaomi.com>
Date: 2024-02-23 (Fri, 23 Feb 2024)
Changed paths:
M lib/include/openamp/rpmsg_virtio.h
M lib/remoteproc/remoteproc_virtio.c
M lib/rpmsg/rpmsg_virtio.c
Log Message:
-----------
remoteproc_virtio: optimize the remoteproc virtio transport layer
1. Implement the rproc_virtio_create_virtqueues() and
rproc_virtio_delete_virtqueues().
2. Because 1, also modified the rpmsg init.
Signed-off-by: Bowen Wang <wangbowen6(a)xiaomi.com>
To unsubscribe from these emails, change your notification settings at https://github.com/OpenAMP/open-amp/settings/notifications
Branch: refs/heads/main
Home: https://github.com/OpenAMP/libmetal
Commit: f21fea6c32e803d75f74f0b4b7e922f29aea5c05
https://github.com/OpenAMP/libmetal/commit/f21fea6c32e803d75f74f0b4b7e922f2…
Author: Bowen Wang <wangbowen6(a)xiaomi.com>
Date: 2024-02-23 (Fri, 23 Feb 2024)
Changed paths:
M lib/system/nuttx/io.c
Log Message:
-----------
libmetal/nuttx/io.c: width matched access when read/write size = 1,2,4,8
Follow the virtio spec v1.2:
The driver MUST only use 32 bit wide and aligned reads and writes to access
the control registers described in table 4.1. For the device-specific
configuration space, the driver MUST use 8 bit wide accesses for 8 bit
wide fields, 16 bit wide and aligned accesses for 16 bit wide fields
and 32 bit wide and aligned accesses for 32 and 64 bit wide fields.
Signed-off-by: Bowen Wang <wangbowen6(a)xiaomi.com>
Signed-off-by: Jukka Laitinen <jukkax(a)ssrc.tii.ae>
To unsubscribe from these emails, change your notification settings at https://github.com/OpenAMP/libmetal/settings/notifications
Branch: refs/heads/main
Home: https://github.com/OpenAMP/open-amp
Commit: f94dde55e0f06809c331513641e0482bafe3d390
https://github.com/OpenAMP/open-amp/commit/f94dde55e0f06809c331513641e0482b…
Author: Umair Khan <umair_khan(a)mentor.com>
Date: 2024-02-22 (Thu, 22 Feb 2024)
Changed paths:
M apps/examples/load_fw/load_fw.c
Log Message:
-----------
load_fw: The firmware loading loop terminates prematurely
The remoteproc_load_noblock() is a non-blocking API designed to load
the remote firmware in streaming mode. The application has to continue
supplying the firmware data blocks until the complete firmware is
loaded. The load_fw example does this and checks the `nlen` variable
(returned by the remoteproc_load_noblock() API) for zero to determine
if the firmware loading is complete. However, `nlen` (contains the
filesize of the next program header) alone can't be taken as the
sufficient condition to mark the completion of firmware loading as
0 is a valid value for filesize for sections that don't require
loading to the target memory such as the .bss section. This patch
proposes checking filesize as well as memsize as a better metric to
mark completion of the firmware loading loop.
Signed-off-by: Umair Khan <umair_khan(a)mentor.com>
To unsubscribe from these emails, change your notification settings at https://github.com/OpenAMP/open-amp/settings/notifications
Branch: refs/heads/main
Home: https://github.com/OpenAMP/libmetal
Commit: 5d93a3c19331eea88f5612d7e4eb1a0f1fcfdd6a
https://github.com/OpenAMP/libmetal/commit/5d93a3c19331eea88f5612d7e4eb1a0f…
Author: Rajiv Mohan <rajiv.mohan(a)amd.com>
Date: 2024-02-19 (Mon, 19 Feb 2024)
Changed paths:
M lib/system/freertos/xlnx/sys.c
Log Message:
-----------
FreeRTOS Avoid mem mapping in MPU for region mapped
FreeRTOS patch for Avoiding memory mapping in MPU config table for region
that are already mapped by bsp and no change in attribute property
Signed-off-by: Rajiv Mohan <rajiv.mohan(a)amd.com>
To unsubscribe from these emails, change your notification settings at https://github.com/OpenAMP/libmetal/settings/notifications
Branch: refs/heads/main
Home: https://github.com/OpenAMP/libmetal
Commit: 3517a078369c041dc74252b87d7347c397d1d1c3
https://github.com/OpenAMP/libmetal/commit/3517a078369c041dc74252b87d7347c3…
Author: Rajiv Mohan <rajiv.mohan(a)amd.com>
Date: 2024-02-19 (Mon, 19 Feb 2024)
Changed paths:
M lib/system/generic/xlnx/sys.c
Log Message:
-----------
lib: xlnx: Avoid mapping in MPU for region mapped by bsp
Avoiding memory mapping in MPU config table for region that are already
mapped by bsp and no change in attribute property.
Signed-off-by: Rajiv Mohan <rajiv.mohan(a)amd.com>
Signed-off-by: Tanmay Shah <tanmay.shah(a)amd.com>
To unsubscribe from these emails, change your notification settings at https://github.com/OpenAMP/libmetal/settings/notifications
Branch: refs/heads/main
Home: https://github.com/OpenAMP/open-amp
Commit: b48965acdfe70bd5ac6ff916796e1b409a590542
https://github.com/OpenAMP/open-amp/commit/b48965acdfe70bd5ac6ff916796e1b40…
Author: Umair Khan <umair.khan.uet59(a)gmail.com>
Date: 2024-02-16 (Fri, 16 Feb 2024)
Changed paths:
M lib/remoteproc/elf_loader.c
Log Message:
-----------
Fixes #550: ELF loader loads ELF sections to their load addresses
Unlike the Linux rproc elf loader, the OpenAMP elf loader loads
the remote elf program segments to their load addresses instead
of their link addresses. This results in memory corruption when
the remote firmware attempts to relocate segments from their link
addresses to load addresses at runtime such as the data section.
Signed-off-by: Umair Khan <umair.khan.uet59(a)gmail.com>
Branch: refs/heads/main
Home: https://github.com/OpenAMP/open-amp
Commit: 7bf3cff391caeaf42b9ccb9ca77192c5a85f3eb4
https://github.com/OpenAMP/open-amp/commit/7bf3cff391caeaf42b9ccb9ca77192c5…
Author: Arnaud Pouliquen <arnaud.pouliquen(a)foss.st.com>
Date: 2024-02-15 (Thu, 15 Feb 2024)
Changed paths:
M lib/remoteproc/remoteproc_virtio.c
Log Message:
-----------
remoteproc_virtio: fix vrings_info structure init
Only the first index of the vring_info is set to 0.
Apply the memset to the whole memory allocated.
Signed-off-by: Arnaud Pouliquen <arnaud.pouliquen(a)foss.st.com>
Branch: refs/heads/master
Home: https://github.com/OpenAMP/meta-openamp
Commit: 36a86e5677ae2c27c8e18ddf597f6bc6cd5298be
https://github.com/OpenAMP/meta-openamp/commit/36a86e5677ae2c27c8e18ddf597f…
Author: Ben Levinsky <ben.levinsky(a)amd.com>
Date: 2024-01-22 (Mon, 22 Jan 2024)
Changed paths:
A vendor/xilinx/meta-xilinx-standalone-experimental/recipes-openamp/open-amp/overlays/openamp-overlay-versal-net.yaml
M vendor/xilinx/meta-xilinx-standalone-experimental/recipes-openamp/open-amp/overlays/openamp-overlay-versal.yaml
M vendor/xilinx/meta-xilinx-standalone-experimental/recipes-openamp/open-amp/overlays/openamp-overlay-zynqmp.yaml
Log Message:
-----------
vendor/xilinx: meta-xilinx-standalone-experimental: Update overlays to work with latest lopper
Lopper has updates for YAML handling. Update YAML for this.
Signed-off-by: Ben Levinsky <ben.levinsky(a)amd.com>
Commit: f397d784da984938d0b0ce3e191fc4b58429ca0a
https://github.com/OpenAMP/meta-openamp/commit/f397d784da984938d0b0ce3e191f…
Author: Ben Levinsky <ben.levinsky(a)amd.com>
Date: 2024-01-22 (Mon, 22 Jan 2024)
Changed paths:
R vendor/xilinx/meta-xilinx-standalone-experimental/recipes-openamp/libmetal/libmetal-xlnx-standalone.bb
A vendor/xilinx/meta-xilinx-standalone-experimental/recipes-openamp/libmetal/libmetal-xlnx.inc
R vendor/xilinx/meta-xilinx-standalone-experimental/recipes-openamp/libmetal/patches/0001-lib-atomic-add-defines-for-build.patch
Log Message:
-----------
vendor/xilinx: meta-xilinx-standalone-experimental: libmetal: Unify recipe to work for SDT Flow
For AMD-Xilinx SDT Flow ensure libmetal works with latest.
As part of this clean up to be in one recipe.
Signed-off-by: Ben Levinsky <ben.levinsky(a)amd.com>
Commit: b506426628d5b43e729ea12860051bf6904b85b5
https://github.com/OpenAMP/meta-openamp/commit/b506426628d5b43e729ea1286005…
Author: Ben Levinsky <ben.levinsky(a)amd.com>
Date: 2024-01-22 (Mon, 22 Jan 2024)
Changed paths:
R vendor/xilinx/meta-xilinx-standalone-experimental/recipes-openamp/open-amp/open-amp-decoupling.bb
R vendor/xilinx/meta-xilinx-standalone-experimental/recipes-openamp/open-amp/open-amp-standalone.bb
A vendor/xilinx/meta-xilinx-standalone-experimental/recipes-openamp/open-amp/open-amp-xlnx.inc
M vendor/xilinx/meta-xilinx-standalone-experimental/recipes-openamp/open-amp/overlays/openamp-overlay-versal-net.yaml
M vendor/xilinx/meta-xilinx-standalone-experimental/recipes-openamp/open-amp/overlays/openamp-overlay-versal.yaml
Log Message:
-----------
vendor/xilinx: meta-xilinx-standalone-experimental: open-amp: Unify recipe to work for SDT Flow
For AMD-Xilinx SDT Flow ensure open-amp works with latest.
As part of this clean up to be in one recipe.
Signed-off-by: Ben Levinsky <ben.levinsky(a)amd.com>
Compare: https://github.com/OpenAMP/meta-openamp/compare/098059a411ff...b506426628d5