I2c2 not present in device tree for Edge Captain

I am running a modified version of the Fenix Ubuntu Bionic 4.4.179 build. I’ve noticed some things I think should be added to the default build:

  1. The rk3399-khadas-captain-linux.dts should contain at least:

&i2c2 {
status = “okay”;
};

Otherwise the I2C bus connected to the 40-pin header is not visible.

  1. This isn’t as important, but the TUN support is not enabled by default which limits the usage of some third party networking software.
  • CONFIG_TUN=n
  • CONFIG_TUN=y

These are both tested and work with the original Fenix Ubuntu 4.4.179 build.