qemu/x86_64: add midori samples for wayland and x11r7
PATCH 1/1 qemu/x86_64: add midori samples for wayland and x11r7
Signed-off-by Gustavo Zacarias <[email protected]>
--- board/qemu/x86_64/linux-fb.config | 2 + .../x86_64/midori_overlay/etc/X11/xinit/xinitrc | 4 ++ board/qemu/x86_64/midori_overlay/etc/fb.modes | 4 ++ .../qemu/x86_64/midori_overlay/etc/init.d/S98audio | 4 ++ board/qemu/x86_64/midori_overlay/etc/init.d/S99gui | 12 ++++++ board/qemu/x86_64/midori_overlay/etc/weston.ini | 44 +++++++++++++++++++++ .../x86_64/midori_overlay/usr/share/fluxbox/init | 7 ++++ .../x86_64/midori_overlay/usr/share/fluxbox/menu | 46 ++++++++++++++++++++++ configs/midori_wayland_x86_64_defconfig | 33 ++++++++++++++++ configs/midori_x11_x86_64_defconfig | 39 ++++++++++++++++++ 10 files changed, 195 insertions(+) create mode 100644 board/qemu/x86_64/linux-fb.config create mode 100644 board/qemu/x86_64/midori_overlay/etc/X11/xinit/xinitrc create mode 100644 board/qemu/x86_64/midori_overlay/etc/fb.modes create mode 100755 board/qemu/x86_64/midori_overlay/etc/init.d/S98audio create mode 100755 board/qemu/x86_64/midori_overlay/etc/init.d/S99gui create mode 100644 board/qemu/x86_64/midori_overlay/etc/weston.ini create mode 100644 board/qemu/x86_64/midori_overlay/usr/share/fluxbox/init create mode 100644 board/qemu/x86_64/midori_overlay/usr/share/fluxbox/menu create mode 100644 configs/midori_wayland_x86_64_defconfig create mode 100644 configs/midori_x11_x86_64_defconfig
board/qemu/x86_64/linux-fb.config new file +2 -0
@@ -0,0 +1,2 @@ +CONFIG_DRM_BOCHS=y +CONFIG_FB_VESA=y
board/qemu/x86_64/midori_overlay/etc/X11/xinit/xinitrc new file +4 -0
@@ -0,0 +1,4 @@ +#!/bin/sh + +midori http://www.buildroot.net & +fluxbox
board/qemu/x86_64/midori_overlay/etc/fb.modes new file +4 -0
@@ -0,0 +1,4 @@ +mode "1024x768-60" + geometry 1024 768 1024 768 24 + timings 15385 160 24 29 3 136 6 +endmode
board/qemu/x86_64/midori_overlay/etc/init.d/S98audio new file +4 -0
@@ -0,0 +1,4 @@ +#!/bin/sh +if [ -x /usr/bin/amixer ]; then + amixer set Master 100 unmute >/dev/null 2>&1 +fi
board/qemu/x86_64/midori_overlay/etc/init.d/S99gui new file +12 -0
@@ -0,0 +1,12 @@ +#!/bin/sh +if [ -x /usr/bin/startx ]; then + startx +fi + +if [ -x /usr/bin/weston ]; then + mkdir /tmp/root + chmod 700 /tmp/root + export XDG_RUNTIME_DIR=/tmp/root + fbset 1024x768-60 + openvt -c 2 -s -- weston --backend=fbdev-backend.so --config=/etc/weston.ini --tty=2 --log=/tmp/weston.log +fi
board/qemu/x86_64/midori_overlay/etc/weston.ini new file +44 -0
44 lines not on this page · raw message
board/qemu/x86_64/midori_overlay/usr/share/fluxbox/init new file +7 -0
@@ -0,0 +1,7 @@ +! If you're looking for settings to configure, they won't be saved here until +! you change something in the fluxbox configuration menu. + +session.menuFile: ~/.fluxbox/menu +session.keyFile: ~/.fluxbox/keys +session.styleFile: /usr/share/fluxbox/styles/zimek_green +session.configVersion: 13
board/qemu/x86_64/midori_overlay/usr/share/fluxbox/menu new file +46 -0
46 lines not on this page · raw message
configs/midori_wayland_x86_64_defconfig new file +33 -0
@@ -0,0 +1,33 @@ +BR2_x86_64=y +BR2_KERNEL_HEADERS_VERSION=y +BR2_DEFAULT_KERNEL_VERSION="4.3" +BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_4_3=y +BR2_TOOLCHAIN_BUILDROOT_GLIBC=y +BR2_TOOLCHAIN_BUILDROOT_CXX=y +BR2_ROOTFS_DEVICE_CREATION_DYNAMIC_EUDEV=y +BR2_TARGET_GENERIC_GETTY_PORT="tty1" +BR2_SYSTEM_DHCP="enp0s3" +BR2_ROOTFS_OVERLAY="board/qemu/x86_64/midori_overlay" +BR2_LINUX_KERNEL=y +BR2_LINUX_KERNEL_CUSTOM_VERSION=y +BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="4.3" +BR2_LINUX_KERNEL_USE_CUSTOM_CONFIG=y +BR2_LINUX_KERNEL_CUSTOM_CONFIG_FILE="board/qemu/x86_64/linux-4.3.config" +BR2_LINUX_KERNEL_CONFIG_FRAGMENT_FILES="board/qemu/x86_64/linux-fb.config" +BR2_PACKAGE_ALSA_UTILS=y +BR2_PACKAGE_ALSA_UTILS_AMIXER=y +BR2_PACKAGE_CANTARELL=y +BR2_PACKAGE_INCONSOLATA=y +BR2_PACKAGE_ADWAITA_ICON_THEME=y +BR2_PACKAGE_HICOLOR_ICON_THEME=y +BR2_PACKAGE_MESA3D=y +BR2_PACKAGE_MESA3D_GALLIUM_DRIVER_SWRAST=y +BR2_PACKAGE_MESA3D_OPENGL_EGL=y +BR2_PACKAGE_WESTON=y +BR2_PACKAGE_MIDORI=y +BR2_PACKAGE_LIBGTK3=y +BR2_PACKAGE_WEBKITGTK210_HTTPS=y +BR2_PACKAGE_WEBKITGTK210_MULTIMEDIA=y +BR2_TARGET_ROOTFS_EXT2=y +BR2_TARGET_ROOTFS_EXT2_EXTRA_BLOCKS=128000 +# BR2_TARGET_ROOTFS_TAR is not set
configs/midori_x11_x86_64_defconfig new file +39 -0
@@ -0,0 +1,39 @@ +BR2_x86_64=y +BR2_TOOLCHAIN_BUILDROOT_GLIBC=y +BR2_TOOLCHAIN_BUILDROOT_CXX=y +BR2_ENABLE_LOCALE_PURGE=y +BR2_ENABLE_LOCALE_WHITELIST="C en_US" +BR2_ROOTFS_DEVICE_CREATION_DYNAMIC_EUDEV=y +BR2_TARGET_GENERIC_GETTY_PORT="tty1" +BR2_SYSTEM_DHCP="enp0s3" +BR2_ROOTFS_OVERLAY="board/qemu/x86_64/midori_overlay" +BR2_LINUX_KERNEL=y +BR2_LINUX_KERNEL_CUSTOM_VERSION=y +BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="4.3" +BR2_LINUX_KERNEL_USE_CUSTOM_CONFIG=y +BR2_LINUX_KERNEL_CUSTOM_CONFIG_FILE="board/qemu/x86_64/linux-4.3.config" +BR2_PACKAGE_CANTARELL=y +BR2_PACKAGE_INCONSOLATA=y +BR2_PACKAGE_ADWAITA_ICON_THEME=y +BR2_PACKAGE_HICOLOR_ICON_THEME=y +BR2_PACKAGE_MESA3D=y +BR2_PACKAGE_MESA3D_GALLIUM_DRIVER_SWRAST=y +BR2_PACKAGE_MESA3D_DRI_DRIVER_SWRAST=y +BR2_PACKAGE_MESA3D_OPENGL_EGL=y +BR2_PACKAGE_XORG7=y +BR2_PACKAGE_XSERVER_XORG_SERVER=y +BR2_PACKAGE_XAPP_XINIT=y +BR2_PACKAGE_XAPP_XRANDR=y +BR2_PACKAGE_XDRIVER_XF86_INPUT_EVDEV=y +BR2_PACKAGE_XDRIVER_XF86_INPUT_KEYBOARD=y +BR2_PACKAGE_XDRIVER_XF86_INPUT_MOUSE=y +BR2_PACKAGE_XDRIVER_XF86_VIDEO_CIRRUS=y +BR2_PACKAGE_XDRIVER_XF86_VIDEO_QXL=y +BR2_PACKAGE_MIDORI=y +BR2_PACKAGE_XTERM=y +BR2_PACKAGE_FLUXBOX=y +BR2_PACKAGE_LIBGTK3=y +BR2_PACKAGE_WEBKITGTK210_HTTPS=y +BR2_TARGET_ROOTFS_EXT2=y +BR2_TARGET_ROOTFS_EXT2_EXTRA_BLOCKS=128000 +# BR2_TARGET_ROOTFS_TAR is not set
Signature · 1 line
2.4.10
PATCH 1/1 qemu/x86_64: add midori samples for wayland and x11r7
Quoted 1 line · Gustavo Zacarias
Signed-off-by Gustavo Zacarias <[email protected]>
Disregard, bad copy/paste, that's not ready yet.
Regards.