buzzmarshall has quit [Quit: Konversation terminated!]
mkorpershoek has joined #linux-amlogic
adeepv has joined #linux-amlogic
kenny has quit [Quit: WeeChat 3.3]
dlan has quit [Remote host closed the connection]
dlan has joined #linux-amlogic
<tolszak>
narmstrong: I'm looking at meta-meson/recipes-bsp/alsa-board-conf/files/amlogic-s400/board.conf - am I right thinking that it is not required now after those patches applied to alsa-lib?
<tolszak>
narmstrong: Also I don't see how the ./recipes-bsp/alsa-state/alsa-state/amlogic-s400/asound.state is installed... where should I put the newly created asound.state file for odroidn2+?
<narmstrong>
tolszak: leave s400 alone, it needs custom configs
<tolszak>
I
<narmstrong>
tolszak: do you use LibreELEC soundconfig script ?
<narmstrong>
if yes no need to add an alsa-state for each board
<tolszak>
I'm just trying to figure out how to install *.state script
<tolszak>
Or perhaps you would like to make it like LibreELEC
<tolszak>
but then it needs a lot more changes I think (handling readonly rootfs)
<narmstrong>
making it like LibreELEC will ned to run every single board and save stae
<tolszak>
they use some custom scripts (dtsoc and dthelper)
<narmstrong>
*state
<tolszak>
Those scripts need to be fixed as then seems to work correctly only with busy box
<tolszak>
etc
<narmstrong>
but you can start by adding an alsa-state first for n2
<tolszak>
That was the plan - then I don't need soundconfig script
<narmstrong>
go ahead, I'll try to add soundconfig on my side
<tolszak>
so should I create alsa-state/hardkernel-odroidn2plus/asound.conf and add FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}/${MACHINE}:" in alsa-state.bbappend?
<narmstrong>
tolszak: no it's automatic
<narmstrong>
bitbake will look into each FILESEXTRAPATH/${MACHINE}/file before using the FILESEXTRAPATH/file
<tolszak>
narmstrong: I didn't know that - thanks
<narmstrong>
it's handy to add machine soc variant files without touching the recipe
<tolszak>
narmstrong: I planned to look at soundconfig but ideally we would like to use dthelper script
<tolszak>
I don't see license for it though so I don
<tolszak>
I don't know if we can copy it
<tolszak>
narmstrong: ah it is GPL-2.0
<narmstrong>
we can even add the helpers in the soundconfig file
<tolszak>
narmstrong: Ahh and /var/lib is onerlayed in readonly rootfs
camus has quit [Ping timeout: 250 seconds]
camus1 has joined #linux-amlogic
camus1 is now known as camus
camus1 has joined #linux-amlogic
camus has quit [Ping timeout: 256 seconds]
camus1 is now known as camus
<tolszak>
narmstrong: THe pull request should be created for hardknott or hardknott-next?
<narmstrong>
tolszak: hardknott is fine, anyway I'll push it on all the branches manually
<tolszak>
narmstrong: master needs new syntax so manual changes are required, perhaps you will suggest to split it into separate recipes. You will see, will create pull request soon.
<tolszak>
I've only did it for n2 plus as I don't have any other device to test against