($INBOX_DIR/description missing)
 help / color / mirror / Atom feed
From: dhanyalakshmi.k@priyarajaelectronics.com
To: yocto@lists.yoctoproject.org
Subject: Toaster for building an image from custom layer other than poky
Date: Sat, 04 May 2024 02:26:05 -0700	[thread overview]
Message-ID: <Hga1.1714814765426668305.KJVN@lists.yoctoproject.org> (raw)

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

Hello,
I'm working on yocto project, so i have to build an image for my layerscape nxp card i.e., ls1012afrwy using toaster web interface. So to begin with toaster i tried to build an image "core-image-minimal" from poky directory that works fine.Then i tried to build an image "ls-image-main" from my custom directory i'm getting an error stating as below:
command: git fetch && git reset --hard "origin/N/A" 
b"fatal: ambiguous argument 'origin/N/A': unknown revision or path not in the working tree.\nUse '--' to separate paths from revisions, like this:\n'git <command> [<revision>...] -- [<file>...]'\n"
The steps i followed to build an image and setting up of toaster is:

$ sudo apt install gawk wget git diffstat unzip texinfo gcc build-essential chrpath socat cpio python3 python3-pip python3-pexpect xz-utils debianutils iputils-ping python3-git python3-jinja2 libegl1-mesa libsdl1.2-dev python3-subunit mesa-common-dev zstd liblz4-tool file locales

$ sudo locale-gen en_US.UTF-8

$ mkdir distro
$ cd distro
$ repo init -u https://github.com/nxp-qoriq/yocto-sdk.git -b mickledore -m ls-6.1.55-2.2.0_distro.xml
$ repo sync

$ source  distro-setup-env -m ls1012afrwy
$ bitbake ls-image-main

Above steps are for creating a distro for my layerscape card.

I followed toaster user manual for setting up of toaster.

Then in toaster UI:
I clicked on create new project and in release option i have used local yocto release.
in machine = ls1012afrwydistro
distro = fsl-qoriq-distro

and imported meta-nxp-desktop and meta-freescale from local system.
Then tried building an image and i got the error as above.

Can anyone who knows how we can utilize the toaster ui to build an image from our own custom layers other than poky please do guide me.

Waiting for the reply.
Thank You.

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

                 reply	other threads:[~2024-05-04 10:55 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=Hga1.1714814765426668305.KJVN@lists.yoctoproject.org \
    --to=dhanyalakshmi.k@priyarajaelectronics.com \
    --cc=yocto@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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).