Open afzalarsalan opened 1 year ago
You can use --driver portio
to directly talk to the EC without a kernel driver. But it won't work with secureboot. See #16
But kernel driver fixes are already out there and coming soon.
Is it intended that it's trying to talk to the CrOS EC when on an AMD board? I'm not 100% sure of the exact differences, but I'm pretty sure the EC on CrOS and non-CrOS devices serve some different functions.
But kernel driver fixes are already out there and coming soon
Is there a mailing list thread or link one could use to track these fixes, to see what kernel version they might end up in?
@sserenade maybe this one? https://lore.kernel.org/lkml/ZT9VlLol-dGK5JtE@google.com/T/
@OctopusET I just tested the patch and the kernel still doesn't provide /dev/cros_ec with it applied (thanks for taking a look though!)
Seems like this is the patchset- I just applied it on 6.6.2 and framework_tool now functions correctly!
You can use
--driver portio
to directly talk to the EC without a kernel driver. But it won't work with secureboot. See #16 But kernel driver fixes are already out there and coming soon.
This works for me. Thank you!
Hello @prurigro do you if the patchset you have shared has landed upstream yet in 6.7 ? I don't think it has but I haven't checked really thoroughly
@AkechiShiro it's not in mainline 6.8-rc5, so it's probably not in 6.7.
Yeah, I'm still patching it in to each 6.7.x release
Why not making portio the default?
Why not making portio the default?
portio does not work when secure boot is enabled https://github.com/FrameworkComputer/framework-system/pull/16
The patch series has been merged to the chrome platform tree for-next
branch.
I guess it will then go into kernel 6.10
portio does not work when secure boot is enabled #16
You can temporarily lift kernel lockdown using https://github.com/blastrock/unlockdown while waiting for 6.10
Seems like this is the patchset- I just applied it on 6.6.2 and framework_tool now functions correctly!
@prurigro , if you don't mind me asking, how are you doing this? I've never done that before, but I'd love to get this tool running w/o disabling Secure Boot or Kernel Lockdown. (till I get access to the 6.10 kernel)
@elreydetoda Hey, so in Archlinux what I do is grab the package for the most recent kernel and add the patches to the build script before running it (ie: patch -Np1 < ../1.patch
for each of the four patches). I'll drop them in an archive here so you don't have to dig them out of the mailing list.
Let me know if you need more detail in one direction or another- I didn't want to go too in depth considering how different an experience it would be depending on the distro you're using.
I just tested the 6.10.2 release without any patches and framework_tool works with secure boot enabled. I believe this issue can be closed :)
I've noticed that trying this tool on Linux runs into the issue where /dev/cros_ec doesn't seem to exist on the latest kernel. I wanted to know if there was any blockers or action items that would enable this program's functionality to work on Linux
Failure Code