Skip to content

MoJo2600/RPi-Jukebox-RFID-buildroot-package

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

RPi-Jukebox-RFID-buildroot-package

RPi-Jukebox-RFID-buildroot-package

Buildroot

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

Save .config to defconfig

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

Misc

  • 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

Old Stuff

UseCase

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.

ToDo

  1. Download and unzip buildroot BuildRoot Documentation
  2. Run default config for raspberry pi zero w
    make raspberrypi0w_defconfig
    
  3. Clone this repo inside the package folder of buildroot
    git clone https://github.com/net-attack/RPi-Jukebox-RFID-buildroot-package.git rpi-phoniebox
    
  4. Add package to package\Config.in end of file:
    menu "Phoniebox"
       source "package/rpi-phoniebox/Config.in"
    endmenu
    
    Ensure to have a empty newline in the config files. This lead to errors while running make menuconfig
  5. Run make menuconfig and select Phoniebox
  6. Run make

Open Issues:

  1. Need to patch the linux_custom script folder: Replace in output\build\linux_custom\scripts\dtc\dtc-lexer.l the line YYLTYPE yylloc; with extern YYLTYPE yylloc;

About

RPi-Jukebox-RFID-buildroot-package

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Languages

  • Makefile 37.5%
  • Shell 29.1%
  • HTML 14.7%
  • JavaScript 13.4%
  • Dockerfile 5.3%