Build rAudio - Audio player and renderer for Raspberry Pi
- For all Raspberry Pis:
- 64bit:
4,3and2Zero 2cannot be used to run this DIY. Use pre-built image file instead.
- 32bit:
2 (BCM2836)
- Legacy:
1andZero: Arch LinuxARM ended ARMv6 CPU support. Use pre-built image file instead.
- 64bit:
- 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
Need
- Linux or Linux on USB e.g., Manjaro (Arch Linux)
- Raspberry Pi
- Micro SD card or USB drive
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 )Setup Wi-Fi auto-connect for headless/no screen (if not set during build)
- On Linux or Windows
- Insert micro SD card
- 3 alternatives:
- From existing
- Backup the profile file from
/etc/netctl/PROFILE - Rename it to
wifithen copy it toBOOTbefore power on.
- Backup the profile file from
- Edit template file - name and password
- Open
wifi0in BOOT with text editor - Edit SSID and Key
- Save as
wifi
- Open
- Generate a complex profile - static IP, hidden SSID
- With Pre-configure Wi-Fi connection
- Save it in BOOT
- From existing
- 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

