Skip to content

Commit 8522fd8

Browse files
authored
Merge pull request #1382 from eric-ch/vglass
vglass: replace surfman/input-server with vglass
2 parents 466193a + 401e525 commit 8522fd8

File tree

126 files changed

+675
-24119
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

126 files changed

+675
-24119
lines changed

conf/layer.conf

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,4 +42,5 @@ LAYERDEPENDS_xenclient-oe = " \
4242
meta-python \
4343
openembedded-layer \
4444
core \
45+
vglass \
4546
"

conf/machine/xenclient-dom0.conf

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,6 @@ PREFERRED_PROVIDER_libgl1 = "nvidia-lib"
1111
MACHINE_FEATURES = "screen keyboard ethernet pci usbhost acpi ext2 x86"
1212
MACHINE_FEATURES += "rtc"
1313

14-
module_conf_i915 = "options i915 enable_psr=0"
15-
1614
KERNEL_MODULE_PROBECONF += " \
1715
i915 \
1816
"
@@ -22,3 +20,5 @@ KERNEL_MODULE_AUTOLOAD += " \
2220
hid-multitouch \
2321
txt \
2422
"
23+
24+
PREFERRED_PROVIDER_virtual/libivc = "libivc2"

conf/machine/xenclient-stubdomain.conf

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,3 +9,5 @@ require xenclient-common.conf
99
MACHINE_FEATURES = "screen keyboard ethernet pci acpi ext2 x86"
1010

1111
USE_VT = "0"
12+
13+
PREFERRED_PROVIDER_virtual/libivc = "libivc"

conf/machine/xenclient-uivm.conf

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,3 +9,8 @@ require xenclient-common.conf
99
MACHINE_FEATURES = "screen keyboard ethernet pci acpi ext2 x86"
1010

1111
USE_VT = "0"
12+
13+
module_conf_xen-fbfront = "blacklist xen-fbfront"
14+
KERNEL_MODULE_PROBECONF += " \
15+
xen-fbfront \
16+
"

recipes-core/images/xenclient-dom0-image.bb

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,7 @@ BAD_RECOMMENDATIONS += " \
3131
avahi-daemon \
3232
avahi-autoipd \
3333
${@bb.utils.contains('IMAGE_FEATURES', 'web-certificates', '', 'ca-certificates', d)} \
34+
libivc \
3435
"
3536

3637
IMAGE_INSTALL += "\

recipes-core/images/xenclient-stubdomain-initramfs-image.bb

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,10 @@ IMAGE_FSTYPES = "cpio.gz"
1010

1111
COMPATIBLE_MACHINE = "(xenclient-stubdomain)"
1212

13+
BAD_RECOMMENDATIONS += " \
14+
libivc2 \
15+
"
16+
1317
IMAGE_INSTALL = " \
1418
busybox \
1519
bridge-utils \

recipes-core/images/xenclient-uivm-image.bb

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -45,8 +45,8 @@ XSERVER = " \
4545
xserver-xorg \
4646
xf86-input-evdev \
4747
xf86-input-mouse \
48-
xf86-video-fbdev \
4948
xf86-input-keyboard \
49+
xf86-video-openxtfb \
5050
"
5151

5252
IMAGE_INSTALL += "\
@@ -55,7 +55,6 @@ IMAGE_INSTALL += "\
5555
packagegroup-xenclient-xfce-minimal \
5656
openssh \
5757
packagegroup-base \
58-
xenfb2 \
5958
kernel-modules \
6059
argo-module \
6160
libargo \
@@ -89,7 +88,6 @@ IMAGE_INSTALL += "\
8988
glibc-gconv-libjis \
9089
glibc-gconv-euc-jp \
9190
mobile-broadband-provider-info \
92-
shutdown-screen \
9391
ttf-dejavu-sans \
9492
ttf-dejavu-sans-mono \
9593
uim \
@@ -98,6 +96,7 @@ IMAGE_INSTALL += "\
9896
anthy \
9997
matchbox-keyboard \
10098
matchbox-keyboard-im \
99+
kernel-module-openxtfb \
101100
"
102101

103102
require xenclient-version.inc

recipes-core/initrdscripts/initramfs-stubdomain/init.sh

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -33,10 +33,6 @@ exec 0< /dev/hvc0
3333
exec 1> /dev/hvc0
3434
exec 2> /dev/hvc0
3535

36-
## the modprobe of busybox-static is broken
37-
## so we have to use insmod directly
38-
insmod /lib/modules/`uname -r`/extra/xen-argo.ko
39-
4036
sync
4137
mkdir -p /proc /sys /mnt /tmp
4238
mount -t proc proc /proc
@@ -52,6 +48,9 @@ for arg in $KERNEL_CMDLINE; do
5248
esac
5349
done
5450

51+
modprobe xen-argo
52+
modprobe ivc
53+
5554
if [ "${LOGLVL}" = "debug" ]; then
5655
cut -f1,2,3,4,5 -d ' ' /proc/modules
5756
fi

recipes-core/packagegroups/packagegroup-xenclient-dom0.bb

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,6 @@ RDEPENDS_${PN} = " \
4040
ovmf-firmware \
4141
xcpmd \
4242
xen-vif-scripts-dom0 \
43-
xenclient-input-daemon \
4443
xenclient-dom0-tweaks \
4544
xenclient-splash-images \
4645
xenclient-config-access \
@@ -94,16 +93,13 @@ RDEPENDS_${PN} = " \
9493
libicbinn-server \
9594
screen \
9695
xenclient-pcrdiff \
97-
drm-surfman-plugin \
9896
eject \
9997
linux-input \
10098
iputils-ping \
10199
vusb-daemon \
102100
xenmgr-data \
103101
updatemgr \
104102
uid \
105-
surfman \
106-
linuxfb-surfman-plugin \
107103
xenmgr \
108104
xen-tools-xenstore \
109105
tpm2-tss \
@@ -112,6 +108,8 @@ RDEPENDS_${PN} = " \
112108
pesign \
113109
ipxe \
114110
udev-extraconf-dom0 \
111+
vglass \
112+
disman \
115113
"
116114

117115
# OE upgrade - temporarly disabled:

recipes-extended/qemu-dm/qemu-dm.inc

Lines changed: 3 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,6 @@ DEPENDS = " \
1010
libargo \
1111
zlib \
1212
libcap-ng \
13-
libdmbus \
1413
pixman \
1514
"
1615

@@ -43,15 +42,9 @@ SRC_URI += "file://0001-configure-use-valid-args-testing-sem_timedwait.patch \
4342
file://generic-xenstore-extensions.patch \
4443
file://readonly-ide.patch \
4544
file://hvm-param-dm-domain.patch \
46-
file://dmbus.patch \
47-
file://switcher.patch \
4845
file://acpi.patch \
49-
file://xenmou.patch \
46+
file://argo-configure.patch \
5047
file://atapi-pass-through.patch \
51-
file://vbe-xt-extensions.patch \
52-
file://vga-spinlock.patch \
53-
file://vga-shadow-bda.patch \
54-
file://surfman-dcl.patch \
5548
file://audio-policy.patch \
5649
file://msix-cap-disable.patch \
5750
file://openxtaudio.patch \
@@ -62,7 +55,6 @@ SRC_URI += "file://0001-configure-use-valid-args-testing-sem_timedwait.patch \
6255
file://acpi-wakeup.patch \
6356
file://openxt-misc-fixes.patch \
6457
file://qmp-argo-char-driver.patch \
65-
file://exit-mainloop-on-reset.patch \
6658
file://write-acpi-state-to-xenstore.patch \
6759
file://set-blockdev-ro.patch \
6860
file://block-remove-unused-block-format-support.patch \
@@ -77,6 +69,8 @@ S = "${WORKDIR}/qemu-${PV}"
7769

7870
inherit autotools-brokensep pkgconfig python3native
7971

72+
require recipes-extended/qemu-dm/qemu-dm-vglass.inc
73+
8074
# Include a minimal amount of blobs by default.
8175
FILES_${PN} += "/usr/share/qemu/keymaps/en-us \
8276
/usr/share/qemu/keymaps/commons \
@@ -127,7 +121,6 @@ EXTRA_OECONF += " \
127121
--disable-tpm \
128122
--enable-pie \
129123
--enable-werror \
130-
--enable-surfman \
131124
--enable-atapi-pt \
132125
--enable-atapi-pt-argo \
133126
--enable-readonly-ide \

0 commit comments

Comments
 (0)