[libre-riscv-dev] [Bug 178] first coriolis2 tutorial, workflow and "test project" page
Cole Poirier
colepoirier at gmail.com
Mon Feb 24 04:43:56 GMT 2020
Apologies, I believe I incorrectly replied to the bug,
not the mailing list.
Complete novice attempts to setup up coriolis2… part 2 ;)
I understand that attempting to set up the dev environment
in a vm (have installed debain on my desktop pc today, will
continue my efforts there as soon as I can) is asking for
trouble, but in my efforts I do think I have generated some
useful insights into making the process smoother for newbies
like my self. This is just from the first part, which is as
far as I have been able to progress in the tutorial.
```
Then run these commands:
sudo bash
apt-get install debootstrap schroot
mkdir /opt/chroot/coriolis
/usr/sbin/debootstrap stretch !$ http://ftp.us.debian.org/debian
mount /home/chroot/coriolis/dev
mount /home/chroot/coriolis/dev/pts
mount /home/chroot/coriolis/proc
mount /home/chroot/coriolis/sys
mount /home/chroot/coriolis/tmp
echo "coriolis2" > /home/chroot/coriolis/etc/debian_chroot
To do some preparation (users):
chroot /home/chroot/coriolis2 /bin/bash
adduser {yourpreferredusername}
```
In order to get this to work I have had to modify it slightly
(these are relatively trivial things, but make it smoother for
a total novice like myself).
```
Then run these commands:
sudo bash
apt-get install debootstrap schroot
+ mkdir -p /opt/chroot/coriolis
- mkdir /opt/chroot/coriolis
/usr/sbin/debootstrap stretch !$ http://ftp.us.debian.org/debian
+ mkdir -p /home/chroot/coriolis/dev
+ mkdir -p /home/chroot/coriolis/dev/pts
+ mkdir -p /home/chroot/coriolis/proc
+ mkdir -p /home/chroot/coriolis/sys
+ mkdir -p /home/chroot/coriolis/tmp
mount /home/chroot/coriolis/dev
mount /home/chroot/coriolis/dev/pts
mount /home/chroot/coriolis/proc
mount /home/chroot/coriolis/sys
mount /home/chroot/coriolis/tmp
+ mkdir -p /home/chroot/coriolis/etc/
+ touch /home/chroot/coriolis/etc/debian_chroot
echo "coriolis2" > /home/chroot/coriolis/etc/debian_chroot
To do some preparation (users):
chroot /home/chroot/coriolis2 /bin/bash
^^upon executing the above command I get the error:
“file does not exist: /bin/bash"
```
I have spend at least a dozen hours bashing my head against
the wall trying to do this in a vm, and I hope I will have
much greater success on my newly installed desktop debian
pc. At least I was able to gain these relatively meagre
insights in the process.
Cole
> On Feb 23, 2020, at 11:24 AM, bugzilla-daemon at libre-riscv.org wrote:
>
> http://bugs.libre-riscv.org/show_bug.cgi?id=178
>
> --- Comment #84 from Jean-Paul.Chaput at lip6.fr ---
> (In reply to Jacob Lifshay from comment #83)
>> (In reply to Staf Verhaegen from comment #82)
>>>> unfortunately as we will be looking at around maybe 30 mm^2 last time we
>>>> calculated it, if you remember? if we have appx 25000 gates per mm^2 in
>>>> 180nm we are at around 500,000 gates.
>>>>
>>>> we simply cannot do a design that large with full flattening.
>>>>
>>>> hence the multi stage approach.
>>>
>>> Why not ? It's common approach for P&R. Contrary to functions in software
>>> source code you don't gain anything by not flattening modules. You only
>>> block possible optimizations.
>
> Set asides that I don't like the full flatten approach, the placer
> and P&R of Coriolis have never been tested with so big designs
> (because there wasn't any until very recenlty). So, to play it
> safe, it is best if there is at least a "plan B" with a design
> broken down in sub-units.
>
> --
> You are receiving this mail because:
> You are on the CC list for the bug.
> _______________________________________________
> libre-riscv-dev mailing list
> libre-riscv-dev at lists.libre-riscv.org
> http://lists.libre-riscv.org/mailman/listinfo/libre-riscv-dev
More information about the libre-riscv-dev
mailing list