* RaspberryPi 2
@ 2015-07-20 15:06 Edward Vidal
2015-07-20 15:14 ` Gary Thomas
0 siblings, 1 reply; 6+ messages in thread
From: Edward Vidal @ 2015-07-20 15:06 UTC (permalink / raw)
To: yocto@yoctoproject.org
[-- Attachment #1: Type: text/plain, Size: 2152 bytes --]
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
> /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 \
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 develone@sbcglobal.net
915-595-1613
[-- Attachment #2: Type: text/html, Size: 5019 bytes --]
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: RaspberryPi 2
2015-07-20 15:06 Edward Vidal
@ 2015-07-20 15:14 ` Gary Thomas
0 siblings, 0 replies; 6+ messages in thread
From: Gary Thomas @ 2015-07-20 15:14 UTC (permalink / raw)
To: yocto
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
------------------------------------------------------------
^ permalink raw reply [flat|nested] 6+ messages in thread
* RaspberryPi 2
@ 2015-07-20 15:50 Edward Vidal
2015-07-20 16:00 ` Gary Thomas
0 siblings, 1 reply; 6+ messages in thread
From: Edward Vidal @ 2015-07-20 15:50 UTC (permalink / raw)
To: yocto@yoctoproject.org
[-- Attachment #1: Type: text/plain, Size: 698 bytes --]
Hi all,Gary Thomas recommended installing apt-get install libsdl1.2. which helped withThe libsdl-native error. Is MACHINE ??= "raspberrypi2" a valid machine.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
Summary: There was 1 ERROR message shown, returning a non-zero exit code. As always any and all help is appreciated.Thanks
Edward Vidal Jr.
e-mail develone@sbcglobal.net
915-595-1613
[-- Attachment #2: Type: text/html, Size: 1383 bytes --]
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: RaspberryPi 2
2015-07-20 15:50 RaspberryPi 2 Edward Vidal
@ 2015-07-20 16:00 ` Gary Thomas
0 siblings, 0 replies; 6+ messages in thread
From: Gary Thomas @ 2015-07-20 16:00 UTC (permalink / raw)
To: yocto
On 2015-07-20 09:50, Edward Vidal wrote:
> Hi all,
> Gary Thomas recommended installing apt-get install libsdl1.2. which helped with
> The libsdl-native error. Is MACHINE ??= "raspberrypi2" a valid machine.
Yes, I use it all the time. Make the assignment immediate/firm though:
MACHINE = "raspberrypi2"
> 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
>
>
> Summary: There was 1 ERROR message shown, returning a non-zero exit code.
> As always any and all help is appreciated.
> Thanks
--
------------------------------------------------------------
Gary Thomas | Consulting for the
MLB Associates | Embedded world
------------------------------------------------------------
^ permalink raw reply [flat|nested] 6+ messages in thread
* RaspberryPi 2
@ 2015-07-20 18:26 Edward Vidal
2015-07-20 19:39 ` Leonardo Sandoval
0 siblings, 1 reply; 6+ messages in thread
From: Edward Vidal @ 2015-07-20 18:26 UTC (permalink / raw)
To: yocto@yoctoproject.org
[-- Attachment #1: Type: text/plain, Size: 1192 bytes --]
Hi all,
I made the following changes in local.conf--- ../../local.conf.orig 2015-07-20 07:01:42.835320506 -0600
+++ conf/local.conf 2015-07-20 10:50:00.129187741 -0600
@@ -34,7 +34,10 @@
#MACHINE ?= "edgerouter"
#
# This sets the default machine to be qemux86 if no other machine is selected:
-MACHINE ??= "qemux86"
+#MACHINE ??= "qemux86"
+MACHINE = "raspberrypi2"
+MACHINE ??= "raspberrypi2"
+GPU_MEM = "16"
I did not understand the comment by Gary ThomasYes, I use it all the time. Make the assignment immediate/firm though:
MACHINE = "raspberrypi2"
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
Summary: There was 1 ERROR message shown, returning a non-zero exit code.
I also tried setting the MACHINE variable with the same results.Any and all help is appreciated.
Edward Vidal Jr.
e-mail develone@sbcglobal.net
915-595-1613
[-- Attachment #2: Type: text/html, Size: 2396 bytes --]
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: RaspberryPi 2
2015-07-20 18:26 Edward Vidal
@ 2015-07-20 19:39 ` Leonardo Sandoval
0 siblings, 0 replies; 6+ messages in thread
From: Leonardo Sandoval @ 2015-07-20 19:39 UTC (permalink / raw)
To: yocto
On 07/20/2015 01:26 PM, Edward Vidal wrote:
> Hi all,
> I made the following changes in local.conf--- ../../local.conf.orig 2015-07-20 07:01:42.835320506 -0600
> +++ conf/local.conf 2015-07-20 10:50:00.129187741 -0600
> @@ -34,7 +34,10 @@
> #MACHINE ?= "edgerouter"
> #
> # This sets the default machine to be qemux86 if no other machine is selected:
> -MACHINE ??= "qemux86"
> +#MACHINE ??= "qemux86"
> +MACHINE = "raspberrypi2"
> +MACHINE ??= "raspberrypi2"
no need to include de ??= once the = is set, but what you have is ok.
> +GPU_MEM = "16"
>
> I did not understand the comment by Gary ThomasYes, I use it all the time. Make the assignment immediate/firm though:
> MACHINE = "raspberrypi2"
The layer containing that machine, is it on your BBLAYERS? check the
conf/bblayers.conf for this.
>
> 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
>
>
> Summary: There was 1 ERROR message shown, returning a non-zero exit code.
> I also tried setting the MACHINE variable with the same results.Any and all help is appreciated.
> Edward Vidal Jr.
> e-mail develone@sbcglobal.net
> 915-595-1613
>
>
>
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2015-07-20 19:39 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-07-20 15:50 RaspberryPi 2 Edward Vidal
2015-07-20 16:00 ` Gary Thomas
-- strict thread matches above, loose matches on Subject: below --
2015-07-20 18:26 Edward Vidal
2015-07-20 19:39 ` Leonardo Sandoval
2015-07-20 15:06 Edward Vidal
2015-07-20 15:14 ` Gary Thomas
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.