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)
<clover[m]>
what is that
<derzahl>
steev: is there a repo of either individual or bundled together c630 patches that could just be applied to the vanilla kernel?
<steev>
derzahl: you can always clone mine, and then apply them?
<steev>
that is what my repo is?
<steev>
clover[m]: it's something important to getting the gpu working (this is on the c630, where it was working and somehow has broken)
Lucanis0 has joined #aarch64-laptops
<steev>
if you mean just the patches.... no? i mean, no offense but it's kinda dumb
<steev>
why maintain a directory of patches instead of maintaining a git repo
<steev>
or even better, maintain a git repo of patches... made from a git repo
<derzahl>
i know how to take textfiles and apply them with the 'patch' command
<steev>
git am ~= patch
<steev>
as long as it's git formatted
<steev>
added bonus that you get history, and more importantly, keep attribution
<derzahl>
IIRC there seems to be multiple people making commits to your repo
<steev>
no
<steev>
those are the original authors
<steev>
that's kinda the point. if there's a bug in a patch, you go to the author, not the committer
<steev>
but if you really just want a directory full of patches
<derzahl>
not sure if they are done with pull requests but i know I can those and add .patch to the url and get a text download
<derzahl>
oh gotcha
<steev>
if you have done git clone github:steev/linux.git -b linux-5.19.y; inside that linux directory, run git format-patch -o patches d654f7e29909ce602942a1cd927d56d5aa397ed8..HEAD
<steev>
that will spit out the 206 or so patches that are applied
<derzahl>
oh cool
<steev>
i'm still not sure why you'd choose to do that over downloading each file individually, but i'd highly *highly* recommend learning git
<derzahl>
whats the magic command to rip them all off and nail them on to a new kernel?
<steev>
"Rob Clark authored and 0x011011110 committed 16 days ago" - that's saying rob wrote the patch, i just committed it to my repo
<steev>
uhh
<steev>
assuming you're using git
<steev>
git am /path/to/patches/*.patch
<steev>
and then fix them up as they break
<steev>
in terms of what i do, well, the stable kernel is my origin, so i just git pull --rebase, which pulls in the latest 5.19 and then applies my patches on top of it
<steev>
it also means patches automatically get dropped when they're committed to the repo, so again, i don't have to track them manually
<derzahl>
oh, but you dont have a /path/to/*patch files if you do it the proper way through git right?
<derzahl>
oh yeh
<derzahl>
thats what i meant
<steev>
so assuming you want to do what i did... well you'd take that folder of patches "we" just generated via git format-patch, and you'd git clone <upstreamkernelurl> -b linux-5.19.y; then go into the directory, and git am /path/to/patches/*.patch; and then you'd just git pull --rebase whenever they put out a new 5.19 kernel
<steev>
and yes i just noticed that i've not pushed anything since 5.19.1
<steev>
that's because i'm trying to dump the some-battery stuff and move to bamse's real driver
<steev>
actually, i'm trying to make a c630 specific one, sc8180x specific one, and sc8280xp specific one
<derzahl>
ok, so you are still working with a bunh of .patch files then.
<derzahl>
i misunderstood
<derzahl>
i just noticed the battery driver and enabled it but then the compile failed
<derzahl>
im still on 5.17
<steev>
you're gonna need to backport some stuff to make it work on 5.17
<derzahl>
id just compile 5.19 with gcc before that
<derzahl>
probably
<derzahl>
i finally got 5.17 to compile with lto AND zfs and it all worked
Lucanis has joined #aarch64-laptops
Lucanis0 has quit [Ping timeout: 480 seconds]
e1eph4nt has joined #aarch64-laptops
e1eph4nt has quit [Ping timeout: 480 seconds]
e1eph4nt has joined #aarch64-laptops
e1eph4nt has quit [Ping timeout: 480 seconds]
e1eph4nt has joined #aarch64-laptops
<steev>
unfortunately, if you want the battery/dp driver, you need the drm stuff to be backported as well
<steev>
you might be able to go in and modify it to only be the battery, but i haven't bothered
e1eph4nt has quit [Ping timeout: 480 seconds]
e1eph4nt has joined #aarch64-laptops
hexdump0815 has quit [Read error: Connection reset by peer]
Penguinpee_ has joined #aarch64-laptops
hexdump0815 has joined #aarch64-laptops
Penguinpee has quit [Ping timeout: 480 seconds]
klardotsh has joined #aarch64-laptops
e1eph4nt has quit [Ping timeout: 480 seconds]
e1eph4nt has joined #aarch64-laptops
e1eph4nt has quit [Ping timeout: 480 seconds]
e1eph4nt has joined #aarch64-laptops
e1eph4nt has quit [Ping timeout: 480 seconds]
e1eph4nt has joined #aarch64-laptops
pierro78 has joined #aarch64-laptops
e1eph4nt has quit [Ping timeout: 480 seconds]
e1eph4nt has joined #aarch64-laptops
e1eph4nt has quit [Ping timeout: 480 seconds]
e1eph4nt has joined #aarch64-laptops
jhovold has joined #aarch64-laptops
e1eph4nt has quit [Ping timeout: 480 seconds]
e1eph4nt has joined #aarch64-laptops
e1eph4nt has quit [Ping timeout: 480 seconds]
e1eph4nt has joined #aarch64-laptops
e1eph4nt has quit [Ping timeout: 480 seconds]
e1eph4nt has joined #aarch64-laptops
e1eph4nt has quit [Ping timeout: 480 seconds]
e1eph4nt has joined #aarch64-laptops
e1eph4nt has quit [Ping timeout: 480 seconds]
pierro78 has quit [Quit: Page closed]
pierro78 has joined #aarch64-laptops
e1eph4nt has joined #aarch64-laptops
e1eph4nt has quit [Ping timeout: 480 seconds]
e1eph4nt has joined #aarch64-laptops
van_veldt has joined #aarch64-laptops
matthias_bgg has quit [Ping timeout: 480 seconds]
matthias_bgg has joined #aarch64-laptops
van_veldt has quit []
vanveldt has joined #aarch64-laptops
e1eph4nt has quit [Ping timeout: 480 seconds]
e1eph4nt has joined #aarch64-laptops
e1eph4nt has quit [Ping timeout: 480 seconds]
vanveldt has quit [Remote host closed the connection]
vanveldt has joined #aarch64-laptops
Penguinpee_ has quit [Remote host closed the connection]
Penguinpee_ has joined #aarch64-laptops
e1eph4nt has joined #aarch64-laptops
e1eph4nt has quit [Ping timeout: 480 seconds]
e1eph4nt has joined #aarch64-laptops
e1eph4nt has quit [Ping timeout: 480 seconds]
e1eph4nt has joined #aarch64-laptops
e1eph4nt has quit [Ping timeout: 480 seconds]
e1eph4nt has joined #aarch64-laptops
e1eph4nt has quit [Remote host closed the connection]
e1eph4nt has joined #aarch64-laptops
e1eph4nt has quit [Ping timeout: 480 seconds]
e1eph4nt has joined #aarch64-laptops
vanveldt has quit [Remote host closed the connection]
e1eph4nt has quit [Ping timeout: 480 seconds]
vanveldt has joined #aarch64-laptops
e1eph4nt has joined #aarch64-laptops
e1eph4nt has quit [Ping timeout: 480 seconds]
e1eph4nt has joined #aarch64-laptops
e1eph4nt has quit [Ping timeout: 480 seconds]
e1eph4nt has joined #aarch64-laptops
matthias_bgg has quit [Quit: Leaving]
vanveldt has quit [Ping timeout: 480 seconds]
hexdump0815 has quit [Quit: WeeChat 1.9.1]
hexdump0815 has joined #aarch64-laptops
<steev>
looks like the thermal keeps things at ~80C
<steev>
compiling and occasionally it hits 82-83C but definitely isn't going up to 90 anymore
e1eph4nt has quit [Ping timeout: 480 seconds]
jhovold has quit [Ping timeout: 480 seconds]
e1eph4nt has joined #aarch64-laptops
e1eph4nt has quit [Ping timeout: 480 seconds]
e1eph4nt has joined #aarch64-laptops
systwi_ has joined #aarch64-laptops
systwi has quit [Ping timeout: 480 seconds]
e1eph4nt has quit [Ping timeout: 480 seconds]
e1eph4nt has joined #aarch64-laptops
pierro78 has quit [Remote host closed the connection]
pierro78_ has quit [Quit: Page closed]
e1eph4nt has quit [Remote host closed the connection]
e1eph4nt has joined #aarch64-laptops
e1eph4nt has quit [Remote host closed the connection]