[Libre-soc-dev] Update on Coriolis & LS180.

lkcl luke.leighton at gmail.com
Sat Apr 24 14:51:25 BST 2021


On Sat, Apr 24, 2021 at 2:22 PM Luke Kenneth Casson Leighton
<lkcl at lkcl.net> wrote:
> > > this is either symlinks missing or not running "make pinmux" first.
> >
> >   But this is the result of "make pinmux"  8-)
>
> that is extremely strange - it's a nonreproducible error, here.  as
> in: "make pinmux" always succeeds, in both:
> * experiments9
> * experiments9/freepdk-c4m45
>
> did you also remember, as it is in build_full.sh, the "git submodule
> update --init --remote"?

ah.
https://git.libre-soc.org/?p=soclayout.git;a=commitdiff;h=b9fb3a330b3900a23edef0319449f3344418a156

you're probably not updating the submodules, but have instead manually
checked out freepdk-c4m45 *outside* of the soclayout repository, at
the directory level *below* soclayout.

freepdk-c4m45 is already included in the submodules for soclayout:
https://git.libre-soc.org/?p=soclayout.git;a=blob;f=.gitmodules;hb=HEAD

   1 [submodule "pinmux"]
   2     path = pinmux
   3     url = https://git.libre-soc.org/git/pinmux.git
   4 [submodule "c4m-pdk-freepdk45"]
   5         path = c4m-pdk-freepdk45
   6         url = https://gitlab.com/Chips4Makers/c4m-pdk-freepdk45.git
   7         branch = released-libresoc

and you can see it cross-references the required branch.  so that you
do not have to perform a manual intervention step.

however to get those included you *must* run "git submodule update
--init --remote", which is why it is included in every one of the
"build_*.sh" scripts:
https://git.libre-soc.org/?p=soclayout.git;a=blob;f=experiments9/build_full.sh;hb=HEAD

l.



More information about the Libre-soc-dev mailing list