[yocto] RaspberryPi 2

Gary Thomas gary at mlbassoc.com
Mon Jul 20 08:14:19 PDT 2015


On 2015-07-20 09:06, Edward Vidal wrote:
> Hello,
> It has been a while since I built any Yocto images.  I have been trying to learn Hardware Description Language HDL.
> I have a raspberry working with Debian.  I am using a couple of products from http://www.xess.com/  XESS XulA2-LX9, StickIt-MB which combines a Spartan 6 with a Raspberry Pi.  I
> have MyHDL (generates HDL & co-simulation) , Iverilog (co-simulator), GTKWAVE (viewing of FPGA signals), GNURadio, OpenCV (with 2 C920 cameras doing face detection), many Python
> libs (numpy, scipy, matplotlib) and git,  This makes a great development platform for FPGA work.
> I am following the instructions at http://www.cnx-software.com/2015/02/27/yocto-project-raspberry-pi-2-board-minimal-image/
>
>   I have modified the local.conf. bblayers.conf, and poky.conf files

When sending diffs, "unified diffs" using -u are much easier to read.

> diff local.conf.orig poky/raspberrypi2/conf/local.conf
> 37c37diff bblayers.conf.orig poky/raspberrypi2/conf/bblayers.conf
> 15a16
>>   /home/vidal/wkg/yocto/RaspberryPi2/poky/meta-raspberrypi \,39
> < MACHINE ??= "qemux86"
> ---
>> #MACHINE ??= "qemux86"
>> MACHINE ?= "raspberrypi2"
>> GPU_MEM = "16"
>
> diff poky.conf.orig poky/meta-yocto/conf/distro/poky.conf
> 74a75
>>             Ubuntu-12.04 \n \

There's really no need for this - it only removes a harmless warning.

>
> bitbake rpi-basic-image
>
> sudo apt-get install diffstat
> sudo apt-get install texinf
> cd wkg/
>
> tar xfz pi/SDL2-2.0.3.tar.gz
>
> cd SDL2-2.0.3/
>
> ./configure
>
> make
>
> sudo make install
>
> sudo ldconfig
>
> I continue to get the following error.
> bitbake rpi-basic-image
> ERROR:  OE-core's config sanity checker detected a potential misconfiguration.
>      Either fix the cause of this error or at your own risk disable the checker (see sanity.conf).
>      Following is the list of potential problems / advisories:
>
>      Please set a valid MACHINE in your local.conf or environment
> libsdl-native is set to be ASSUME_PROVIDED but sdl-config can't be found in PATH. Please either install it, or configure qemu not to require sdl.
>
> Summary: There was 1 ERROR message shown, returning a non-zero exit code.
> Any and all  help is appreciated.
> If you have any questions feel free to contact me.
> Regards.

Why not just install libsdl on your system?  On my Ubuntu boxes, I use:
   apt-get install libsdl1.2-dev

-- 
------------------------------------------------------------
Gary Thomas                 |  Consulting for the
MLB Associates              |    Embedded world
------------------------------------------------------------



More information about the yocto mailing list