/Apollolake_Audio

Linux Audio fix + sleep/resume Apollolake Chromebook

Primary LanguageC

My Apollolake is Bricked, after changing firmware
I cannot check issues anymore, you are on your own.... for now
Good luck

Chromebook Coral rev5 (Apollolake / Broxton) Audio fix v4
There is now an offical SOF topology file for the APL platform with da7219, made by the SOF Team
extract the file: sof-apl-da7219.tplg.gz
Run the apollolake_audio2.sh

Chromebook Coral rev5 (Apollolake / Broxton) Audio fix v3
sudo cp /lib/firmware/intel/sof-tplg/sof-glk-da7219.tplg /lib/firmware/intel/sof-tplg/sof-apl-da7219.tplg
sudo sed -i 's/ssp1/ssp5/g' /lib/firmware/intel/sof-tplg/sof-apl-da7219.tplg
sudo sed -i 's/SSP1/SSP5/g' /lib/firmware/intel/sof-tplg/sof-apl-da7219.tplg
sudo sed -i 's/ssp2/ssp1/g' /lib/firmware/intel/sof-tplg/sof-apl-da7219.tplg
sudo sed -i 's/SSP2/SSP1/g' /lib/firmware/intel/sof-tplg/sof-apl-da7219.tplg
reboot

Chromebook Coral rev5 (Apollolake / Broxton) Audio fix v2
Copy only the new tplg file to /lib/firmware/intel/sof-tplg
Kernel parameter: snd_intel_dspcfg.dsp_driver=3

Or... just run: apollolake_audio2.sh


That's it

Rest is obsolete

Chromebook Coral rev5 (Apollolake / Broxton) Audio fix / TPM / Sleep & Resume

AUDIO APOLLOLAKE / BROXTON /SKYLAKE FIX + SLEEP/RESUME (TPM)


Install MrChromeBox RW/Legacy firmware
Developer mode + ctrl -d
sudo crossystem "dev_boot_usb"=1 "dev_boot_altfw"=1 "dev_boot_signed"=0

Can be installed on internal with GBB FLAGS , FORCE_DEV_MODE, FORCE_DEV_ALTFW, SHORT_WAIT
sudo sh /usr/share/vboot/bin/set_gbb_flags.sh 0xd
reduce google screen start: sudo crossystem "loc_idx"=100

Linux kernel 5.13 Audio fix Apollo Lake Chromebooks
Kernel 5.13.0-19-generic (Fresh install Ubuntu 21.10 impish)
Double checked , altered some typos

Sources + Partner + Partner sources repositories should be enabled.
After install it should mention Headphones - Celeron N3350 / Pentium N4..
Sound is via speakers


Suspend Resume also working
TODO:
-Alsa UCM -> profile jack / speaker



output $ aplay -l

  **** List of PLAYBACK Hardware Devices ****
card 0: sofbxtda7219max [sof-bxtda7219max], device 0: Speakers (*) []
   Subdevices: 0/1
   Subdevice #0: subdevice #0
card 0: sofbxtda7219max [sof-bxtda7219max], device 1: Headset (*) []
   Subdevices: 1/1
   Subdevice #0: subdevice #0
card 0: sofbxtda7219max [sof-bxtda7219max], device 5: HDMI1 (*) []
   Subdevices: 1/1
   Subdevice #0: subdevice #0
card 0: sofbxtda7219max [sof-bxtda7219max], device 6: HDMI2 (*) []
   Subdevices: 1/1
   Subdevice #0: subdevice #0
card 0: sofbxtda7219max [sof-bxtda7219max], device 7: HDMI3 (*) []
   Subdevices: 1/1
   Subdevice #0: subdevice #0