Jump to content

Enabling i2s


b_unit

Recommended Posts

Hello All,

 

I have Orange Pi lite which I would like to use as an Airplay device,

 

I have purchased a DAC of the internet and I am trying to connect it via the i2s protocol,

 

According to this tutorial i need to edit the script.bin file to change the I/O configuration of the board.

 

it was mentioned that this file is found in the boot folder, I have been looking and can find this file absolutely no where.

 

What I have done,  I downloaded Armbian, written it to a bootable SD card, mounted the SD card and then setup the orange pi via serial communication, 

I then connected to my WIFI, and set up SSH. I then logged into the device via SSH, i do the apt update and apt upgrade, and this is where I get stuck,

 

I am supposed to find the script.bin file, convert it to a script.fex file and edit it, but it is no where to be seen,

 

Could someone please suggest a solution,

 

Byron

Link to comment
Share on other sites

1 hour ago, b_unit said:

I am supposed to find the script.bin file, convert it to a script.fex file and edit it, but it is no where to be seen,

bin2fex and fex2bin are used only on Legacy kernels, not Mainline kernels ...

Which Armbian image are you using ? What "uname -a" reports as kernel version ?

Link to comment
Share on other sites

@martinayotte Thank you, I was using the Mainline kernal, I now installed a version with a legacy kernal and configured the config file, but I cannot get the sound card to work.

 

root@Airplay:~# aplay -l
**** List of PLAYBACK Hardware Devices ****
card 0: audiocodec [audiocodec], device 0: SUNXI-CODEC sndcodec-0 []
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 1: snddaudio [snddaudio], device 0: SUNXI-TDM0 snddaudio-0 []
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 2: sndhdmi [sndhdmi], device 0: SUNXI-HDMIAUDIO sndhdmi-0 []
  Subdevices: 1/1
  Subdevice #0: subdevice #0

with a aplay -l command I see three devices but if I remove the i2s sound card and reboot the device the same three devices still pop up,

 

I read that I should tell the kernal that there is a nice device and exactly what it is but I have not found any clear instructions on it.

 

I looked at the signals with a scope and saw that the clocks are present and the power is being delivered, nothing is sent out on the data wire.

 

Could someone share any useful links.

 

Byron

 

Link to comment
Share on other sites

Guest
This topic is now closed to further replies.
×
×
  • Create New...

Important Information

Terms of Use - Privacy Policy - Guidelines