MS71 / cmp_buildroot

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

(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

System

alt text

My Car

alt text

3D Case

alt text

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

Target Installation

About

License:GNU General Public License v2.0


Languages

Language:Makefile 47.5%Language:Shell 26.5%Language:Python 25.5%Language:Batchfile 0.5%