edison-fw / meta-intel-edison

Here is the meta-intel-edison that builds, tries to stay up to date. Master is based on Yocto Poky Gatesgarth LTS 5.10.yy vanilla kernels. It builds a 32bit kernel (Gatesgarth branch 64bit) with ACPI enabled and corresponding rootfs. Telegram group: https://t.me/IntelEdison Web-site:
https://edison-fw.github.io/meta-intel-edison/
MIT License
60 stars 37 forks source link

Sof nocodec #113

Closed htot closed 4 years ago

htot commented 4 years ago

Package and install the sof-byt-nocodec

htot commented 4 years ago

I force pushed the fixed up install of firmware, dropped old firmware and added a uac2 device to the usb gadget.

I don't know if playing through this gadget uses the sof, but I can use it to play a wav from edison to my desktop PC. There I can again record the stream, I haven't found out yet how to directly play that stream to my speakers.

htot commented 4 years ago

@andy-shev this applies @plbossart patch + downloads firmware and install in the correct place on the image. I dropped the legacy firmware as that is currently unused. As I understand sof needs a codec to work, and edison doesn't have one. So we can only really test his once we connect a codec and enable it through acpi.

I believe the old sound driver/firmware also connected to bt but for now sof doesn't, so no bt sound devices are created. That might be a useful way to test sof without adding external hw.

The last 2 patches enable uac2 which creates and gadget source and sink. I tested this by play back (paplay) a wav file. CPU load according to htop was low, irc 4%. But sof is not used by uac2.

Should we apply this now? If so, I want to document getting play back to work first.

htot commented 4 years ago

Merged, thanks!