All of lore.kernel.org
 help / color / mirror / Atom feed
* 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
* 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
* 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

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:06 RaspberryPi 2 Edward Vidal
2015-07-20 15:14 ` Gary Thomas
  -- strict thread matches above, loose matches on Subject: below --
2015-07-20 15:50 Edward Vidal
2015-07-20 16:00 ` Gary Thomas
2015-07-20 18:26 Edward Vidal
2015-07-20 19:39 ` Leonardo Sandoval

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.