All of lore.kernel.org
 help / color / mirror / Atom feed
From: Bruce Ashfield <bruce.ashfield@gmail.com>
To: jmoreno@tierralunaengineering.com
Cc: meta-virtualization@lists.yoctoproject.org
Subject: Re: [meta-virtualization] Using Docker containers on Yocto with RISC-V architecture #meta-virtualization #yocto
Date: Thu, 29 Dec 2022 21:08:08 -0500	[thread overview]
Message-ID: <CADkTA4PQmSOCAL19eJbd-jWzEGcFE5YOyfsLk9qEHCZuNJ42KQ@mail.gmail.com> (raw)
In-Reply-To: <Sxe2.1672355426401088733.MABE@lists.yoctoproject.org>

[-- Attachment #1: Type: text/plain, Size: 2604 bytes --]

On Thu, Dec 29, 2022 at 6:10 PM <jmoreno@tierralunaengineering.com> wrote:

> Hello,
>
> I am using Yocto on a RISC-V board, Microchip PolarFire Icicle Kit:
> https://www.microsemi.com/existing-parts/parts/152514
> (Board's Yocto directory:
> https://github.com/polarfire-soc/meta-polarfire-soc-yocto-bsp)
>
> I would like to use docker containers with this OS and architecture.
> Seeking advice with "meta-virtualization", is this feasible?
>
> What I have done:
>
>    - I have added the "meta-virtualization" layer (pulled from git) and
>    added them to "bblayers.conf".
>
>
>    - In "local.conf", I added the line:
>       - IMAGE_INSTALL += "docker"
>    - After running bitbake, I get an error message:
>
> | NOTE: make -j 32 cross-local
> | [image: 🐳] cross-local
> | -linkshared not supported on linux/riscv64
> | make: *** [Makefile:85: cross-local] Error 1
> | ERROR: oe_runmake failed
> | WARNING: exit code 1 from a shell command.
> ERROR: Task (/home/ubuntu/work/yocto/yocto-dev/meta-virtualization/
> recipes-containers/docker/docker-ce_git.bb:do_compile) failed with exit
> code '1'
>
>
riscv isn't an architecture that is built or tested with meta-virt, so
while it might be feasible, I don't even know what work would be required
to get all the components building for the architecture.

Clearly the flags we are using in the recipe don't work for riscv (or
perhaps they are being added by the docker Makefiles themselves .. I'm not
on my typical setup so I can't check), so that's the first thing to
investigate and then work through the issues.

Patches to fix the build for the architecture would be accepted, but
there's no one that I know of who's currently working on support.

Bruce




> Thanks,
>
> Jonathan
>
> -=-=-=-=-=-=-=-=-=-=-=-
> Links: You receive all messages sent to this group.
> View/Reply Online (#7782):
> https://lists.yoctoproject.org/g/meta-virtualization/message/7782
> Mute This Topic: https://lists.yoctoproject.org/mt/95945792/1050810
> Mute #meta-virtualization:
> https://lists.yoctoproject.org/g/meta-virtualization/mutehashtag/meta-virtualization
> Mute #yocto:
> https://lists.yoctoproject.org/g/meta-virtualization/mutehashtag/yocto
> Group Owner: meta-virtualization+owner@lists.yoctoproject.org
> Unsubscribe: https://lists.yoctoproject.org/g/meta-virtualization/unsub [
> bruce.ashfield@gmail.com]
> -=-=-=-=-=-=-=-=-=-=-=-
>
>

-- 
- Thou shalt not follow the NULL pointer, for chaos and madness await thee
at its end
- "Use the force Harry" - Gandalf, Star Trek II

[-- Attachment #2: Type: text/html, Size: 7862 bytes --]

  reply	other threads:[~2022-12-30  2:08 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-12-29 23:10 Using Docker containers on Yocto with RISC-V architecture #meta-virtualization #yocto jmoreno
2022-12-30  2:08 ` Bruce Ashfield [this message]
2022-12-30 12:00 ` [meta-virtualization] " Jose Quaresma
2022-12-31  1:31   ` jmoreno
2022-12-31  1:50     ` jmoreno
2023-01-04  7:44       ` [meta-virtualization] " Joakim Roubert

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=CADkTA4PQmSOCAL19eJbd-jWzEGcFE5YOyfsLk9qEHCZuNJ42KQ@mail.gmail.com \
    --to=bruce.ashfield@gmail.com \
    --cc=jmoreno@tierralunaengineering.com \
    --cc=meta-virtualization@lists.yoctoproject.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.