Skip to contentSkip to conversation

RaspberryPi 2

DISCUSSION Edward Vidal 2 participants 2 messages Jul 20, 2015

lore
Share & tools
lore
#0 lore raw

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 [email protected]
915-595-1613

#1 lore raw

Review line 39

Quoted 11 lines · Edward Vidal

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

(quoted diff) +3 -1
@@ -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.

Quoted 4 lines
(quoted diff) +1 -0
+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.

Quoted 17 lines

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 [email protected]
915-595-1613