volumio / volumio3-os

GNU General Public License v2.0
61 stars 40 forks source link

Bananapi m1 #66

Closed Darmur closed 1 year ago

Darmur commented 1 year ago

Add recipe for BananaPi M1

RafaelKa commented 1 year ago

@Darmur Could you please add the recipe for Banana Pi Pro? The M1 has no I2S.

Darmur commented 1 year ago

unfortunately I don't have this device for testing the recipe locally before pushing it.

is this the device you're referring to?

http://www.lemaker.org/product-bananapro-specification.html

RafaelKa commented 1 year ago

is this the device you're referring to?

http://www.lemaker.org/product-bananapro-specification.html

Yes it is. And it is supported by armbian see: https://www.armbian.com/banana-pi-pro/

RafaelKa commented 1 year ago

@Darmur The M1 board i have as well. I tried to build the image for. The build was successful and the board boots-up, but there is no possibility to login to myvolumio. Something is missing in NodeJS/NPM i guess. Most probably i did something wrong. Could you please provide the image for M1 board, which I could try?

Darmur commented 1 year ago

local builds do not have the proprietary part related to myvolumio

anyhow, you can try this image, I quickly tested it and seems to be working fine. https://updates.volumio.org/bananapim1/volumio/3.424/Volumio-3.424-2023-01-26-bananapim1.zip

anyhow, this image is provided as-it-is, I made it only for testing purpose

Darmur commented 1 year ago

regarding the BananaPi-Pro, I might give it a try and create platform files and recipe, but I won't be able to test it.

RafaelKa commented 1 year ago

local builds do not have the proprietary part related to myvolumio

Also your image is the same, or it has proprietary part?

Is it possible to load the proprietary things to the "Planed" images? So that is the same as for "Raspberry Pi Ltd." devices?

Darmur commented 1 year ago

the image I sent is with myvolumio included. I will try to launch official builds from time to time.

RafaelKa commented 1 year ago

@Darmur Thanks for the image. Myvolumio login works on that image, but there is no sound on 3.5mm headphone jack. The sound on jack works on Armbian image v 22.11 Bullseye.

Darmur commented 1 year ago

@RafaelKa to enable audio output from the 3.5mm jack, please do the following:

1) enable ssh from the /dev page 2) login into the device with ssh (username: volumio, password: volumio) 3) launch alsamixer 4) press F6 and select "sun4i-codec" card 5) select "Power Amplifier DAC" and "Power Amplifier Mute" and enable them pressing M as shown in the picture below (by default they are muted/disabled) 6) press ESC to exit Alsamixer 7) exit from SSH 8) in Volumio playback options, select "Power Amplifier" as in the "Mixer Control Name" dropdown menu 9) enjoy!

image

volumio commented 1 year ago

It would be great to:

Darmur commented 1 year ago

cards.json is already updated, the script is a good idea, i'll try to do it (but with low priority)