On Mon, Feb 14, 2022 at 1:29 AM Josef Holzmayr <[email protected]> wrote:
> Howdy! > > On 13. Feb 2022, at 19:04, Alexander Kanavin <[email protected]> > wrote: > > Even if you do manage to start a build, performance won't be great. > Yocto, by design, builds the entire stack from source, so a lot of CPU > cores is essential. Don't spend your time waiting, get an > appropriately specced Linux workstation, or an account on a Linux > server that your organization might have for the purpose. > > > While that is perfectly true from the pure technical facts, I have to add > that building in Parallels on a M1 is ok-ish. You have to crank up the VM > way beyond the defaults, to something like 6-8core, 16+X GB RAM, but then > it’s bearable for the occasional user. When you can’t get your hands on a > proper environment, its certainly an option. > > Greetz > I agree that a powerful Linux workstation will really help but right nowI do not have access to any of it. I Will try to check if I can get one, but in the meantime I would like to start on my Mac so that I can continue my learning. Thanks, Abhijeet > > > Alex > > On Sun, 13 Feb 2022 at 15:56, Abhijeet Tripathi > <[email protected]> wrote: > > > > On Sun, Feb 13, 2022 at 7:09 PM Anders Montonen <[email protected]> > wrote: > > > Hi, > > On 13 Feb 2022, at 14:24, Abhijeet Tripathi < > [email protected]> wrote: > > Hello yocto-devs, > > I'm new to the yocto project and trying to set up a build environment on > my M1 Mac which is arm64 architecture. > > I'm following the steps as mentioned in below link: > https://github.com/crops/docker-win-mac-docs/wiki/Mac-Instructions > > But it is always pulling up containers based on amd64 architecture. Are > there any updated steps/link to set up a build environment specific to M1 > Mac(arm64)? > > > Looking at Docker Hub, none of the published Crops containers are built > for ARM64. You can try building the containers yourself, making sure to > pick base distros that are available for ARM64. > > Note that there are plenty of reports of Docker performing poorly on Macs, > probably because of the file system implementation. You may be better off > using a full VM via e.g. UTM. > > > > I initially started with UTM but the problem with virtual machines is that > we can only use half the resources of the machine. > This makes the builds slower, so I was looking at the container way. > > Can you point me to any documentation which I can use to build customized > containers for yocto builds? > > Thanks, > Abhijeet > > > > -a > > > > > > > > > > >
-=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#56184): https://lists.yoctoproject.org/g/yocto/message/56184 Mute This Topic: https://lists.yoctoproject.org/mt/89112092/21656 Group Owner: [email protected] Unsubscribe: https://lists.yoctoproject.org/g/yocto/unsub [[email protected]] -=-=-=-=-=-=-=-=-=-=-=-
