All of lore.kernel.org
 help / color / mirror / Atom feed
* Help with setting up a PREEMPT_RT image for BeagleBone Black #yocto
@ 2022-10-27 17:51 mpham20
  2022-10-27 20:49 ` [yocto] " Alexander Kanavin
  2022-11-01 12:54 ` Bruce Ashfield
  0 siblings, 2 replies; 7+ messages in thread
From: mpham20 @ 2022-10-27 17:51 UTC (permalink / raw)
  To: yocto

[-- Attachment #1: Type: text/plain, Size: 2883 bytes --]

Hello all,

I am new to Yocto and would like to seek assistance for setting up a PREEMPT_RT image for BeagleBone Black.

Here is what I have tried so far. First I followed the Yocto Project Quick Build tutorial in the documentation.

1)
sudo apt install gawk wget git diffstat unzip texinfo gcc build-essential chrpath socat cpio python3 python3-pip python3-pexpect xz-utils debianutils iputils-ping python3-git python3-jinja2 libegl1-mesa libsdl1.2-dev pylint xterm python3-subunit mesa-common-dev zstd liblz4-tool

2)
git clone git://git.yoctoproject.org/poky

3)
cd poky

4)
git checkout -t origin/langdale -b my-langdale

5)
git pull

6)
source oe-init-build-env

7) Then I went to poky/build/conf and edited local.conf by uncommenting
MACHINE ?= "beaglebone-yocto"
and commenting out
#MACHINE ??= "qemux86-64"
Then I added these two lines at the bottom of the file:
PREFERRED_PROVIDER_virtual/kernel = "linux-yocto-rt"
COMPATIBLE_MACHINE_beaglebone-yocto = "beaglebone-yocto"

8) Next I ran this command:
bitbake core-image-minimal

9) Then I get errors at this point.
ERROR: Nothing PROVIDES 'virtual/kernel'
linux-yocto-upstream PROVIDES virtual/kernel but was skipped: Set PREFERRED_PROVIDER_virtual/kernel to linux-yocto-upstream to enable it
linux-yocto PROVIDES virtual/kernel but was skipped: Set PREFERRED_PROVIDER_virtual/kernel to linux-yocto to enable it
linux-yocto-rt PROVIDES virtual/kernel but was skipped: incompatible with machine beaglebone-yocto (not in COMPATIBLE_MACHINE)
linux-yocto-dev PROVIDES virtual/kernel but was skipped: Set PREFERRED_PROVIDER_virtual/kernel to linux-yocto-dev to enable it
linux-yocto-rt PROVIDES virtual/kernel but was skipped: incompatible with machine beaglebone-yocto (not in COMPATIBLE_MACHINE)
linux-yocto-upstream PROVIDES virtual/kernel but was skipped: Set PREFERRED_PROVIDER_virtual/kernel to linux-yocto-upstream to enable it
linux-yocto PROVIDES virtual/kernel but was skipped: Set PREFERRED_PROVIDER_virtual/kernel to linux-yocto to enable it
linux-yocto-tiny PROVIDES virtual/kernel but was skipped: incompatible with machine beaglebone-yocto (not in COMPATIBLE_MACHINE)
linux-dummy PROVIDES virtual/kernel but was skipped: PREFERRED_PROVIDER_virtual/kernel set to linux-yocto-rt, not linux-dummy
linux-yocto-tiny PROVIDES virtual/kernel but was skipped: incompatible with machine beaglebone-yocto (not in COMPATIBLE_MACHINE)
ERROR: Required build target 'core-image-minimal' has no buildable providers.
Missing or unbuildable dependency chain was: ['core-image-minimal', 'virtual/kernel']

Summary: There was 1 WARNING message.
Summary: There were 2 ERROR messages, returning a non-zero exit code.

I've tried a variety of ways and read lots of links but still no luck. Can someone tell me the best way to accomplish my goal?
Thank you for any help.

Michael

[-- Attachment #2: Type: text/html, Size: 3295 bytes --]

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2022-11-01 22:13 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-10-27 17:51 Help with setting up a PREEMPT_RT image for BeagleBone Black #yocto mpham20
2022-10-27 20:49 ` [yocto] " Alexander Kanavin
2022-10-29 18:08   ` Michael T Pham
2022-11-01 12:54 ` Bruce Ashfield
2022-11-01 19:33   ` Zoran Stojsavljevic
2022-11-01 21:09   ` Michael T Pham
2022-11-01 22:13     ` Bruce Ashfield

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.