RPi-Jukebox-RFID-buildroot-package
wget https://buildroot.org/downloads/buildroot-2023.08.tar.gz
tar xjfv buildroot-2023.08.tar.gz && rm buildroot-2023.08.tar.gz
make -C buildroot BR2_EXTERNAL="$PWD/phoniebox"
make -C buildroot BR2_EXTERNAL="$PWD/phoniebox" raspberrypi0w_defconfig
make menuconfig
To make your changes persistent to the defconfig file, don't forget to execute the command.
make -C buildroot make savedefconfig
make -C buildroot make linux-update-config
- First boot takes a couple of seconds longer, because the FS is being expanded
- Enable XZ compressed modules for kernel 6.1.x otherwise modules.dep is empty
I created this repo because we wanted to use Jukebox for RPi Zero W but unfortunately the start up timing was to slow for usage with children. So we tried to create a buildroot package but it was harder than expected and the usage of a microcontroller (ESP8266, ...) was easier. But because of easy update possibility we try again to create a small buildroot setup for the rasperrypi zero.
- Download and unzip buildroot BuildRoot Documentation
- Run default config for raspberry pi zero w
make raspberrypi0w_defconfig
- Clone this repo inside the package folder of buildroot
git clone https://github.com/net-attack/RPi-Jukebox-RFID-buildroot-package.git rpi-phoniebox
- Add package to
package\Config.in
end of file:Ensure to have a empty newline in the config files. This lead to errors while running make menuconfigmenu "Phoniebox" source "package/rpi-phoniebox/Config.in" endmenu
- Run
make menuconfig
and selectPhoniebox
- Run
make
- Need to patch the linux_custom script folder:
Replace in
output\build\linux_custom\scripts\dtc\dtc-lexer.l
the lineYYLTYPE yylloc;
withextern YYLTYPE yylloc;