Skip to content
View in the app

A better way to browse. Learn more.

Armbian Community Forums

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Enabling i2s

Featured Replies

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

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 ?

  • Author

@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

 

Guest
This topic is now closed to further replies.

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.