Announcement

Collapse
No announcement yet.

RPi 2-3 Ubuntu Mate - QEMU XPe Installation

Collapse
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • RPi 2-3 Ubuntu Mate - QEMU XPe Installation

    This DIY is for installation of QEMU XP(e) emulation on an ARM RPi2-3.

    Note here utilize both speaker and homeseer touch on my XPe clients. It is running on a 16Gb SSD card but utilizes around 8Gb. It is basic. To replicate the touchscreens here using a software rescue imaging program, write the image to a USB stick then write it back to a new touchscreen. Note that my tabletop tablets run Linux / Android with EFI boot rom or Windows XPe with a seabios boot rom. Fastest and easy to run is Ubuntu Linux or XPe.

    You can turn your RPi2-3 here to a speaker client only if you want.

    Image I utilize has MS SAPI and Neospeech voices on it.

    Found a You Tube video the other day that shows the RPi running XP. It is a trimmed down version of XP called MicroXP. You can DIY one yourself or just install XP Pro and remove the fluff (all of it). Here currently utilizing XPe on all of my touchscreens so will be using that.




    Personally here have shifted to the Pine64 devices (instead of the RPi3) and next shifting over to the Rock64. That said for this test using an RPi2.

    Hardware requirements:

    1 - RPi 2-3 with power supply
    2 - touchscreen for the RPi2-3
    3 - 32 Gb micro SD card - here because that is all I have today and my base image is 8Gb. Here using a Samsung Evo

    Software requirements: (writing the image with Ubuntu 16.04 here).

    1 - Install Ubuntu MATE 16.04.2 (Xenial) on your SD card
    IE:
    sudo apt-get install gddrescue xz-utils
    unxz ubuntu-mate-16.04.2-desktop-armhf-raspberry-pi.img.xz
    sudo ddrescue -D --force ubuntu-mate-16.04.2-desktop-armhf-raspberry-pi.img /dev/sdx

    A - download Ubuntu Mate (hxxps://ubuntu-mate.org/raspberry-pi/)
    B - write image to SD card

    - /home/pete/Downloads# ls ubu*
    ubuntu-mate-16.04.2-desktop-armhf-raspberry-pi.img.xz
    - /Downloads# unxz ubuntu-mate-16.04.2-desktop-armhf-raspberry-pi.img.xz
    This takes a while to decompress.
    - /Downloads# ls ubuntu*
    ubuntu-mate-16.04.2-desktop-armhf-raspberry-pi.img
    Here using the SD card slot on my laptop.
    /Downloads# lsblk
    NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT
    mmcblk0 179:0 0 29.8G 0 disk
    └─mmcblk0p1 179:1 0 29.8G 0 part /media/pete/9016-4EF8
    /dev# ls mmc*
    mmcblk0 mmcblk0p1
    /Downloads# ddrescue -D --force ubuntu-mate-16.04.2-desktop-armhf-raspberry-pi.img /dev/mmcblk0p1
    GNU ddrescue 1.19
    Press Ctrl-C to interrupt
    rescued: 5000 MB, errsize: 0 B, current rate: 193 kB/s
    ipos: 4999 MB, errors: 0, average rate: 3364 kB/s
    opos: 4999 MB, run time: 24.76 m, successful read: 0 s ago
    Very slow (24.76 minutes to write the image to a 32Gb micro SD card.
    - check image on SD card

    2 - Connecting an LCD VGA monitor to the Pi using a powered HDMI to VGA device. I have never used the HDMI to VGA adapter or tried this before - testing on the kitchen table.

    Found an old 9" POS (for IBM) touch screen to test with. Easy to move around and it uses a USB Touchscreen (which is really a serial touchscreen).

    Note that this RPi has the PiFace RTC in it. I did this with all of my original RPi's purchased.

    Touchscreen is working fine on RPi with Ubuntu Mate.

    [ATTACH]66622[/ATTACH]

    3 - Install QEmu
    sudo apt-get update
    sudo apt-get install qemu-kvm qemu virt-manager virt-viewer libvirt-bin

    4 - check space left on SD card.
    ~$ df -Bm
    Filesystem 1M-blocks Used Available Use% Mounted on
    /dev/root 29861M 4722M 25124M 16% /

    5 - copy 8 Gb test image (will be expanding it to 16 Gb)

    13th of February, 2018

    I am now 3 builds of XP (lots of space with the 32Gb microsd card).

    Sound and network work fine but it's much slower than my base Intel Atom based tabletop tablets and my test Ubuntu 16.04 build on same said tabletop tablets with 512 Mb of RAM.

    14th of February, 2018

    Trying another microXP build labeled 1.11 which is newer than the .82 build and larger at around 300Mb ISO.

    So far working builds is my current XPe image and the Micro builds.

    Note historically have tried this with Wine (worked) and play on Linux and it worked much better than just using mono hstouch.exe (linux version).

    This lite microXP is a bit fatter than the .82 version. That said installation is also a bit slower. You must have a valid XP license to install it and I am guessing there are a few users here that have kept their old XP licenses around.

    I am being lazy here as I could have made an XP Lite ISO long math way as I have done this before.

    Network, video and audio work fine. Next installing SAPI / Neospeech voices.

    17th of February, 2018

    Went back to using the current XPe image via a bit copy of the 16Gb SSD that I am using here. The meat of the SSD card around 8 Gb.

    Everything works. Pushing it a bit using 512Mb and VNC here to view remotely. Maybe trying this next on the Pine64 2Gb computer.

    [ATTACH]66801[/ATTACH]

    19th of February, 2018

    Works but is too slow to be practical. This is the last post relating to said endeavor.
    Last edited by Pete; February 19th, 2018, 12:24 PM.
    - Pete

    Auto mator
    Homeseer 3 Pro - 3.0.0.534 (Linux) - Ubuntu 18.04/W7e 64 bit Intel CPU - Mono 5.20
    Homeseer Zee2 (Lite) - 3.0.0.534 (Linux) - Ubuntu 18.04/W7e BeeLink 4Gb BT3 Pro - Mono 5.20

    X10, UPB, Zigbee, ZWave and Wifi MQTT automation.

  • #2
    Saved
    - Pete

    Auto mator
    Homeseer 3 Pro - 3.0.0.534 (Linux) - Ubuntu 18.04/W7e 64 bit Intel CPU - Mono 5.20
    Homeseer Zee2 (Lite) - 3.0.0.534 (Linux) - Ubuntu 18.04/W7e BeeLink 4Gb BT3 Pro - Mono 5.20

    X10, UPB, Zigbee, ZWave and Wifi MQTT automation.

    Comment


    • #3
      saved
      - Pete

      Auto mator
      Homeseer 3 Pro - 3.0.0.534 (Linux) - Ubuntu 18.04/W7e 64 bit Intel CPU - Mono 5.20
      Homeseer Zee2 (Lite) - 3.0.0.534 (Linux) - Ubuntu 18.04/W7e BeeLink 4Gb BT3 Pro - Mono 5.20

      X10, UPB, Zigbee, ZWave and Wifi MQTT automation.

      Comment

      Working...
      X