05:24
Danct12 has quit [Server closed connection]
05:24
Danct12 has joined #msm8937-mainline
10:46
<
Saalim[m] >
barni2000: gonna try compiling my asus 8937 tonight with your source. I can make PRs right?
10:49
<
barni2000[m] >
Yes but under msm89x7-mainline
10:49
<
barni2000[m] >
I will pull things together soon
10:49
<
Saalim[m] >
and pmaport package you got?
10:49
<
Saalim[m] >
like linux-qcom-postmarket-8937 something
10:50
<
barni2000[m] >
That is just temp all things should be sent to pmos
10:50
<
Saalim[m] >
This is the branch right
10:50
<
barni2000[m] >
Saalim[m]: Currently i am building with envkernel against msm8917
10:51
<
Saalim[m] >
barni2000[m]: I see, that is fine, Ill put together one ig
10:51
<
Saalim[m] >
my device is already on pmos, just need to update kernel and cmdline I guess
11:04
<
Andr[m] >
* device. The pmOS wiki points
11:23
<
Saalim[m] >
a very dumb thing barni2000 , what desktop you choose usually
11:23
<
Saalim[m] >
like what in the downstream and what in the upstream
11:23
<
Saalim[m] >
the list seems to have changed since last year ig
11:33
f_ is now known as funderscore
11:50
<
barni2000[m] >
<Andr[m]> "Hi, is anyone working on..." <- Yes, hacker420:
11:50
<
barni2000[m] >
<Saalim[m]> "a very dumb thing barni2000..." <- phosh or plamo
11:50
<
Saalim[m] >
barni2000[m]: but like it doesnt even get listed here
11:51
<
barni2000[m] >
Because gpu line missing from deviceinfo
11:52
<
barni2000[m] >
But you can install them later
11:52
<
Saalim[m] >
so console or framebuffer?
11:52
<
barni2000[m] >
postmarketos-ui-phosh
11:53
<
barni2000[m] >
Saalim[m]: console
11:56
hacker420[m] has joined #msm8937-mainline
11:56
<
hacker420[m] >
<barni2000[m]> "Yes, hacker420:..." <- working is s strong worf
11:56
<
hacker420[m] >
*word
11:59
<
barni2000[m] >
was working
12:00
<
barni2000[m] >
btw i have g5s what is very similar
12:00
<
Andr[m] >
Is the current state publicly available?
12:00
<
barni2000[m] >
montana
12:12
<
Saalim[m] >
I have sanders and cedric but need to find them
12:41
<
barni2000[m] >
<Andr[m]> "Is the current state publicly..." <- Idk
12:47
<
Saalim[m] >
barni2000: which defconfig?
12:50
funderscore is now known as f_
13:12
<
barni2000[m] >
msm8917 with couple of modofication
13:13
<
barni2000[m] >
I can send my config later 28 nm usb phy should be selected a qcom wled
13:13
<
barni2000[m] >
*and
13:14
<
Saalim[m] >
I am trying 8916 defconfig for now. Lets see
13:14
<
Saalim[m] >
I added dts and panel driver
13:30
<
Saalim[m] >
compiles nice
14:48
<
barni2000[m] >
<Saalim[m]> "I am trying 8916 defconfig for..." <- Not enough
17:00
<
Saalim[m] >
<barni2000[m]> "Not enough" <- Oh, then Ill wait for you to push then ig
17:00
<
barni2000[m] >
i can send my config a minute
17:02
<
barni2000[m] >
you should enable only 1 ts because they are using same gpio and it will not probing
17:03
<
barni2000[m] >
for multi touch support we can use lk2nd to choose one if it is binded to the panel
17:03
<
barni2000[m] >
* multi touch controller support we
17:05
<
barni2000[m] >
msmgpio is tlmm now
17:06
<
Saalim[m] >
barni2000[m]: Alright
17:30
<
hacker420[m] >
<Andr[m]> "Is the current state publicly..." <- goddamnit, think I lost the DTS somewhere
17:30
<
hacker420[m] >
searching...
17:33
<
hacker420[m] >
I think this might be it
17:36
<
hacker420[m] >
ah yeah
17:36
<
hacker420[m] >
you'll need simpledrm nodes...
17:37
<
hacker420[m] >
that was from when I was trying to get the panel up
17:50
<
barni2000[m] >
panel is working now
17:51
<
barni2000[m] >
* working now you can use the panel generator
17:51
<
barni2000[m] >
i have upstreamed mdp5 and dsi phy
18:06
<
hacker420[m] >
I think I had some panel power up issues
18:06
<
hacker420[m] >
might retry
18:07
<
hacker420[m] >
which branch do I grab?
18:14
<
hacker420[m] >
6.6-experimental?
18:14
<
Saalim[m] >
<barni2000[m]> ".config" <- this doesnt pass kconfig checks
18:15
<
barni2000[m] >
yes maybe zstd is missing but it is working
19:00
<
Andr[m] >
<hacker420[m]> "msm8937-motorola-cedric.dts" <- thanks
19:00
<
hacker420[m] >
just remove the panel nodes
19:01
<
hacker420[m] >
or try to bring it up if you want
19:01
<
hacker420[m] >
report any success
19:02
<
hacker420[m] >
hacker420[m]: and add simpledrm
19:03
<
hacker420[m] >
smth like this should work but adapt it to simpledrm
19:04
<
barni2000[m] >
<hacker420[m]> "6.6-experimental?" <- my ugglite-6.10 branch
19:04
<
barni2000[m] >
but the issue is on 6.6 clocks is missed typed to clock and dsi clocks are missing from gcc
19:05
<
hacker420[m] >
could that have caused the boot issues?
19:05
<
hacker420[m] >
or rather panel issues?
19:05
<
barni2000[m] >
santoni has working gpu+panel i was playing with supertuxkart
19:06
<
barni2000[m] >
hacker420[m]: yes it caused it
19:06
<
hacker420[m] >
on 6.6 or 6.20
19:06
<
hacker420[m] >
on 6.6 or 6.10
19:06
<
hacker420[m] >
barni2000[m]: good to know
19:06
<
barni2000[m] >
panel also works on msm8917 now
19:07
<
barni2000[m] >
i have tested dpu also but i don't have device with cmd mode panel
19:07
<
hacker420[m] >
wait so I need your fork?
19:07
<
barni2000[m] >
you can make your devicetree against my fork now i am doing some schema clean ups and cherry-picking the upstreamd commits
19:08
<
hacker420[m] >
mind sending a link?
19:08
<
barni2000[m] >
i have right to upload everything under msm89x7-mainline i can upload as a branch there
19:08
<
hacker420[m] >
do it
19:09
<
hacker420[m] >
or send the fork
19:10
<
hacker420[m] >
wait I got ti
19:11
<
barni2000[m] >
ok it seems i cannot create a new branch only a new repo :(
19:12
<
barni2000[m] >
i am going to generate the drivers with this
19:14
<
barni2000[m] >
regulators are not necessary to add but i can cherry-pick pmi8950_labibb
19:32
<
Saalim[m] >
the device booted after logo
19:33
<
Saalim[m] >
on first trial
19:33
<
Saalim[m] >
no ramoops either
19:33
<
Saalim[m] >
s/booted/rebooted/
19:34
<
hacker420[m] >
barni2000 you have any idea if you can use a local folder instead of a git repo in an apkbuild?
19:34
<
barni2000[m] >
or you want it to build without pmbootstrap?
19:35
<
barni2000[m] >
oh now i understand
19:35
<
barni2000[m] >
you can place it beside the APKBUILD
19:35
<
barni2000[m] >
it should work
19:35
<
hacker420[m] >
does it matter if I make the panel a module or a built in?
19:37
<
Saalim[m] >
Saalim[m]: anything you wanna suggest barni2000
19:37
<
barni2000[m] >
i need to check your dt
19:38
<
barni2000[m] >
try to pull /sys/fs/pstore from twrp with adb
19:38
<
Saalim[m] >
and there was no backlight change either, it just rebooted again from logo
19:38
<
Saalim[m] >
barni2000[m]: it is empty
19:38
<
barni2000[m] >
maybe you will need reserved-gpio-ranges
19:39
<
barni2000[m] >
do you have lk2nd?
19:39
<
Saalim[m] >
barni2000[m]: yes, like I have a working fork of it
19:40
<
Saalim[m] >
barni2000[m]: but I cant replace lk2nd can I
19:40
<
Saalim[m] >
it is a bootloader and requires signature for it to work
19:40
<
hacker420[m] >
what
19:40
<
Saalim[m] >
fastboot boot lk2nd.img boots the device to lk2nd
19:40
<
Saalim[m] >
so how to boot-up the device,
19:40
<
Saalim[m] >
fastboot boot lk2nd,
19:40
<
Saalim[m] >
flash rootfs, boot and then reboot?
19:41
<
Saalim[m] >
or does it work in a different way
19:41
<
barni2000[m] >
Saalim[m]: just apply this pr for your fork
19:41
<
hacker420[m] >
you are not touching the vendor bootloader
19:41
<
barni2000[m] >
it is a boot.img not aboot
19:41
<
hacker420[m] >
any specific kernel config options I'
19:41
<
hacker420[m] >
any specific kernel config options I'd want?
19:42
<
barni2000[m] >
i have sent my config
19:42
<
Saalim[m] >
lemme try
19:42
<
Saalim[m] >
barni2000[m]: which lk2nd fork you are using, I can just add my device tree on top of that,
19:43
<
barni2000[m] >
i am using msm8916-mainline with those pr
19:43
<
Saalim[m] >
alright, gimme a sec
19:44
<
barni2000[m] >
git fetch origin pull/ID/head:BRANCH_NAME
19:44
<
barni2000[m] >
git cherry-pick FETCH_HEAD
19:45
<
barni2000[m] >
git log FETCH_HEAD could help how many commit you should cherry-pick
19:45
<
barni2000[m] >
s//`/, s//`/, s/commit/commits/
19:46
<
barni2000[m] >
in this PR there are 2
20:06
<
Saalim[m] >
<barni2000[m]> "do you have lk2nd?" <- now I do
20:06
<
Saalim[m] >
but yeah it gives the same status even when I flash the device on lk2nd
20:09
<
barni2000[m] >
did you do fastboot boot boot.img from lk2nd or flash it from lk2nd?
20:10
<
Saalim[m] >
barni2000[m]: I tried both
20:10
<
barni2000[m] >
what about pstore?
20:10
<
Saalim[m] >
barni2000[m]: i went to recovery and it was still empty
20:10
<
barni2000[m] >
check your pstore address
20:10
<
barni2000[m] >
twrp also writes it
20:10
<
barni2000[m] >
try to grep for pstore/ramoops
20:11
<
Saalim[m] >
I made sure to use the correct twrp, I had pstore working fine on downstream
20:11
<
Saalim[m] >
lemme c address once
20:12
<
Saalim[m] >
address is fine too
20:13
<
Saalim[m] >
I actually had
20:13
<
Saalim[m] >
working on my device
20:14
<
Saalim[m] >
in dmesg
20:14
<
barni2000[m] >
what about if you search for pstore?
20:16
<
barni2000[m] >
i think reserved memory section also not fine in that dt
20:16
<
Saalim[m] >
[ 0.143430] console [pstore-1] enabled
20:16
<
Saalim[m] >
[ 0.143582] pstore: Registered ramoops as persistent store backend
20:16
<
barni2000[m] >
and you don't have any other line grep for ramoops
20:18
<
barni2000[m] >
wait i think i know what is missing
20:19
<
hacker420[m] >
<barni2000[m]> "you can place it beside the..." <- wait how
20:19
<
hacker420[m] >
without changing the apkbuild?
20:19
<
barni2000[m] >
hacker420[m]: no you should add it as a source
20:19
<
hacker420[m] >
by default it will try to pull it from gh
20:20
<
Saalim[m] >
barni2000[m]: alright lemme check
20:20
<
barni2000[m] >
but check your values maybe there are some difference
20:20
<
hacker420[m] >
like this?
20:21
<
Saalim[m] >
barni2000[m]: i just noticed that my reserved memory was to a different node
20:21
<
Saalim[m] >
I fixed that,
20:23
<
barni2000[m] >
btw why don't you use pmbootstrap build --envkernel linux-postmarketos-qcom-msm8917?
20:23
<
hacker420[m] >
too late :p
20:23
<
barni2000[m] >
* btw why don't you use pmbootstrap build --envkernel linux-postmarketos-qcom-msm8917?
20:25
<
hacker420[m] >
guess I do that
20:26
<
barni2000[m] >
if you build it in the same config with -c param you can install it from /mnt/packages in chroot -r or pmbootstrap install will install the latest
20:27
<
hacker420[m] >
the hell
20:27
<
hacker420[m] >
make[4]:
*** No rule to make target 'arch/arm64/boot/dts/qcom/msm8916-samsung-cprime.dtb', needed by 'arch/arm64/boot/dts/qcom/dtbs-list'. Stop.
20:31
<
hacker420[m] >
let me comment it out for now
20:33
<
hacker420[m] >
goddamnit
20:34
<
hacker420[m] >
I think something got fucked up when I moved the origin urls
20:36
<
hacker420[m] >
nah I am recloning this
21:13
<
hacker420[m] >
what now
21:13
<
hacker420[m] >
>>> linux-motorola-cedric-mainline*: Create linux-motorola-cedric-mainline-6.6_p20240821231313-r0.apk
21:13
<
hacker420[m] >
mkdir: can't create directory '/home/pmos/packages//pmos/aarch64': Permission denied
21:28
<
barni2000[m] >
try with linux-postmarketos-qcom-msm8917
21:30
<
hacker420[m] >
nope
21:31
<
barni2000[m] >
you can add that as a dependency for your cedric kernel and that can be a meta package
21:32
<
hacker420[m] >
I can't envkernel build it
21:32
<
barni2000[m] >
idk why you have permission denied btw
21:32
<
hacker420[m] >
I think I will try just copying the directory
21:39
<
barni2000[m] >
<Felix_> "so i have to follow
https://wiki ..." <- did you followed this?
21:46
<
hacker420[m] >
goddamnit
21:46
<
hacker420[m] >
cp: cannot copy cyclic symbolic link
21:48
<
hacker420[m] >
nah leaving this for tomorrow
22:34
<
Saalim[m] >
btw barni2000 land is also stuck on logo
22:34
<
barni2000[m] >
idk how you port it i have an half working port for land
22:34
<
barni2000[m] >
but a lot of stuff is missing for it
22:43
<
Saalim[m] >
<barni2000[m]> "idk how you port it i have an..." <- Can you send the dts
22:45
<
barni2000[m] >
idk where i put it
22:46
<
barni2000[m] >
show your current sources
22:48
<
barni2000[m] >
wait where are the panel drivers? you should generate them
22:48
<
Saalim[m] >
barni2000[m]: I did generate them for asus
22:48
<
barni2000[m] >
or enable simple frambuffer node
22:48
<
Saalim[m] >
barni2000[m]: defining it in the dts should be fine na?
22:49
<
barni2000[m] >
yes, change disabled to okay
22:49
<
Saalim[m] >
oh fuck
22:49
<
Saalim[m] >
I can avoid panel driver and check using framebuffer right?
22:50
<
barni2000[m] >
first it helps with check if it is booting
22:50
<
Saalim[m] >
and panel status to disabled or keep it at that?
22:50
<
barni2000[m] >
you can keep it
22:51
<
Saalim[m] >
Okie, gimme a sec
23:00
<
barni2000[m] >
it would be great fix the pstore somehow
23:03
<
Saalim[m] >
Nope, still the same, Maybe something is wrong with my environment perhaps
23:23
<
barni2000[m] >
try to adjust the pstore values
23:24
<
barni2000[m] >
if you get an pmesg or console-message it will help a lot
23:34
<
Andr[m] >
lk2nd can read ramoops, too. With lk2nd.pass-ramoops=zap added to kernel parameters, lk2nd makes the necessary changes to the dts file