Hi Bill,
-----Original Message-----
From: Bill Mills bill.mills@linaro.org
Sent: Wednesday, November 23, 2022 2:38 AM
To: Chan King Choy, Nathalie nathalie.chan-king-choy@amd.com; Shah,
Tanmay tanmay.shah@amd.com
Cc: OpenAMP System Reference (openamp-system-
reference@lists.openampproject.org) <openamp-system-
reference@lists.openampproject.org>
Subject: Re: [OA-syst-ref] Deadline reminder & calling for agenda: 2022-11-23
OpenAMP System Reference
Hi Nathalie,
On 11/23/22 12:32 AM, Chan King Choy, Nathalie wrote:
Hi Bill & Tanmay,
I was able to get the docker image up & running after a few tries.
I would like to understand what issues you had getting docker running.
Can we improve the help?
Was not a system reference issue. I think this is the first time I've had a VirtualBox Ubuntu VM be so problematic out of the box. Network-related issues.
Are you planning to post the known issues, or is that just a working list? I
wish I scrolled all the way down to see that hangs/panics are expected
because mine failed on the first few tries (hypothesis it seems to always
work the first time = FALSE), but I saw that once I got through the rest of the
steps.
Sounds like you are seeing a greater failure rate than I am. The original
kernel was failing 25% of the time but with the pinctl patch I get a failure rate
of about 6% (7 Fails out of 120 runs)
I tried once more today and that worked on the first try.
I tried something yesterday (Setting PREEMPT_NONE like Petalinux does )
that I was sure was going to fix it but it did not change the fail rate.
I have spent a TON of time on this trying to get a configuration we can call
"upstream" but yet works on the zynqmp. (I should have switched to doing
slides earlier but ..)
I will get back to this after the slides are done and the 1st recording are done.
Hopefully OK on Monday.
If it crashes when Tanmay is recording he will have to try again and we can
cut that out.
Yup.
@Shah, Tanmaymailto:tanmay.shah@amd.com: Please do a "%> clear" before running anything that might crash. This way people won't know if we restart, because all the output will always be starting at the top of the terminal & there won't be leftover messages in the terminal.
If it crashes, then just do what I wrote in the recording instructions. Holler to let me know you're restarting that part & make sure to "%> clear" so your terminal is starting back at the top & give me a pause before you resume.
Fortunately, I was optimistic and kept exiting out & trying again a few
times, then I was able to log in as root on the main UART and run demo1A
and demo1B.
There is also a demo1C. I was thinking about adding a demo1 script that
just runs all three perhaps with the pause between them.
I tried demo1C today. When I say I don't want to repeat the demo, it stops the application and then the last 2 lines of output are:
Host > RPC service exiting !!
Modprobe: FATAL: Module rpmsg_char is in use
Not sure if that is expected due to the application shutting down?
The hints at what to type next are nice to have, but then I got distracted
and started to follow those instead of continuing to follow the instructions in
the Google document. Hopefully that is not unexpected for the user... but
then in either demo1A or demo1B, was something supposed to show up on
2nd UART R5_0? I still see
"waiting for port 1115 .
Connecting"
Yes, I was intending you to just follow the instructions inside the machine.
Tanmay's demo's (demo1 and demo2) do not use the 2nd UART. demo3 and
demo4 do.
As I said yesterday, demo2 is now broken with the new firmware Tanmay
gave me. I will try to go back to the previous firmware after our
meeting today.
demo3 works now. demo4 is still a placeholder for Dan's demo.
I tried demo3 today and I do see the output on 2nd UART.
It hung for me on the 3rd iteration of stopping R5_1.
I exited demo3 and tried again and it worked.
It was only once I went back to the Google document instructions and tried
the echo to /dev/ttyPS1 did my message then show up after "Connecting".
I can add the echo statement to the first demo so something shows up.
For this instruction in the Google document:
dev@openamp$ scp ~/test-sw/xilinx-lock-step/image_echo_test \
qemu-zcu102:/lib/firmware
it's a little confusing because of 2 reasons: (1) the file appears to have
significance if it's going into /lib/firmware, but then we don't do anything
with it (since I guess we just want to show that a file appears on the other
side) and we also didn't have them check /lib/firmware to see that the file
isn't one of the image_* files that was there before, and (2) now the file
would be either image_echo_test_<kv260|zcu102>. So, maybe that could
be clarified by adding a step:
dev@openamp$ ssh qemu-zcu102
root@generic-arm64:~# ls -l /lib/firmware
root@generic-arm64:~# exit
dev@openamp$ scp ~/test-sw/xilinx-lock-step/image_echo_test_kv260 \
qemu-zcu102:/lib/firmware
You don't really need this to run the demo. We could move it to a
backup section.
I will change the scp example. I wrote that before I added the firmware
to the cpio at startup. That files is already there.
I will change it to something like:
$ date | tee datefile
$ scp datefile qemu-zcu102:
$ ssh qemu-zcu102 cat ./datefile
Yes, that would be better.
Then tell them to check it appeared on the other side.
The docker cleanup instructions were helpful since it's been many years
since I last used it 😊
Sounds like you missed that there are 4 demos. (5 once we add Bruce's).
Had run out of time to try stuff.
Happy US Thanksgiving!
-Nathalie
I can change the initial message on container start.
Thanks for trying it out. The feedback is helpful,
Bill
Thanks & regards,
Nathalie
-----Original Message-----
From: Bill Mills <bill.mills@linaro.orgmailto:bill.mills@linaro.org>
Sent: Tuesday, November 22, 2022 5:40 AM
To: Chan King Choy, Nathalie <nathalie.chan-king-choy@amd.commailto:nathalie.chan-king-choy@amd.com>;
OpenAMP System Reference (openamp-system-mailto:openamp-system-reference@lists.openampproject.org
reference@lists.openampproject.orgmailto:openamp-system-reference@lists.openampproject.org) <openamp-system-mailto:openamp-system-reference@lists.openampproject.org
reference@lists.openampproject.orgmailto:openamp-system-reference@lists.openampproject.org>; arnaud.pouliquen@st.commailto:arnaud.pouliquen@st.com; Milea,
Danut Gabriel (Danut) <Danut.Milea@windriver.commailto:Danut.Milea@windriver.com>; Shah, Tanmay
<tanmay.shah@amd.commailto:tanmay.shah@amd.com>
Subject: Re: [OA-syst-ref] Deadline reminder & calling for agenda: 2022-11-
23 OpenAMP System Reference
Notably missing from the list is the docker demo:
https://docs.google.com/document/d/1r2oOOOJo-https://docs.google.com/document/d/1r2oOOOJo-X1rgDitxRaDOVY5jTClLYW9zRFNM3_9IjE/edit?usp=sharing
X1rgDitxRaDOVY5jTClLYW9zRFNM3_9IjE/edit?usp=sharinghttps://docs.google.com/document/d/1r2oOOOJo-X1rgDitxRaDOVY5jTClLYW9zRFNM3_9IjE/edit?usp=sharing
Dan has given me content for his demo but it is not yet included.
I have not included Bruce's demo yet. I am waiting for feedback and to see
what the SySDT slides look like.
Tanmay gave me new firmware images which are in but:
split mode on R5_1 is failing. <<<
The docker image guides you through running Tanmay's demos on the
QEMU platform. Tanmay will also show the demos running on HW (KV260).
Providing instructions for KV260 is optional.
I will be working on Slides today and will take any feedback tomorrow (or
Thursday).
I will not be working at all on Thursday (US Thanksgiving) and will record my
video on Friday.
Bill
On 11/21/22 7:06 PM, Chan King Choy, Nathalie via Openamp-system-
reference wrote:
Hi all,
Here's a summary of what's been shared for review & what is still
outstanding (If I missed yours, please let us know where to find it):
* Arnaud slides: https://docs.google.com/presentation/d/1UYr-<https://docs.google.com/presentation/d/1UYr-ma0VLWNLx5N0IdPTqmFsNXjaBuSP/edit?usp=sharing&ouid=115082024101825014424&rtpof=true&sd=true%3chttps://urldefense.com/v3/__https:/docs.google.com/presentation/d/1UYr-ma0VLWNLx5N0IdPTqmFsNXjaBuSP/edit?usp=sharing&ouid=115082024101825014424&rtpof=true&sd=true__;!!AjveYdw8EvQ!ec1uPBAApJaeumwtRqNH0iPlseEb-mjhcHOOph1hlWRRDd77btElMbAjkdqGkqthvFxBDUl5JC-NxwmXdjYeLksaldoJfQEWb-Rg6fU8k-Q$>
ma0VLWNLx5N0IdPTqmFsNXjaBuSP/edit?usp=sharing&ouid=1150820241018https://docs.google.com/presentation/d/1UYr-ma0VLWNLx5N0IdPTqmFsNXjaBuSP/edit?usp=sharing&ouid=115082024101825014424&rtpof=true&sd=true%3chttps://urldefense.com/v3/__https:/docs.google.com/presentation/d/1UYr-ma0VLWNLx5N0IdPTqmFsNXjaBuSP/edit?usp=sharing&ouid=115082024101825014424&rtpof=true&sd=true__;!!AjveYdw8EvQ!ec1uPBAApJaeumwtRqNH0iPlseEb-mjhcHOOph1hlWRRDd77btElMbAjkdqGkqthvFxBDUl5JC-NxwmXdjYeLksaldoJfQEWb-Rg6fU8k-Q$
25014424&rtpof=true&sd=true<https://urldefense.com/v3/__https:/docs.ghttps://docs.google.com/presentation/d/1UYr-ma0VLWNLx5N0IdPTqmFsNXjaBuSP/edit?usp=sharing&ouid=115082024101825014424&rtpof=true&sd=true%3chttps://urldefense.com/v3/__https:/docs.google.com/presentation/d/1UYr-ma0VLWNLx5N0IdPTqmFsNXjaBuSP/edit?usp=sharing&ouid=115082024101825014424&rtpof=true&sd=true__;!!AjveYdw8EvQ!ec1uPBAApJaeumwtRqNH0iPlseEb-mjhcHOOph1hlWRRDd77btElMbAjkdqGkqthvFxBDUl5JC-NxwmXdjYeLksaldoJfQEWb-Rg6fU8k-Q$
ma0VLWNLx5N0IdPTqmFsNXjaBuSP/edit?usp=sharing&ouid=1150820241018https://docs.google.com/presentation/d/1UYr-ma0VLWNLx5N0IdPTqmFsNXjaBuSP/edit?usp=sharing&ouid=115082024101825014424&rtpof=true&sd=true%3chttps://urldefense.com/v3/__https:/docs.google.com/presentation/d/1UYr-ma0VLWNLx5N0IdPTqmFsNXjaBuSP/edit?usp=sharing&ouid=115082024101825014424&rtpof=true&sd=true__;!!AjveYdw8EvQ!ec1uPBAApJaeumwtRqNH0iPlseEb-mjhcHOOph1hlWRRDd77btElMbAjkdqGkqthvFxBDUl5JC-NxwmXdjYeLksaldoJfQEWb-Rg6fU8k-Q$
25014424&rtpof=true&sd=true__;!!AjveYdw8EvQ!ec1uPBAApJaeumwtRqNhttps://docs.google.com/presentation/d/1UYr-ma0VLWNLx5N0IdPTqmFsNXjaBuSP/edit?usp=sharing&ouid=115082024101825014424&rtpof=true&sd=true%3chttps://urldefense.com/v3/__https:/docs.google.com/presentation/d/1UYr-ma0VLWNLx5N0IdPTqmFsNXjaBuSP/edit?usp=sharing&ouid=115082024101825014424&rtpof=true&sd=true__;!!AjveYdw8EvQ!ec1uPBAApJaeumwtRqNH0iPlseEb-mjhcHOOph1hlWRRDd77btElMbAjkdqGkqthvFxBDUl5JC-NxwmXdjYeLksaldoJfQEWb-Rg6fU8k-Q$
H0iPlseEb-mjhcHOOph1hlWRRDd77btElMbAjkdqGkqthvFxBDUl5JC-https://docs.google.com/presentation/d/1UYr-ma0VLWNLx5N0IdPTqmFsNXjaBuSP/edit?usp=sharing&ouid=115082024101825014424&rtpof=true&sd=true%3chttps://urldefense.com/v3/__https:/docs.google.com/presentation/d/1UYr-ma0VLWNLx5N0IdPTqmFsNXjaBuSP/edit?usp=sharing&ouid=115082024101825014424&rtpof=true&sd=true__;!!AjveYdw8EvQ!ec1uPBAApJaeumwtRqNH0iPlseEb-mjhcHOOph1hlWRRDd77btElMbAjkdqGkqthvFxBDUl5JC-NxwmXdjYeLksaldoJfQEWb-Rg6fU8k-Q$
* @arnaud.pouliquen@st.com<mailto:arnaud.pouliquen@st.com>
demo steps in text form: ?
* Dan:
https://docs.google.com/presentation/d/143o6HnLJrZVEHtV4ZbFXV0Owd_rhttps://docs.google.com/presentation/d/143o6HnLJrZVEHtV4ZbFXV0Owd_rmCi5dI-nvhsDihMA/edit?usp=sharing
mCi5dI-nvhsDihMA/edit?usp=sharinghttps://docs.google.com/presentation/d/143o6HnLJrZVEHtV4ZbFXV0Owd_rmCi5dI-nvhsDihMA/edit?usp=sharing
* @Milea, Danut Gabriel (Danut)<mailto:Danut.Milea@windriver.com>
demo steps in text form: ?
* Tanmay:
https://docs.google.com/presentation/d/18wHAYv2gK65RtnnohiJAzPMCd5ohttps://docs.google.com/presentation/d/18wHAYv2gK65RtnnohiJAzPMCd5oHNNns/edit?usp=share_link&ouid=107187836473777768210&rtpof=true&sd=true
HNNns/edit?usp=share_link&ouid=107187836473777768210&rtpof=true&sdhttps://docs.google.com/presentation/d/18wHAYv2gK65RtnnohiJAzPMCd5oHNNns/edit?usp=share_link&ouid=107187836473777768210&rtpof=true&sd=true
* @Shah, Tanmay<mailto:tanmay.shah@amd.com> demo steps in text
form: ?
* Tomas slides:
https://docs.google.com/presentation/d/1Ti6bNhykb8R0DXIO5e9LYkmYf2ghttps://docs.google.com/presentation/d/1Ti6bNhykb8R0DXIO5e9LYkmYf2gMJ8YFlUnBYyMhmDg/edit#slide=id.p1
MJ8YFlUnBYyMhmDg/edit#slide=id.p1https://docs.google.com/presentation/d/1Ti6bNhykb8R0DXIO5e9LYkmYf2gMJ8YFlUnBYyMhmDg/edit#slide=id.p1
* Bruce demo steps: Clone the following (preview doesn't show
everything): https://gitlab.com/bruce-ashfield/lopper-openamp-demo
Upcoming deadlines:
* 22 November EOD: Give feedback on slides
* 28 Nov at 8am Pacific Time: Each presenter should record their
presentation & demo on their own & send to Nathalie. (see email "Self-
recording guidance for OpenAMP System Reference webinar")
* 29 Nov 10am Pacific Time: Nathalie will mock-up the combined video
so we know what needs discussion/re-do during 29 Nov recording session
Proposed agenda:
* Review demo steps
* Finalize how we want to incorporate key takeaways summary -> Due
11/28 or record 11/29?
* Individual updates
* Convergence
* Any other items?
Reminder to update your task status & add any missing tasks to the
tracking sheet before the call, so we can make the most of our time
together:
https://docs.google.com/spreadsheets/d/1SkQvq34NJBjJM56T6nm9fknJGThttps://docs.google.com/spreadsheets/d/1SkQvq34NJBjJM56T6nm9fknJGTHutf
Hutfhttps://docs.google.com/spreadsheets/d/1SkQvq34NJBjJM56T6nm9fknJGTHutf
V-LJd9oEKtiGs/edit?usp=sharing
Thanks & regards,
Nathalie
--
Openamp-system-reference mailing list --
openamp-system-reference@lists.openampproject.orgmailto:openamp-system-reference@lists.openampproject.org
To unsubscribe send an email to
openamp-system-reference-leave@lists.openampproject.orgmailto:openamp-system-reference-leave@lists.openampproject.org
--
Bill Mills
Principal Technical Consultant, Linaro
+1-240-643-0836
TZ: US Eastern
Work Schedule: Tues/Wed/Thur
--
Bill Mills
Principal Technical Consultant, Linaro
+1-240-643-0836
TZ: US Eastern
Work Schedule: Tues/Wed/Thur