You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 2 Next »

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.

Limitations:

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

What you 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)
  • Need Golang installed on your laptop (1.15.3)
  • need docker community version 2.5.0 (or later)

More Detail and where to get the items

  • RPi 4 B- 8 GB is better, 4 GB will work, but it is slow.  
    • 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)


Instructions for a Mac

Assumptions:

  • Need Go installed (version 1.15.3)
  • Need docker community version 2.5.0.1


Step 0: Setting up your SD card

The first thing that you need to do is to format your SD card.  The easiest way is just to go and get the SD Card Formatter app.

Once you have formatted your disk, lets get it ready for EVE.

  1. find your SD cards disk and unmount it

    diskutil list
    diskutil unmountDisk /dev/ //mine is diskutil unmountDisk /dev/disk2

  2. We are going to write 0's (zeros) 100 MB

    sudo dd if=/dev/zero of=/dev/ bs=1m count=1000 //mine is sudo dd if=/dev/zero of=/dev/disk2 bs=1m count=1000
    The above step can take a couple of minutes with out feedback from the command line (mine took just over one minute)


Step 1: Install EVE on Raspberry instead of any other OS.
EVE will run as the OS on the RPi

Prepare Raspberry image
Navigate in your terminal application to the location where you would like place EVE and Eden

Clone the github (do we want to have a label that will work? will a future version break this?)
git clone https://github.com/lf-edge/eden.git
cd eden

//we are now going to buil eden
make clean <-- run this if you have built EVE already on your machine
make build
./eden config add default --devmodel RPi4

*****
./eden config set default --key eve.hv --value=xen ***new line***
when I added in the above, it didn't boot... haven't tried the other combination

***
./eden config add second --devmodel RPi4
**added this
####Is this correct (below) because didn't we add the default above? does the devmodel RPi4 need to be there twice

./eden config set second --key eve.hv --value=xen


./eden setup
./eden start
Then you will have an .img that can be transferred to SD card: installing-images.

For example for MacOS:

diskutil list
diskutil unmountDisk /dev/<your disk name> ##your disk might be unmounted already if you haven't removed it in step 0
sudo dd bs=1m if=path_of_your_image.img of=/dev/rdiskN; sync //mine sudo dd bs=1m if=/Users/aaron/Desktop/LFEdge/EVE/EVE_RPi4/eden/dist/default-images/eve/live.img of=/dev/disk2; sync
sudo diskutil eject /dev/<your disk name>

*unplug all things to the USB on the RPi
Put in SD card into Raspberry and power it on

Step 2: Connect to Raspberry and run some app.
We need to now onboard our RPi into eden so that we can control it remotely
./eden eve onboard


you can test
./eden pod deploy -p 8028:80 docker://nginx
After these lines you will have nginx available on public EVE IP at port 8028

$$$ talk about plugging in a monitor to get the IP address (can eden give us the IP address)
yes it can with eden status

./eden status


You can try to boot the Windows 10 ARM64 image on RPi (you need not less than 32GB SD card):

/*
eden pod deploy docker://itmoeve/eci-windows:2004-compressed-arm64 --vnc-display=1 --memory=2GB --cpus=2
*/

./eden pod deploy docker://itmoeve/eci-windows:2004-compressed-arm64 --vnc-display=1 --memory=6GB --cpus=2

$$ deploying windows to the EVE on the RPi will take a while, it is best to go and get some coffee. to check on the status of the deployment you can run
./eden pod ps

  • No labels