RaspberryPi 2
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 filesdiff local.conf.orig poky/raspberrypi2/conf/local.conf
37c37diff bblayers.conf.orig poky/raspberrypi2/conf/bblayers.conf
15a16
Quoted 1 line
/home/vidal/wkg/yocto/RaspberryPi2/poky/meta-raspberrypi\,39
< MACHINE ??= "qemux86"
---
Quoted 3 lines
#MACHINE ??= "qemux86"
MACHINE ?= "raspberrypi2"GPU_MEM= "16"
diff poky.conf.orig poky/meta-yocto/conf/distro/poky.conf 74a75
Quoted 1 line
Ubuntu-12.04 \n \
bitbake rpi-basic-image
sudo apt-get installdiffstatsudo apt-get installtexinf cd wkg/
tar xfzpi/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.
Edward Vidal Jr.
e-mail [email protected]
915-595-1613
Quoted 8 lines · Edward Vidal
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.
Quoted 4 lines
diff local.conf.orig
poky/raspberrypi2/conf/local.conf37c37diff bblayers.conf.origpoky/raspberrypi2/conf/bblayers.conf15a16Quoted 1 line
/home/vidal/wkg/yocto/RaspberryPi2/poky/meta-raspberrypi\,39
Quoted 9 lines
< MACHINE ??= "qemux86"
---Quoted 3 lines
#MACHINE ??= "qemux86"
MACHINE ?= "raspberrypi2"GPU_MEM= "16"diff poky.conf.orig
poky/meta-yocto/conf/distro/poky.conf74a75Quoted 1 line
Ubuntu-12.04 \n \
There's really no need for this - it only removes a harmless warning.
Quoted 25 lines
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:
Quoted 7 lines
Please set a valid MACHINE in your local.conf or environment
libsdl-native is set to beASSUME_PROVIDEDbut 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
Signature · 4 lines
------------------------------------------------------------ Gary Thomas | Consulting for the MLB Associates | Embedded world ------------------------------------------------------------