Open nullexistence opened 3 years ago
Could you solve this? I got similar problems too, even though I tried newer kernels too (which should theoretically support the Snapdragon 8cx).
I found a workaround, it will sound absolutely insane but still. I just plugged a second usb stick into the laptop.
My setup is: Left usb port with installer Right port with some random fat32 stick. Have sadly no time to tinker atm and have done no more testing just saw that I was suddenly sitting in the Debian installer.
On a unrelated note. Does any one know what this image does differently to any other arm64 installer from other distros? Fedora and any other just reboot after grub.
Finally installed it, and got it to boot I to multiuser target
Charger is not working
For me, this didn't work. Could you maybe add some more words on what you did before?
In my case, the Grub simply reboots - even when having the second USB drive connected.
Did you use the Debian image linked in the release https://github.com/aarch64-laptops/debian-cdimage/releases/tag/v0.4?
What device tree blob did you load? Did you change any settings in the UEFI settings?
Yes, I used debian-unstable-arm64-DVD-1_20210314.iso with no changes to device tree. While installing I used two usbc -> usba adapters with usb sticks. But later realized that one usbc -> usba adapter and my usbc -> ethernet adapter also did the trick. Check the first photo by nullexistance. I get the cpu lockup from his photo everytime I have just one port occupied.
Edit: I think it's a problem with power delivery and having those usb2.0 devices maybe somehow works around some problem.
Ah, I found my problem: Using a USB 3 drive simply didn't work. Switching to a USB 2 drive did the trick.
How did you manage to use debian-unstable-arm64-DVD-1_20210314.iso
?
I dd'ed it to a flash drive and my boot menu doesn't pick up on it. I tried dd'ing a raw (not ISO) Fedora image and it detects it, but as noted above doesn't work.
Seems like my Book S doesn't detect any isohybrid images.
I committed some horrible sins and dumped the ISO contents all onto a vfat partition, and that at least got me to the soft lockup
The double USB trick worked here too, haha amazing!
I got the error "Failed to determine the codename for the release" but worked around by plugging in an ethernet cable to my Dock.
thanks for sharing the double usb trick !!
here are some newbie notes/questions :
apparently I still need the double usb trick to boot from internal ssd ... ... maybe this could be fixed by installing a newer kernel as told in https://github.com/aarch64-laptops/debian-cdimage ?? but which version ?? is 5.19 available ??
also gdm3 was giving me a black screen but I managed to open an alternative console (with "Ctrl Alt F2") and I installed the openssh-server to work more easily from another PC ... but I needed an ethernet cable to connect to the galaxy book S ... anybody has found how to connect the galaxy book S through wifi ?? ... then I installed xfce and using lightdm worked to start my DEs !! (gnome was kind of slow but xfce feels faster ...)
also as @systemscape said the charger doesn't seem to charge ... anybody found a solution to get the galaxy book S to charge ??? ... and what tool can we use to check if the galaxy book S is actually charging ??
also from https://github.com/aarch64-laptops/debian-cdimage "Firmware installation" it looks like we need to load some kind of firmware for the galaxy book S to get some hardware blocks working ?? but how do we do that ??
thanks folks for any help !!
... oops ... sound doesn t seem to work ... did anybody find a way to make it work ?? ... thanks again !
PS1 : installed the linux arm64 thorium browser (with google sync) from https://github.com/Alex313031/Thorium-Special/releases ... only 6725 in octane v2 (got about 32500 with Edge on Windows ...) ... chromium only 6493 ... firefox feels slow too ... anybody has an idea how to improve performance ??
PS2 2022 08 11 : here is an answer I got on https://webchat.oftc.net/?channels=%23aarch64-laptops (archive : https://oftc.irclog.whitequark.org/aarch64-laptops/2022-08-11 ) (not sure I understand everything) (see also comment below) :
15:39 <jenneron[m]> pierro78: i started to work on samsung galaxy book s, but it needs multi port usb for keyboard/touchpad, there are 5.19-based branches with support for it, but on 5.19 pmic arbiter fails.. 15:41 <jenneron[m]> if you want to play around with it e.g. to bisect some kernel versions, you can use my dtb https://gitlab.com/jenneron/linux/-/commit/76f402e89cfb8308eb44822eda8fc816282d74a1, the latest version which works was 5.15 rc something
Something broke for me and now I always get dumped straight into grub minimal on the same flash drive I had working before argh
here is an answer I got on https://webchat.oftc.net/?channels=%23aarch64-laptops (archive : https://oftc.irclog.whitequark.org/aarch64-laptops/2022-08-11 ) (not sure I understand everything) :
15:39 <jenneron[m]> pierro78: i started to work on samsung galaxy book s, but it needs multi port usb for keyboard/touchpad, there are 5.19-based branches with support for it, but on 5.19 pmic arbiter fails.. 15:41 <jenneron[m]> if you want to play around with it e.g. to bisect some kernel versions, you can use my dtb https://gitlab.com/jenneron/linux/-/commit/76f402e89cfb8308eb44822eda8fc816282d74a1, the latest version which works was 5.15 rc something
PS :
device tree :
https://gitlab.com/jenneron/linux/-/tree/galaxy-book-s
progress as seen on https://oftc.irclog.whitequark.org/aarch64-laptops/2022-08-17 :
20:11 <jenneron[m]> qzed: thank you, disabling pmic@a and pmic@2 does the trick 20:11 <jenneron[m]> also, your usb-mp patchset gives working keyboard and touchpad on samsung galaxy book s
progress thanks to jenneron and the aarch64-laptops group : newer kernel 5.19.0 with patches, dtb, firmware ... still working on it to add stuff (like, for example, wifi) ... octane v2 28228 on thorium instead of 6725 with debian-cdimage kernel ... can boot with an empty usb slot ... all the "dirty details" are in the irc archive, for example https://oftc.irclog.whitequark.org/aarch64-laptops/2022-08-21 ...
just adding some notes here :
. grub.cfg entry : add "devicetree /path/to/dtb" (somewhat similar to https://dpaste.com/C9AWZJTFA)
. I built the kernel without ufs support but it seems to work fine from internal ssd ...
. firmware files into /lib/firmware/qcom/sc8180x/sm-w767 and /lib/firmware/qcom
progress : wifi working (but no touchscreen, and no charging) (dirty details in https://oftc.irclog.whitequark.org/aarch64-laptops/2022-08-23 )
Hi everyone, i'm also trying to make linux working on the samsung galaxy book S 2020. Mine is with intel lakefield, and I noticed that Fedora 36 and Pop!_OS work on the computer (touchpad, touchscreen and keyboard). Pop!_OS is better because Fedora 36 crashes a lot of time. 2 things do not work:
How did you manage to use
debian-unstable-arm64-DVD-1_20210314.iso
?I dd'ed it to a flash drive and my boot menu doesn't pick up on it. I tried dd'ing a raw (not ISO) Fedora image and it detects it, but as noted above doesn't work.
Seems like my Book S doesn't detect any isohybrid images.
Same here, I'm able to boot to grub but its just restarts into windows past that
Same here, I'm able to boot to grub but its just restarts into windows past that
you need to add DtbLoader.efi as explained in https://github.com/aarch64-laptops/debian-cdimage also you need 2 USB2 sticks for the system to run with this debian-unstable-arm64-DVD-1_20210314.iso ...
I could build an iso with jenneron's kernel, dtb and firmware but I don t know how to do it ... need to find some instructions ...
PS : here are some instructions to build a debian iso installer : https://github.com/Mani-Sadhasivam/debian-cdimage/tree/main/doc ( as seen on https://oftc.irclog.whitequark.org/aarch64-laptops/2022-09-01 )
I could build an iso with jenneron's kernel, dtb and firmware but I don t know how to do it ... need to find some instructions ...
in the meantime I am "releasing" the packages made from jenneron's kernel v5.19 sources here : https://github.com/pierro78/galaxybooks8cxkerneldeb/releases/tag/v0.1
i am going to explain how to install these below
i am going to explain how to install these below
these kernel v5.19 packages and files bring the following avantages over the 5.11custom kernel that is included in the debian-unstable-arm64-DVD-1_20210314.iso :
. no need to keep usb sticks in usb ports
. speed (octane v2 about 28500 instead of 6500)
. wifi
however it is still very much a work in progress : . touchscreen not working . not drawing power from charger ? (jenneron released another dtb where the laptop would draw some power (like 6W) but not enough to charge) (actually no : I tried again and it now charges for a minute at the beginning (like 30W) and then it only draws like 5W) . seems like external usb storage is not working ? (maybe jenneron released some other dtbs where this was working) (strange thing is I can boot debian linux on external usb, but then it sees only the external usb storage with debian as /dev/sda and not the others I plugin ...) (oh : when I plugin my usb storage in my usb c hub then it sees it !) . no sound . minimal kernel (some features are not activated ... like, for example, network bridge needed by docker)
Installation : . install the .deb packages . copy the dtb to /boot and add a line like "devicetree /boot/dtbfilename" to your grub entry, update grub . untar the firmware file from / directory (it will untar the contained files in /lib/firmware/qcom ... )
I hope this will bring some attention to the remarkable work that jenneron has done with the help of the aarch64-laptops group and that we'll have a better functionning linux on our snapdragon galaxy book S in the future ...
2022 09 14 CAUTION NOTE
@Joshua-Ashton tried to use these files/packages but it didn t work for him. I don't know why (I ve got debian installed with these files/packages (I think) on 2 partitions and these 2 installations work)
but according to https://oftc.irclog.whitequark.org/aarch64-laptops/2022-09-13 , if I get it right, @Joshua-Ashton was able to get a working 5.19 kernel on his galaxy book s ...
I'm grateful that there is progress on this laptop. Thanks especially to jenneron for his work and time he contributed into pushing this forward.
@pierro78 you should add a word of caution for using those packages you assembled. Like you said this is testing quality. Jenneron device is also starting to suffer permanent display glitches. Mine looks unaffected though.
you need to add DtbLoader.efi as explained in https://github.com/aarch64-laptops/debian-cdimage
I didn't get that automatically placed for me when I used the installer :/
I copied the DTBLoader from the deb and it still doesn't boot... Maybe its missing the dtb files or something idk.
you need to add DtbLoader.efi as explained in https://github.com/aarch64-laptops/debian-cdimage
@Joshua-Ashton : you need to follow the instructions in the "AArch64 quirks" section of https://github.com/aarch64-laptops/debian-cdimage to get the "AArch64 EFI" to load/boot linux ... this implies starting Shell.efi to run a bcfg command to modify the linux EFI boot entry ...
No what I mean is there was no dtbloader for the bcfg to use. It was not present after install. I will try re-installing today and maybe it'll work.
Okay I reinstalled it and got it to kinda boot. It gets onto kernel cmdline, I keep the two sticks in so it doesn't lockup and it hangs on a black screen with a _
after that.
It seems stuff goes to crap when it starts graphical session for me... I can get a bit of tty by spamming ctrl + alt + FX
before boot, but after gdm starts or whatever it goes to crap and freezes :S
Managed to use text
on cmdline to get in and disable gdm + enable ssh
Managed to use
text
on cmdline to get in and disable gdm + enable ssh
@Joshua-Ashton does "gnome-shell --wayland" (or sthg like that) give you a graphical desktop ??
No Failed to create backend: No drm devices found
The 5.19 kernel doesn't work for me at all, just entirely black screens. I even tried building it + the device tree myself and it still didn't work. So I have no idea what's going on.
I get no fbcon output at all, I think it's failing very early on. Not sure how I can get more details.
strange @Joshua-Ashton ... I guess you did an "apt update ; apt dist-upgrade" and un-tarred the firmware stuff ? does wifi work for you ?
Wifi doesn't work, but that's on 5.11, I can't boot into 5.19, it doesn't work.
I got it working a little bit ago.
You'll probably want my Mesa PR here to fix some rendering issues. https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/18779
Has anyone got wifi working? I got debian installed but I need wifi as school starts on monday
@monkeyfart34
Has anyone got wifi working? I got debian installed but I need wifi as school starts on monday
Hey, there is probably a way to get wifi working. But for school i definitely recommend you using windows. Do need help with reinstalling windows? I have done that a bunch of times.
Has anyone got wifi working? I got debian installed but I need wifi as school starts on monday
yeah I got wifi working (see https://github.com/aarch64-laptops/debian-cdimage/issues/16#issuecomment-1231888011 ) but there are still important issues (see also https://github.com/aarch64-laptops/debian-cdimage/issues/16#issuecomment-1231888011 ) so I do not recommend linux for school yet ...
@monkeyfart34
Has anyone got wifi working? I got debian installed but I need wifi as school starts on monday
Hey, there is probably a way to get wifi working. But for school i definitely recommend you using windows. Do need help with reinstalling windows? I have done that a bunch of times.
Yeah, how would I reinstall windows? Right now without a usb i boot into BSOD 0xc00000e
@monkeyfart34
Has anyone got wifi working? I got debian installed but I need wifi as school starts on monday
Hey, there is probably a way to get wifi working. But for school i definitely recommend you using windows. Do need help with reinstalling windows? I have done that a bunch of times.
Yeah, how would I reinstall windows? Right now without a usb i boot into BSOD 0xc00000e
You need to add the galaxy book drivers to the installation files on your usb. I uploaded the drivers from my galaxy book to a telegram channel https://t.me/systemscape I also wrote down what i documented when i did it. The most important thing is, that you have the zip with the drivers. There are also tutorials on the web how to add drivers to a windows stick. Ill probably push it also as a github repo later.
Edit: https://github.com/mordaut97/galaxy_book_s_driver_pack
@monkeyfart34
Has anyone got wifi working? I got debian installed but I need wifi as school starts on monday
Hey, there is probably a way to get wifi working. But for school i definitely recommend you using windows. Do need help with reinstalling windows? I have done that a bunch of times.
Yeah, how would I reinstall windows? Right now without a usb i boot into BSOD 0xc00000e
You need to add the galaxy book drivers to the installation files on your usb. I uploaded the drivers from my galaxy book to a telegram channel https://t.me/systemscape I also wrote down what i documented when i did it. The most important thing is, that you have the zip with the drivers. There are also tutorials on the web how to add drivers to a windows stick. Ill probably push it also as a github repo later.
Okay, I got windows installed, but I don't have an option for Wi-Fi, not in device manager or anything, only Ethernet, Anyway I can fix this?
@monkeyfart34
Has anyone got wifi working? I got debian installed but I need wifi as school starts on monday
Hey, there is probably a way to get wifi working. But for school i definitely recommend you using windows. Do need help with reinstalling windows? I have done that a bunch of times.
Yeah, how would I reinstall windows? Right now without a usb i boot into BSOD 0xc00000e
You need to add the galaxy book drivers to the installation files on your usb. I uploaded the drivers from my galaxy book to a telegram channel https://t.me/systemscape I also wrote down what i documented when i did it. The most important thing is, that you have the zip with the drivers. There are also tutorials on the web how to add drivers to a windows stick. Ill probably push it also as a github repo later.
Okay, I got windows installed, but I don't have an option for Wi-Fi, not in device manager or anything, only Ethernet, Anyway I can fix this?
Sorry, have not had that one. I think your best bet would be to connect your phone with usb tethering or use a usb ethernet adapter to let windows update fix this.
re: screen issues, has anyone else experienced the same failure as jenneron? on that note, is there any active work being done right now for this specific laptop? I know jenneron has put it on hold due to replacing their Galaxy Book S, but I haven't been able to find any other branches.
https://github.com/mothenjoyer69/w767-linux
I squashed jennerons patches into a 6.x branch (Surface X branch, as it has a lot of SC8180x work) and got the reserved memory ranges working; in theory, battery and wifi should work fine together now (although i'm not actually sure how to enable the battery...)
edit: https://gitlab.com/jenneron/linux/-/tree/galaxy-book-s-6.0.6 have been talking to jenneron, and they've rebased on 6.0.6 :)
https://github.com/mothenjoyer69/w767-linux
I squashed jennerons patches into a 6.x branch (Surface X branch, as it has a lot of SC8180x work) and got the reserved memory ranges working; in theory, battery and wifi should work fine together now (although i'm not actually sure how to enable the battery...)
edit: https://gitlab.com/jenneron/linux/-/tree/galaxy-book-s-6.0.6 have been talking to jenneron, and they've rebased on 6.0.6 :)
awesome !! - did you have time to test ??? is charging and sound working now ??? (wifi was already working with jenneron's kernel I shared in https://github.com/aarch64-laptops/debian-cdimage/issues/16#issuecomment-1231898585 ...)
I am eager to test !! How can I do it ?? which kernel sources should I get ???
thanks !!!
unfortunately not yet! previously the issue was an issue with the reserved memory ranges, so now its actually possible to get charging and battery working.
grab a copy of jennerons galaxy-book-s-6.0.6-battery fork, build it, and boot it. i'm typing this reply from Debian Sid under Gnome 43 with Firefox ;)
(although, please be aware of jennerons screen issues in the past and the fact that we have no idea what caused them)
thanks a lot !! no screen issues with linux here !! I am only aware of jenneron having screen issues with linux right now ...
Battery stuff doesn't work with 6.0.6-battery branch kernel with the DTS for me.
Hey guys! Any updates? I'm really looking forward to use linux in this machine.
Is any linux distro working fine on Book S with the latest kernel updates??
I really need for my school/work.
Also do you recommend making a Dual Boot to not delete windows if any thing goes wrong with the linux OS?