# pHATdac + Pi Zero software?

**URL:** <https://forums.pimoroni.com/t/phatdac-pi-zero-software/1858>\
**Category:** Support\
**Created:** [February 23, 2016, 9:08am UTC](https://forums.pimoroni.com/t/phatdac-pi-zero-software/1858 "2016-02-23T09:08:21Z")\
**Posts on this page:** 20\
**Page:** 1

<div class="post-metadata">

**Author:** ![crispyxuk](https://avatars.discourse-cdn.com/v4/letter/c/cab0a1/32.png) [@crispyxuk](https://forums.pimoroni.com/u/crispyxuk)\
**Post date:** [February 23, 2016, 9:08am UTC](https://forums.pimoroni.com/t/phatdac-pi-zero-software/1858/1 "2016-02-23T09:08:21Z")

</div>

Hi all,

I’ve been trying to build an airplay music streamer and have all the soldering done but can’t get any software to start.

I’ve tried both Volumio and PiMusicBox but neither boot on the Zero, although they boot fine on an RPi2

Does anyone have an idea on how to get these to run, or suggest an alternative?

---

<div class="post-metadata">

**Author:** ![lunar](https://sea2.discourse-cdn.com/flex016/user_avatar/forums.pimoroni.com/lunar/32/816_2.png) [@lunar](https://forums.pimoroni.com/u/lunar)\
**Post date:** [February 23, 2016, 9:27am UTC](https://forums.pimoroni.com/t/phatdac-pi-zero-software/1858/2 "2016-02-23T09:27:58Z")

</div>

If you just wait AirPlay, installing shairport-sync on Raspbian shouldn’t be too hard. The [tutorial](http://www.redsilico.com/multiroom-audio-raspberry-pi) written by Andy Jenkinson looks slightly old but should still work fine.

---

<div class="post-metadata">

**Author:** ![gadgetoid](https://sea2.discourse-cdn.com/flex016/user_avatar/forums.pimoroni.com/gadgetoid/32/13_2.png) [@gadgetoid](https://forums.pimoroni.com/u/gadgetoid)\
**Post date:** [February 23, 2016, 9:32am UTC](https://forums.pimoroni.com/t/phatdac-pi-zero-software/1858/3 "2016-02-23T09:32:17Z")

</div>

Was about to suggest basically the same thing. I had some success with Shairport Sync built on top of Raspbian Jessie Lite.

I’d ignore the:

```auto
rpi-update

```

step from that guide though. It doesn’t update your firmware, it moves you to a bleeding-edge firmware which unless you’re trying to fix a specific problem ( or know what you’re doing ) will be more trouble than it’s worth!

---

<div class="post-metadata">

**Author:** ![crispyxuk](https://avatars.discourse-cdn.com/v4/letter/c/cab0a1/32.png) [@crispyxuk](https://forums.pimoroni.com/u/crispyxuk)\
**Post date:** [February 23, 2016, 9:37am UTC](https://forums.pimoroni.com/t/phatdac-pi-zero-software/1858/4 "2016-02-23T09:37:48Z")

</div>

Airplay would be the priority I suppose, would be nice to work out why this other systems wouldn’t build mind.

Still, thanks for the suggestions, I shall give them a go tonight

---

<div class="post-metadata">

**Author:** ![gadgetoid](https://sea2.discourse-cdn.com/flex016/user_avatar/forums.pimoroni.com/gadgetoid/32/13_2.png) [@gadgetoid](https://forums.pimoroni.com/u/gadgetoid)\
**Post date:** [February 23, 2016, 10:00am UTC](https://forums.pimoroni.com/t/phatdac-pi-zero-software/1858/5 "2016-02-23T10:00:02Z")

</div>

Oh regarding Volumio, it’s apparently possible to just update it to the latest kernel so it’ll boot in a Pi Zero, you need an older Raspberry Pi 1, pop in the card and run:

```auto
sudo apt-get update
sudo apt-get ugprade

```

( I’m assuming `apt-get upgrade` will work as a more sensible stand-in to `rpi-update` )

Found here: [http://www.runeaudio.com/forum/the-new-5-raspberry-pi-zero-t2984-10.html](http://www.runeaudio.com/forum/the-new-5-raspberry-pi-zero-t2984-10.html)

---

<div class="post-metadata">

**Author:** ![crispyxuk](https://avatars.discourse-cdn.com/v4/letter/c/cab0a1/32.png) [@crispyxuk](https://forums.pimoroni.com/u/crispyxuk)\
**Post date:** [February 23, 2016, 10:18am UTC](https://forums.pimoroni.com/t/phatdac-pi-zero-software/1858/6 "2016-02-23T10:18:17Z")

</div>

Yeah, seen that, sadly don’t happen to have a B lying around :D

Seems like life would be simpler buying RPi2s instead haha

---

<div class="post-metadata">

**Author:** ![crispyxuk](https://avatars.discourse-cdn.com/v4/letter/c/cab0a1/32.png) [@crispyxuk](https://forums.pimoroni.com/u/crispyxuk)\
**Post date:** [February 23, 2016, 10:35am UTC](https://forums.pimoroni.com/t/phatdac-pi-zero-software/1858/7 "2016-02-23T10:35:28Z")

</div>

I’m assuming it’s best to setup the phatdac before installing shareport?

---

<div class="post-metadata">

**Author:** ![gadgetoid](https://sea2.discourse-cdn.com/flex016/user_avatar/forums.pimoroni.com/gadgetoid/32/13_2.png) [@gadgetoid](https://forums.pimoroni.com/u/gadgetoid)\
**Post date:** [February 23, 2016, 11:21am UTC](https://forums.pimoroni.com/t/phatdac-pi-zero-software/1858/8 "2016-02-23T11:21:22Z")

</div>

I don’t think it makes much difference, but just in case you paint yourself into a corner setting up pHAT DAC and want to re-image your Pi, I’d say it makes sense!

If you run into any troubles, I’ve got a working setup somewhere so I should be able to help.

---

<div class="post-metadata">

**Author:** ![crispyxuk](https://avatars.discourse-cdn.com/v4/letter/c/cab0a1/32.png) [@crispyxuk](https://forums.pimoroni.com/u/crispyxuk)\
**Post date:** [February 23, 2016, 11:23am UTC](https://forums.pimoroni.com/t/phatdac-pi-zero-software/1858/9 "2016-02-23T11:23:00Z")

</div>

Thanks man, spent 3 hours last night trying to get other stuff working, hoping this goes well

---

<div class="post-metadata">

**Author:** ![TracyS](https://avatars.discourse-cdn.com/v4/letter/t/3e96dc/32.png) [@TracyS](https://forums.pimoroni.com/u/TracyS)\
**Post date:** [February 23, 2016, 12:34pm UTC](https://forums.pimoroni.com/t/phatdac-pi-zero-software/1858/10 "2016-02-23T12:34:11Z")

</div>

appreciate it doesn’t help crispyxuk, but I can confirm that Volumio (v1.55) does boot on a Pi Zero, after running the following on an original Pi B :

sudo apt-get update  
sudo apt-get install binutils  
sudo rpi-update

then put the SD card into the Pi Zero and run the pHAT install script

you have to run it headless, ie SSH into both Pi to run those commands…

Cheers,  
Tracy.

---

<div class="post-metadata">

**Author:** ![crispyxuk](https://avatars.discourse-cdn.com/v4/letter/c/cab0a1/32.png) [@crispyxuk](https://forums.pimoroni.com/u/crispyxuk)\
**Post date:** [February 23, 2016, 1:49pm UTC](https://forums.pimoroni.com/t/phatdac-pi-zero-software/1858/11 "2016-02-23T13:49:43Z")

</div>

Only have an RPi2 to hand, I’m assuming there’s no SD image available anywhere?

---

<div class="post-metadata">

**Author:** ![gadgetoid](https://sea2.discourse-cdn.com/flex016/user_avatar/forums.pimoroni.com/gadgetoid/32/13_2.png) [@gadgetoid](https://forums.pimoroni.com/u/gadgetoid)\
**Post date:** [February 23, 2016, 2:01pm UTC](https://forums.pimoroni.com/t/phatdac-pi-zero-software/1858/12 "2016-02-23T14:01:39Z")

</div>

If it’s just replacing the kernel and modules then it may be possible to simply drop them in manually.

You could flash the Volumio image, then replace the contents of boot with the files from here: [https://github.com/raspberrypi/firmware/tree/master/boot](https://github.com/raspberrypi/firmware/tree/master/boot)

I don’t know if it’ll work, but I’ve done it before on other distros.

---

<div class="post-metadata">

**Author:** ![TracyS](https://avatars.discourse-cdn.com/v4/letter/t/3e96dc/32.png) [@TracyS](https://forums.pimoroni.com/u/TracyS)\
**Post date:** [February 23, 2016, 4:02pm UTC](https://forums.pimoroni.com/t/phatdac-pi-zero-software/1858/13 "2016-02-23T16:02:00Z")

</div>

I might be able to create an image of my installation - not something I’ve done before - but if it would help, I could give it a try…

we could then work out where to copy it too… :-)

---

<div class="post-metadata">

**Author:** ![crispyxuk](https://avatars.discourse-cdn.com/v4/letter/c/cab0a1/32.png) [@crispyxuk](https://forums.pimoroni.com/u/crispyxuk)\
**Post date:** [February 23, 2016, 5:09pm UTC](https://forums.pimoroni.com/t/phatdac-pi-zero-software/1858/14 "2016-02-23T17:09:31Z")

</div>

That would be amazing if you could!

---

<div class="post-metadata">

**Author:** ![TracyS](https://avatars.discourse-cdn.com/v4/letter/t/3e96dc/32.png) [@TracyS](https://forums.pimoroni.com/u/TracyS)\
**Post date:** [February 23, 2016, 7:27pm UTC](https://forums.pimoroni.com/t/phatdac-pi-zero-software/1858/15 "2016-02-23T19:27:48Z")

</div>

ok, working on that now then, will let you know.

building a fresh image for you, rather than with my configuration! :-)

---

<div class="post-metadata">

**Author:** ![TracyS](https://avatars.discourse-cdn.com/v4/letter/t/3e96dc/32.png) [@TracyS](https://forums.pimoroni.com/u/TracyS)\
**Post date:** [February 23, 2016, 10:06pm UTC](https://forums.pimoroni.com/t/phatdac-pi-zero-software/1858/16 "2016-02-23T22:06:27Z")

</div>

image file is ready, it’s zipped up and weighs in at 450MB!

any ideas where I can copy it to - do you have some kind of cloud storage?

---

<div class="post-metadata">

**Author:** ![crispyxuk](https://avatars.discourse-cdn.com/v4/letter/c/cab0a1/32.png) [@crispyxuk](https://forums.pimoroni.com/u/crispyxuk)\
**Post date:** [February 24, 2016, 9:06am UTC](https://forums.pimoroni.com/t/phatdac-pi-zero-software/1858/17 "2016-02-24T09:06:40Z")

</div>

Not at present, I usually send large files with [https://www.wetransfer.com](https://www.wetransfer.com) if that’s an option?

EDIT: Thanks btw! :D

---

<div class="post-metadata">

**Author:** ![TracyS](https://avatars.discourse-cdn.com/v4/letter/t/3e96dc/32.png) [@TracyS](https://forums.pimoroni.com/u/TracyS)\
**Post date:** [February 24, 2016, 5:49pm UTC](https://forums.pimoroni.com/t/phatdac-pi-zero-software/1858/18 "2016-02-24T17:49:20Z")

</div>

you’re welcome, if you’d like to send me a PM with your e-mail address in, then I can get that uploaded.

I used a 4GB card to build the system on, my understanding is that you will need one at least that size in order to burn the image.

and then you’ll need to run the Pimoroni script for the pHAT.

---

<div class="post-metadata">

**Author:** ![crispyxuk](https://avatars.discourse-cdn.com/v4/letter/c/cab0a1/32.png) [@crispyxuk](https://forums.pimoroni.com/u/crispyxuk)\
**Post date:** [February 24, 2016, 8:37pm UTC](https://forums.pimoroni.com/t/phatdac-pi-zero-software/1858/19 "2016-02-24T20:37:08Z")

</div>

Cheers. Pm sent, what script needs running?

---

<div class="post-metadata">

**Author:** ![TracyS](https://avatars.discourse-cdn.com/v4/letter/t/3e96dc/32.png) [@TracyS](https://forums.pimoroni.com/u/TracyS)\
**Post date:** [February 24, 2016, 8:41pm UTC](https://forums.pimoroni.com/t/phatdac-pi-zero-software/1858/20 "2016-02-24T20:41:56Z")

</div>

it’s the one-line installer mentioned here (amongst other places) :

> **[pHAT DAC at Raspberry Pi GPIO Pinout](https://pinout.xyz/pinout/phat_dac)**
>
> An I2S digital to analog audio converter

[Next page](https://forums.pimoroni.com/t/phatdac-pi-zero-software/1858.md?page=2)
