2dd62b6d6e
Orangepi lite2 board has AP6356S WiFi/BT combo, but does not have ethernet port. So it makes sense to enable wireless networking by default: - add broadcom wireless firmware package to image - add basic wireless tools to image - add rootfs overlay with proper NVRAM file for on-board AP6356S chip - add mdev to image to enable module autoloading - update readme.txt to test wifi Signed-off-by: Jagan Teki <jagan@amarulasolutions.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
45 lines
1.1 KiB
Plaintext
45 lines
1.1 KiB
Plaintext
Intro
|
|
=====
|
|
|
|
This default configuration will allow you to start experimenting with the
|
|
buildroot environment for the Orangepi Lite2. With the current configuration
|
|
it will bring-up the board, and allow access through the serial console.
|
|
|
|
Orangepi Lite2 link:
|
|
http://www.orangepi.org/Orange%20Pi%20Lite%202/
|
|
|
|
Wiki link:
|
|
https://openedev.amarulasolutions.com/display/ODWIKI/Orangepi+Lite2
|
|
|
|
How to build
|
|
============
|
|
|
|
$ make orangepi_lite2_defconfig
|
|
$ make
|
|
|
|
Note: you will need access to the internet to download the required
|
|
sources.
|
|
|
|
How to write the SD card
|
|
========================
|
|
|
|
Once the build process is finished you will have an image called "sdcard.img"
|
|
in the output/images/ directory.
|
|
|
|
Copy the bootable "sdcard.img" onto an SD card with "dd":
|
|
|
|
$ sudo dd if=output/images/sdcard.img of=/dev/sdX
|
|
$ sudo sync
|
|
|
|
Insert the micro SDcard in your Orangepi Lite2 and power it up. The console
|
|
is on the serial line, 115200 8N1.
|
|
|
|
WiFi
|
|
====
|
|
|
|
# wpa_passphrase ACCESSPOINTNAME >> /etc/wpa_supplicant.conf
|
|
(type password and enter)
|
|
# wpa_supplicant -i wlan0 -c /etc/wpa_supplicant.conf -B
|
|
# udhcpc -i wlan0
|
|
# ping google.com
|