Skip to content

rern/rOS

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1,920 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

rOS - DIY rAudio

Build rAudio - Audio player and renderer for Raspberry Pi

  • For all Raspberry Pis:
  • Create rAudio from latest releases of Arch Linux ARM
  • Interactive interface
  • Options:
    • Pre-configure Wi-Fi connection
    • Exclude features (can be as light as possible in terms of build time and disk space)

Procedure

  • Create Arch Linux ARM + rAudio
    • Use router pre-assigned IP address if possible
    • Run script:
      • Setup
      • Create Arch Linux ARM
      • SSH to Raspberry Pi
      • Create rAudio
        • Upgrade kernel and default packages
        • Install feature packages
        • Install web user interface
        • Configure
        • Setup defaults

dialog1 dialog2

Need

  • Linux or Linux on USB e.g., Manjaro (Arch Linux)
  • Raspberry Pi
  • Micro SD card or USB drive

Create rAudio

Target device:

  • Option 1: Micro SD card (Should be at least class 10 or U1)
  • Option 2: USB drive (Not for Zero and 1)
    • Suitable for much-faster-than-SD-card drives.
    • Normal hard drive needs external power, e.g., powered USB hub, to have it spin up 5+ seconds before boot.
    • USB mass storage boot must be enabled on Raspberry.
    • Boot
      • Might takes 10+ seconds longer: Detect no sd card » read boot loader » boot
      • Remedy: Copy /boot/* to an SD card » Use for boot loader instead.

Run script

  • Open terminal on Linux
su
bash <( curl -sL https://github.com/rern/rOS/raw/main/create-alarm.sh )

Optionals

Setup Wi-Fi auto-connect for headless/no screen (if not set during build)

  • On Linux or Windows
  • Insert micro SD card
  • 3 alternatives:
    1. From existing
      • Backup the profile file from /etc/netctl/PROFILE
      • Rename it to wifi then copy it to BOOT before power on.
    2. Edit template file - name and password
      • Open wifi0 in BOOT with text editor
      • Edit SSID and Key
      • Save as wifi
    3. Generate a complex profile - static IP, hidden SSID
  • Move micro SD card to Raspberry Pi
  • Power on

Create image file (BOOT and ROOT on single device only)

  • Once started rAudio successfully
  • SSH to RPi
  • Reset for image
ssh root@<RPI IP>
bash <( curl -sL https://github.com/rern/rOS/raw/main/image-reset.sh )
  • Shutdown
  • Move micro SD card to Linux
  • Create compressed image file
bash <( curl -sL https://github.com/rern/rOS/raw/main/image-create.sh )

LED flashes - errors
Decode: https://support.pishop.ca/article/33-raspberry-pi-act-led-error-patterns

About

Raspberry Pi audio player

Resources

Stars

Watchers

Forks

Contributors