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.

...

  • Need Go installed (version 1.15.3)
  • Need docker community (version 2.5.0.1)
  • Qemu- version 4 or greater


Step 0: Setting up your SD card

...

  1. find your SD cards disk and unmount it

    diskutil list
    diskutil unmountDisk /dev/<diskname> //mine is diskutil unmountDisk /dev/disk2

  2. We are going to write 0's (zeros) 100 MB1 GB - just incase the SD Card Formatter doesn't do a good job 

    sudo dd if=/dev/zero of=/dev/<diskName> 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)

...

  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
    ./eden config add default --devmodel RPi4



  4. *Optional: Add the xen flag if you want to use Xen as your hypervisor, skip to step 5 if you want to use kvm

    ./eden config add second default --devmodel RPi4  //Not sure if this is needed..RPi4
    ./eden config set default --key eve.hv --value = xen

  5. *Optional: Enable WiFi
    ./eden config add default --devmodel = RPi4 --ssid = <mywifinet> --password=<mypass>     //no quotation marks around the SSID or Password unless there is a space
  6. Build the EVE image and start eden
    ./eden setup
    ./eden start

...