ChanServ changed the topic of #aarch64-laptops to: Linux support for AArch64 Laptops (Asus NovaGo TP370QL - HP Envy x2 - Lenovo Mixx 630 - Lenovo Yoga C630)
<steev> alrigh, based on 20221118 - pushed out the audio bits, but i'm not sure what i'm missing config-wise,
<steev> srinik: ^ (and note that with that defconfig both tx/rx macros do get enabled)
hexdump0815 has joined #aarch64-laptops
hexdump01 has quit [Ping timeout: 480 seconds]
jhovold has joined #aarch64-laptops
SSJ_GZ has joined #aarch64-laptops
SSJ_GZ has quit [Remote host closed the connection]
SSJ_GZ has joined #aarch64-laptops
matthias_bgg has joined #aarch64-laptops
<jenneron[m]> mothenjoyer69@ I've found that my galaxy book s artifacts only when modem is enabled (maybe I will catch it later with disabled modem?) at least with disabled modem it now seems fine
iivanov has joined #aarch64-laptops
<jenneron[m]> definitely a hardware issue because it happens in both Linux and Windows
<jenneron[m]> I'm still not sure whether it could be caused by efforts of porting Linux
matthias_bgg has quit [Ping timeout: 480 seconds]
Guest2337 has joined #aarch64-laptops
matthias_bgg has joined #aarch64-laptops
Guest2337 has quit [Quit: Guest2337]
alpernebbi_ has joined #aarch64-laptops
alpernebbi has quit [Read error: Connection reset by peer]
iivanov has quit [Remote host closed the connection]
iivanov has joined #aarch64-laptops
leezu has quit [Quit: WeeChat 3.0]
* gwolf agrees with steev -- I also love my C630 :-)
<gwolf> Cannot contribute much to the channel besides loving the machine ;-)
kettenis_ has quit [Remote host closed the connection]
<mani_s> steev, johan fixed the nvme timeout issue
<mani_s> you just need to add "dma-coherent" property to the pcie node in dts
<mani_s> this is present in downstream but somehow we didn't use it in upstream for any SoCs
iivanov has quit [Quit: Leaving...]
<steev> ahhh
<steev> well that is exciting
alpernebbi_ has quit []
alpernebbi has joined #aarch64-laptops
matthias_bgg has quit [Ping timeout: 480 seconds]
matthias_bgg has joined #aarch64-laptops
<steev> hm, most of the other boards put it into the dtsi, so i did that... but i can't reboot a bunch to test yet
ajhalaney[m] has quit [Quit: Client limit exceeded: 20000]
<calebccff> I managed to get some signs of life on the C630 using the same kernel we run on the SDM845 phones, it flashes the kernel logs for about a second with efifb and then goes blank with the kb backlight on
<calebccff> is there a mechanism to dump logs from this thing or get serial out?
<jenneron[m]> calebccff: maybe too obvious suggestion, but make sure all panel-related configs are enabled, check CONFIG_DRM_TI_SN65DSI86 and CONFIG_DRM_PANEL_EDP
<calebccff> no... not too obvious at all...
* calebccff sheepishly rebuilds kernel
<jenneron[m]> for taking logs in such cases I usually connect my phone to USB and use SSH, but that works only when device is booted into rootfs
<jenneron[m]> also, if you want pmOS on it (i'm not sure why do you want that kernel we use on phones), dtbloader is not necessary, check how https://gitlab.com/postmarketOS/pmaports/-/tree/master/device/testing/device-microsoft-surface-rt works
<calebccff> cheers, I guess I'll go for something similar here
<jenneron[m]> this device is armv7, so change `--format="arm-efi"` and rename bootarm.efi > bootaa64.efi
<jenneron[m]> also, this device package does not install grub modules related to efi gop because it is broken on surface rt
<jenneron[m]> you can use this instead: grub-mkimage --prefix="/grub" --output="bootaa64.efi" --format="arm64-efi" --compression="xz" all_video disk efi_gop fat gzio iso9660 linux normal part_gpt part_msdos
<calebccff> I've been using device-tablet-x64uefi as a base and modifying it for aarch64 lol
<jenneron[m]> surface rt example is a bit more appropriate because it uses dtb, but that one is useful too
<steev> android on the c630... why do you make santa sad
<jenneron[m]> android?
<calebccff> steev: pmOS is based on Alpine Linux
<steev> oh
<steev> i always think it's a custom android for some reason
<calebccff> we scrap all the proprietary android stuff and run mainline + mobile optimised userspace
<steev> if you feel like, you can always poke at our defconfig https://github.com/steev/linux/blob/linux-6.0.y/arch/arm64/configs/distro_defconfig that's what i use on my c630
<calebccff> oh nice, thanks for the link!
<calebccff> I finally got it booted, although the screen is blank for like 15 seconds during the boot process, any idea what's going on there?
<calebccff> it just flashes up once and then goes black until i guess drm/msm fbdev emulation loads
<steev> timeout looking for firmware, possibly
<jenneron[m]> calebccff: you probably want panel modules into initramfs
<steev> or that
<calebccff> ah makes sense
<calebccff> thanks both
<steev> actually, let me update the config again
<jenneron[m]> it's possible that some thing like dispcc or disabling unused clocks kills efifb, and you get panel only when booted to rootfs
<javierm> calebccff: what I use usually is "earlycon efi=debug debug clk_ignore_unused pd_ignore_unused"
<javierm> toprevent the case that jenneron[m] mentioned
<calebccff> javierm: thanks, that looks handy. Is {clk,pd}_ignore_unused still necessary on 6.0/6.1?
<javierm> calebccff: I'm not familiar with that particular device, I was talking in general :)
<javierm> calebccff: fwiw in the HP X2 Chromebook I still need to boot with deferred_probe_timeout=30 in v6.1
<javierm> but that's not your problem since you at some point get the msm drm driver probed while I don't
<steev> yeah they are calebccff
<steev> clk will be for a very long time :(
<steev> actually, i don't use pd_ignore_unused here on my c630
SSJ_GZ has quit [Ping timeout: 480 seconds]
<calebccff> steev: what clock is missing?
<steev> calebccff: it's not that, afaik, it requires reworking the qcom clk stuff
<calebccff> steev: oh right, I'm booting without it here and stuff seems to be working? just wondering what to look for