* Unable to complete even the basic tutorial about yocto #poky
@ 2020-12-10 14:22 arunlee
2020-12-10 17:12 ` [poky] " Khem Raj
0 siblings, 1 reply; 8+ messages in thread
From: arunlee @ 2020-12-10 14:22 UTC (permalink / raw)
To: poky
[-- Attachment #1: Type: text/plain, Size: 2102 bytes --]
Hi,
I am following https://docs.yoctoproject.org/brief-yoctoprojectqs/brief-yoctoprojectqs.html.
I am able to compile core-image-sato, but while trying to run there is an error
runqemu qemux86-64
runqemu - INFO - Running MACHINE=qemux86-64 bitbake -e ...
runqemu - INFO - Continuing with the following parameters:
KERNEL: [/home/arun/yocto/poky/build/tmp/deploy/images/qemux86-64/bzImage--5.4.78+git0+d626f9108d_370ef947d5-r0-qemux86-64-20201210083639.bin]
MACHINE: [qemux86-64]
FSTYPE: [ext4]
ROOTFS: [/home/arun/yocto/poky/build/tmp/deploy/images/qemux86-64/core-image-minimal-qemux86-64-20201210134810.rootfs.ext4]
CONFFILE: [/home/arun/yocto/poky/build/tmp/deploy/images/qemux86-64/core-image-minimal-qemux86-64-20201210134810.qemuboot.conf]
runqemu - INFO - Setting up tap interface under sudo
[sudo] password for arun:
Sorry, try again.
[sudo] password for arun:
runqemu - INFO - Network configuration: ip=192.168.7.2::192.168.7.1:255.255.255.0
runqemu - INFO - Running /home/arun/yocto/poky/build/tmp/work/x86_64-linux/qemu-helper-native/1.0-r1/recipe-sysroot-native/usr/bin/qemu-system-x86_64 -device virtio-net-pci,netdev=net0,mac=52:54:00:12:34:02 -netdev tap,id=net0,ifname=tap0,script=no,downscript=no -drive file=/home/arun/yocto/poky/build/tmp/deploy/images/qemux86-64/core-image-minimal-qemux86-64-20201210134810.rootfs.ext4,if=virtio,format=raw -show-cursor -usb -device usb-tablet -object rng-random,filename=/dev/urandom,id=rng0 -device virtio-rng-pci,rng=rng0 -cpu core2duo -m 256 -serial mon:vc -serial null -kernel /home/arun/yocto/poky/build/tmp/deploy/images/qemux86-64/bzImage--5.4.78+git0+d626f9108d_370ef947d5-r0-qemux86-64-20201210083639.bin -append 'root=/dev/vda rw mem=256M ip=192.168.7.2::192.168.7.1:255.255.255.0 oprofile.timer=1 '
runqemu - ERROR - Failed to run qemu: X Error: BadValue
Request Major code 130 (MIT-SHM)
Request Minor code 3 ()
Value 0x400
Error Serial #2168
Current Serial #2169
runqemu - INFO - Cleaning up
Set 'tap0' nonpersistent
My host pc configuration is
Intel NUC
Ubuntu 20.04
regards
Arun
[-- Attachment #2: Type: text/html, Size: 2425 bytes --]
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [poky] Unable to complete even the basic tutorial about yocto #poky
2020-12-10 14:22 Unable to complete even the basic tutorial about yocto #poky arunlee
@ 2020-12-10 17:12 ` Khem Raj
2020-12-11 8:16 ` arunlee
2020-12-11 8:18 ` arunlee
0 siblings, 2 replies; 8+ messages in thread
From: Khem Raj @ 2020-12-10 17:12 UTC (permalink / raw)
To: arunlee, poky
On 12/10/20 6:22 AM, arunlee@gmail.com wrote:
> Hi,
>
> I am following
> https://docs.yoctoproject.org/brief-yoctoprojectqs/brief-yoctoprojectqs.html
> <https://docs.yoctoproject.org/brief-yoctoprojectqs/brief-yoctoprojectqs.html>.
>
> I am able to compile core-image-sato, but while trying to run there is
> an error
>
> runqemu qemux86-64
> runqemu - INFO - Running MACHINE=qemux86-64 bitbake -e ...
> runqemu - INFO - Continuing with the following parameters:
> KERNEL:
> [/home/arun/yocto/poky/build/tmp/deploy/images/qemux86-64/bzImage--5.4.78+git0+d626f9108d_370ef947d5-r0-qemux86-64-20201210083639.bin]
> MACHINE: [qemux86-64]
> FSTYPE: [ext4]
> ROOTFS:
> [/home/arun/yocto/poky/build/tmp/deploy/images/qemux86-64/core-image-minimal-qemux86-64-20201210134810.rootfs.ext4]
> CONFFILE:
> [/home/arun/yocto/poky/build/tmp/deploy/images/qemux86-64/core-image-minimal-qemux86-64-20201210134810.qemuboot.conf]
>
> runqemu - INFO - Setting up tap interface under sudo
> [sudo] password for arun:
> Sorry, try again.
> [sudo] password for arun:
> runqemu - INFO - Network configuration:
> ip=192.168.7.2::192.168.7.1:255.255.255.0
> runqemu - INFO - Running
> /home/arun/yocto/poky/build/tmp/work/x86_64-linux/qemu-helper-native/1.0-r1/recipe-sysroot-native/usr/bin/qemu-system-x86_64
> -device virtio-net-pci,netdev=net0,mac=52:54:00:12:34:02 -netdev
> tap,id=net0,ifname=tap0,script=no,downscript=no -drive
> file=/home/arun/yocto/poky/build/tmp/deploy/images/qemux86-64/core-image-minimal-qemux86-64-20201210134810.rootfs.ext4,if=virtio,format=raw
> -show-cursor -usb -device usb-tablet -object
> rng-random,filename=/dev/urandom,id=rng0 -device
> virtio-rng-pci,rng=rng0 -cpu core2duo -m 256 -serial mon:vc -serial
> null -kernel
> /home/arun/yocto/poky/build/tmp/deploy/images/qemux86-64/bzImage--5.4.78+git0+d626f9108d_370ef947d5-r0-qemux86-64-20201210083639.bin
> -append 'root=/dev/vda rw mem=256M
> ip=192.168.7.2::192.168.7.1:255.255.255.0 oprofile.timer=1 '
>
> runqemu - ERROR - Failed to run qemu: X Error: BadValue
> Request Major code 130 (MIT-SHM)
> Request Minor code 3 ()
> Value 0x400
> Error Serial #2168
> Current Serial #2169
>
> runqemu - INFO - Cleaning up
> Set 'tap0' nonpersistent
>
> My host pc configuration is
> Intel NUC
> Ubuntu 20.04
is this running full desktop ?
can you try runqemu nographic
it could be that graphic system is not properly set on your build host
>
> regards
> Arun
>
>
>
>
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: Unable to complete even the basic tutorial about yocto #poky
2020-12-10 17:12 ` [poky] " Khem Raj
@ 2020-12-11 8:16 ` arunlee
2020-12-11 16:47 ` [poky] " Khem Raj
2020-12-11 8:18 ` arunlee
1 sibling, 1 reply; 8+ messages in thread
From: arunlee @ 2020-12-11 8:16 UTC (permalink / raw)
To: poky
[-- Attachment #1: Type: text/plain, Size: 243 bytes --]
On Thu, Dec 10, 2020 at 09:12 AM, Khem Raj wrote:
>
> is this running full desktop ?
> can you try runqemu nographic
>
> it could be that graphic system is not properly set on your build host
Yes i am running Full Ubuntu Desktop.
[-- Attachment #2: Type: text/html, Size: 270 bytes --]
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: Unable to complete even the basic tutorial about yocto #poky
2020-12-10 17:12 ` [poky] " Khem Raj
2020-12-11 8:16 ` arunlee
@ 2020-12-11 8:18 ` arunlee
2020-12-11 16:34 ` [poky] " Khem Raj
1 sibling, 1 reply; 8+ messages in thread
From: arunlee @ 2020-12-11 8:18 UTC (permalink / raw)
To: poky
[-- Attachment #1: Type: text/plain, Size: 123 bytes --]
On Thu, Dec 10, 2020 at 09:12 AM, Khem Raj wrote:
>
> can you try runqemu nographic
runqemu nographics works fine
[-- Attachment #2: Type: text/html, Size: 144 bytes --]
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [poky] Unable to complete even the basic tutorial about yocto #poky
2020-12-11 8:18 ` arunlee
@ 2020-12-11 16:34 ` Khem Raj
2020-12-11 16:40 ` arunlee
0 siblings, 1 reply; 8+ messages in thread
From: Khem Raj @ 2020-12-11 16:34 UTC (permalink / raw)
To: poky
On 12/11/20 12:18 AM, arunlee@gmail.com wrote:
> On Thu, Dec 10, 2020 at 09:12 AM, Khem Raj wrote:
>
> can you try runqemu nographic
>
> runqemu nographics works fine
>
OK, then perhaps try adding in local.conf
PACKAGECONFIG_append_pn-qemu-system-native = " sdl"
>
>
>
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: Unable to complete even the basic tutorial about yocto #poky
2020-12-11 16:34 ` [poky] " Khem Raj
@ 2020-12-11 16:40 ` arunlee
2020-12-11 16:56 ` arunlee
0 siblings, 1 reply; 8+ messages in thread
From: arunlee @ 2020-12-11 16:40 UTC (permalink / raw)
To: poky
[-- Attachment #1: Type: text/plain, Size: 243 bytes --]
On Fri, Dec 11, 2020 at 08:34 AM, Khem Raj wrote:
>
> OK, then perhaps try adding in local.conf
> PACKAGECONFIG_append_pn-qemu-system-native = " sdl"
It is there already. I think is done always when source oe-init-build-env is done.
[-- Attachment #2: Type: text/html, Size: 266 bytes --]
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [poky] Unable to complete even the basic tutorial about yocto #poky
2020-12-11 8:16 ` arunlee
@ 2020-12-11 16:47 ` Khem Raj
0 siblings, 0 replies; 8+ messages in thread
From: Khem Raj @ 2020-12-11 16:47 UTC (permalink / raw)
To: poky
On 12/11/20 12:16 AM, arunlee@gmail.com wrote:
> On Thu, Dec 10, 2020 at 09:12 AM, Khem Raj wrote:
>
> is this running full desktop ?
> can you try runqemu nographic
>
> it could be that graphic system is not properly set on your build host
>
> Yes i am running Full Ubuntu Desktop.
>
OK, and you are not using docker or some such for building/running the
images. it seems the X server on your host could be run without MIT-SHM
extension ( -extension MIT-SHM ) and see if that helps
something like
Section "Extensions"
Option "MIT-SHM" "Disable"
EndSection
in /etc/X11/xorg.conf.d/no-shm.conf
>
>
>
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: Unable to complete even the basic tutorial about yocto #poky
2020-12-11 16:40 ` arunlee
@ 2020-12-11 16:56 ` arunlee
0 siblings, 0 replies; 8+ messages in thread
From: arunlee @ 2020-12-11 16:56 UTC (permalink / raw)
To: poky
[-- Attachment #1: Type: text/plain, Size: 169 bytes --]
On Fri, Dec 11, 2020 at 08:40 AM, <arunlee@gmail.com> wrote:
>
> PACKAGECONFIG_append_pn-qemu-system-native = " sdl"
I changed this to gtk+ and the UI came up.
[-- Attachment #2: Type: text/html, Size: 196 bytes --]
^ permalink raw reply [flat|nested] 8+ messages in thread
end of thread, other threads:[~2020-12-11 16:56 UTC | newest]
Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-12-10 14:22 Unable to complete even the basic tutorial about yocto #poky arunlee
2020-12-10 17:12 ` [poky] " Khem Raj
2020-12-11 8:16 ` arunlee
2020-12-11 16:47 ` [poky] " Khem Raj
2020-12-11 8:18 ` arunlee
2020-12-11 16:34 ` [poky] " Khem Raj
2020-12-11 16:40 ` arunlee
2020-12-11 16:56 ` arunlee
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.