qemu arm/x86: drop linux-yocto preferred version
PATCH 1/1 qemu arm/x86: drop linux-yocto preferred version
We don't make a linux-yocto version available unless it boots on all qemu targets, hence there is no reason to specify a specific version .. the latest is always fine.
Also, the other qemu machines don't have this specification, so this makes x86 and ARM consistent.
--- meta/conf/machine/include/x86-base.inc | 1 - meta/conf/machine/qemuarm.conf | 1 - 2 files changed, 2 deletions(-)
meta/conf/machine/include/x86-base.inc +0 -1
@@ -20,7 +20,6 @@ SERIAL_CONSOLE ?= "115200 ttyS0" # kernel-related variables # PREFERRED_PROVIDER_virtual/kernel ??= "linux-yocto" -PREFERRED_VERSION_linux-yocto ??= "4.8%" # # XSERVER subcomponents, used to build the XSERVER variable
meta/conf/machine/qemuarm.conf +0 -1
@@ -16,5 +16,4 @@ QB_MACHINE = "-machine versatilepb" QB_KERNEL_CMDLINE_APPEND = "console=ttyAMA0,115200 console=tty" # Add the 'virtio-rng-pci' device otherwise the guest may run out of entropy QB_OPT_APPEND = "-show-cursor -usb -usbdevice tablet -device virtio-rng-pci" -PREFERRED_VERSION_linux-yocto ??= "4.8%" QB_DTB = "${@base_version_less_or_equal('PREFERRED_VERSION_linux-yocto', '4.7', '', 'zImage-versatile-pb.dtb', d)}"
Signature · 1 line
2.5.0
Quoted 13 lines · Bruce Ashfield
We don't make a linux-yocto version available unless it boots on all qemu targets, hence there is no reason to specify a specific version .. the latest is always fine.
Also, the other qemu machines don't have this specification, so this makes x86 and ARM consistent.
meta/conf/machine/qemuarm.conf +0
-0@@ -16,5 +16,4 @@ QB_MACHINE = "-machine versatilepb"
Quoted 5 lines
QB_KERNEL_CMDLINE_APPEND = "console=ttyAMA0,115200 console=tty"
# Add the 'virtio-rng-pci' device otherwise the guest may run out of entropy
QB_OPT_APPEND = "-show-cursor -usb -usbdevice tablet -device virtio-rng-pci" -PREFERRED_VERSION_linux-yocto ??= "4.8%"
QB_DTB = "${@base_version_less_or_equal('PREFERRED_VERSION_linux-yocto', '4.7', '', 'zImage-versatile-pb.dtb', d)}"
Note the line below the line you're removing here. This is why we need this one...
Cheers,
Richard
Quoted 18 lines · Richard Purdie
meta/conf/machine/
Quoted 9 lines · Bruce Ashfield
We don't make a linux-yocto version available unless it boots on all qemu targets, hence there is no reason to specify a specific version .. the latest is always fine.
Also, the other qemu machines don't have this specification, so this makes x86 and ARM consistent.
meta/conf/machine/ renamed from meta/conf/machine/qemuarm.conf +0
-0qemuarm.conf
meta/conf/machine/qemuarm.conf QB_MACHINE = "-machine versatilepb" · line 17
Quoted 6 lines
index
f9d6dd7e364e..b9b640f974f3100644meta/conf/machine/qemuarm.conf +0
-0@@ -16,5 +16,4 @@ QB_MACHINE = "-machine versatilepb" QB_KERNEL_CMDLINE_APPEND = "console=ttyAMA0,115200 console=tty" # Add the 'virtio-rng-pci' device otherwise the guest may run out ofentropy
Quoted 9 lines
meta/conf/machine/qemuarm.conf QB_MACHINE = "-machine versatilepb" · line 18
Quoted 1 line
meta/conf/machine/qemuarm.conf +0
-0QB_OPT_APPEND = "-show-cursor -usb -usbdevice tablet -devicevirtio-rng-pci"
meta/conf/machine/qemuarm.conf QB_MACHINE = "-machine versatilepb" · line 19
Quoted 2 lines
meta/conf/machine/qemuarm.conf +0
-1-PREFERRED_VERSION_linux-yocto ??= "4.8%" QB_DTB = "${@base_version_less_or_equal('PREFERRED_VERSION_linux-yocto','4.7', '', 'zImage-versatile-pb.dtb', d)}"
Note the line below the line you're removing here. This is why we need
this one...
I had noticed that, but since the newest version is well above that, I figured it
would be ok.
I can spin another patch that leaves it in place for ARM, but drops it for x86.
Bruce
Quoted 10 lines
Cheers,
Richard
--
_______________________________________________
Openembedded-core mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-core
Signature · 2 lines
"Thou shalt not follow the NULL pointer, for chaos and madness await thee at its end"
Quoted 11 lines · Bruce Ashfield
Quoted 9 lines · Richard Purdie
Quoted 3 lines
(quoted diff) +0
-0@@ -16,5 +16,4 @@ QB_MACHINE = "-machine versatilepb"QB_KERNEL_CMDLINE_APPEND = "console=ttyAMA0,115200 console=tty" # Add the 'virtio-rng-pci' device otherwise the guest may run
out of entropy
Quoted 1 line
QB_OPT_APPEND = "-show-cursor -usb -usbdevice tablet -device
virtio-rng-pci"
Quoted 2 lines
-PREFERRED_VERSION_linux-yocto ??= "4.8%"
QB_DTB = "${@base_version_less_or_equal('PREFERRED_VERSION_linux
Quoted 7 lines
Quoted 5 lines
-yocto', '4.7', '', 'zImage-versatile-pb.dtb', d)}"
Note the line below the line you're removing here. This is why we need
this one...I had noticed that, but since the newest version is well above that, I figured it would be ok.
An unset variable returns "None", not sure
what base_version_less_or_equal makes of that...
Quoted 2 lines
I can spin another patch that leaves it in place for ARM, but drops it for x86.
I took Martin's patch moving things to 4.10, quite happy to take a second one removing the x86 version. Removing the arm one too would be nice but I'm not sure we can yet.
Cheers,
Richard
Quoted 23 lines · Richard Purdie
Quoted 11 lines · Bruce Ashfield
Quoted 9 lines · Richard Purdie
Review QB_MACHINE = "-machine versatilepb" · line 17
Quoted 4 lines
(quoted diff) +0
-0@@ -16,5 +16,4 @@ QB_MACHINE = "-machine versatilepb" QB_KERNEL_CMDLINE_APPEND = "console=ttyAMA0,115200 console=tty" # Add the 'virtio-rng-pci' device otherwise the guest may runout of entropy
Review QB_MACHINE = "-machine versatilepb" · line 18
Quoted 1 line
(quoted diff) +0
-0QB_OPT_APPEND = "-show-cursor -usb -usbdevice tablet -devicevirtio-rng-pci"
Quoted 2 lines
(quoted diff) +0
-1-PREFERRED_VERSION_linux-yocto ??= "4.8%" QB_DTB = "${@base_version_less_or_equal('PREFERRED_VERSION_linuxQuoted 7 lines
Quoted 5 lines
-yocto', '4.7', '', 'zImage-versatile-pb.dtb', d)}"
Note the line below the line you're removing here. This is why we need
this one...I had noticed that, but since the newest version is well above that, I figured it would be ok.
An unset variable returns "None", not sure
whatbase_version_less_or_equalmakes of that...
Quoted 7 lines
Quoted 2 lines
I can spin another patch that leaves it in place for ARM, but drops it for x86.
I took Martin's patch moving things to 4.10, quite happy to take a second one removing the x86 version. Removing the arm one too would be nice but I'm not sure we can yet.
Sounds good. I'll rebase onto those changes and follow up.
Bruce
Quoted 5 lines
Cheers,
Richard
Signature · 2 lines
"Thou shalt not follow the NULL pointer, for chaos and madness await thee at its end"