All of lore.kernel.org
 help / color / mirror / Atom feed
From: Brenden Lai <Brenden_Lai@jabil.com>
To: "openbmc@lists.ozlabs.org" <openbmc@lists.ozlabs.org>
Subject: build and enviroment questions
Date: Tue, 22 Jan 2019 06:34:48 +0000	[thread overview]
Message-ID: <SN6PR02MB569357D7F6705F757F805F3796980@SN6PR02MB5693.namprd02.prod.outlook.com> (raw)

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

Hi all ,
I have couple questions about build code

Question 1 :
If  I follow the steps of GITHUB openbmc readme to build code , it always failed due to bitbake not found as below :
export TEMPLATECONF=meta-ibm/meta-palmetto/conf

./openbmc-env
brenden@brenden-VirtualBox:~/OCP/openbmc$ bitbake obmc-phosphor-image
WARNING:root:could not open file '/etc/apt/sources.list.d/nodesource.list'
bitbake: command not found

But after I try use :
source ./setup palmetto
Then the build process goes smoothly .What the difference between this two method ?

Question 2 :
The build configuration info MACHINE always show "zaius" , even if  build for palmetto and  romulus

Build Configuration:
BB_VERSION           = "1.40.0"
BUILD_SYS            = "x86_64-linux"
NATIVELSBSTRING      = "ubuntu-16.04"
TARGET_SYS           = "arm-openbmc-linux-gnueabi"
MACHINE              = "zaius"
DISTRO               = "openbmc-phosphor"
DISTRO_VERSION       = "0.1.0"
TUNE_FEATURES        = "arm armv6 thumb arm1176jzs"
TARGET_FPU           = "soft"
meta
meta-poky
meta-oe
meta-networking
meta-perl
meta-python
meta-webserver
meta-phosphor
meta-aspeed
meta-openpower
meta-ingrasys
meta-zaius           = "master:50ea7cc89521929e29d0836367fa8b06776ce4c2"

Here is my scripts:
For: romulus
source ./setup romulus
bitbake obmc-phosphor-imag
For
               source ./setup palmetto
bitbake obmc-phosphor-imag
Is it a normal behavior or my environment setting wrong ?


Question 3 :
I understand it long time for first build , due to it may install some prerequisite
But Why it still take so long time to build while the build target machine is different from previous build ?
I saw it take over 5000 task(see below ) just like first build , Does it make sense ?

Initialising tasks: 100% |#######################################| Time: 0:00:05
Sstate summary: Wanted 1476 Found 0 Missed 1476 Current 345 (0% match, 18% complete)
NOTE: Executing SetScene Tasks
NOTE: Executing RunQueue Tasks
Currently  1 running tasks (440 of 5152)   8% |##                              |

Thanks -Brenden





Brenden Lai
SR. BMC Design Engineer
E&I, Jabil Design Services


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

             reply	other threads:[~2019-01-22  6:34 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-01-22  6:34 Brenden Lai [this message]
2019-01-22 13:47 ` build and enviroment questions Andrew Geissler

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=SN6PR02MB569357D7F6705F757F805F3796980@SN6PR02MB5693.namprd02.prod.outlook.com \
    --to=brenden_lai@jabil.com \
    --cc=openbmc@lists.ozlabs.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.