Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Written by:  Petr Fedchenkov LF Edge Lead Developer, Vladimir Suvorov, LF Edge R&D Lead, and Aaron Williams, Community Manager and Developer Advocate for LF Edge.

Did you know that EVE is currently the only way to get Xen to run on a Raspberry Pi? 

Well, now EVE is the simplest way to get Windows 10 running on a Raspberry Pi.

...

.


To get Windows 10 running on a Raspberry Pi is actually quite easy, but right now there are a couple of limitations that we know of, and probably a couple more that we don't know about yet. But we wanted to get this out there so our community could start playing with it and help us improve upon what we already have.  This was taken from and expanded from our instructions on how to get started with Eden on Github.

EVE on Github.

Limitations:

  • need to run it via RDP or VNC
  • Not sure if the RPi's Bluetooth or WiFi is working

What you will need:

  • RPi 4 B+ 8GB
  • 128 GB SD card
  • Networking cable
  • Laptop (these instructions are for a Mac, and we will soon improve them for Windows and Linux, but you probably can make some adjustments and get it working)

More Detail and where to get the items

  • RPi 4 B- 8 GB is better, 4 GB will work, but it is slow.     If you use 4 GB, you will need to lower the GB given to Windows below. 
    • This kit has everything that you need, minus the SD card
  • 32GB SD card (at least), you will want a fast one for a camera, this one is 128 GB
  • You will need your RPi to be plugged into a network at least to start off. I plugged mine into a small 4 port router, and that is plugged into a wireless repeater for my home wifi.
  • Networking cable- I have two, one for RPI to the router and one from the router to the wireless repeater (I am running multiple RPis, hence the router)Networking Cable (Native WiFi is working)
  • WiFi name (SSID) and password. 

What to do if you have questions

Don't you hate it when you try to do a tutorial and you get stuck or something isn't clear?  We do too.  Thus, if this happens, please visit us on our Slack channel LF Edge #eve-help and ask your question.  Since we are a community, we just ask that if you see a question that you can answer, that you do that too. 

And while you are there, go to #eve or #eve-rpi and tell us what you building. 

Instructions for a Mac

Assumptions:

...

  1. On your computer, navigate in your terminal application to the location where you would like place EVE and Eden
  2. Clone Eden's github

    git clone https://github.com/lf-edge/eden.git
    cd eden

  3. Build Eden

    make clean   <--This cleans up if you have already built something and does nothing if you haven't 
    make build

  4. Set Configuration
    There are a couple of ways that you could do this.  Here are a couple of options.  Let's start with WiFi 
    A. No WiFi
       ./eden config add default --devmodel RPi4 RPi4 

    B. With WiFi
       ./eden config add default --devmodel RPi4 --ssid <mywifinet> //no quotation marks around the SSID unless there is a space in the SSID, the password will be asked for later

    If you would like to run the Xen hypervisor instead of the default kvm, after doing one of the above, add this:
       ./eden config set default --key eve.hv --value xen

  5. Build the EVE image
    ./eden setup
    This is the step that will ask you for the password to your WiFi.
    When it is done, Eden will output information about the EVE certificates and the SSID and password that you entered.  It will also give you the location of the live.img image that you will put on the SD card.
  6. Start Eden
    When you are ready,  start Eden
    ./eden start


Copy the Image to the SD Card

...

  1. Download and install RDP for your OS from here.
  2. When you set up your connection make sure you use the port 8027. (XX.XX.XX.XX:8027)
  3. Username: IEUser and Password: Passw0rd!

Step 4b:  Using VNC to Remote into Your Pi

...

You now have Windows running on a Raspberry Pi!  Pretty cool, eh?  Please visit us on slack to tell us what you have done.  
This was mostly done as a PoC, so we are really looking for help from the community to improve this project.  Here are some ideas from us:

  • You could see school computer classes using this type of thing.  The teach sets up the environment they need/want and then at the end of the day, would be able to reset all of their machines.  Thus, your help could make this a reality for them. 
  • What about Android? or Ubuntu?  (yes for Ubuntu you could put it natively on the RPi, but if you are running an event with 10-50 RPi's, it would be much nicer to reset everything via EVE than to re-burn all of the SD cards.)
  • What about running EdgeX or Fledge on Eden/EVE?  The instructions would basically work.  We just need to work on what ports to turn on. 

...

Limitations/things we haven't tested as of Nov 25, 2020

  • Using VNC- Lining up of the mouse.  This is really a limitation of VNC.  RDP works well.
  • WiFi/Bluetooth-  We haven't tested using the native WiFi or the native Bluetooth on the device, but it doesn't seem to be working
  • When the Pi is plugged into a monitor, you see EVE and not windows.  We are working on this.
    • Plugging in a keyboard and mouse interacts with EVE (same as above) 
  • GPIO pins, they might work, but the limitation is probably on Windows.  We need to test this.
  • USB- They are not quite working yet, we are working on it.