Edge-V Build Instruction

Hi,
I am not able to build the Edge-V stack.
please provide me the detail step to do so .

./env/setenv.sh

Choose Khadas board:

  1. Edge
  2. VIM1
  3. VIM2
  4. VIM3
  5. VIM3L

Which board would you like? [2] 1

Choose uboot version:

  1. uboot-2017.09
  2. uboot-mainline

Which uboot version would you like? [1] 1

Choose linux version:

  1. linux-4.4

Which linux version would you like? [1] 1

Choose distribution:

  1. Ubuntu
  2. Debian

Which distribution would you like? [1] 1

Choose Ubuntu release:

  1. bionic

Which Ubuntu release would you like? [1] 1

Choose Ubuntu type:

  1. server
  2. xfce
  3. lxde

Which Ubuntu type would you like? [1] 3

Set architecture to ‘arm64’ by default.

Choose install type:

  1. EMMC
  2. SD-USB

Which install type would you like? [1] 2

#VERSION: 0.8.3

#KHADAS_BOARD=Edge
#VENDOR=Rockchip
#CHIP=RK3399
#LINUX=4.4
#UBOOT=2017.09
#DISTRIBUTION=Ubuntu
#DISTRIB_RELEASE=bionic
#DISTRIB_TYPE=lxde
#DISTRIB_ARCH=arm64
#INSTALL_TYPE=SD-USB

===========================================

Environment setup done.
Type ‘make’ to build.

$$$/fenix$ make
./scripts/create_image.sh

PARAMETERS*
Fenix Version: 0.8.3
Khadas Board: Edge
Uboot Version: 2017.09
Uboot Configuration: kedge_defconfig
Uboot Branch: khadas-edge-v2017.09
Linux Version: 4.4
Linux Configuration: kedge_defconfig
Linux DTB: arch/arm64/boot/dts/rockchip/rk3399-khadas-edge-linux.dtb
Linux Branch: khadas-edge-4.4.y
Distribution: Ubuntu
Distribution Release: bionic
Distribution Type: lxde
Distribution Arch: arm64
Install Type: SD-USB
Final Image: Edge_Ubuntu-lxde-bionic_Linux-4.4_arm64_SD-USB_V0.8.3-20200302.img


Info: Build host: xenial
config/functions/common-functions:66 Error: Your build host is not supported! Please use ‘Ubuntu artful/bionic’ as your build host or try to build in Docker.

You can’t build the image on a Ubuntu 16.04 host. You need to use ubuntu 18.04 or build in docker.

https://docs.khadas.com/edge/FenixScript.html#Build-Fenix-in-Docker

1 Like

Hi,

We have following distribution package : Choose Ubuntu type:

  1. server
  2. xfce
  3. lxde

Can you let me know what is the difference between them , and what is suitable of which sort of application.

    1. server - Headless image without desktop environment
    1. xfce - XFCE desktop environment
    1. lxde - LXDE desktop environment

For Edge, if you want to use the desktop environment, LXDE is recommended

1 Like