mirror of
https://git.busybox.net/buildroot.git
synced 2024-11-27 15:33:28 +08:00
0ad1067db5
The board support package includes the following components: - U-Boot 2016.11 - Linux 4.9.3 - packages: - alsa-utils for basic audio usage of the on-board headphone jack and microphone - iw and wpa_supplicant for managing the wireless interface Two Linux patches are necessary to enable audio and wifi support. Both patches are fetched from the Linux next branch and are probably mainlined in Linux 4.11. A Linux configuration fragment enables the wireless device driver, which is not enabled by default in the mainline defconfig of the board. The wifi chip needs a NVRAM configuration file which is provided in the rootfs overlay. Signed-off-by: Jörg Krause <joerg.krause@embedded.rocks> [Thomas: remove e2fsprogs from the target packages, add entry in DEVELOPERS file, remove C++ support.] Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
63 lines
1.5 KiB
Plaintext
63 lines
1.5 KiB
Plaintext
Banana Pro
|
|
|
|
Intro
|
|
=====
|
|
|
|
This default configuration will allow you to start experimenting with the
|
|
Buildroot environment for the Banana Pro. With the current configuration
|
|
it will bring-up the board, and allow access through the serial console.
|
|
|
|
How to build it
|
|
===============
|
|
|
|
Configure Buildroot:
|
|
|
|
$ make bananapro_defconfig
|
|
|
|
Compile everything and build the SD card image:
|
|
|
|
$ make
|
|
|
|
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":
|
|
|
|
$ dd if=output/images/sdcard.img of=/dev/sdX
|
|
|
|
Notes:
|
|
- replace 'sdX' with the actual device with your micro SD card
|
|
- you may need to be root to do that (use 'sudo')
|
|
|
|
Insert the micro SD card in your Banana Pro and power it up. The console
|
|
is on the debug TTL UART, 115200 8N1.
|
|
|
|
Ethernet
|
|
==========
|
|
|
|
# udhcpc -i eth0
|
|
|
|
Wifi
|
|
==========
|
|
|
|
# wpa_passphrase YOUR_SSID >> /etc/wpa_supplicant.conf
|
|
(enter the wifi password and press enter)
|
|
# wpa_supplicant -i wlan0 -c /etc/wpa_supplicant.conf -B
|
|
# udhcpc -i wlan0
|
|
|
|
Note:
|
|
- replace 'YOUR_SSID' with the actual SSID from your access point
|
|
|
|
Audio
|
|
==========
|
|
|
|
Connect a headphone to the 3.5mm jack (TRRS). Note, that the Banana Pro
|
|
has an on-board microphone, too.
|
|
|
|
# amixer cset name='Power Amplifier DAC Playback Switch' on
|
|
# amixer cset name='Power Amplifier Mute Switch' on
|
|
# amixer cset name='Power Amplifier Volume' 42
|