build and enviroment questions

Brenden Lai Brenden_Lai at jabil.com
Tue Jan 22 17:34:48 AEDT 2019


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 at 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

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ozlabs.org/pipermail/openbmc/attachments/20190122/d382ccd4/attachment.html>


More information about the openbmc mailing list