07:52
FieryFlames[m] has joined #msm8937-mainline
07:52
<
FieryFlames[m] >
anyone able to test a lk2nd image on Cedric?
07:52
<
hacker420[m] >
your image or lk2nd in general
07:53
<
FieryFlames[m] >
well I was gonna make a image but I can let you know what I'd like tested
07:53
<
hacker420[m] >
I can test your image if you want
07:53
<
FieryFlames[m] >
awesome gimme a sec
07:55
<
hacker420[m] >
yeah it does
07:55
<
FieryFlames[m] >
you have to make a specific build or it boot loops
07:55
<
FieryFlames[m] >
unless the comment's outdated
07:56
<
hacker420[m] >
FieryFlames[m]: yes
07:56
<
hacker420[m] >
that's not outdated
07:56
<
FieryFlames[m] >
I determined on the moto g6 (ali) the reason it bootloops unless it's the only dtb is that moto's dtb selection logic fails if any dtb doesn't have a root model property
07:56
<
hacker420[m] >
thank motorola for that one
07:56
<
FieryFlames[m] >
wondering if it's the same situation on cedric
07:56
<
Andr[m] >
> To build for motorola-cedric, add LK2ND_DTBS="msm8937-motorola-cedric.dtb" to your make cmdline.
07:56
<
Andr[m] >
> cedric does not work with all dtbs enabled; the bootloader gets upset and goes into bootloop.
07:57
<
hacker420[m] >
FieryFlames[m]: your image boots fine
07:57
<
FieryFlames[m] >
lmao so it is the same situation then
07:58
<
hacker420[m] >
*slow clap
07:58
<
hacker420[m] >
slow clap
07:58
<
FieryFlames[m] >
I just shoved model = "test" in every dtb
07:59
<
FieryFlames[m] >
btw, why are the msm8952 dts all laid out in multi-device form when they're for one device?
08:05
<
hacker420[m] >
<FieryFlames[m]> "btw, why are the msm8952 dts all..." <- that'
08:05
<
barni2000[m] >
<FieryFlames[m]> "I determined on the moto g6 (ali..." <- Ali have same issue check msm8953-mainline/lk2nd
08:05
<
FieryFlames[m] >
barni2000[m]: that's the device I fixed it originally on xd
08:05
<
FieryFlames[m] >
like 20 mins ago
08:05
<
barni2000[m] >
I have made a separate project for it
08:06
<
FieryFlames[m] >
I know why it dies and how to fix it
08:07
<
hacker420[m] >
well
08:07
<
hacker420[m] >
the question is if that is the proper fix though
08:07
<
hacker420[m] >
do we just slap a model property in every dts
08:08
<
barni2000[m] >
cedric, ali, land needs individual build because of sh**y vendor bootloader
08:08
<
hacker420[m] >
wait
08:08
<
hacker420[m] >
aren't the images built for a specific device anyway?
08:08
<
FieryFlames[m] >
no
08:08
<
barni2000[m] >
If you find some security hole and you can disable secure boot then you can replace the bootloader
08:09
<
hacker420[m] >
ah wait no
08:09
<
hacker420[m] >
I am really thinking what the proper solution is here
08:09
<
FieryFlames[m] >
hacker420[m]: we could put it in skeleton64 probably
08:10
<
FieryFlames[m] >
hacker420[m]: considering there's apparently multiple devices expecting model prop...
08:10
<
barni2000[m] >
Btw for ali pmos wiki is outdated
08:10
<
FieryFlames[m] >
aka_ says deen also requires being the only dtb (which only works because lk assumes a single dtb will be correct)
08:10
<
FieryFlames[m] >
how so
08:10
<
FieryFlames[m] >
barni2000[m]: how so
08:11
<
hacker420[m] >
FieryFlames[m]: yes but you'd have to make sure it doesn't cause some weird ass behavior down the line
08:11
<
hacker420[m] >
on other devices
08:11
<
barni2000[m] >
I have created lk2nd package for it so the installation guide is not correct
08:12
<
hacker420[m] >
I'd say open an issue or PR on the repo
08:12
<
hacker420[m] >
or ask in msm8916-mainline
08:12
<
FieryFlames[m] >
hacker420[m]: of course, but consider that legacy lk2nd (and msm8953-mainline/lk2nd) have root model properties
08:12
<
FieryFlames[m] >
hacker420[m]: I pinged travmurav in msm8953 mainlining where I first figured it out
08:13
<
FieryFlames[m] >
barni2000[m]: cool but hopefully we can get rid of this
08:13
<
hacker420[m] >
FieryFlames[m]: and?
08:13
<
FieryFlames[m] >
hacker420[m]: no reply yet xd
08:13
<
hacker420[m] >
honestly
08:14
<
hacker420[m] >
toss a draft PR on the repo
08:14
<
hacker420[m] >
and see what others think
08:14
<
FieryFlames[m] >
I'm going to wait for travmurav to let me know what he thinks first
08:14
<
FieryFlames[m] >
partly because it's 4 am
08:14
<
FieryFlames[m] >
and by the time I'll do a pr I'll prob have a reply
08:15
<
barni2000[m] >
I have asked people to test my changes for ali months ago but no one was help me so. Modem will need some quirk from lk2nd afsik
08:15
<
barni2000[m] >
FieryFlames[m]: No because the bl only can handle 1 dt
08:15
<
FieryFlames[m] >
barni2000[m]: I have the fix for this dude
08:16
<
FieryFlames[m] >
I know why the bl can "only handle" 1 dt
08:16
<
FieryFlames[m] >
Ali/cedric/deen(?) require every appended dt to have model property
08:16
<
FieryFlames[m] >
otherwise crash
08:16
<
FieryFlames[m] >
if every dt has model prop then it selects fine
08:17
<
barni2000[m] >
I guess same needed for land than
08:17
<
FieryFlames[m] >
idk what device land is
08:17
<
barni2000[m] >
Redmi 3s
08:17
<
FieryFlames[m] >
you can try it, but I wouldn't be surprised if it's a different bug
08:18
<
FieryFlames[m] >
I'm assuming the model requirement is in moto's selection code
08:18
<
barni2000[m] >
So cedric, momtana, ali, deen fortunately potter (g5 plus) is fine
08:18
<
hacker420[m] >
goddamn clowns
08:18
<
barni2000[m] >
s/momtana/montana/
08:18
<
hacker420[m] >
if someone were to find an exploit to disable secure boot we are golden
08:19
<
FieryFlames[m] >
hacker420[m]: replacing bl would be cool but it's not like this fix isn't unattainable
08:19
<
hacker420[m] >
yeah
08:20
<
hacker420[m] >
but at least if we could replace bl that workaround wouldn't be needed
08:20
<
hacker420[m] >
since we could just directly boot lk2nd
08:20
<
barni2000[m] >
ok so we have a fix now cool lets apply it
08:21
<
FieryFlames[m] >
barni2000[m]: if you want to do this for msm8953-mainline/lk2nd go right ahead but I'm waiting for travmurav's thoughts before I do anything with msm8916/lk2nd
08:21
<
FieryFlames[m] >
I personally would like to use msm8916 lk2nd
08:21
<
hacker420[m] >
yeah I'
08:21
<
hacker420[m] >
yeah I'd wait too
08:21
<
hacker420[m] >
to not split efforts too much
08:22
<
FieryFlames[m] >
fixing it in msm8953 lk2nd would be easy as heck, just add model to the Samsung dts iirc
08:22
<
barni2000[m] >
FieryFlames[m]: It is planned to switch i have added the last bricks to be able to switch
08:23
<
barni2000[m] >
Couple of dts left
08:23
<
FieryFlames[m] >
it's kinda funny how long this fix has been in front of my face I remember building msm8953/lk2nd without Samsung dts and it working
08:23
angeryboi[m] has joined #msm8937-mainline
08:23
<
angeryboi[m] >
once switch to msm8916 lk2nd is complete, then I could start bringup on FIH nokia 5?
08:24
<
FieryFlames[m] >
barni2000[m]: you pushed Ali in msm8916 lk2nd anywhere? I have my own work in progress version
08:24
<
FieryFlames[m] >
dunno if it's a bug with my version or pmOS but when I booted pmOS I had no display
08:25
<
barni2000[m] >
aka_ was ported the dts idk if ali was pushed there let me check
08:25
<
FieryFlames[m] >
Ali wasn't no
08:25
<
FieryFlames[m] >
not in msm8916 atleast
08:26
<
barni2000[m] >
Only deen is there
08:26
<
FieryFlames[m] >
and ocean
08:26
<
barni2000[m] >
I was pushed to msm8953 after that ig
08:27
<
barni2000[m] >
FieryFlames[m]: Ocean needs dtbo anyway
08:27
<
barni2000[m] >
I think msm8916 variant is not working
08:27
<
FieryFlames[m] >
ah
08:27
<
barni2000[m] >
No one was tested
08:28
<
FieryFlames[m] >
^anyways, if you want to try Ali on msm8916 lk2nd with all dtbs:
08:28
<
FieryFlames[m] >
works on my ali
08:29
<
FieryFlames[m] >
I haven't done panel stuff
08:29
<
barni2000[m] >
Btw i think this will needed to ali also #include <motorola-carrier-channel-ids.dtsi> for make modem to work, i have just cannot test it because i dont have ali
08:29
<
FieryFlames[m] >
I thought u had ali
08:29
<
FieryFlames[m] >
okay then
08:30
<
barni2000[m] >
FieryFlames[m]: Why it will be totally same like in msm8953 variant
08:30
<
barni2000[m] >
Almost
08:31
<
barni2000[m] >
FieryFlames[m]: No i have just added panel and battery support for it and someone was tested for me
08:31
<
FieryFlames[m] >
I removed it to check if it was the reason stuff broke
08:31
<
FieryFlames[m] >
and never added back
08:33
<
barni2000[m] >
If you not added you wil have not got working display unless you replace the compatible in the kernel
08:33
<
FieryFlames[m] >
I'm gonna test
08:33
<
FieryFlames[m] >
I just added back
08:35
<
FieryFlames[m] >
cool yeah disp works now
08:38
<
hacker420[m] >
ok so debug shell works well
08:38
<
hacker420[m] >
rootfs doesn't
08:38
<
FieryFlames[m] >
hm? in what context
08:39
<
FieryFlames[m] >
I noticed roots boot on Ali wasn't working too
08:39
<
FieryFlames[m] >
s/roots/rootfs/
08:42
<
hacker420[m] >
FieryFlames[m]: does debug shell work?
08:42
<
FieryFlames[m] >
yeah
08:42
<
FieryFlames[m] >
but that wouldn't really be affected by lk
08:42
<
hacker420[m] >
that's some kernel thing
08:43
<
barni2000[m] >
FieryFlames[m]: Enable extlinux config in deviceinfo
08:43
<
FieryFlames[m] >
not doing that at nearly 5am xd
08:43
<
barni2000[m] >
Is it booting with msm8953 lk2nd
08:43
<
FieryFlames[m] >
no I'm booting with msm8916 lk2nd
08:43
<
hacker420[m] >
also was poking around in debug shell and this happened
08:44
<
barni2000[m] >
I dont asked what you booting for i have asked was it worked with msm8953-mainline/lk2nd?
08:44
<
barni2000[m] >
The two lk2nd has different fsboot implementation
08:44
<
FieryFlames[m] >
I am lost what do you want to know worked in msm8953 lk2nd
08:44
<
FieryFlames[m] >
fsboot? no idea, never tested
08:45
<
FieryFlames[m] >
I got Ali going on msm8916 lk2nd and then installed the existing pmOS port
08:46
<
barni2000[m] >
Then install lk2nd build from pmos with flasher flash_lk2nd and check if it can reach userspace
08:46
<
FieryFlames[m] >
I already turned off my desktop
08:46
<
barni2000[m] >
Ok than next time
08:46
<
FieryFlames[m] >
I don't really care if it works in msm8953 lk2nd xd, I want to use msm8916 lk2nd
08:47
<
barni2000[m] >
It is just help debugging it but it will work with msm8916 lk2nd
08:48
<
hacker420[m] >
I could try with 8953 lk2nd
08:48
<
hacker420[m] >
but what would it change
08:50
<
barni2000[m] >
It has different fsboot implementation but with cedric it will not work because of missing cpufreq support
08:50
<
FieryFlames[m] >
why does fsboot rely on cpufreq...
08:50
<
hacker420[m] >
shouldn't pmos handle the rootfs booting'
08:50
<
hacker420[m] >
via initramfs
08:50
<
barni2000[m] >
Not fsboot rely on it
08:51
<
hacker420[m] >
it sounds like you are describing directly booting into the rootfs
08:51
<
barni2000[m] >
Just it will be painfuly slow or it will crashing
08:51
<
barni2000[m] >
msm8937 is working with msm8916-mainline/lk2nd+my PRs for the soc
08:52
<
barni2000[m] >
msm8853-mainline only have basic support for it
08:52
<
FieryFlames[m] >
basic support for what??
08:53
<
barni2000[m] >
For the soc it csn boot lk2nd and that is all
08:53
<
FieryFlames[m] >
oh
08:53
<
FieryFlames[m] >
msm8953-mainline lk2nd only has basic support for msm8937 is what you're saying
08:55
<
barni2000[m] >
i have sent it to msm8916-mainline
08:55
<
hacker420[m] >
I wonder why in debug shell it boots yet if I remove the parameter I get nothing'
08:55
<
hacker420[m] >
not even boot logs
09:02
<
hacker420[m] >
the booting just feels flaky in general
09:03
<
hacker420[m] >
probably kernel bugs
09:04
<
hacker420[m] >
and I still wonder why the continue boot command doesn't work
09:08
<
hacker420[m] >
msm also doesn't probe every time
09:09
<
hacker420[m] >
it works if I manually probe msm and panel
09:15
<
hacker420[m] >
<hacker420[m]> "and I still wonder why the..." <- it just dumps me back to debug shell
09:16
<
hacker420[m] >
it doesn't even look like it sees the partitions properly
09:19
<
hacker420[m] >
it does see the partitions
09:20
<
barni2000[m] >
It is the same bug what i have with land
09:20
<
hacker420[m] >
you got any fix for it?
09:20
<
barni2000[m] >
Not yet
09:20
<
barni2000[m] >
Reboots atm
09:22
<
hacker420[m] >
guess I wait then
09:26
<
barni2000[m] >
maybe you will wait for forevert :D
09:26
<
barni2000[m] >
s/forevert/forever/
09:26
<
barni2000[m] >
i don't have any idea yet
09:33
<
hacker420[m] >
does it happen on other msm8937 devices?
09:34
<
barni2000[m] >
land
09:34
<
barni2000[m] >
montana is fine
09:34
<
barni2000[m] >
i only have those two
09:34
<
barni2000[m] >
msm8940 also fine
09:35
<
barni2000[m] >
but i have only tested with santoni so maybe ugg can have this issue
09:35
<
hacker420[m] >
barni2000[m]: strange
09:35
<
hacker420[m] >
you'd think if montana is fine then cedric would work too
09:35
<
hacker420[m] >
maybe it's some dts/config thing?
09:36
<
barni2000[m] >
i have not got installed rootfs yet
09:36
<
hacker420[m] >
getting uart would be good
09:37
<
hacker420[m] >
since we could see where it locks up
09:37
<
hacker420[m] >
you could check if montana sees storage properly and rootfs
09:38
<
barni2000[m] >
i will
09:52
<
hacker420[m] >
btw, for this I'd just need to toss in --dumb-dcs in the options menu?
09:52
<
hacker420[m] >
btw, for this I'd just need to toss in --dumb-dcs in the options field?
10:01
<
hacker420[m] >
gonna remove the other panel for now as I have no way of testing it
10:03
<
hacker420[m] >
OPTIONS=(--dumb-dcs)
10:03
<
barni2000[m] >
hacker420[m]: leave it
10:04
<
hacker420[m] >
I'd need to add it
10:14
<
hacker420[m] >
pr opened
12:10
<
hacker420[m] >
so now to figure out that weirdness with the boot process
12:16
<
hacker420[m] >
like where is it even getting stuck is the question
12:16
<
hacker420[m] >
it clearly has to go into initramfs fine
12:16
<
hacker420[m] >
to go to debug-shell
12:23
<
hacker420[m] >
I suppose no one has uart to check/
12:36
<
hacker420[m] >
the problem is that if I remove the debug shell param it does actually seem to boot to something
12:36
<
hacker420[m] >
because I get a usb device
12:36
<
hacker420[m] >
but it's neither ssh nor telnet
12:36
<
hacker420[m] >
so probably stuck on splash
12:37
<
hacker420[m] >
hmmmmm
12:38
<
hacker420[m] >
maybe usb serial gadget could work?
12:38
<
barni2000[m] >
it was added to debug-shell
12:39
<
barni2000[m] >
the serial
12:39
<
barni2000[m] >
but it is not working after :(
12:40
<
hacker420[m] >
the config didn't have this enabled
12:40
<
hacker420[m] >
CONFIG_USB_G_SERIAL=y
12:43
<
hacker420[m] >
I'll see what it does
12:51
<
hacker420[m] >
it does work
12:51
<
hacker420[m] >
will need to capture the rest
12:54
<
barni2000[m] >
same stuff
12:54
<
hacker420[m] >
yeah
12:55
<
hacker420[m] >
that's what locks it up
12:55
<
hacker420[m] >
cmdline
12:55
<
hacker420[m] >
`--cmdline "console=ttyGS0,115200 fw_devlink=permissive earlycon PMOS_NOSPLASH"`\
13:05
<
hacker420[m] >
let me try to see what removing devlink=permissive does
13:14
<
barni2000[m] >
wait something is killing udev
13:14
<
barni2000[m] >
maybe it can be fixed with some kernel param idk
13:15
<
barni2000[m] >
* some kernel config param idk
13:31
<
hacker420[m] >
<barni2000[m]> "wait something is killing udev" <- yeah
13:31
<
hacker420[m] >
some undefined instruction
13:31
<
hacker420[m] >
but from where
13:35
<
barni2000[m] >
the greate question why I don't have this on msm8940
13:39
<
barni2000[m] >
only 8937 has this issue
13:48
<
hacker420[m] >
btw don't we want the interconnect enabled?
13:48
<
hacker420[m] >
or is that not necessary
13:48
<
barni2000[m] >
not necessary
13:48
<
barni2000[m] >
but we will enable it later aka_ sent it upstream
13:49
<
barni2000[m] >
it was useless without cpufreq
13:55
<
hacker420[m] >
so then we need to track down what kills udev
13:55
<
hacker420[m] >
and why doesn't it happen under debug-shell
13:57
<
barni2000[m] >
debug-shell not starting udev
14:07
<
hacker420[m] >
wait
14:07
<
hacker420[m] >
shouldn't it start udev to mount the boot partition if you wanted initramfs-extra?
14:13
<
hacker420[m] >
because it runs the device mapper
14:14
<
hacker420[m] >
ugh where do we even report this
14:14
<
hacker420[m] >
or how do we even debug it
14:14
<
barni2000[m] >
sdcard support is merged in lk2nd
14:15
<
barni2000[m] >
i need to do some clean ups and cluster init support also will be merged soon
14:51
<
barni2000[m] >
this means i will prepare a some device PR today for lk2nd
15:21
<
hacker420[m] >
<barni2000[m]> "debug-shell not starting udev" <- it still starts udev
15:21
<
hacker420[m] >
[ 3.271366] udevd[165]: starting eudev-3.2.14
15:25
<
hacker420[m] >
this just hangs so far
15:25
<
hacker420[m] >
gonna wait for a bit more
15:31
<
hacker420[m] >
ok let me reboot
15:37
<
hacker420[m] >
next reboot worked
15:37
<
hacker420[m] >
this is just weird
15:39
<
hacker420[m] >
now this
15:39
<
hacker420[m] >
[ 3.475857] udevd[159]: worker [166] failed while handling '/devices/platform/soc@0/7824900.mmc/mmc_host/mmc0/mmc0:0001/block/mmcblk0/mmcblk0p28'
15:40
<
hacker420[m] >
that's all with debug shell param
15:41
<
hacker420[m] >
` "fw_devlink=permissive pmos.debug-shell PMOS_NOSPLASH console=ttyGS0,115200`
15:41
<
hacker420[m] >
think this serial gadget shell is broken in some way
15:45
<
hacker420[m] >
another oops
15:45
<
hacker420[m] >
undefined instruction
15:55
<
hacker420[m] >
I wonder if gimping this to 4 cores would help
15:55
<
hacker420[m] >
it's just strange
16:03
<
hacker420[m] >
why doesn't this happen on msm8940
16:03
<
barni2000[m] >
newer stuff idk
16:03
<
barni2000[m] >
1.34 ghz works fine on msm 8940
16:04
<
barni2000[m] >
8937 is rebooting from it
16:08
<
barni2000[m] >
Danct12: why santoni needs this ```lk2nd,match-cmdline = "* board_id=S88536*";``` when it have custom ```qcom,board-id```?
16:08
<
Danct12[m] >
barni2000[m]: there's three variants of redmi 4x
16:09
<
barni2000[m] >
still not an issue
16:09
<
Danct12[m] >
and qcom,board-id isnt a good way to identify a device
16:09
<
Danct12[m] >
s/good/reliable/
16:10
<
barni2000[m] >
msm8940+board-id will identify it
16:10
<
barni2000[m] >
land has same board-id but it has different msm-id
16:11
<
barni2000[m] >
qcom,msm-id = <QCOM_ID_MSM8937 0x0>;
16:11
<
barni2000[m] >
qcom,board-id = <0x1000b 1>, <0x2000b 1>
16:11
<
barni2000[m] >
Danct12[m]: until there is no other device with the same id it is fine
16:12
<
barni2000[m] >
panel match also will define it
16:13
<
hacker420[m] >
so how do I limit cores?
16:13
<
barni2000[m] >
maxcpus=4
16:15
<
hacker420[m] >
so when I tried this
16:15
<
hacker420[m] >
it dumped me to debug shell without the debug shell param
16:17
<
hacker420[m] >
udev can't find rng-core.ko
16:18
<
hacker420[m] >
then it just dumps itself to debug shell
16:18
<
hacker420[m] >
let me try to remove the hook
16:24
<
hacker420[m] >
nope
16:24
<
hacker420[m] >
still dumps itself to debug shell
16:25
<
hacker420[m] >
bunch of udev fails
16:25
<
hacker420[m] >
then it makes a log disk
16:26
<
hacker420[m] >
and then it enters debug shell
16:26
<
hacker420[m] >
do I need to reinstall rootfs or something?
16:26
<
hacker420[m] >
or does it just auto start itself even without a hook
16:32
semfault[m] has joined #msm8937-mainline
16:32
<
barni2000[m] >
there are couple udev fails what is not cause harm
16:33
<
barni2000[m] >
the main issue the unexpected ops
16:34
<
hacker420[m] >
yeah
16:34
<
hacker420[m] >
and the question is why it doesn't go through to rootfs
16:34
<
hacker420[m] >
doesn't even try to mount it
16:38
<
hacker420[m] >
ok so
16:38
<
hacker420[m] >
when I limit cpus I can get it to boot consistently
16:38
<
hacker420[m] >
and bring up panel
16:39
<
hacker420[m] >
still doesn'g mount rootfs though
16:41
<
hacker420[m] >
[ 3.643899] udevd[148]: ctx=0xffffae4e09a0 path=/lib/modules/6.10.0-msm8917/kernel/drivers/char/hw_random/rng-core.ko error=No such file or directory
16:46
<
hacker420[m] >
which would be weird...
16:46
<
hacker420[m] >
unless I need to either add it to initfs or try as built in
16:48
<
hacker420[m] >
let's try to build it in
16:49
<
hacker420[m] >
unless the other SoC packages pull in some crucial modules in initfs
16:50
<
hacker420[m] >
this got rid of that error
16:51
<
hacker420[m] >
doesn't change the fact it's still dumping itself into debug shell
16:55
<
hacker420[m] >
device mapper is enabled...
17:00
<
hacker420[m] >
it sees emmc
17:05
<
hacker420[m] >
can I somehow try to manually mount this?
17:06
<
barni2000[m] >
kpartx -a
17:06
<
barni2000[m] >
and after you can mount it from /dev/mapper
17:07
<
hacker420[m] >
barni2000[m]: do I point it to the whole partition?
17:07
<
barni2000[m] >
on the userdata yes
17:09
<
hacker420[m] >
ok so rootfs is there
17:09
<
hacker420[m] >
why doesn't it then run that automatically
17:09
<
hacker420[m] >
what would I do to try and boot it more then
17:09
<
hacker420[m] >
pmos_continue_boot?
17:10
<
hacker420[m] >
kpartx clearly mounts it fien
17:10
<
hacker420[m] >
*fine
17:11
<
hacker420[m] >
hacker420[m]: nope
17:11
<
hacker420[m] >
failed to remove acm.usb0
17:11
<
hacker420[m] >
then looping forever
20:06
<
barni2000[m] >
i will add ugg, ugglite later
20:45
<
barni2000[m] >
#ifdef TARGET_MSM8953? msm8953
20:45
<
FieryFlames[m] >
(add msm8952 to that ifdef)
20:46
<
FieryFlames[m] >
I didn't so msm8952 support in that pr because it's specifically for ali, but it should be simple to do on msm8952
20:47
<
barni2000[m] >
but enabling for every msm8953 device?
20:47
<
FieryFlames[m] >
yes.. this is the fix for ali
20:47
<
barni2000[m] >
btw msm8937 devices more sensitive
20:48
<
FieryFlames[m] >
every dts in affected device platform needs to have model
20:48
<
FieryFlames[m] >
barni2000[m]: give it a try, cuz it worked on cedric
20:48
<
barni2000[m] >
i think it will work but what about devices what does not need model
20:50
<
FieryFlames[m] >
barni2000[m]: irrelevant
20:50
<
FieryFlames[m] >
adding model shouldn't break other devices
20:50
<
FieryFlames[m] >
but it fixes devices that expect every dts to have model
20:50
<
barni2000[m] >
FieryFlames[m]: until we find one :D
20:51
<
FieryFlames[m] >
yes, until then it's fine
20:51
<
FieryFlames[m] >
consider that model is a required property per dt spec and legacy lk2nd set root model prop.. I would be surprised if we ever find one
20:51
<
FieryFlames[m] >
see if it fixes Montana and/or land. if so woohoo
21:04
<
barni2000[m] >
it breaks the matching
21:05
<
FieryFlames[m] >
how so, what device
21:05
<
barni2000[m] >
montana
21:05
<
FieryFlames[m] >
does it get to lk2nd at all?
21:06
<
FieryFlames[m] >
try setting model to "montana" in Montana's dts
21:09
<
FieryFlames[m] >
so it's selecting the wrong dtb
21:09
<
FieryFlames[m] >
but at least it's not crashing with multiple dtbs
21:09
<
FieryFlames[m] >
try model = "montana" like I said
21:10
<
FieryFlames[m] >
like how deen and ali do
21:10
<
barni2000[m] >
i have tried
21:11
<
FieryFlames[m] >
weird
21:11
<
FieryFlames[m] >
can you pull logs?
21:13
<
barni2000[m] >
i can enable debug also
21:17
<
barni2000[m] >
I wonder which one is it [140] Found valid DTB with 3723 bytes total
21:20
<
FieryFlames[m] >
I wonder if it's cedric
21:20
<
FieryFlames[m] >
shrug
21:20
<
barni2000[m] >
i have commented out
21:22
<
barni2000[m] >
btw montana bootloader logs in pstore
21:23
<
barni2000[m] >
* btw montana's bootloader
21:24
<
barni2000[m] >
sadly now it is empty
21:24
<
barni2000[m] >
but annotate-ramoops-0 relates to bl
21:25
<
FieryFlames[m] >
fastboot oem log && fastboot get_staged /dev/stdout (or a file)
21:25
<
barni2000[m] >
i am not talking about lk2nd
21:25
<
FieryFlames[m] >
oh
21:25
<
FieryFlames[m] >
those are the logs I'd like to look at
21:25
<
barni2000[m] >
i have checked lk2nd log but nothing useful in it
21:25
<
FieryFlames[m] >
add some then xd
21:25
<
barni2000[m] >
i have enabled debug logging
21:29
<
barni2000[m] >
i have compiled it with DEBUG=2