RobertCNelson / bb-kernel

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Audio over HDMI

LucaVs opened this issue · comments

I'm using the last image for my BBB:
bone-debian-8.7-iot-armhf-2017-03-19-4gb.img.xz

I need to play audio to an HDMI connected TV but is doesn't works.
I'm trying with aplay command but it doesn't find audio device:

root@beaglebone:~# aplay -l
aplay: device_list:268: no soundcards found...

I'm also using kernel 4.4.57-bone17 to enable SGX.

Is there a way to enable Audio over HDMI?

Thanks

@LucaVs this went mainline around v4.9.x/v4.10.x

So you mean I must wait for next release ?

@LucaVs no use whatever kernel you want.

HDMI-AUDIO works in:

v4.4.x-ti

v4.9.x-ti

v4.9.x-bone (i think)
v4.10.x-bone (for sure)
v4.11.x-bone (for sure)

Regards,

@RobertCNelson This way I can't use SGX.
Am I right?

Are you "really" using SGX, or just mesa's software implementation?

Regards,

I'm using SGX driver as described here: http://elinux.org/BeagleBoardDebian#SGX_Drivers .
I needed it to build Qt 5.6 for my BBB with OPENGL support (eglfs platform).
But following the instruction I installed 4.4.57-bone17 on my BBB.

@LucaVs please test the am33x-v4.11 branch of bb-kernel

kernel:
c744e8f

just two sdk patches:
RobertCNelson/ti-sdk-pvr@454c1fe
RobertCNelson/ti-sdk-pvr@73df9f7

Regards,

Last time I update kernel using:

./update_kernel.sh --bone-kernel --lts-4_4

How should I update to am33x-v4.11 ?

From teh bb-kernel repl, am33x-v4.11 branch:

./build_deb.sh

Copy *.deb to target:
sudo dpkg -i *.deb

Regards

Ok, do I need to enable/disable some module in kernel configuration before building or I can get the default?

I built and installed 4.11. BBB boot (no blue led when running) but now I can't load omaplfb module.

You need to build them:

bb-kernel$ ./sgx_build_modules.sh

Just installed 4.11 and rebooted.
It seems to works. "aplay -l" can find an audio device.
SGX works but I must start sgx-startup.sh by hand after boot.
It can't load at boot time even if I'm using the solution we talked about here: #40

Another issue I found is that when rebooting by terminal sometimes it doesn't start and I need to unplug power.

@LucaVs thanks for testing!

Just pushed out an official build, so the kernel and sgx modules will be in the apt repo this afternoon.

I've noticed the reboot lockup too, still testing..

Regards,

Will it be possible to upgrade kernel and install SGX modules using apt-get without following http://elinux.org/BeagleBoardDebian#SGX_Drivers ?

Once you create and install the userspace lib's... both the kernel and sgx modules are in apt to precise do that. ;)

and i added it back to the update_kernel.sh script:

RobertCNelson/boot-scripts@8557455

cd /opt/scripts/tools/
git pull
sudo ./update_kernel.sh --bone-kernel --testing

(well tomorrow anyways, as --testing=[4.10.13-bone1], need to wait till the builders finish)

http://gfnd.rcn-ee.org:81/farm/deb/

Regards,

Thanks,
I'll probably try next time.