buildroot/board/sinovoip/m1-plus
Filip Skoneczny 9365c1de5b configs/bananapi_m1_plus_defconfig: new defconfig
This commit adds support for Sinovoip's Banana Pi
M1+. It is mostly based on bananapro_defconfig
but with appropriate device tree and minor tweaks:

- apply bananapi-m1-plus device tree in linux
- apply bananapi_m1_plus defconfig for uboot
- apply patch for OOB IRQs on new device tree
- update device tree name in boot.cmd, genimage.cfg
- update symlink for BRCM driver in rootfs_overlay
- overall clean-up of the config

Tested on BPI-M1+ V1_1.

Signed-off-by: Filip Skoneczny <fskoneczny@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
2021-01-25 22:02:36 +01:00
..
patches/linux configs/bananapi_m1_plus_defconfig: new defconfig 2021-01-25 22:02:36 +01:00
rootfs_overlay/lib/firmware/brcm configs/bananapi_m1_plus_defconfig: new defconfig 2021-01-25 22:02:36 +01:00
boot.cmd configs/bananapi_m1_plus_defconfig: new defconfig 2021-01-25 22:02:36 +01:00
genimage.cfg configs/bananapi_m1_plus_defconfig: new defconfig 2021-01-25 22:02:36 +01:00
linux-wifi.fragment configs/bananapi_m1_plus_defconfig: new defconfig 2021-01-25 22:02:36 +01:00
post-build.sh configs/bananapi_m1_plus_defconfig: new defconfig 2021-01-25 22:02:36 +01:00
readme.txt configs/bananapi_m1_plus_defconfig: new defconfig 2021-01-25 22:02:36 +01:00

Banana Pi M1+

Intro
=====

This default configuration will allow you to start experimenting with the
Buildroot environment for the Banana Pi M1+. With the current configuration
it will bring-up the board, and allow access through the serial console.

How to build it
===============

Configure Buildroot:

  $ make bananapi_m1_plus_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 Pi M1+ 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
==========

For this example you need package alsa-utils.

Connect a headphone to the 3.5mm jack (TRRS). Note, that the Banana Pi M1+
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