Skip to content

Instantly share code, notes, and snippets.

@voltbit
Created June 11, 2017 10:46
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save voltbit/865634f184b56559a0152e2e04e2d7d4 to your computer and use it in GitHub Desktop.
Save voltbit/865634f184b56559a0152e2e04e2d7d4 to your computer and use it in GitHub Desktop.
chinook 3.0.3 after bitbake build error
smith@starship:~/projects/agl/build$ runqemu qemux86
runqemu - INFO - Assuming MACHINE = qemux86
runqemu - INFO - Running MACHINE=qemux86 bitbake -e...
runqemu - INFO - Can't find *-image-* in /home/smith/projects/agl/build/tmp/deploy/images/qemux86-64
runqemu - ERROR - /home/smith/projects/agl/build/tmp/deploy/images/qemux86-64 not a directory valid DEPLOY_DIR_IMAGE
runqemu - INFO - Can't find qemuboot conf file, DEPLOY_DIR_IMAGE is NULL!
runqemu - INFO - Overriding conf file setting of STAGING_DIR_NATIVE to /home/smith/projects/agl/build/tmp/sysroots/x86_64-linux from Bitbake environment
runqemu - INFO - Overriding conf file setting of STAGING_BINDIR_NATIVE to /home/smith/projects/agl/build/tmp/sysroots/x86_64-linux/usr/bin from Bitbake environment
Traceback (most recent call last):
File "/home/smith/projects/agl/poky/scripts/runqemu", line 1038, in <module>
ret = main()
File "/home/smith/projects/agl/poky/scripts/runqemu", line 1026, in main
config.check_and_set()
File "/home/smith/projects/agl/poky/scripts/runqemu", line 559, in check_and_set
self.check_fstype()
File "/home/smith/projects/agl/poky/scripts/runqemu", line 451, in check_fstype
raise Exception("FSTYPE is NULL!")
Exception: FSTYPE is NULL!
constents of /home/smith/projects/agl/build/tmp/deploy/images/qemux86-64 :
smith@starship:~/projects/agl/build/tmp/deploy/images/qemux86-64$ ls -lah
total 1,1G
drwxr-xr-x 2 smith smith 4,0K iun 11 13:25 .
drwxrwxr-x 3 smith smith 4,0K iun 11 11:35 ..
-rw-r--r-- 1 smith smith 1,7K iun 11 13:24 agl-demo-platform-qemux86-64-20170611083343.qemuboot.conf
-rw-r--r-- 2 smith smith 1,2G iun 11 13:25 agl-demo-platform-qemux86-64-20170611083343.rootfs.ext4
-rw-r--r-- 2 smith smith 60K iun 11 13:24 agl-demo-platform-qemux86-64-20170611083343.rootfs.manifest
-rw-r--r-- 2 smith smith 270M iun 11 13:25 agl-demo-platform-qemux86-64-20170611083343.rootfs.tar.bz2
lrwxrwxrwx 2 smith smith 55 iun 11 13:25 agl-demo-platform-qemux86-64.ext4 -> agl-demo-platform-qemux86-64-20170611083343.rootfs.ext4
lrwxrwxrwx 2 smith smith 59 iun 11 13:24 agl-demo-platform-qemux86-64.manifest -> agl-demo-platform-qemux86-64-20170611083343.rootfs.manifest
lrwxrwxrwx 1 smith smith 57 iun 11 13:24 agl-demo-platform-qemux86-64.qemuboot.conf -> agl-demo-platform-qemux86-64-20170611083343.qemuboot.conf
lrwxrwxrwx 2 smith smith 58 iun 11 13:25 agl-demo-platform-qemux86-64.tar.bz2 -> agl-demo-platform-qemux86-64-20170611083343.rootfs.tar.bz2
lrwxrwxrwx 2 smith smith 75 iun 11 11:35 bzImage -> bzImage--4.8.18+git0+c19322afb1_c50f695341-r0-qemux86-64-20170611083343.bin
-rw-r--r-- 2 smith smith 7,0M iun 11 11:35 bzImage--4.8.18+git0+c19322afb1_c50f695341-r0-qemux86-64-20170611083343.bin
lrwxrwxrwx 2 smith smith 75 iun 11 11:35 bzImage-qemux86-64.bin -> bzImage--4.8.18+git0+c19322afb1_c50f695341-r0-qemux86-64-20170611083343.bin
-rw-r--r-- 2 smith smith 294 iun 11 13:18 README_-_DO_NOT_DELETE_FILES_IN_THIS_DIRECTORY.txt
@voltbit
Copy link
Author

voltbit commented Jun 11, 2017

runqemu qemux86-64 agl-demo-platform
runqemu - ERROR - Can't handle two unknown args: qemux86-64 agl-demo-platform
runqemu - ERROR - Try 'runqemu help' on how to use it

@voltbit
Copy link
Author

voltbit commented Jun 11, 2017

QEMU conf:

[config_bsp]
machine = qemux86-64
tune_arch = x86_64
deploy_dir_image = /home/smith/projects/agl/build/tmp/deploy/images/qemux86-64
kernel_imagetype = bzImage
image_name = agl-demo-platform-qemux86-64-20170611083343
image_link_name = agl-demo-platform-qemux86-64
staging_dir_native = /home/smith/projects/agl/build/tmp/sysroots/x86_64-linux
staging_bindir_native = /home/smith/projects/agl/build/tmp/sysroots/x86_64-linux/usr/bin
staging_dir_host = /home/smith/projects/agl/build/tmp/sysroots/qemux86-64
qb_cpu_qemux86-64 = -cpu Nehalem,check=false
qb_machine_corei7-32 = -machine q35
qb_system_name_x86 = qemu-system-i386
qb_machine_qemux86-64 = -machine q35
qb_machine_corei7-64 = -machine q35
qb_mem = -m 1024
qb_audio_opt = -soundhw ac97,es1370
qb_system_name_x86-64 = qemu-system-x86_64
qb_cpu_x86 = -cpu qemu32
qb_cpu_corei7-32 = -cpu Nehalem,check=false
qb_machine_corei7-64-x32 = -machine q35
qb_cpu_kvm_x86-64 = -cpu Nehalem,check=false
qb_cpu_corei7-64-x32 = -cpu Nehalem,check=false
qb_kernel_cmdline_append = vga=0 uvesafb.mode_option=640x480-32 oprofile.timer=1 uvesafb.task_timeout=-1
qb_audio_drv = alsa
qb_default_kernel = /home/smith/projects/agl/build/tmp/deploy/images/qemux86-64/bzImage--4.8.18+git0+c19322afb1_c50f695341-r0-qemux86-64-20170611083343.bin
qb_cpu_kvm_x86 = -cpu Nehalem,check=false
qb_serial_opt = -serial mon:stdio -serial null
qb_cpu_corei7-64 = -cpu Nehalem,check=false
qb_opt_append = -vga vmware -show-cursor -usb -usbdevice tablet -device virtio-rng-pci
qb_cpu_x86-64 = -cpu core2duo
qb_default_fstype = ext4
qb_cpu = -cpu Nehalem,check=false
qb_cpu_kvm = -cpu Nehalem,check=false
qb_system_name = qemu-system-x86_64
qb_machine = -machine q35

@voltbit
Copy link
Author

voltbit commented Jun 12, 2017

smith@starship:~/projects/agl/build$ runqemu qemux86-64
runqemu - INFO - Assuming MACHINE = qemux86-64
runqemu - INFO - Running MACHINE=qemux86-64 bitbake -e...
runqemu - INFO - Can't find -image- in /home/smith/projects/agl/build/tmp/deploy/images/qemux86-64
runqemu - ERROR - /home/smith/projects/agl/build/tmp/deploy/images/qemux86-64 not a directory valid DEPLOY_DIR_IMAGE
runqemu - INFO - Can't find qemuboot conf file, DEPLOY_DIR_IMAGE is NULL!
runqemu - INFO - Overriding conf file setting of STAGING_DIR_NATIVE to /home/smith/projects/agl/build/tmp/sysroots/x86_64-linux from Bitbake environment
runqemu - INFO - Overriding conf file setting of STAGING_BINDIR_NATIVE to /home/smith/projects/agl/build/tmp/sysroots/x86_64-linux/usr/bin from Bitbake environment
Traceback (most recent call last):
File "/home/smith/projects/agl/poky/scripts/runqemu", line 1038, in
ret = main()
File "/home/smith/projects/agl/poky/scripts/runqemu", line 1026, in main
config.check_and_set()
File "/home/smith/projects/agl/poky/scripts/runqemu", line 559, in check_and_set
self.check_fstype()
File "/home/smith/projects/agl/poky/scripts/runqemu", line 451, in check_fstype
raise Exception("FSTYPE is NULL!")
Exception: FSTYPE is NULL!

@voltbit
Copy link
Author

voltbit commented Jun 12, 2017

runqemu /home/smith/projects/agl/build/tmp/deploy/images/qemux86-64/agl-demo-platform-qemux86-64.qemuboot.conf

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment