HiKey(LeMaker version):Network

From BananaPro/Pi
Jump to: navigation, search

Wireless Network

The HiKey board includes the built-in 2.4GHz IEEE802.11 b/g/n WiFi networking. The board does not support the 5GHz band. To use the wireless LAN interface for the first time (or to switch wireless networks) you should click on the wireless LAN icon on the bottom right of the desktop display. The yellow LED between the microUSB and the Type A USB on the front board edge indicates wireless network activity.

You can configure the network from UI, or manually from console:

sudo nmtui

Select 'Activate a connection', Choose your WiFi access point (SSID) and fill the relevant information (password, etc.).

You can check network status by using this command:

sudo nmcli dev wifi

Compile WiFi driver from Source

By default, HiKey includes TI R8.5 wl18 driver.

In order to compile and install this driver you will have to do the following:

git clone https://github.com/96boards/linux linux.git
cd linux.git
git clone https://github.com/96boards/wilink8-wlan_build-utilites.git build_utilities.git
git clone -b hikey https://github.com/96boards/wilink8-wlan_wl18xx.git build_utilities.git/src/driver
git clone -b R8.5  https://github.com/96boards/wilink8-wlan_wl18xx_fw.git build_utilities.git/src/fw_download
git clone -b hikey https://github.com/96boards/wilink8-wlan_backports.git build_utilities.git/src/backports
patch -p1 < build_utilities.git/patches/hikey_patches/0001-defconfig-hikey-discard-CFG80211-and-MAC80211.patch

Then compile the kernel as usual, please refer to HiKey(LeMaker_version):Building_Debian_from_Source_Code#Build_kernel_from_source for detailed steps.

Before building the kernel drivers, create a file build_utilities.git/setup-env using the build_utilities.git/setup-env.sample file as reference. Please ignore any warnings/errors reported during the following steps:

cd linux.git
make ARCH=arm64 CROSS_COMPILE=aarch64-linux-gnu- -j8 modules INSTALL_MOD_PATH=./build_utilities.git/fs > modules_install
cd build_utilities.git
./build_wl18xx.sh modules
./build_wl18xx.sh firmware

Wired Network

You can connect to a wired network by using a USB Ethernet adapter. Supported adapters should automatically work when the adapter is installed. Please read the information HiKey(LeMaker_version):USB#switch USB ports speed modes about the USB port speeds on HiKey.