(Car Media Player) CMP Buildroot
This is an buildroot external (overlay) for building a CMP OS.
OS Feature
- Buildroot linux system
- Systemd
- WiFi Client & AP
- Samba File Share
- Bluetooth/BlueZ5
- Bluetooth A2DP Audio Streaming to Car Headunit
- Bluetooth AVRCP Control
- Qt5 QML Support
- FBTFT Touch Display
- PulseAudio
- GStreamer
- Welle.IO
Target System
- Banana PI M2 ZERO (https://bananapi.gitbooks.io/bpi-m2-/content/en/bpi-m2-zero-hardware.html)
- Watterott RPI Display (https://www.watterott.com/de/RPi-Display-B-Plus)
- 5mm Header (https://www.reichelt.de/2x10pol-buchsenleiste-gerade-rm-2-54-bl-2x10g-2-54-p6074.html)
System
My Car
3D Case
Tree
cmp_buildroot/
├── external.desc
├── external.mk
├── LICENSE
├── README.md
├── Config.in
│
├── configs
│ └── bananapi_m2_zero_cmp_defconfig
│
├── board
│ └── bananapi
│ └── bananapi-m2-zero
│ ├── boot.cmd
│ ├── bpiz-fbtft.dts
│ ├── genimage.cfg
│ ├── genimage-initrd.cfg
│ ├── linux-bananapi-m2-zero.cfg
│ ├── sun8i-bpi-m2-zero-fbtft.dts
│ └── uboot-add-bananapi-m2-zero.patch
│
└── rootfs_overlay
└── etc
├── bluetooth
│ ├── audio.conf
│ └── main.conf
├── dbus-1
│ └── system.conf
├── fstab
├── init.d
│ ├── S41bluetooth
│ └── S99startapp
├── network
│ └── interfaces
├── samba
│ └── smb.conf
└── ssh
└── sshd_config
Building
- mkdir cmp
- cd cmp
- git clone https://github.com/buildroot/buildroot.git
- cd buildroot
- git checkout 2019.05
- cd ..
- git clone https://github.com/MS71/cmp_buildroot.git
- cd buildroot
- export BR2_EXTERNAL=$PWD/../cmp_buildroot
- make bananapi_m2_zero_cmp_defconfig
- time make
...
INFO: hdimage(sdcard.img): adding partition 'u-boot' from 'u-boot-sunxi-with-spl.bin' ...
INFO: hdimage(sdcard.img): adding partition 'boot' (in MBR) from 'boot.vfat' ...
INFO: hdimage(sdcard.img): adding partition 'rootfs' (in MBR) from 'rootfs.ext4' ...
INFO: hdimage(sdcard.img): writing MBR
real 119m20,462s
user 386m0,202s
sys 46m18,693s - make ffmpeg4
- make