* [libre-riscv-dev] [Bug 291] HDL Workflow and Coriolis2 chroot automated setup scripts
2020-04-21 21:42 [libre-riscv-dev] [Bug 291] New: HDL Workflow and Coriolis2 chroot automated setup scripts bugzilla-daemon
@ 2020-04-21 21:46 ` " bugzilla-daemon
2020-05-12 19:41 ` bugzilla-daemon
` (13 subsequent siblings)
14 siblings, 0 replies; 16+ messages in thread
From: bugzilla-daemon @ 2020-04-21 21:46 UTC (permalink / raw)
To: libre-riscv-dev
https://bugs.libre-soc.org/show_bug.cgi?id=291
--- Comment #1 from Cole Poirier <colepoirier@gmail.com> ---
Luke, should I amend section 6.6 of the HDL workflow to install
gcc-8-powerpc64-linux-gnu as you said this is what is available in debian/10?
The current instructions say to install gcc-9-powerpc64-linux-gnu but as you
said that's only available in debian/testing. Since you said that there should
be no need for compiling ppc code at this point, is this section meant to be a
part of a different workflow?
--
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
libre-riscv-dev mailing list
libre-riscv-dev@lists.libre-riscv.org
http://lists.libre-riscv.org/mailman/listinfo/libre-riscv-dev
^ permalink raw reply [flat|nested] 16+ messages in thread* [libre-riscv-dev] [Bug 291] HDL Workflow and Coriolis2 chroot automated setup scripts
2020-04-21 21:42 [libre-riscv-dev] [Bug 291] New: HDL Workflow and Coriolis2 chroot automated setup scripts bugzilla-daemon
2020-04-21 21:46 ` [libre-riscv-dev] [Bug 291] " bugzilla-daemon
@ 2020-05-12 19:41 ` bugzilla-daemon
2020-05-13 0:09 ` bugzilla-daemon
` (12 subsequent siblings)
14 siblings, 0 replies; 16+ messages in thread
From: bugzilla-daemon @ 2020-05-12 19:41 UTC (permalink / raw)
To: libre-riscv-dev
https://bugs.libre-soc.org/show_bug.cgi?id=291
--- Comment #2 from Cole Poirier <colepoirier@gmail.com> ---
Luke, I was able to get the script to work to the point of correctly installing
and configuring the coriolis chroot such that it would open the coriolis window
diplaying the chicken, which when clicked on a few times displayed the coriolis
layout window as on the HDL workflow wiki. Unfortunately my script no longer
reaches this point of successful completion, and I am now consistently getting
stuck at this error:
```
-- CORIOLIS_TOP is set to
/home/ace/coriolis-2.x/Linux.x86_64/Release.Shared/install
-- Components of CORIOLIS_DIR_SEARCH:
-- /home/ace/coriolis-2.x/Linux.x86_64/Release.Shared/install
-- Found CORIOLIS_PYTHON:
--
/home/ace/coriolis-2.x/Linux.x86_64/Release.Shared/install/lib64/libpycrlcore.so
-- Configuring done
-- Generating done
-- Build files have been written to:
/home/ace/coriolis-2.x/Linux.x86_64/Release.Shared/build/unittests
Make/Ninja command: ['make', '-j4', 'install']
Scanning dependencies of target unittests
[ 50%] Building CXX object src/CMakeFiles/unittests.dir/unittests.cpp.o
[100%] Linking CXX executable unittests
[100%] Built target unittests
Install the project...
-- Install configuration: "Release"
-- Installing:
/home/ace/coriolis-2.x/Linux.x86_64/Release.Shared/install/bin/unittests
-- Set runtime path of
"/home/ace/coriolis-2.x/Linux.x86_64/Release.Shared/install/bin/unittests" to
""
Traceback (most recent call last):
File "./cgt", line 23, in <module>
helpers.showPythonTrace( sys.argv[0], e )
NameError: name 'helpers' is not defined
```
--
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
libre-riscv-dev mailing list
libre-riscv-dev@lists.libre-riscv.org
http://lists.libre-riscv.org/mailman/listinfo/libre-riscv-dev
^ permalink raw reply [flat|nested] 16+ messages in thread* [libre-riscv-dev] [Bug 291] HDL Workflow and Coriolis2 chroot automated setup scripts
2020-04-21 21:42 [libre-riscv-dev] [Bug 291] New: HDL Workflow and Coriolis2 chroot automated setup scripts bugzilla-daemon
2020-04-21 21:46 ` [libre-riscv-dev] [Bug 291] " bugzilla-daemon
2020-05-12 19:41 ` bugzilla-daemon
@ 2020-05-13 0:09 ` bugzilla-daemon
2020-05-13 0:15 ` bugzilla-daemon
` (11 subsequent siblings)
14 siblings, 0 replies; 16+ messages in thread
From: bugzilla-daemon @ 2020-05-13 0:09 UTC (permalink / raw)
To: libre-riscv-dev
https://bugs.libre-soc.org/show_bug.cgi?id=291
--- Comment #3 from Luke Kenneth Casson Leighton <lkcl@lkcl.net> ---
(In reply to Cole Poirier from comment #2)
> Luke, I was able to get the script to work to the point of correctly
> installing and configuring the coriolis chroot such that it would open the
> coriolis window diplaying the chicken, which when clicked on a few times
> displayed the coriolis layout window as on the HDL workflow wiki.
> Unfortunately my script no longer reaches this point of successful
> completion, and I am now consistently getting stuck at this error:
ok so this "per se" is of no help as without knowing "which script"
there is no way to know what it is doing. until we know where that
script is, and can examine it (and run it) there's not a lot that can
be done.
--
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
libre-riscv-dev mailing list
libre-riscv-dev@lists.libre-riscv.org
http://lists.libre-riscv.org/mailman/listinfo/libre-riscv-dev
^ permalink raw reply [flat|nested] 16+ messages in thread* [libre-riscv-dev] [Bug 291] HDL Workflow and Coriolis2 chroot automated setup scripts
2020-04-21 21:42 [libre-riscv-dev] [Bug 291] New: HDL Workflow and Coriolis2 chroot automated setup scripts bugzilla-daemon
` (2 preceding siblings ...)
2020-05-13 0:09 ` bugzilla-daemon
@ 2020-05-13 0:15 ` bugzilla-daemon
2020-05-13 0:16 ` bugzilla-daemon
` (10 subsequent siblings)
14 siblings, 0 replies; 16+ messages in thread
From: bugzilla-daemon @ 2020-05-13 0:15 UTC (permalink / raw)
To: libre-riscv-dev
https://bugs.libre-soc.org/show_bug.cgi?id=291
--- Comment #4 from Cole Poirier <colepoirier@gmail.com> ---
(In reply to Luke Kenneth Casson Leighton from comment #3)
> (In reply to Cole Poirier from comment #2)
> ok so this "per se" is of no help as without knowing "which script"
> there is no way to know what it is doing. until we know where that
> script is, and can examine it (and run it) there's not a lot that can
> be done.
Oops, sorry, I forgot to link the script's git repo. This error occurs when
running the script 'coriolis2-chroot' after running the script
'install-apt-reqs' from this repo
https://git.libre-soc.org/?p=dev-env-setup.git;a=summary.
--
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
libre-riscv-dev mailing list
libre-riscv-dev@lists.libre-riscv.org
http://lists.libre-riscv.org/mailman/listinfo/libre-riscv-dev
^ permalink raw reply [flat|nested] 16+ messages in thread* [libre-riscv-dev] [Bug 291] HDL Workflow and Coriolis2 chroot automated setup scripts
2020-04-21 21:42 [libre-riscv-dev] [Bug 291] New: HDL Workflow and Coriolis2 chroot automated setup scripts bugzilla-daemon
` (3 preceding siblings ...)
2020-05-13 0:15 ` bugzilla-daemon
@ 2020-05-13 0:16 ` bugzilla-daemon
2020-05-13 1:19 ` bugzilla-daemon
` (9 subsequent siblings)
14 siblings, 0 replies; 16+ messages in thread
From: bugzilla-daemon @ 2020-05-13 0:16 UTC (permalink / raw)
To: libre-riscv-dev
https://bugs.libre-soc.org/show_bug.cgi?id=291
--- Comment #5 from Cole Poirier <colepoirier@gmail.com> ---
Note, theres a very high probability that I am making very silly bash scripting
mistakes because I'm new to this. So any help and corrections are greatly
appreciated :)
--
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
libre-riscv-dev mailing list
libre-riscv-dev@lists.libre-riscv.org
http://lists.libre-riscv.org/mailman/listinfo/libre-riscv-dev
^ permalink raw reply [flat|nested] 16+ messages in thread* [libre-riscv-dev] [Bug 291] HDL Workflow and Coriolis2 chroot automated setup scripts
2020-04-21 21:42 [libre-riscv-dev] [Bug 291] New: HDL Workflow and Coriolis2 chroot automated setup scripts bugzilla-daemon
` (4 preceding siblings ...)
2020-05-13 0:16 ` bugzilla-daemon
@ 2020-05-13 1:19 ` bugzilla-daemon
2020-05-13 2:00 ` bugzilla-daemon
` (8 subsequent siblings)
14 siblings, 0 replies; 16+ messages in thread
From: bugzilla-daemon @ 2020-05-13 1:19 UTC (permalink / raw)
To: libre-riscv-dev
https://bugs.libre-soc.org/show_bug.cgi?id=291
--- Comment #6 from Luke Kenneth Casson Leighton <lkcl@lkcl.net> ---
ok so there's nothing in there which says "picking a hard-coded git tag number"
so i suspect that it's as simple as jean-paul made a commit recently which
broke something.
--
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
libre-riscv-dev mailing list
libre-riscv-dev@lists.libre-riscv.org
http://lists.libre-riscv.org/mailman/listinfo/libre-riscv-dev
^ permalink raw reply [flat|nested] 16+ messages in thread* [libre-riscv-dev] [Bug 291] HDL Workflow and Coriolis2 chroot automated setup scripts
2020-04-21 21:42 [libre-riscv-dev] [Bug 291] New: HDL Workflow and Coriolis2 chroot automated setup scripts bugzilla-daemon
` (5 preceding siblings ...)
2020-05-13 1:19 ` bugzilla-daemon
@ 2020-05-13 2:00 ` bugzilla-daemon
2020-05-13 9:19 ` bugzilla-daemon
` (7 subsequent siblings)
14 siblings, 0 replies; 16+ messages in thread
From: bugzilla-daemon @ 2020-05-13 2:00 UTC (permalink / raw)
To: libre-riscv-dev
https://bugs.libre-soc.org/show_bug.cgi?id=291
--- Comment #7 from Cole Poirier <colepoirier@gmail.com> ---
(In reply to Luke Kenneth Casson Leighton from comment #6)
> ok so there's nothing in there which says "picking a hard-coded git tag
> number"
> so i suspect that it's as simple as jean-paul made a commit recently which
> broke something.
Ah, I'm realizing now that I really should have been using a hard-coded git tag
number. Can you share your known-working git tag number for coriolis2 so I can
continue working on the script tomorrow?
--
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
libre-riscv-dev mailing list
libre-riscv-dev@lists.libre-riscv.org
http://lists.libre-riscv.org/mailman/listinfo/libre-riscv-dev
^ permalink raw reply [flat|nested] 16+ messages in thread* [libre-riscv-dev] [Bug 291] HDL Workflow and Coriolis2 chroot automated setup scripts
2020-04-21 21:42 [libre-riscv-dev] [Bug 291] New: HDL Workflow and Coriolis2 chroot automated setup scripts bugzilla-daemon
` (6 preceding siblings ...)
2020-05-13 2:00 ` bugzilla-daemon
@ 2020-05-13 9:19 ` bugzilla-daemon
2020-05-13 17:58 ` bugzilla-daemon
` (6 subsequent siblings)
14 siblings, 0 replies; 16+ messages in thread
From: bugzilla-daemon @ 2020-05-13 9:19 UTC (permalink / raw)
To: libre-riscv-dev
https://bugs.libre-soc.org/show_bug.cgi?id=291
--- Comment #8 from Luke Kenneth Casson Leighton <lkcl@lkcl.net> ---
(In reply to Cole Poirier from comment #7)
> (In reply to Luke Kenneth Casson Leighton from comment #6)
> > ok so there's nothing in there which says "picking a hard-coded git tag
> > number"
> > so i suspect that it's as simple as jean-paul made a commit recently which
> > broke something.
>
> Ah, I'm realizing now that I really should have been using a hard-coded git
> tag number.
ah - no, not exactly. keep it simple for now. the idea we came up with
is to have a new (single) repo with git submodules.
the git branch/tag info will be encoded into the submodules. this way,
the script remains the same.
> Can you share your known-working git tag number for coriolis2 so
> I can continue working on the script tomorrow?
wait for jean-paul to investigate:
https://gitlab.lip6.fr/vlsi-eda/coriolis/-/issues/13
--
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
libre-riscv-dev mailing list
libre-riscv-dev@lists.libre-riscv.org
http://lists.libre-riscv.org/mailman/listinfo/libre-riscv-dev
^ permalink raw reply [flat|nested] 16+ messages in thread* [libre-riscv-dev] [Bug 291] HDL Workflow and Coriolis2 chroot automated setup scripts
2020-04-21 21:42 [libre-riscv-dev] [Bug 291] New: HDL Workflow and Coriolis2 chroot automated setup scripts bugzilla-daemon
` (7 preceding siblings ...)
2020-05-13 9:19 ` bugzilla-daemon
@ 2020-05-13 17:58 ` bugzilla-daemon
2020-05-15 21:18 ` bugzilla-daemon
` (5 subsequent siblings)
14 siblings, 0 replies; 16+ messages in thread
From: bugzilla-daemon @ 2020-05-13 17:58 UTC (permalink / raw)
To: libre-riscv-dev
https://bugs.libre-soc.org/show_bug.cgi?id=291
--- Comment #9 from Cole Poirier <colepoirier@gmail.com> ---
(In reply to Luke Kenneth Casson Leighton from comment #8)
> (In reply to Cole Poirier from comment #7)
> > Ah, I'm realizing now that I really should have been using a hard-coded git
> > tag number.
>
> ah - no, not exactly. keep it simple for now. the idea we came up with
> is to have a new (single) repo with git submodules.
>
> the git branch/tag info will be encoded into the submodules. this way,
> the script remains the same.
>
> > Can you share your known-working git tag number for coriolis2 so
> > I can continue working on the script tomorrow?
>
> wait for jean-paul to investigate:
> https://gitlab.lip6.fr/vlsi-eda/coriolis/-/issues/13
Ok, thank you for the explanation, makes much more sense to me now. I will move
on to the non-chroot part of the HDL workflow for now.
--
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
libre-riscv-dev mailing list
libre-riscv-dev@lists.libre-riscv.org
http://lists.libre-riscv.org/mailman/listinfo/libre-riscv-dev
^ permalink raw reply [flat|nested] 16+ messages in thread* [libre-riscv-dev] [Bug 291] HDL Workflow and Coriolis2 chroot automated setup scripts
2020-04-21 21:42 [libre-riscv-dev] [Bug 291] New: HDL Workflow and Coriolis2 chroot automated setup scripts bugzilla-daemon
` (8 preceding siblings ...)
2020-05-13 17:58 ` bugzilla-daemon
@ 2020-05-15 21:18 ` bugzilla-daemon
2020-05-18 20:26 ` bugzilla-daemon
` (4 subsequent siblings)
14 siblings, 0 replies; 16+ messages in thread
From: bugzilla-daemon @ 2020-05-15 21:18 UTC (permalink / raw)
To: libre-riscv-dev
https://bugs.libre-soc.org/show_bug.cgi?id=291
Cole Poirier <colepoirier@gmail.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Assignee|lkcl@lkcl.net |colepoirier@gmail.com
--
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
libre-riscv-dev mailing list
libre-riscv-dev@lists.libre-riscv.org
http://lists.libre-riscv.org/mailman/listinfo/libre-riscv-dev
^ permalink raw reply [flat|nested] 16+ messages in thread* [libre-riscv-dev] [Bug 291] HDL Workflow and Coriolis2 chroot automated setup scripts
2020-04-21 21:42 [libre-riscv-dev] [Bug 291] New: HDL Workflow and Coriolis2 chroot automated setup scripts bugzilla-daemon
` (9 preceding siblings ...)
2020-05-15 21:18 ` bugzilla-daemon
@ 2020-05-18 20:26 ` bugzilla-daemon
2020-05-18 20:30 ` bugzilla-daemon
` (3 subsequent siblings)
14 siblings, 0 replies; 16+ messages in thread
From: bugzilla-daemon @ 2020-05-18 20:26 UTC (permalink / raw)
To: libre-riscv-dev
https://bugs.libre-soc.org/show_bug.cgi?id=291
Jean-Paul.Chaput@lip6.fr changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |Jean-Paul.Chaput@lip6.fr
--- Comment #10 from Jean-Paul.Chaput@lip6.fr ---
Created attachment 56
--> https://bugs.libre-soc.org/attachment.cgi?id=56&action=edit
Take a correct snaphost of the Coriolis environment in ~/coriolisenv
--
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
libre-riscv-dev mailing list
libre-riscv-dev@lists.libre-riscv.org
http://lists.libre-riscv.org/mailman/listinfo/libre-riscv-dev
^ permalink raw reply [flat|nested] 16+ messages in thread* [libre-riscv-dev] [Bug 291] HDL Workflow and Coriolis2 chroot automated setup scripts
2020-04-21 21:42 [libre-riscv-dev] [Bug 291] New: HDL Workflow and Coriolis2 chroot automated setup scripts bugzilla-daemon
` (10 preceding siblings ...)
2020-05-18 20:26 ` bugzilla-daemon
@ 2020-05-18 20:30 ` bugzilla-daemon
2020-05-18 20:37 ` bugzilla-daemon
` (2 subsequent siblings)
14 siblings, 0 replies; 16+ messages in thread
From: bugzilla-daemon @ 2020-05-18 20:30 UTC (permalink / raw)
To: libre-riscv-dev
https://bugs.libre-soc.org/show_bug.cgi?id=291
--- Comment #11 from Jean-Paul.Chaput@lip6.fr ---
I did miss to attach this to the previous attachement.
My guess for the problem, is that the Coriolis environment was badly set, hence
the helpers import failure. The patch contains a correction. I was not able to
check it in the exact same conditions as the script assumes that the host OS is
already a Debian like.
--
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
libre-riscv-dev mailing list
libre-riscv-dev@lists.libre-riscv.org
http://lists.libre-riscv.org/mailman/listinfo/libre-riscv-dev
^ permalink raw reply [flat|nested] 16+ messages in thread* [libre-riscv-dev] [Bug 291] HDL Workflow and Coriolis2 chroot automated setup scripts
2020-04-21 21:42 [libre-riscv-dev] [Bug 291] New: HDL Workflow and Coriolis2 chroot automated setup scripts bugzilla-daemon
` (11 preceding siblings ...)
2020-05-18 20:30 ` bugzilla-daemon
@ 2020-05-18 20:37 ` bugzilla-daemon
2020-05-18 21:02 ` bugzilla-daemon
2020-05-18 22:15 ` bugzilla-daemon
14 siblings, 0 replies; 16+ messages in thread
From: bugzilla-daemon @ 2020-05-18 20:37 UTC (permalink / raw)
To: libre-riscv-dev
https://bugs.libre-soc.org/show_bug.cgi?id=291
--- Comment #12 from Luke Kenneth Casson Leighton <lkcl@lkcl.net> ---
(In reply to Jean-Paul.Chaput from comment #11)
> I did miss to attach this to the previous attachement.
>
> My guess for the problem, is that the Coriolis environment was badly set,
> hence the helpers import failure. The patch contains a correction. I was not
> able to check it in the exact same conditions as the script assumes that the
> host OS is already a Debian like.
thank you jean-paul.
--
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
libre-riscv-dev mailing list
libre-riscv-dev@lists.libre-riscv.org
http://lists.libre-riscv.org/mailman/listinfo/libre-riscv-dev
^ permalink raw reply [flat|nested] 16+ messages in thread* [libre-riscv-dev] [Bug 291] HDL Workflow and Coriolis2 chroot automated setup scripts
2020-04-21 21:42 [libre-riscv-dev] [Bug 291] New: HDL Workflow and Coriolis2 chroot automated setup scripts bugzilla-daemon
` (12 preceding siblings ...)
2020-05-18 20:37 ` bugzilla-daemon
@ 2020-05-18 21:02 ` bugzilla-daemon
2020-05-18 22:15 ` bugzilla-daemon
14 siblings, 0 replies; 16+ messages in thread
From: bugzilla-daemon @ 2020-05-18 21:02 UTC (permalink / raw)
To: libre-riscv-dev
https://bugs.libre-soc.org/show_bug.cgi?id=291
--- Comment #13 from Cole Poirier <colepoirier@gmail.com> ---
(In reply to Jean-Paul.Chaput from comment #11)
> I did miss to attach this to the previous attachement.
>
> My guess for the problem, is that the Coriolis environment was badly set,
> hence the helpers import failure. The patch contains a correction. I was not
> able to check it in the exact same conditions as the script assumes that the
> host OS is already a Debian like.
Thank you very much Jean-Paul! I appreciate how busy you are, and how valuable
your time is.
--
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
libre-riscv-dev mailing list
libre-riscv-dev@lists.libre-riscv.org
http://lists.libre-riscv.org/mailman/listinfo/libre-riscv-dev
^ permalink raw reply [flat|nested] 16+ messages in thread* [libre-riscv-dev] [Bug 291] HDL Workflow and Coriolis2 chroot automated setup scripts
2020-04-21 21:42 [libre-riscv-dev] [Bug 291] New: HDL Workflow and Coriolis2 chroot automated setup scripts bugzilla-daemon
` (13 preceding siblings ...)
2020-05-18 21:02 ` bugzilla-daemon
@ 2020-05-18 22:15 ` bugzilla-daemon
14 siblings, 0 replies; 16+ messages in thread
From: bugzilla-daemon @ 2020-05-18 22:15 UTC (permalink / raw)
To: libre-riscv-dev
https://bugs.libre-soc.org/show_bug.cgi?id=291
--- Comment #14 from Cole Poirier <colepoirier@gmail.com> ---
I have applied Jean-Paul's patch, committed and pushed it, and am now
continuing testing of the script.
--
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
libre-riscv-dev mailing list
libre-riscv-dev@lists.libre-riscv.org
http://lists.libre-riscv.org/mailman/listinfo/libre-riscv-dev
^ permalink raw reply [flat|nested] 16+ messages in thread