Specified SDKMACHINE value is not valid
NEWBIE question!
I tried building and I get: "_Specified SDKMACHINE value is not valid_"
pi@raspberrypi ~/p/build> bitbake core-image-minimal/usr/lib/python3/dist-packages/html5lib/_trie/_base.py:3: DeprecationWarning: Using or importing the ABCs from 'collections' instead of from 'collections.abc' is deprecated, and in 3.8 it will stop working
from collections import Mapping
WARNING: Host distribution "raspbian-10" has not been validated with this version of the build system; you may possibly experience unexpected failures. It is recommended that you use a tested distribution.
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:
Specified SDKMACHINE value is not valid
Summary: There was 1 WARNING message shown.
Summary: There was 1 ERROR message shown, returning a non-zero exit code. I've tried setting SDKMACHINE to 'arm' and 'qemuarm' but get the same message?
Obviously I failed to do something (properly)?
Ideas?
As per https://docs.yoctoproject.org/ref-manual/variables.html#term-SDKMACHINE
the value isn't a target MACHINE, but a name that is present in conf/machine-sdk:
https://git.openembedded.org/openembedded-core/tree/meta/conf/machine-sdk
If you want to build a SDK to run on an arm host, you most likely want aarch64. A 32-bit Arm SDK hasn't been tested, but writing a new configuration file for that shouldn't be that difficult.
Ross
Quoted 33 lines · jchludzinski via lists.yoctoproject.org
NEWBIE question!
I tried building and I get: "Specified SDKMACHINE value is not valid"
pi@raspberrypi ~/p/build> bitbake core-image-minimal
/usr/lib/python3/dist-packages/html5lib/_trie/_base.py:3: DeprecationWarning: Using or importing the ABCs from 'collections' instead of from 'collections.abc' is deprecated, and in 3.8 it will stop working
from collections import Mapping
WARNING: Host distribution "raspbian-10" has not been validated with this version of the build system; you may possibly experience unexpected failures. It is recommended that you use a tested distribution.
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:Specified SDKMACHINE value is not valid
Summary: There was 1 WARNING message shown.
Summary: There was 1 ERROR message shown, returning a non-zero exit code.I've tried setting SDKMACHINE to 'arm' and 'qemuarm' but get the same message?
Obviously I failed to do something (properly)?
Ideas?
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#55199): https://lists.yoctoproject.org/g/yocto/message/55199
Mute This Topic: https://lists.yoctoproject.org/mt/86733811/1676615
Group Owner: [email protected]
Unsubscribe: https://lists.yoctoproject.org/g/yocto/unsub [[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-
A message that is not in the archive (sent off-list or not yet received): CAEt6NwrQjy1fwr-7p+LeXn+rR_TmWS8Zz_EzTi80nvLE_x_xBQ@mail.gmail.com
A message that is not in the archive (sent off-list or not yet received): [email protected]
(re-adding list as I messed up)
Am Mo., 1. Nov. 2021 um 21:45 Uhr schrieb jchludzinski <[email protected]>:
Quoted 2 lines
I want to build this image for a Raspberry Pi, which means ARM.
MACHINE = "raspberrypi3"
(for example, pick your specific one like
http://git.yoctoproject.org/cgit/cgit.cgi/meta-raspberrypi/tree/conf/machine
)
Quoted 3 lines
Is that not possible?
That can't be true!
Building the SDK for an architecture other than x86 is not supported at the moment. But again, this is about the SDK. And you probably just want to build the image, where the standard procedures apply. Add the BSP layer, set MACHINE.
Quoted 58 lines
---John
Quoted 54 lines · Josef Holzmayr
jchludzinski via lists.yoctoproject.org [1] <[email protected]> schrieb am Mo., 1. Nov. 2021, 07:27:
Quoted 21 lines
NEWBIE question!
I tried building and I get: "
_SpecifiedSDKMACHINE value is notvalid_"pi@raspberrypi ~/p/build> bitbake core-image-minimal
/usr/lib/python3/dist-packages/html5lib/_trie/_base.py:3:
DeprecationWarning: Using or importing the ABCs from 'collections' instead of from 'collections.abc' is deprecated, and in 3.8 it will stop working
from collections import Mapping
WARNING: Host distribution "raspbian-10" has not been validated with this version of the build system; you may possibly experience unexpected failures. It is recommended that you use a tested distribution.
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
Specified SDKMACHINE value is not valid
Summary: There was 1 WARNING message shown.
Summary: There was 1 ERROR message shown, returning a non-zero exit code.
I've tried setting SDKMACHINE to 'arm' and 'qemuarm' but get the same message?SDKMACHINE only accepts x86, in either 32 or 64 bit variants, see
https://docs.yoctoproject.org/ref-manual/variables.html#term-SDKMACHINEQuoted 13 lines
Obviously I failed to do something (properly)?
Ideas?
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
You automatically follow any topics you start or reply to. View/Reply Online (#55199):
https://lists.yoctoproject.org/g/yocto/message/55199
Mute This Topic: https://lists.yoctoproject.org/mt/86733811/4689568
Group Owner: [email protected]
Unsubscribe: https://lists.yoctoproject.org/g/yocto/unsub
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-Links:
------
[1] http://lists.yoctoproject.org
Quoted 12 lines · Josef Holzmayr
(re-adding list as I messed up)
Am Mo., 1. Nov. 2021 um 21:45 Uhr schrieb jchludzinski <[email protected]>:
Quoted 2 lines
I want to build this image for a Raspberry Pi, which means ARM.
MACHINE = "raspberrypi3"
(for example, pick your specific one like
http://git.yoctoproject.org/cgit/cgit.cgi/meta-raspberrypi/tree/conf/machine
)
Quoted 6 lines
Quoted 3 lines
Is that not possible?
That can't be true!
Building the SDK for an architecture other than x86 is not supported at the moment.
Not quite true, aarch64 is supported and tested as an SDKMACHINE value.
Quoted 3 lines
But again, this is about the SDK. And you probably just
want to build the image, where the standard procedures apply. Add the BSP layer, set MACHINE.
Right, this sounds like MACHINE is wanted for raspberrypi.
Cheers,
Richard
Quoted 13 lines · Richard Purdie
Quoted 12 lines · Josef Holzmayr
(re-adding list as I messed up)
Am Mo., 1. Nov. 2021 um 21:45 Uhr schrieb jchludzinski <[email protected]>:
Quoted 2 lines
I want to build this image for a Raspberry Pi, which means ARM.
MACHINE = "raspberrypi3"
(for example, pick your specific one like
http://git.yoctoproject.org/cgit/cgit.cgi/meta-raspberrypi/tree/conf/machine
)
Quoted 8 lines
Quoted 6 lines
Quoted 3 lines
Is that not possible?
That can't be true!
Building the SDK for an architecture other than x86 is not supported at the moment.
Not quite true, aarch64 is supported and tested as an SDKMACHINE value.
at one point, I had ppc64le working as SDKMACHINE target as well.
Quoted 22 lines
Quoted 4 lines
But again, this is about the SDK. And you probably just
want to build the image, where the standard procedures apply. Add the BSP layer, set MACHINE.Right, this sounds like MACHINE is wanted for raspberrypi.
Cheers,
Richard
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
You automatically follow any topics you start or reply to. View/Reply Online (#55206): https://lists.yoctoproject.org/g/yocto/message/55206
Mute This Topic: https://lists.yoctoproject.org/mt/86733811/1997914
Group Owner: [email protected]
Unsubscribe: https://lists.yoctoproject.org/g/yocto/unsub [[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-