]> code.ossystems Code Review - openembedded-core.git/commit
runqemu: improve finding of rootfs, kernel and dtb
authorRobert Yang <liezhi.yang@windriver.com>
Sun, 18 Sep 2016 07:05:33 +0000 (00:05 -0700)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Tue, 20 Sep 2016 14:10:36 +0000 (15:10 +0100)
commit32ff0974ed06f797c6b7d9092a8dc9ae50e9a572
tree0629ea9759170153beadc163cf8130acab7b2e01
parent907e6596275850cc31b143a4c3094029b0cd078e
runqemu: improve finding of rootfs, kernel and dtb

* Search rootfs in the following order:
  - IMAGE_NAME*.FSTYPE
  - IMAGE_LINK_NAME*.FSTYPE

* Search kernel in the following order:
  - QB_DEFAULT_KERNEL
  - KERNEL_IMAGETYPE
  - KERNEL_IMAGETYPE*

* Search dtb in the following order:
   - QB_DTB
   - QB_DTB*
   - *.dtb

* Fix DTB, it should only work with "-kernel" option.

[YOCTO #10265]

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
scripts/runqemu