cb-linux / breath

Linux for Chromebooks
https://cb-linux.github.io/breath/
MIT License
302 stars 55 forks source link

Branch alt-chromeos-5.10 not available #159

Closed EMLommers closed 2 years ago

EMLommers commented 2 years ago

HI, Where can I find this branch? Or the commit to have audio without sof? Kernel 5.10.??? I guarantee you have a copy/clone of it. Can you upload somewhere? Yousendit, Mega, etc.. Thanks. Or if you have a patch??

MilkyDeveloper commented 2 years ago

alt-chromeos-5.10 is not a branch, it's a revision that I've tested to work on my KBL/SKL device. While refactoring, it seems like I forgot that it isn't a branch. In line 42 of build.sh, replace $KERNEL_VERSION with chromeos-5.10. I'll be pushing a fix in a few days, since I'm already working on a huge refactor.

EMLommers commented 2 years ago

I already tried .... it is downloading about 3 GB and line 43 gives error.. I prefer to use not sof.. As sof-team does not enable some features due to closed source.

I am really curious aboyt the huge refactor! Really good job! Kernel 5.10.withoutsof is almost there..... this one is amazing!!! How did you get the normal dfw_sst.bin or dfw_release_bxtn.bin workong?

MilkyDeveloper commented 2 years ago

The new refactor is using Powershell on Linux :D. On KBL/SKL, SOF is incompatible. dfw_sst.bin works by just copying it from the ChromeOS rootfs. setup-audio does this automatically, as mentioned in the docs.

Tell me what error line 43 gives. You have to give me some more information to let me fix things.

EMLommers commented 2 years ago

the line... git checkout $(git rev-list..... chromeos-5.10) fatal: not a git repository (or any parent up to mount point /media/username) Stopping at filesystem boundary (GIT_DISCOVERY_ACROSS_FILESYSTEM not set). fatal: not a git repository (or any parent up to mount point /media/username) Stopping at filesystem boundary (GIT_DISCOVERY_ACROSS_FILESYSTEM not set).

With some kernels the /lib/modules/* is not loaded and gives errror.. already mentioned before.

Some widgets with SOF are indeed missing. I have always tried to get it working with non-chromeos kernel. Even modified tplgs...

MilkyDeveloper commented 2 years ago

Add ; cd alt-chromeos-5.10 after Line 43.

EMLommers commented 2 years ago

you mean chrome-5.10, al-chrome does not exist ... as using chromeos-5.10 also for line 42. i did cd chromeos-5.10 and : git checkout $(git rev-list..... chromeos-5.10) Updating...... Note: swithing to 820......5ed

You are in 'detatached HEAD' stte. .... Head is now 8206816fc036 FROMGIT: drm/amgpu: Fix build error repoerted for some config

EMLommers commented 2 years ago

I like to work on the kernel without sof for audio. KBL/APL/SKL I have the firmware files, cannot retrieve or rebuild the kernel. which one can I use? any 5.10.70 kernel or is one modified and can I also modify newer kernels.? Also I cannot mount BTRFS partitions...

EMLommers commented 2 years ago

Which kernel to use the nonsof kernel... can't get it working... sound Constantly the error : set reset state failed.: core mask 1 DSP Core power up failed. I can get it working throug SOF, but i that is not my problem. currently detects nops.. Using some 5.10.106 kernel

MilkyDeveloper commented 2 years ago

First: are you talking about KBL or APL audio? The detached head state is not an error. You can use the 4.14 or 4.19 branches, but you may need to use an older revision (e.g. from October). I have not tested any of these configurations. Without SOF, pulseaudio can fry your speakers, like they did to you. The only option to not use SOF is on SKL/KBL, where it is not available. On APL, where it does exist, I am not supporting or helping you without SOF. This is uncharted territory. I have tried to support this in #6, but then SOF got supported and I used it. You, and you alone, will need to put in the hours of experimenting needed to replicate the ChromeOS config without SOF. I will be closing this issue if you are asking me about SOF. SOF is great, and being skeptical about it’s firmware blobs is vapid.

EMLommers commented 2 years ago

KBL is the issue... without sof How can I get the alt-chromeos-5.10 that's all

MilkyDeveloper commented 2 years ago

You already got it???? The detached head state indicates that it worked.

EMLommers commented 2 years ago

I just noticed the build releases... have downloaded them for in case... with SOF dmic16k would not be enabled and hotwords also not possbile with SOF. Not all functions of the original will be included. Bootlogo is working by the way The kernel is 5.10.54 (changed KERNEL_VERSION=chromeos-5.10 and the ../kernel-alt.conf is 5.10.70 correct???

MilkyDeveloper commented 2 years ago

Yes, the kernel config is 5.10.70???

EMLommers commented 2 years ago

can you confirm the kernel-alt.conf in the root of breath (5.10.70) is used for kernel 5.10.54 , which is get by git.

MilkyDeveloper commented 2 years ago

Idk

EMLommers commented 2 years ago

You can close this! thanks!!