diff options
| author | Raju Kumar Pothuraju <raju.kumar-pothuraju@xilinx.com> | 2022-06-27 17:36:15 +0530 |
|---|---|---|
| committer | Mark Hatle <mark.hatle@amd.com> | 2022-06-27 12:58:00 -0700 |
| commit | 8ea306be9e877f335989ddcf22358b29c985146d (patch) | |
| tree | 55563e1bfdb1759d40ef7fca0ed144b230d59306 /meta-xilinx-core/classes | |
| parent | 001e3cafc84447ebbcc389026207a1269cdf2fb7 (diff) | |
| download | meta-xilinx-8ea306be9e877f335989ddcf22358b29c985146d.tar.gz | |
qemuboot-xilinx:machine-xilinx-default: Update kernel images
For zynq,microblaze qemu supports direct kernel boot by specifying
kernel image name to QB_DEFAULT_KERNEL.
Adjusting the kernel image based on the bundle image selection.
Signed-off-by: Raju Kumar Pothuraju <raju.kumar-pothuraju@xilinx.com>
Signed-off-by: Mark Hatle <mark.hatle@amd.com>
Diffstat (limited to 'meta-xilinx-core/classes')
| -rw-r--r-- | meta-xilinx-core/classes/qemuboot-xilinx.bbclass | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/meta-xilinx-core/classes/qemuboot-xilinx.bbclass b/meta-xilinx-core/classes/qemuboot-xilinx.bbclass index 48dfa6e2..59d3f0ab 100644 --- a/meta-xilinx-core/classes/qemuboot-xilinx.bbclass +++ b/meta-xilinx-core/classes/qemuboot-xilinx.bbclass | |||
| @@ -12,6 +12,10 @@ QB_MACHINE_XILINX:microblaze = "-M microblaze-fdt-plnx" | |||
| 12 | 12 | ||
| 13 | # defaults | 13 | # defaults |
| 14 | QB_DEFAULT_KERNEL ?= "none" | 14 | QB_DEFAULT_KERNEL ?= "none" |
| 15 | QB_DEFAULT_KERNEL:zynq ?= "${@'zImage' if \ | ||
| 16 | d.getVar('INITRAMFS_IMAGE_BUNDLE') != '1' else 'zImage-initramfs-${MACHINE}.bin'}" | ||
| 17 | QB_DEFAULT_KERNEL:microblaze ?= "${@'simpleImage.mb' if \ | ||
| 18 | d.getVar('INITRAMFS_IMAGE_BUNDLE') != '1' else 'simpleImage.mb-initramfs-${MACHINE}.bin'}" | ||
| 15 | 19 | ||
| 16 | inherit qemuboot | 20 | inherit qemuboot |
| 17 | 21 | ||
