Giter VIP home page Giter VIP logo

meta-ronga-udoo's Introduction

 _   _ ____   ___   ___    ____   ___    _    ____  ____
| | | |  _ \ / _ \ / _ \  | __ ) / _ \  / \  |  _ \|  _ \
| | | | | | | | | | | | | |  _ \| | | |/ _ \ | |_) | | | |
| |_| | |_| | |_| | |_| | | |_) | |_| / ___ \|  _ <| |_| |
 \___/|____/ \___/ \___/  |____/ \___/_/   \_\_| \_\____/

META Repository for UDOO Yocto support based on "Dora" Yocto branch

The main steps are:

  * install the 'repo' utility
  * download the Freescale Yocto BSP source
  * apply the meta-ronga-udoo layer and enable it
  * build your desired image


Install the `repo` utility:

$: mkdir ~/bin
$: curl http://commondatastorage.googleapis.com/git-repo-downloads/repo > ~/bin/repo
$: chmod a+x ~/bin/repo

Download the BSP source:

$: PATH=${PATH}:~/bin
$: mkdir fsl-community-bsp
$: cd fsl-community-bsp
$: repo init -u https://github.com/Freescale/fsl-community-bsp-platform -b dora
$: repo sync

Download the meta-ronga-udoo layer:

$: cd sources
$: git clone https://github.com/rongals/meta-ronga-udoo
$: cd ..

Prepare the environment for the build. If you have an UDOO Dual board,
run:

$: export MACHINE="udoo-dual"

If you have an UDOO Quad board, run:

$: export MACHINE="udoo-quad"

Then run:

$: source ./setup-environment build

Then enable the new layer by editing the file "build/conf/bblayers.conf" 
and change the section

  ${BSPDIR}/sources/meta-fsl-arm-extra \
  ${BSPDIR}/sources/meta-fsl-demos \

into 

  ${BSPDIR}/sources/meta-fsl-arm-extra \
  ${BSPDIR}/sources/meta-ronga-udoo \
  ${BSPDIR}/sources/meta-fsl-demos \


Once this has complete, you will have all you need. To start a build, do:

$: bitbake core-image-minimal

The deployed images are found (starting from the build directory) in:

 tmp/deploy/images/$MACHINE

You can directly burn your sdcard with:

$: dd if=core-image-minimal-${MACHINE}.sdcard of=/dev/yourSdCard bs=1M

---

A more complete image with Qt4 can be built using

$: MACHINE="udoo-quad" source ./setup-environment build
$: bitbake fsl-core-gui

(and grab 10-15 coffes)

meta-ronga-udoo's People

Contributors

rongals avatar acolwell avatar aryann avatar bachp avatar

Stargazers

Ünal Tenekeci avatar  avatar

Watchers

Gerd Flaig avatar Ken Robinson avatar James Cloos avatar  avatar

meta-ronga-udoo's Issues

Problem when building

Dear all,

I tried your files to build an image for UDOO.
I did everything as described and use an Ubuntu 14.04 system. Everything works fine until I come to the compilation of the UDOO kernel. There, I get this error:

DEBUG: Executing shell function do_compile
NOTE: make -j 1 uImage CC=arm-poky-linux-gnueabi-gcc  -mno-thumb-interwork -marm LD=arm-poky-linux-gnueabi-ld.bfd   LOADADDR=0x10008000
  CHK     include/linux/version.h
  CHK     include/generated/utsrelease.h
make[1]: `include/generated/mach-types.h' is up to date.
  CALL    scripts/checksyscalls.sh
  CHK     include/generated/compile.h
  GEN     .version
  CHK     include/generated/compile.h
  UPD     include/generated/compile.h
  CC      init/version.o
  LD      init/built-in.o
  LD      .tmp_vmlinux1
drivers/built-in.o: In function `start_preview':
:(.text+0x146e80): undefined reference to `foreground_sdc_select'
:(.text+0x146e98): undefined reference to `bg_overlay_sdc_select'
drivers/built-in.o: In function `stop_preview':
:(.text+0x146f10): undefined reference to `foreground_sdc_deselect'
:(.text+0x146f1c): undefined reference to `bg_overlay_sdc_deselect'
make: *** [.tmp_vmlinux1] Error 1
ERROR: oe_runmake failed
WARNING: exit code 1 from a shell command.
ERROR: Function failed: do_compile 

Any ideas? Do I need to do this under Ubuntu 12.04? Maybe you could turn me to the right direction.

Thanks for your help,
Chris

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.