/superbird-buildroot

Buildroot environment for superbird target (Spotify Car Thing)

Since Spotify Car Thing (superbird) has been unlocked, the device can now run custom software. This repository provides a Buildroot environment to build software for superbird target.

requirements

  • Debian-based Linux host
  • Docker

setup

sudo apt install bison
git clone https://github.com/frederic/superbird-buildroot.git
cd superbird-buildroot/
git checkout buildroot-openlinux
wget https://releases.linaro.org/components/toolchain/binaries/7.3-2018.05/aarch64-linux-gnu/gcc-linaro-7.3.1-2018.05-x86_64_aarch64-linux-gnu.tar.xz -O vendor/amlogic/external/packages/gcc-linaro-7.3.1-2018.05-x86_64_aarch64-linux-gnu.tar.xz
wget https://releases.linaro.org/components/toolchain/binaries/7.3-2018.05/arm-linux-gnueabihf/gcc-linaro-7.3.1-2018.05-x86_64_arm-linux-gnueabihf.tar.xz -O vendor/amlogic/external/packages/gcc-linaro-7.3.1-2018.05-x86_64_arm-linux-gnueabihf.tar.xz
wget https://cobalt.googlesource.com/cobalt/+archive/refs/tags/20.lts.3.tar.gz -O vendor/amlogic/external/packages/cobalt-20.lts.3.244012.tar.gz
cd ..

run

(Based on https://wiki.odroid.com/odroid-n2/software/using_docker)

cd superbird-buildroot/
docker run --name superbird_buildroot -v $PWD:/srv -it odroid/meson64-dev:202106

resume stopped container

docker start -i superbird_buildroot

build

In docker :

. ./setenv.sh mesong12a_u200_32_release
make

To build a specific package :

cd buildroot/
make mesong12a_u200_32_release_defconfig
make weston