Jump to content


Photo

[Tutorial] I2S on Orange Pi H3


64 replies to this topic

#61 pharmac

pharmac

    Newbie

  • Senior Members
  • Pip
  • 4 posts

Posted 13 February 2017 - 01:00 AM

First of all, it was introduced in the forum (http://www.diyaudio....orange-dac.html) that made it possible to listen to high reso music on i2S output on OrangePi PC It was done. It was a report that introduced Logitech Media Server (LMS) + Squeezelite to OrangePi PC. That image was perfect.
However, the Volumio that was introduced later on another forum (http: //www.orangepi....wthread&tid=191) was incomplete and did not work.

#62 michelangelo

michelangelo

    Newbie

  • Senior Members
  • Pip
  • 2 posts

Posted 13 February 2017 - 11:04 AM

Hi, we've designed Volumio to be easily ported to other platforms. You can see our build scripts here:

 

https://github.com/volumio/Build

 

You can take inspiration from the build script for Odroid for example:

https://github.com/v...roidc1config.sh

https://github.com/v...droidc1image.sh

 

Simply copy them as orangepiconfig.sh and orangepiimage.sh and modify them accordingly, once done add the references to :

https://github.com/v...master/build.sh

 

If you need some assistance, jump on our forum where we can give assistance if needed https://volumio.org/forum/

 

Let me know how it goes 



#63 tkaiser

tkaiser

    Advanced Member

  • Moderators
  • 2842 posts

Posted 13 February 2017 - 11:11 AM

Hi, we've designed Volumio to be easily ported to other platforms.

 

And by using Armbian as build system and adding a simple 'add volumio' function to customize-image.sh (when it's not about RPi) Volumio would run on ~40 SBC already. Please read through:

At least that's one of my goals contributing to Armbian project: Stop re-inventing the wheel again and again.


Please don't send personal messages! Use the forum so others can participate and benefit!

 

Before you report any problem please be aware that crappy SD cards and insufficient power supply are reason N° 1 why things are failing. Try to rule this out first please, check 'getting started' recommendations and check/provide 'sudo armbianmonitor -u' output first!

 

Did you check out custom google powered forum search already (before opening new threads or asking questions)?


#64 michelangelo

michelangelo

    Newbie

  • Senior Members
  • Pip
  • 2 posts

Posted 13 February 2017 - 05:32 PM

And by using Armbian as build system and adding a simple 'add volumio' function to customize-image.sh (when it's not about RPi) Volumio would run on ~40 SBC already. Please read through:

At least that's one of my goals contributing to Armbian project: Stop re-inventing the wheel again and again.

I agree with you on the principle: there is lot of effort going into lots of distro, if they were focused only on one sure we'll have a really fine tuned system. Unfortunately with Volumio we use a very peculiar mounting mechanism (squashfs + overlayfs) and we based the whole partitioning on that. I fear that just an override script won't be enough to customize armbian enough. In any case I'll give a try.

I understand you are against reinventing the wheel, and I agree on this, but some practical reasons and peculiarity of all distros are a showstopper for a "universal" OS, IMHO
 


  • tkaiser likes this

#65 HEAudio

HEAudio

    Newbie

  • Senior Members
  • Pip
  • 1 posts

Posted 13 February 2017 - 10:16 PM

Does somebody know what changes I have to make in the source files for daudio0 to configure the SBS as I2S slave?

I have a codec that must be an I2S master.

With RPI one could change the CBS and/or CFS lines to lines to CBM and/or CFM to go from RPI-master to RPI-slave in the dummy codec.

On cubieboard could one change in the script.bin something like I2S_slave =1

I tried some of those changes to my nanopi neo without any luck.

Hope someone  can help me with this.

Thanks in advance.