This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Issue of Building the OpenEmbedded Filesysytem from Source for Juno

Hi ,

 

I'm currently using a Juno r1 board and I'm running the Linaro's deliverables on my board. 

Recently I want to build the OpenEmbedded system by myself so I checked the instruction. However, after I finished the first 8 steps

$ mkdir openembedded
$ cd openembedded
$ export OE_HOME=`pwd`
$ git clone git://git.linaro.org/openembedded/jenkins-setup.git
$ cd $OE_HOME/jenkins-setup
$ git checkout release-YY.MM
$ cd $OE_HOME
$ sudo jenkins-setup/pre-build-root-install-dependencies.sh

I met errors for the command "$ jenkins-setup/init-and-build.sh"

simonwan@I-Love-Research:~/oe_build$ jenkins-setup/init-and-build.sh 

GCC version: 4.9
Target architecture: armv8
Manifest branch: master
Manifest URL: git://git.linaro.org/openembedded/manifest.git
Manifest groups: 
Init env: 
Verbose: 
Local download directory: 
Enable ptest: 0


real	0m0.002s
user	0m0.000s
sys	0m0.000s
jenkins-setup/functions.sh: line 337: cd: poky: No such file or directory
jenkins-setup/functions.sh: line 340: ./oe-init-build-env: No such file or directory
jenkins-setup/functions.sh: line 69: conf/bblayers.conf: No such file or directory
realpath: /home/simonwan/oe_build/../openembedded-core/meta: No such file or directory
jenkins-setup/functions.sh: line 106: conf/bblayers.conf: No such file or directory
jenkins-setup/functions.sh: line 120: conf/site.conf: No such file or directory
jenkins-setup/functions.sh: line 192: conf/site.conf: No such file or directory
sed: can't read conf/local.conf: No such file or directory
jenkins-setup/functions.sh: line 278: conf/local.conf: No such file or directory
jenkins-setup/init-and-build.sh: line 107: bitbake: command not found

Is there anything I missed for initiate the workspace?

 

Thank you.

Simon

Parents
  • Hi Mark,

    Thank you for the update about repo tool.

    I just ran the script successfully with the comande $ jenkins-setup/init-and-build.sh . However, once I switched back to the $OE_HOME, I cannot find any program named oe-init-build-env and I cannot execute the commands:

    $ cd ./bitbake/bin
    $ export PATH=`pwd`:$PATH

    My output of init-and-build.sh is:

    ### Shell environment set up for builds. ###
    
    You can now run 'bitbake <target>'
    
    Common targets are:
        core-image-minimal
        core-image-sato
        meta-toolchain
        meta-ide-support
    
    You can also run generated qemu images with a command like 'runqemu qemux86'
    Nothing to do.  Use 'bitbake world' to build everything, or run 'bitbake --help' for usage information.
    NOTE: Your conf/bblayers.conf has been automatically updated.
    NOTE: Your conf/bblayers.conf has been automatically updated.

     

    Right now my$OE_HOME directory only contains 8 folders:

    simonwan@I-Love-Research:~/oe_build$ ls
    build          meta-96boards  meta-linaro        meta-virtualization
    jenkins-setup  meta-browser   meta-openembedded  openembedded-core

    Do you think I still missed some component for building OE?

    Sorry for so many questions. I know for most case we don't need to build OE by ourselves while I'm currently conducting some research experiments about ARM TrustZone and I need to rebuild the normal OS with some functions for experiment evaluation.

     

    Bests,

    Simon

Reply
  • Hi Mark,

    Thank you for the update about repo tool.

    I just ran the script successfully with the comande $ jenkins-setup/init-and-build.sh . However, once I switched back to the $OE_HOME, I cannot find any program named oe-init-build-env and I cannot execute the commands:

    $ cd ./bitbake/bin
    $ export PATH=`pwd`:$PATH

    My output of init-and-build.sh is:

    ### Shell environment set up for builds. ###
    
    You can now run 'bitbake <target>'
    
    Common targets are:
        core-image-minimal
        core-image-sato
        meta-toolchain
        meta-ide-support
    
    You can also run generated qemu images with a command like 'runqemu qemux86'
    Nothing to do.  Use 'bitbake world' to build everything, or run 'bitbake --help' for usage information.
    NOTE: Your conf/bblayers.conf has been automatically updated.
    NOTE: Your conf/bblayers.conf has been automatically updated.

     

    Right now my$OE_HOME directory only contains 8 folders:

    simonwan@I-Love-Research:~/oe_build$ ls
    build          meta-96boards  meta-linaro        meta-virtualization
    jenkins-setup  meta-browser   meta-openembedded  openembedded-core

    Do you think I still missed some component for building OE?

    Sorry for so many questions. I know for most case we don't need to build OE by ourselves while I'm currently conducting some research experiments about ARM TrustZone and I need to rebuild the normal OS with some functions for experiment evaluation.

     

    Bests,

    Simon

Children