Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Tama][XZ3] SDM845 PostmarketOS on mailine kernel #799

Open
phodina opened this issue Jun 15, 2023 · 105 comments
Open

[Tama][XZ3] SDM845 PostmarketOS on mailine kernel #799

phodina opened this issue Jun 15, 2023 · 105 comments

Comments

@phodina
Copy link

phodina commented Jun 15, 2023

Platform: Tama
Device: XZ3
Kernel version: 6.4.0
Android version: None
Software binaries version: edge

Hi,
this is continuation of ticket to get PostmarketOS working on Tama XZ3. Currently it boots but do to the missing UFS drivers, that won't wipe the UFS storage the device needs workaround to boot off the SDcard.

sonyxperiadev/kernel#2558

@MarijnS95 @jerpelea @konradybcio @Thaodan

@phodina phodina changed the title SDM845 PostmarketOS [Tama][XZ3] SDM845 PostmarketOS Jun 15, 2023
@MartinX3
Copy link

cc @rinigus Our tama sodp Sailfish OS maintainer

@rinigus
Copy link

rinigus commented Jun 15, 2023

For SFOS, we use Sony kernel sources with Jolla's patches and Tama config. Kernel and config are available at https://github.com/sailfishos-sony-tama/android_kernel_sony_msm . That one boots from storage just fine. But, as you can see, kernel version is 4.14.xxx

@MarijnS95
Copy link
Contributor

MarijnS95 commented Jun 15, 2023

@rinigus thanks, but yes this issue "solely" concerns with PmOS on a mainline kernel.

(@phodina can you update the title with that? Afaik PmOS is also totally designed for and capable of running on older kernels)

Maybe SfOS can utilize that some day when we resolve more issues and missing features upstream.

@phodina phodina changed the title [Tama][XZ3] SDM845 PostmarketOS [Tama][XZ3] SDM845 PostmarketOS on mailine kernel Jun 15, 2023
@phodina
Copy link
Author

phodina commented Jun 15, 2023

Btw is this the commit that fixes the UFS? (on the downstream kernel)

sailfishos-sony-tama/android_kernel_sony_msm@cfd1489

commit cfd148999d17ad8f1a7cbce44bb108570ad631ad
Author: Angelo G. Del Regno <kholk11@gmail.com>
Date:   Fri May 24 16:19:17 2019 +0200

    scsi: ufs: Forward port Yoshino/Tama UFS quirks/hacks from OD k4.9

    This is a forward port of the SoMC Yoshino and SoMC Tama quirks/hacks
    for their UFS cards,
    ************* required to avoid a full UFS card erase *************
    *************        at kernel boot, which would      *************
    ************* E R A S E   T H E   B O O T L O A D E R *************

    .... taken from the current implementation found in the Open Devices
    kernel 4.9 as of the current HEAD (24/05/2019) and partially
    reimplemented for kernel 4.14.

    BEWARE: DO NOT BOOT SoMC YOSHINO OR TAMA WITHOUT THIS COMMIT!!!!
    ------- BOOTING ONE OF THEM WITHOUT THIS COMMIT WILL PERMANENTLY
    ------- (HARD) BRICK YOUR DEVICE WITH ZERO CHANCES TO RECOVER IT.

@MarijnS95
Copy link
Contributor

mainline 😉


That is the commit, and there should be a port to mainline somewhere but no-one dared to sacrifice their device to test it yet.

@phodina
Copy link
Author

phodina commented Jun 15, 2023

Sorry, yeah meant mainline.

Okay, let's leave it as the last thing to do in case it bricks the device ;-)

@konradybcio
Copy link

0001-arm64-dts-qcom-sdm845-tama-Set-serial-indices-and-st.zip
try this

(unzip and then git am 0001-.....patch)

@phodina
Copy link
Author

phodina commented Jun 16, 2023

Thanks @konradybcio for the patch. So the debug output has to be enabled in the patch in the kernel.

The bootloader has no such functionality and the logs before the kernel boots are therefore not accessible.

@phodina
Copy link
Author

phodina commented Jun 16, 2023

Another question regarding the UFS.

  1. Take backup of the UFS from LineageOS
  2. Boot Linux into initramfs with connectivity e.g. ETH over USB.
  3. Have the UFS enabled but compiled as a module
  4. Load the kernel module
  5. In case it wipes the UFS just dd it back?

@MarijnS95
Copy link
Contributor

So the debug output has to be enabled in the patch in the kernel.

Yes, always. And this is mostly where you want to look as we've already gone through the work to make these kernels boot fully: if anything is up (and you get no USB for example), it'll be in the kernel logs.

The bootloader has no such functionality and the logs before the kernel boots are therefore not accessible.

Seems so, unfortunately. I was able to see them on Loire but that's a different (older) platform, YMMV on newer ones.

@phodina
Copy link
Author

phodina commented Jun 16, 2023

0001-arm64-dts-qcom-sdm845-tama-Set-serial-indices-and-st.zip try this

(unzip and then git am 0001-.....patch)

Since the patch just enables the UART how are the pins managed?

The Debug UART is on the SD card pins and I can see on the scope the CLK signal from the SD card controller to attempt to talk to the card.

Is there some mux that is also need to be enabled?

The modified micro SD card adapter I have has the micro SD card form factor and it triggers the Card Detect pin, that tells the kernel, there's a card inserted.

@phodina
Copy link
Author

phodina commented Jun 16, 2023

The LineageOS wiki entry lists 3 models. Do we know the differences?

  • H8416
  • H9436
  • H9493

@phodina
Copy link
Author

phodina commented Jun 16, 2023

0001-arm64-dts-qcom-sdm845-tama-Set-serial-indices-and-st.zip try this

(unzip and then git am 0001-.....patch)

I've applied the patch but didn't get any output. Probed the pins and the pads on the uSD inserted close the circuit if I connect my multimeter to the other side of the flex cable.

@MarijnS95
Copy link
Contributor

Typically dualsim and singlesim, and of that list H9436 has 6GB RAM whereas the others have 4.

@konradybcio
Copy link

konradybcio commented Jun 17, 2023

0001-arm64-dts-qcom-sdm845-tama-Set-serial-indices-and-st.zip try this
(unzip and then git am 0001-.....patch)

I've applied the patch but didn't get any output. Probed the pins and the pads on the uSD inserted close the circuit if I connect my multimeter to the other side of the flex cable.

hmm.. I wonder if the tray detection kills off uart and kicks in sdcard.. do you think you could jerry rig pushing the sdcard adapter in without the tray?

@phodina
Copy link
Author

phodina commented Jun 17, 2023

0001-arm64-dts-qcom-sdm845-tama-Set-serial-indices-and-st.zip try this
(unzip and then git am 0001-.....patch)

I've applied the patch but didn't get any output. Probed the pins and the pads on the uSD inserted close the circuit if I connect my multimeter to the other side of the flex cable.

hmm.. I wonder if the tray detection kills off uart and kicks in sdcard.. do you think you could jerry rig pushing the sdcard adapter in without the tray?

That's my concern #799 (comment).

I have dremel so I can remove part of the pcb.

Do we have some photo of something Sony or somebody else used in order to get the UART working?

Or can't we just revert the CD pin? Insertion disables the uSD card interface.

@phodina
Copy link
Author

phodina commented Jun 18, 2023

Good news. The issue was in loading the firmware. It was in incorrect path so using a framebuffer I could get to the logs and then modify accordingly the path.
image

@phodina
Copy link
Author

phodina commented Jun 18, 2023

@MarijnS95 In order to get the device supported in the PostmarketOS we'll have to pick the patches and apply it to the linux-postmarketos-sdm845 kernel.

Is my assumption correct that what's missing in the mainline is the display panel, display stream controller support and touch controller?

@phodina
Copy link
Author

phodina commented Jun 18, 2023

dmesg.log

@phodina
Copy link
Author

phodina commented Jun 18, 2023

There are few things in the log that stand out:

  • Does the kernel need some patch in order to boot?
    [ 0.000000] [Firmware Bug]: Kernel image misaligned at boot, please fix your bootloader!

  • Is this connected with the failed firmware later?
    [ 1.627170] qcom_scm firmware:scm: No available mechanism for setting download mode

  • loading of the firmware fails, the files are present under the path

[    1.882729] remoteproc remoteproc0: remoteproc-adsp is available
[    1.883596] remoteproc remoteproc0: Direct firmware load for qcom/sdm845/Sony/tama/adsp.mbn failed with error -2
[    1.883727] remoteproc remoteproc0: powering up remoteproc-adsp
[    1.883891] remoteproc remoteproc0: Direct firmware load for qcom/sdm845/Sony/tama/adsp.mbn failed with error -2
[    1.883964] remoteproc remoteproc0: request_firmware failed: -2
[    1.885721] remoteproc remoteproc1: remoteproc-cdsp is available
[    1.886874] remoteproc remoteproc1: Direct firmware load for qcom/sdm845/Sony/tama/cdsp.mbn failed with error -2
[    1.886960] remoteproc remoteproc1: powering up remoteproc-cdsp
[    1.887150] remoteproc remoteproc1: Direct firmware load for qcom/sdm845/Sony/tama/cdsp.mbn failed with error -2
[    1.887282] remoteproc remoteproc1: request_firmware failed: -2
  • Maybe some incorrect line in the DTS?
    [ 1.917090] qcom_geni_serial a84000.serial: Invalid line 1
  • another firmware that does not load
[    1.933812] ipa 1e40000.ipa: Direct firmware load for qcom/sdm845/Sony/tama/ipa_fws.mbn failed with error -2
[    1.933923] ipa 1e40000.ipa: error -2 requesting "qcom/sdm845/Sony/tama/ipa_fws.mbn"
  • Some error regarding the GPU
    [ 1.944994] qcom-venus: probe of aa00000.video-codec failed with error -61
  • Some issue with the cooling of the CPU, maybe thermal-zone is missing in the DTS or allowed frequencies?
[    1.959894] __cpufreq_cooling_register: Failed to add freq constraint (-22)
[    1.959963] cpufreq_cooling: cpu4 failed to register as cooling device: -22
  • Does the touchscreen driver require firmware or some config file in order to work? Do we have datasheet for this one?
    [ 2.202917] atmel_mxt_ts 5-004a: Direct firmware load for maxtouch.cfg failed with error -2

  • Are the regulators missing in the DTS?

[    2.213940] adreno 5000000.gpu: supply vdd not found, using dummy regulator
[    2.214103] adreno 5000000.gpu: supply vddcx not found, using dummy regulator
  • No idea what's this about
[   13.291100] qnoc-sdm845 1500000.interconnect: sync_state() pending due to 1e40000.ipa
[   13.291133] qnoc-sdm845 1620000.interconnect: sync_state() pending due to 1e40000.ipa
[   13.291146] qnoc-sdm845 1380000.interconnect: sync_state() pending due to 1e40000.ipa
[   13.291160] qnoc-sdm845 1700000.interconnect: sync_state() pending due to 1e40000.ipa
[   13.291177] qnoc-sdm845 1500000.interconnect: sync_state() pending due to aa00000.video-codec
[   13.291189] qnoc-sdm845 1380000.interconnect: sync_state() pending due to aa00000.video-codec
[   13.291200] qnoc-sdm845 1740000.interconnect: sync_state() pending due to aa00000.video-codec
[   13.291231] qnoc-sdm845 17900000.interconnect: sync_state() pending due to aa00000.video-codec
[   13.291243] qnoc-sdm845 17900000.interconnect: sync_state() pending due to 1e40000.ipa
[   13.291274] qcom-rpmhpd 179c0000.rsc:power-controller: sync_state() pending due to aa00000.video-codec
[   13.291302] qnoc-sdm845 17900000.interconnect: sync_state() pending due to a84000.serial
[   13.291313] qnoc-sdm845 1500000.interconnect: sync_state() pending due to a84000.serial
[   13.291324] qnoc-sdm845 1700000.interconnect: sync_state() pending due to a84000.serial
[   13.291334] qcom-rpmhpd 179c0000.rsc:power-controller: sync_state() pending due to a84000.serial
  • The kernel logs seem to be filled with these messages
[  360.542480] bw_kbps = 768000
[  360.594661] bw_kbps = 1024000
[  360.690544] bw_kbps = 768000
[  360.694657] bw_kbps = 1024000
[  360.762618] bw_kbps = 768000
[  360.846607] bw_kbps = 1024000
[  360.910822] bw_kbps = 768000
[  360.915056] bw_kbps = 1024000
[  360.983239] bw_kbps = 768000
[  361.183290] bw_kbps = 1024000
[  361.251341] bw_kbps = 768000
[  361.351465] bw_kbps = 1024000
[  361.420248] bw_kbps = 768000
[  361.519625] bw_kbps = 1024000
[  361.588175] bw_kbps = 768000
[  361.771966] bw_kbps = 1024000
[  361.840043] bw_kbps = 512000
[  362.812130] bw_kbps = 1024000
[  362.884225] bw_kbps = 768000
[  362.928353] bw_kbps = 1024000
[  363.000383] bw_kbps = 768000
[  363.048298] bw_kbps = 1024000
[  363.116381] bw_kbps = 768000

@phodina
Copy link
Author

phodina commented Jun 18, 2023

Also I noticed the touchscreen has input issues on the edges, same can be said if LineageOS runs on the device.

Is that due to missing configuration or support in the driver?

Sony has the Side Sense feature which works on the edges. Do we now how it works? Is it implemented in the kernel or directly in the firmware of the touchscreen controller?

@phodina
Copy link
Author

phodina commented Jun 18, 2023

@MartinX3
Copy link

MartinX3 commented Jun 18, 2023

@phodina Thank you very much for your work
Could you also add apollo and akari? :)
These have two different panel id's but we only saw the two id's of apollo in the wild. It seems that the second kind of akari panel was never sold international)

@phodina
Copy link
Author

phodina commented Jun 18, 2023

@MartinX3 I can definitely add those.

Will there be volunteers to test the images on their devices?

Can you point out the panels? I'll have to port them later as well.

@MartinX3
Copy link

@phodina
Thank you :)

Since I own only a single device I couldn't test it, but I could setup a build server and provide images on xda for volunteers like I already do for SODP AOSP on tama.

About the panel:
Issue tickets:

PRs:

@phodina
Copy link
Author

phodina commented Jun 18, 2023

Sharing prebuild images through Github Actions (or also instructions) on XDA is a great idea.

Thanks for the Issues and PRs.

I'll add the Apollo and Akari and ping once done.

@phodina
Copy link
Author

phodina commented Jun 18, 2023

@MartinX3 Oki, so the device is now renamed to tama and has the 3 subpackages.

[17:38:50] Device codename: tama
[17:38:54] Which kernel do you want to use with your device?
[17:38:54] Available kernels (3):
[17:38:54] * akari: Sony Xperia XZ2
[17:38:54] * akatsuki: Sony Xperia XZ3
[17:38:54] * apollo: Sony Xperia XZ2 Compact

@phodina
Copy link
Author

phodina commented Jul 31, 2023

@MarijnS95 regarding the touch screen. Do you know if there's some special way how to handle the touch screen on the curved edges as it's not responsive there.

I recall Sony had some special feature called Side sense for the edges.

@MarijnS95
Copy link
Contributor

Speaking of that I still have my old trusty Google Pixel 3 that has no working display panel so I might gather the experience from here and attempt to revive the patch set I have.

The DRM/MSM maintainer is already on it, trying to piece together the missing part of the DSC puzzle while wondering why our Sony SDM845 setup is working which is very similar.

Which is funny since DSC was originally "brought up on" that device, but it seems to have never been tested / made it to completion ☹️


No clue if you can easily turn off "side sense" and treat it as normal touches. I haven't checked the limits on mine, but without a case you'd rather reject the sides as it's very easy to activate accidental touches while merely holding the phone.

@bartcubbins
Copy link
Contributor

@phodina in order to get a UART output, you need to put the microsd card holder tray into the slot not completely (see the photo under the spoiler), so as not to trigger the cd-gpio. And another important moment, first you have to press the power button and then connect the Rx pin to the already prepared USB-UART adapter, then you will get the UART fancy output

Photo

@bartcubbins
Copy link
Contributor

bartcubbins commented Aug 5, 2023

PS. in order to avoid these connection order tricks, you can try to use a pull-down ~4.7k resistor

@phodina
Copy link
Author

phodina commented Aug 6, 2023

@phodina in order to get a UART output, you need to put the microsd card holder tray into the slot not completely (see the photo under the spoiler), so as not to trigger the cd-gpio. And another important moment, first you have to press the power button and then connect the Rx pin to the already prepared USB-UART adapter, then you will get the UART fancy output
Photo

Thank you very much for the detailed photo and additional information. I'll test that once I'll have the uSD adapter with me and add description to the pmOS about this.

@phodina
Copy link
Author

phodina commented Aug 6, 2023

Also there are incremental improvements. @MarijnS95

I was able to get the battery fuel gauge working as well as the haptics sensor on the akatsuki.

I'm attempting to get also the WiFi working but that depends on the modem firmware running and atm it's crashing without any additional information.

So I'll have to learn more about the remoteproc and how it exactly works in order to get those working and turn it back to a useful phone.

https://gitlab.com/sdm845-mainline/linux/-/merge_requests/73

@bartcubbins
Copy link
Contributor

@phodina in order to get a UART output, you need to put the microsd card holder tray into the slot not completely (see the photo under the spoiler), so as not to trigger the cd-gpio. And another important moment, first you have to press the power button and then connect the Rx pin to the already prepared USB-UART adapter, then you will get the UART fancy output
Photo

Thank you very much for the detailed photo and additional information. I'll test that once I'll have the uSD adapter with me and add description to the pmOS about this.

you're welcome. ping me if you need anything, I'll try to help if it's in my power

@phodina
Copy link
Author

phodina commented Aug 10, 2023

@bartcubbins I tried the UART adapter. Unfortunately no UART signal, just if I plug it to far I get the SD card interface CLK signal.

Regarding the pull-down. So your suggestion is to put it to the Rx line right?

Also how does your adapter look like? Did the continuity test with the multimeter and the signals go for each end to the other and they are not short circuit with any other.
image

@bartcubbins
Copy link
Contributor

I suspect you didn't do the connection order trick. Then my recommendation is to find a resistor.

Yes, between GND and Rx, any resistor in the range of about 1-10k will work (I have tried 7.5k (purple-green-red-gold) and 2.2k (red-red-red-gold) resistors).

This is a SD card in which the tracks between the card itself and the contact pads are physically broken (cut), two 0.125mm (36 AWG) wires are soldered directly to the pads and polished to prevent damage to the contacts in the device, then a 7.5k resistor is soldered between them and everything is connected to CH340G

@phodina
Copy link
Author

phodina commented Aug 15, 2023

@bartcubbins So I added the pull-down resistor - 3.9k between the Rx and GND. Measured for short circuit and also checked the resistance between the GND and Rx.

However, I still don't see any UART signal on the osciloscope. I tried several positions for insertion and either I get the CLK for the uSD card if inserted to much or nothing at all just GND.

Is there some fastboot command to enable the UART? E.g. Pixel line of devices have them.

Even without the USB UART converter there's no signal on the osciloscope as you mentioned the trick.

Is it possible the UART from bootloader has UART disabled in firmware?

@konradybcio
Copy link

@phodina I found this.. The commit message says it was enough to make msm8974 (2013) modem happy, maybe it's worth a shot on tama as well

@konradybcio
Copy link

note you'll also need to copy your modemst* and something else partitions from the ufs, store them on the sdcard in a directory and point rmtfs to them

@phodina
Copy link
Author

phodina commented Aug 31, 2023

Thanks @konradybcio. I somehow forgot that we run from the uSD and some data is on the UFS internal storage.

Here's the list of the partitions:

akari:/ $ ls /dev/block/by-name/ -1
LTALabel
Qnovo
TA
abl_a
abl_b
aop_a
aop_b
apdp
appslog
bluetooth_a
bluetooth_b
boot_a
boot_b
cdt
cmnlib64_a
cmnlib64_b
cmnlib_a
cmnlib_b
ddr
devcfg_a
devcfg_b
devinfo
diag
dsp_a
dsp_b
dtbo_a
dtbo_b
frp
fsc
fsg
fsmetadata
hyp_a
hyp_b
keymaster_a
keymaster_b
keystore
limits
logdump
logfs
misc
modem_a
modem_b
modemst1
modemst2
msadp
oem_a
oem_b
persist
qupfw_a
qupfw_b
rddata
rdimage_a
rdimage_b
sda
sdb
sdc
sec
spunvm
ssd
system_a
system_b
toolsfv
tz_a
tz_b
tzxfl_a
tzxfl_b
tzxflattest_a
tzxflattest_b
userdata
vbmeta_a
vbmeta_b
vendor_a
vendor_b
xbl_a
xbl_b
xbl_config_a
xbl_config_b
xfl_a
xfl_b
xflkeystore
xflkeystorebak

I've dumped with dd the modemst1 and modemst2. Should I also dump the fsg since it contains the default factory settings for the modem?

Also are these A/B partitions since they have 1/2? The modem partitions use a/b/.

Do you konw how to point the rmtfs? Haven't found any reference in the mainline kernel documentation Documentation/devicetree/bindings/reserved-memory/qcom,rmtfs-mem.yaml.

Also the Linux kernel is responsible for loading them, right, since it's in charge of UFS (at least on Android) and it get's some RPC from other remote processor to access the specified partition?

@phodina
Copy link
Author

phodina commented Aug 31, 2023

@konradybcio Also I have an akari phone that runs mainline. If you have any ideas how to prepare for the UFS test I'll set it up and test the patches to see if it kills the phone or makes the UFS driver work.

#802

I bought it with the intention to run the test on that phone.

@phodina
Copy link
Author

phodina commented Sep 4, 2023

I've found the rmtfs service on the pmOS in the /etc/init.d/rmtfs so I'll pass it the files dumped from the device and see if it works :-)

@bartcubbins
Copy link
Contributor

Is it possible the UART from bootloader has UART disabled in firmware?

No, UART is enabled by default and you should see the bootloader logs even on a locked bootloader. This is valid for all devices from Tama to Sagami platforms.

@jerpelea
Copy link
Collaborator

jerpelea commented Sep 5, 2023

If UART is correctly installed there are initial messages from bootloader.
To get messages from kernel you must se the GENI_SERIAL_CONSOLE and enable the right console on cmdline

@phodina
Copy link
Author

phodina commented Sep 5, 2023

@konradybcio The dumped modemst{1,2} files helped. There are now no crashes in the kernel log.

Still no celluar connectivity but I'll look into the other repo you suggested and modem manager/qrtr to find what's the cause.

Also I've dumped the sensors from the device so I'll check them with the protobuf-inspector to learn the format.

https://gitlab.com/sdm845-mainline/sensors-porting/-/merge_requests/2

$ ps aux | grep rmtfs
 1357 root      0:00 supervise-daemon rmtfs --start --respawn-delay 1 --respawn-max 5 --respawn-period 1800 /usr/sbin/rmtfs -- -o /home/cylon2p0/modemst1 /home/cylon2p0/modemst2 -r -s
 1358 root      0:00 /usr/sbin/rmtfs -o /home/cylon2p0/modemst1 /home/cylon2p0/modemst2 -r -s
 3922 cylon2p0  0:00 grep rmtfs

# dmesg 
[    0.000000] Booting Linux on physical CPU 0x0000000000 [0x517f803c]
[    0.000000] Linux version 6.4.0-sdm845 (pmos@CZPRGL-B18SYD3) (aarch64-alpine-linux-musl-gcc (Alpine 13.1.1_git20230722) 13.1.1 20230722, GNU ld (GNU Binutils) 2.40) #12-postmarketos-qcom-sdm845 SMP PREEMPT Tue Sep  5 19:46:29 UTC
[    0.000000] Machine model: Sony Xperia XZ3
[    0.000000] efi: UEFI not found.
[    0.000000] [Firmware Bug]: Kernel image misaligned at boot, please fix your bootloader!
[    0.000000] Reserved memory: created CMA memory pool at 0x00000000fe800000, size 16 MiB
[    0.000000] OF: reserved mem: initialized node fastrpc, compatible id shared-dma-pool
[    0.000000] OF: reserved mem: 0x00000000fe800000..0x00000000ff7fffff (16384 KiB) map reusable fastrpc
[    0.000000] OF: reserved mem: 0x00000000bfffc000..0x00000000bfffffff (16 KiB) nomap non-reusable mpss-metadata
[    0.000000] OF: reserved mem: 0x0000000085700000..0x0000000085cfffff (6144 KiB) nomap non-reusable hyp-mem@85700000
[    0.000000] OF: reserved mem: 0x0000000085e00000..0x0000000085efffff (1024 KiB) nomap non-reusable xbl-mem@85e00000
[    0.000000] OF: reserved mem: 0x0000000085fc0000..0x0000000085fdffff (128 KiB) nomap non-reusable aop-mem@85fc0000
[    0.000000] OF: reserved mem: 0x0000000085fe0000..0x0000000085ffffff (128 KiB) nomap non-reusable aop-cmd-db-mem@85fe0000
[    0.000000] OF: reserved mem: 0x0000000086000000..0x00000000861fffff (2048 KiB) nomap non-reusable smem@86000000
[    0.000000] OF: reserved mem: 0x0000000086200000..0x0000000088efffff (46080 KiB) nomap non-reusable tz@86200000
[    0.000000] OF: reserved mem: 0x000000008ab00000..0x000000008befffff (20480 KiB) nomap non-reusable qseecom@8ab00000
[    0.000000] OF: reserved mem: 0x000000008bf00000..0x000000008c3fffff (5120 KiB) nomap non-reusable camera-mem@8bf00000
[    0.000000] OF: reserved mem: 0x000000008c400000..0x000000008c40ffff (64 KiB) nomap non-reusable ipa-fw@8c400000
[    0.000000] OF: reserved mem: 0x000000008c410000..0x000000008c414fff (20 KiB) nomap non-reusable ipa-gsi@8c410000
[    0.000000] OF: reserved mem: 0x000000008c415000..0x000000008c415fff (4 KiB) nomap non-reusable gpu@8c415000
[    0.000000] OF: reserved mem: 0x000000008c500000..0x000000008defffff (26624 KiB) nomap non-reusable adsp@8c500000
[    0.000000] OF: reserved mem: 0x000000008df00000..0x000000008dffffff (1024 KiB) nomap non-reusable wlan-msa@8df00000
[    0.000000] OF: reserved mem: 0x000000008e000000..0x00000000957fffff (122880 KiB) nomap non-reusable mpss@8e000000
[    0.000000] OF: reserved mem: 0x0000000095800000..0x0000000095cfffff (5120 KiB) nomap non-reusable venus@95800000
[    0.000000] OF: reserved mem: 0x0000000095d00000..0x00000000964fffff (8192 KiB) nomap non-reusable cdsp@95d00000
[    0.000000] OF: reserved mem: 0x0000000096500000..0x00000000966fffff (2048 KiB) nomap non-reusable mba@96500000
[    0.000000] OF: reserved mem: 0x0000000096700000..0x000000009787ffff (17920 KiB) nomap non-reusable slpi@96700000
[    0.000000] OF: reserved mem: 0x0000000097b00000..0x0000000097bfffff (1024 KiB) nomap non-reusable spss@97b00000
[    0.000000] OF: reserved mem: 0x000000009d400000..0x000000009f7fffff (36864 KiB) nomap non-reusable framebuffer@9d400000
[    0.000000] OF: reserved mem: 0x00000000fdc00000..0x00000000fdc00fff (4 KiB) nomap non-reusable rmtfs-lower-guard@fdc00000
[    0.000000] OF: reserved mem: 0x00000000fdc01000..0x00000000fde00fff (2048 KiB) nomap non-reusable rmtfs-mem@fdc01000
[    0.000000] OF: reserved mem: 0x00000000fde01000..0x00000000fde01fff (4 KiB) nomap non-reusable rmtfs-upper-guard@fde01000
[    0.000000] OF: reserved mem: 0x00000000ffb00000..0x00000000ffbfffff (1024 KiB) nomap non-reusable debug_mem@ffb00000
[    0.000000] OF: reserved mem: 0x00000000ffc00000..0x00000000ffcfffff (1024 KiB) nomap non-reusable ramoops@ffc00000
[    0.000000] NUMA: No NUMA configuration found
[    0.000000] NUMA: Faking a node at [mem 0x0000000080000000-0x000000017e2bffff]
[    0.000000] NUMA: NODE_DATA [mem 0x17dabe380-0x17dac0fff]
[    0.000000] Zone ranges:
[    0.000000]   DMA      [mem 0x0000000080000000-0x00000000ffffffff]
[    0.000000]   DMA32    empty
[    0.000000]   Normal   [mem 0x0000000100000000-0x000000017e2bffff]
[    0.000000] Movable zone start for each node
[    0.000000] Early memory node ranges
[    0.000000]   node   0: [mem 0x0000000080000000-0x00000000856fffff]
[    0.000000]   node   0: [mem 0x0000000085700000-0x0000000085cfffff]
[    0.000000]   node   0: [mem 0x0000000085d00000-0x0000000085dfffff]
[    0.000000]   node   0: [mem 0x0000000085e00000-0x0000000085efffff]
[    0.000000]   node   0: [mem 0x0000000085f00000-0x0000000085fbffff]
[    0.000000]   node   0: [mem 0x0000000085fc0000-0x0000000088efffff]
[    0.000000]   node   0: [mem 0x0000000088f00000-0x000000008aafffff]
[    0.000000]   node   0: [mem 0x000000008ab00000-0x000000008c415fff]
[    0.000000]   node   0: [mem 0x000000008c416000-0x000000008c4fffff]
[    0.000000]   node   0: [mem 0x000000008c500000-0x000000009787ffff]
[    0.000000]   node   0: [mem 0x0000000097880000-0x0000000097afffff]
[    0.000000]   node   0: [mem 0x0000000097b00000-0x0000000097bfffff]
[    0.000000]   node   0: [mem 0x0000000097c00000-0x000000009d3fffff]
[    0.000000]   node   0: [mem 0x000000009d400000-0x000000009f7fffff]
[    0.000000]   node   0: [mem 0x000000009f800000-0x00000000bfffbfff]
[    0.000000]   node   0: [mem 0x00000000bfffc000-0x00000000bfffffff]
[    0.000000]   node   0: [mem 0x00000000c0000000-0x00000000fdbfffff]
[    0.000000]   node   0: [mem 0x00000000fdc00000-0x00000000fde01fff]
[    0.000000]   node   0: [mem 0x00000000fde02000-0x00000000ffafffff]
[    0.000000]   node   0: [mem 0x00000000ffb00000-0x00000000ffcfffff]
[    0.000000]   node   0: [mem 0x00000000ffd00000-0x000000017e2bffff]
[    0.000000] Initmem setup node 0 [mem 0x0000000080000000-0x000000017e2bffff]
[    0.000000] On node 0, zone Normal: 7488 pages in unavailable ranges
[    0.000000] cma: Reserved 32 MiB at 0x00000000fbc00000
[    0.000000] psci: probing for conduit method from DT.
[    0.000000] psci: PSCIv1.1 detected in firmware.
[    0.000000] psci: Using standard PSCI v0.2 function IDs
[    0.000000] psci: MIGRATE_INFO_TYPE not supported.
[    0.000000] psci: SMC Calling Convention v1.2
[    0.000000] psci: OSI mode supported.
[    0.000000] psci: [Firmware Bug]: failed to set PC mode: -3
[    0.000000] percpu: Embedded 22 pages/cpu s49448 r8192 d32472 u90112
[    0.000000] pcpu-alloc: s49448 r8192 d32472 u90112 alloc=22*4096
[    0.000000] pcpu-alloc: [0] 0 [0] 1 [0] 2 [0] 3 [0] 4 [0] 5 [0] 6 [0] 7 
[    0.000000] Detected VIPT I-cache on CPU0
[    0.000000] CPU features: detected: GIC system register CPU interface
[    0.000000] CPU features: detected: Hardware dirty bit management
[    0.000000] CPU features: kernel page table isolation forced ON by KASLR
[    0.000000] CPU features: detected: Kernel page table isolation (KPTI)
[    0.000000] alternatives: applying boot alternatives
[    0.000000] Kernel command line: console=null  androidboot.verifiedbootstate=orange androidboot.keymaster=1 root=PARTUUID=f9cdf7ba-b834-a72a-f1c9-d6e0c0983896 androidboot.bootdevice=1d84000.ufshc androidboot.baseband=sdm lcdid_adc=856933 androidboot.slot_suffix=_a skip_initramfs rootwait ro init=/init  androidboot.bootloader=xboot oemandroidboot.xboot=1310-7079_X_Boot_SDM845_LA2.0_P_118 androidboot.serialno=QV711YZ01J startup=0x0000c000 warmboot=0x00000000 oemandroidboot.babe09a9=00 oemandroidboot.babe08b3=50000000 oemandroidboot.babe137e=40 oemandroidboot.imei=35854009088395 oemandroidboot.security=0 oemandroidboot.securityflags=0x00000003
[    0.000000] Unknown kernel command line parameters "lcdid_adc=856933 startup=0x0000c000 warmboot=0x00000000", will be passed to user space.
[    0.000000] Dentry cache hash table entries: 524288 (order: 10, 4194304 bytes, linear)
[    0.000000] Inode-cache hash table entries: 262144 (order: 9, 2097152 bytes, linear)
[    0.000000] Fallback order for Node 0: 0 
[    0.000000] Built 1 zonelists, mobility grouping on.  Total pages: 1024821
[    0.000000] Policy zone: Normal
[    0.000000] mem auto-init: stack:all(zero), heap alloc:off, heap free:off
[    0.000000] software IO TLB: area num 8.
[    0.000000] software IO TLB: mapped [mem 0x00000000f7c00000-0x00000000fbc00000] (64MB)
[    0.000000] Memory: 3630316K/4164352K available (14720K kernel code, 2014K rwdata, 5880K rodata, 3776K init, 499K bss, 484884K reserved, 49152K cma-reserved)
[    0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=8, Nodes=1
[    0.000000] rcu: Preemptible hierarchical RCU implementation.
[    0.000000] rcu: 	RCU event tracing is enabled.
[    0.000000] 	Trampoline variant of Tasks RCU enabled.
[    0.000000] 	Tracing variant of Tasks RCU enabled.
[    0.000000] rcu: RCU calculated value of scheduler-enlistment delay is 100 jiffies.
[    0.000000] NR_IRQS: 64, nr_irqs: 64, preallocated irqs: 0
[    0.000000] GICv3: 768 SPIs implemented
[    0.000000] GICv3: 0 Extended SPIs implemented
[    0.000000] Root IRQ handler: gic_handle_irq
[    0.000000] GICv3: GICv3 features: 16 PPIs
[    0.000000] GICv3: CPU0: found redistributor 0 region 0:0x0000000017a60000
[    0.000000] ITS: No ITS available, not enabling LPIs
[    0.000000] rcu: srcu_init: Setting srcu_struct sizes based on contention.
[    0.000000] arch_timer: cp15 and mmio timer(s) running at 19.20MHz (virt/virt).
[    0.000000] clocksource: arch_sys_counter: mask: 0xffffffffffffff max_cycles: 0x46d987e47, max_idle_ns: 440795202767 ns
[    0.000001] sched_clock: 56 bits at 19MHz, resolution 52ns, wraps every 4398046511078ns
[    0.000207] Console: colour dummy device 80x25
[    0.000291] Calibrating delay loop (skipped), value calculated using timer frequency.. 38.40 BogoMIPS (lpj=19200)
[    0.000304] pid_max: default: 32768 minimum: 301
[    0.000372] LSM: initializing lsm=capability,integrity
[    0.000470] Mount-cache hash table entries: 8192 (order: 4, 65536 bytes, linear)
[    0.000484] Mountpoint-cache hash table entries: 8192 (order: 4, 65536 bytes, linear)
[    0.002458] cblist_init_generic: Setting adjustable number of callback queues.
[    0.002477] cblist_init_generic: Setting shift to 3 and lim to 1.
[    0.002547] cblist_init_generic: Setting shift to 3 and lim to 1.
[    0.002722] rcu: Hierarchical SRCU implementation.
[    0.002726] rcu: 	Max phase no-delay instances is 400.
[    0.004344] EFI services will not be available.
[    0.004668] smp: Bringing up secondary CPUs ...
[    0.006347] Detected VIPT I-cache on CPU1
[    0.006437] GICv3: CPU1: found redistributor 100 region 0:0x0000000017a80000
[    0.006506] CPU1: Booted secondary processor 0x0000000100 [0x517f803c]
[    0.008084] Detected VIPT I-cache on CPU2
[    0.008132] GICv3: CPU2: found redistributor 200 region 0:0x0000000017aa0000
[    0.008183] CPU2: Booted secondary processor 0x0000000200 [0x517f803c]
[    0.009865] Detected VIPT I-cache on CPU3
[    0.009913] GICv3: CPU3: found redistributor 300 region 0:0x0000000017ac0000
[    0.009961] CPU3: Booted secondary processor 0x0000000300 [0x517f803c]
[    0.012318] CPU features: detected: Spectre-v2
[    0.012337] Detected VIPT I-cache on CPU4
[    0.012394] GICv3: CPU4: found redistributor 400 region 0:0x0000000017ae0000
[    0.012444] CPU4: Booted secondary processor 0x0000000400 [0x516f802d]
[    0.014516] Detected VIPT I-cache on CPU5
[    0.014582] GICv3: CPU5: found redistributor 500 region 0:0x0000000017b00000
[    0.014632] CPU5: Booted secondary processor 0x0000000500 [0x516f802d]
[    0.016847] Detected VIPT I-cache on CPU6
[    0.016916] GICv3: CPU6: found redistributor 600 region 0:0x0000000017b20000
[    0.016965] CPU6: Booted secondary processor 0x0000000600 [0x516f802d]
[    0.019392] Detected VIPT I-cache on CPU7
[    0.019464] GICv3: CPU7: found redistributor 700 region 0:0x0000000017b40000
[    0.019515] CPU7: Booted secondary processor 0x0000000700 [0x516f802d]
[    0.019599] smp: Brought up 1 node, 8 CPUs
[    0.019606] SMP: Total of 8 processors activated.
[    0.019612] CPU features: detected: 32-bit EL0 Support
[    0.019614] CPU features: detected: 32-bit EL1 Support
[    0.019618] CPU features: detected: Data cache clean to the PoU not required for I/D coherence
[    0.019623] CPU features: detected: Common not Private translations
[    0.019627] CPU features: detected: CRC32 instructions
[    0.019632] CPU features: detected: RCpc load-acquire (LDAPR)
[    0.019635] CPU features: detected: LSE atomic instructions
[    0.019640] CPU features: detected: Privileged Access Never
[    0.019642] CPU features: detected: RAS Extension Support
[    0.019737] CPU: All CPU(s) started at EL1
[    0.019760] alternatives: applying system-wide alternatives
[    0.027302] devtmpfs: initialized
[    0.044668] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 1911260446275000 ns
[    0.044693] futex hash table entries: 2048 (order: 5, 131072 bytes, linear)
[    0.045586] pinctrl core: initialized pinctrl subsystem
[    0.046167] DMI not present or invalid.
[    0.046713] NET: Registered PF_NETLINK/PF_ROUTE protocol family
[    0.047700] DMA: preallocated 512 KiB GFP_KERNEL pool for atomic allocations
[    0.047800] DMA: preallocated 512 KiB GFP_KERNEL|GFP_DMA pool for atomic allocations
[    0.047925] DMA: preallocated 512 KiB GFP_KERNEL|GFP_DMA32 pool for atomic allocations
[    0.047976] audit: initializing netlink subsys (disabled)
[    0.048116] audit: type=2000 audit(0.042:1): state=initialized audit_enabled=0 res=1
[    0.048584] thermal_sys: Registered thermal governor 'step_wise'
[    0.048589] thermal_sys: Registered thermal governor 'power_allocator'
[    0.048643] cpuidle: using governor menu
[    0.048919] hw-breakpoint: found 6 breakpoint and 4 watchpoint registers.
[    0.049135] ASID allocator initialised with 32768 entries
[    0.050919] Serial: AMBA PL011 UART driver
[    0.186539] printk: console [ramoops-1] enabled
[    0.206764] pstore: Registered ramoops as persistent store backend
[    0.206860] ramoops: using 0x100000@0xffc00000, ecc: 16
[    0.221987] amba 6041000.funnel: Fixed dependency cycle(s) with /soc@0/stm@6002000/out-ports/port/endpoint
[    0.222294] amba 6045000.funnel: Fixed dependency cycle(s) with /soc@0/funnel@6043000/out-ports/port/endpoint
[    0.222461] amba 6045000.funnel: Fixed dependency cycle(s) with /soc@0/funnel@6041000/out-ports/port/endpoint
[    0.222743] amba 6047000.etf: Fixed dependency cycle(s) with /soc@0/funnel@6045000/out-ports/port/endpoint
[    0.222836] amba 6047000.etf: Fixed dependency cycle(s) with /soc@0/replicator@6046000/in-ports/port/endpoint
[    0.223056] amba 6048000.etr: Fixed dependency cycle(s) with /soc@0/replicator@6046000/out-ports/port/endpoint
[    0.223662] amba 7800000.funnel: Fixed dependency cycle(s) with /soc@0/etm@7740000/out-ports/port/endpoint
[    0.223831] amba 7800000.funnel: Fixed dependency cycle(s) with /soc@0/etm@7640000/out-ports/port/endpoint
[    0.223993] amba 7800000.funnel: Fixed dependency cycle(s) with /soc@0/etm@7540000/out-ports/port/endpoint
[    0.224155] amba 7800000.funnel: Fixed dependency cycle(s) with /soc@0/etm@7440000/out-ports/port/endpoint
[    0.224325] amba 7800000.funnel: Fixed dependency cycle(s) with /soc@0/etm@7340000/out-ports/port/endpoint
[    0.224416] amba 7800000.funnel: Fixed dependency cycle(s) with /soc@0/etm@7240000/out-ports/port/endpoint
[    0.224569] amba 7800000.funnel: Fixed dependency cycle(s) with /soc@0/etm@7140000/out-ports/port/endpoint
[    0.224725] amba 7800000.funnel: Fixed dependency cycle(s) with /soc@0/etm@7040000/out-ports/port/endpoint
[    0.224962] amba 7810000.funnel: Fixed dependency cycle(s) with /soc@0/funnel@7800000/out-ports/port/endpoint
[    0.225131] amba 7810000.funnel: Fixed dependency cycle(s) with /soc@0/funnel@6043000/in-ports/port@5/endpoint
[    0.226804] platform ae00000.display-subsystem: Fixed dependency cycle(s) with /soc@0/clock-controller@af00000
[    0.235879] platform 179c0000.rsc:regulators-0: Fixed dependency cycle(s) with /soc@0/rsc@179c0000/regulators-0/smps5
[    0.236073] platform 179c0000.rsc:regulators-0: Fixed dependency cycle(s) with /soc@0/rsc@179c0000/regulators-0/smps3
[    0.236231] platform 179c0000.rsc:regulators-0: Fixed dependency cycle(s) with /soc@0/rsc@179c0000/regulators-0/smps7
[    0.239447] KASLR enabled
[    0.240474] HugeTLB: registered 1.00 GiB page size, pre-allocated 0 pages
[    0.240566] HugeTLB: 0 KiB vmemmap can be freed for a 1.00 GiB page
[    0.240721] HugeTLB: registered 32.0 MiB page size, pre-allocated 0 pages
[    0.240873] HugeTLB: 0 KiB vmemmap can be freed for a 32.0 MiB page
[    0.240957] HugeTLB: registered 2.00 MiB page size, pre-allocated 0 pages
[    0.241101] HugeTLB: 0 KiB vmemmap can be freed for a 2.00 MiB page
[    0.241192] HugeTLB: registered 64.0 KiB page size, pre-allocated 0 pages
[    0.241344] HugeTLB: 0 KiB vmemmap can be freed for a 64.0 KiB page
[    0.258783] raid6: neonx8   gen()  3064 MB/s
[    0.275859] raid6: neonx4   gen()  3143 MB/s
[    0.292938] raid6: neonx2   gen()  2286 MB/s
[    0.310010] raid6: neonx1   gen()  1835 MB/s
[    0.327080] raid6: int64x8  gen()  1359 MB/s
[    0.344159] raid6: int64x4  gen()  1422 MB/s
[    0.361235] raid6: int64x2  gen()  1256 MB/s
[    0.378309] raid6: int64x1  gen()  1097 MB/s
[    0.378390] raid6: using algorithm neonx4 gen() 3143 MB/s
[    0.395380] raid6: .... xor() 2359 MB/s, rmw enabled
[    0.395465] raid6: using neon recovery algorithm
[    0.395755] ACPI: Interpreter disabled.
[    0.397210] iommu: Default domain type: Translated 
[    0.397309] iommu: DMA domain TLB invalidation policy: strict mode 
[    0.397652] SCSI subsystem initialized
[    0.397857] usbcore: registered new interface driver usbfs
[    0.398040] usbcore: registered new interface driver hub
[    0.398145] usbcore: registered new device driver usb
[    0.398369] pps_core: LinuxPPS API ver. 1 registered
[    0.398453] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
[    0.398608] PTP clock support registered
[    0.398838] EDAC MC: Ver: 3.0.0
[    0.399420] CPUidle PSCI: Initialized CPU PM domain topology using OSI mode
[    0.399767] qcom_scm: convention: smc arm 64
[    0.400221] scmi_core: SCMI protocol bus registered
[    0.400660] Advanced Linux Sound Architecture Driver Initialized.
[    0.401387] vgaarb: loaded
[    0.401818] clocksource: Switched to clocksource arch_sys_counter
[    0.402072] VFS: Disk quotas dquot_6.6.0
[    0.402245] VFS: Dquot-cache hash table entries: 512 (order 0, 4096 bytes)
[    0.402463] pnp: PnP ACPI: disabled
[    0.409119] NET: Registered PF_INET protocol family
[    0.409369] IP idents hash table entries: 65536 (order: 7, 524288 bytes, linear)
[    0.412691] tcp_listen_portaddr_hash hash table entries: 2048 (order: 3, 32768 bytes, linear)
[    0.412841] Table-perturb hash table entries: 65536 (order: 6, 262144 bytes, linear)
[    0.413006] TCP established hash table entries: 32768 (order: 6, 262144 bytes, linear)
[    0.413332] TCP bind hash table entries: 32768 (order: 8, 1048576 bytes, linear)
[    0.414147] TCP: Hash tables configured (established 32768 bind 32768)
[    0.414373] UDP hash table entries: 2048 (order: 4, 65536 bytes, linear)
[    0.414598] UDP-Lite hash table entries: 2048 (order: 4, 65536 bytes, linear)
[    0.414853] NET: Registered PF_UNIX/PF_LOCAL protocol family
[    0.415335] RPC: Registered named UNIX socket transport module.
[    0.415431] RPC: Registered udp transport module.
[    0.415586] RPC: Registered tcp transport module.
[    0.415670] RPC: Registered tcp NFSv4.1 backchannel transport module.
[    0.415843] PCI: CLS 0 bytes, default 64
[    0.416105] Trying to unpack rootfs image as initramfs...
[    0.429212] kvm [1]: HYP mode not available
[    0.430103] Initialise system trusted keyrings
[    0.430316] workingset: timestamp_bits=42 max_order=20 bucket_order=0
[    0.430703] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[    0.431005] NFS: Registering the id_resolver key type
[    0.431171] Key type id_resolver registered
[    0.431248] Key type id_legacy registered
[    0.431401] nfs4filelayout_init: NFSv4 File Layout Driver Registering...
[    0.431484] nfs4flexfilelayout_init: NFSv4 Flexfile Layout Driver Registering...
[    0.465085] xor: measuring software checksum speed
[    0.467797]    8regs           :  3806 MB/sec
[    0.470448]    32regs          :  3977 MB/sec
[    0.473213]    arm64_neon      :  3673 MB/sec
[    0.473289] xor: using function: 32regs (3977 MB/sec)
[    0.473438] Key type asymmetric registered
[    0.473526] Asymmetric key parser 'x509' registered
[    0.473671] Asymmetric key parser 'pkcs8' registered
[    0.473784] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 243)
[    0.474086] io scheduler mq-deadline registered
[    0.474170] io scheduler kyber registered
[    0.474271] io scheduler bfq registered
[    0.479601] EINJ: ACPI disabled.
[    0.487319] bob: Setting 3312000-3600000uV
[    0.487320] smps3: Setting 600000-600000uV
[    0.490035] Serial: 8250/16550 driver, 4 ports, IRQ sharing enabled
[    0.491513] msm_serial: driver initialized
[    0.493682] arm-smmu 15000000.iommu: probing hardware configuration...
[    0.493771] arm-smmu 15000000.iommu: SMMUv2 with:
[    0.493946] arm-smmu 15000000.iommu: 	stage 1 translation
[    0.494026] arm-smmu 15000000.iommu: 	non-coherent table walk
[    0.494169] arm-smmu 15000000.iommu: 	(IDR0.CTTW overridden by FW configuration)
[    0.494249] arm-smmu 15000000.iommu: 	stream matching with 76 register groups
[    0.494415] arm-smmu 15000000.iommu: 	45 context banks (0 stage-2 only)
[    0.495442] arm-smmu 15000000.iommu: 	Supported page sizes: 0x61311000
[    0.495528] arm-smmu 15000000.iommu: 	Stage-1: 48-bit VA -> 48-bit IPA
[    0.495907] arm-smmu 15000000.iommu: 	preserved 0 boot mappings
[    0.506698] brd: module loaded
[    0.511201] loop: module loaded
[    0.512262] spmi spmi-0: PMIC arbiter version v5 (0x50000000)
[    0.517554] Freeing initrd memory: 3752K
[    0.524850] tun: Universal TUN/TAP device driver, 1.6
[    0.525182] thunder_xcv, ver 1.0
[    0.525299] thunder_bgx, ver 1.0
[    0.525467] nicpf, ver 1.0
[    0.525572] e1000: Intel(R) PRO/1000 Network Driver
[    0.525657] e1000: Copyright (c) 1999-2006 Intel Corporation.
[    0.525838] e1000e: Intel(R) PRO/1000 Network Driver
[    0.525923] e1000e: Copyright(c) 1999 - 2015 Intel Corporation.
[    0.526175] sky2: driver version 1.30
[    0.526573] VFIO - User Level meta-driver version: 0.3
[    0.527546] usbcore: registered new interface driver usb-storage
[    0.540664] i2c_dev: i2c /dev entries driver
[    0.541994] input: pm8941_pwrkey as /devices/platform/soc@0/c440000.spmi/spmi-0/0-00/c440000.spmi:pmic@0:pon@800/c440000.spmi:pmic@0:pon@800:pwrkey/input/input0
[    0.558388] device-mapper: ioctl: 4.48.0-ioctl (2023-03-01) initialised: dm-devel@redhat.com
[    0.558596] ghes_edac: GHES probing device list is empty
[    0.560210] sdhci: Secure Digital Host Controller Interface driver
[    0.560456] sdhci: Copyright(c) Pierre Ossman
[    0.560671] Synopsys Designware Multimedia Card Interface Driver
[    0.560866] sdhci-pltfm: SDHCI platform and OF driver helper
[    0.561769] ledtrig-cpu: registered to indicate activity on CPUs
[    0.562345] SMCCC: SOC_ID: ARCH_SOC_ID not implemented, skipping ....
[    0.562530] hid: raw HID events driver (C) Jiri Kosina
[    0.566580] hw perfevents: enabled with armv8_pmuv3 PMU driver, 7 counters available
[    0.639147] NET: Registered PF_PACKET protocol family
[    0.639345] Key type dns_resolver registered
[    0.645308] registered taskstats version 1
[    0.645544] Loading compiled-in X.509 certificates
[    0.651187] Btrfs loaded, zoned=no, fsverity=no
[    0.651347] pstore: Using crash dump compression: deflate
[    0.670621] bam-dma-engine 1dc4000.dma-controller: Adding to iommu group 0
[    0.670977] bam-dma-engine 1dc4000.dma-controller: num-channels unspecified in dt
[    0.671109] bam-dma-engine 1dc4000.dma-controller: num-ees unspecified in dt
[    0.673196] bam-dma-engine 17184000.dma-controller: Adding to iommu group 1
[    0.674681] geni_se_qup 8c0000.geniqup: Adding to iommu group 2
[    0.690133] qcom_geni_serial 898000.serial: Invalid line -19
[    0.690826] geni_se_qup ac0000.geniqup: Adding to iommu group 3
[    0.691658] qcom_geni_serial a84000.serial: Invalid line -19
[    0.724412] smps2: Setting 1100000-1100000uV
[    0.724581] arm-smmu 5040000.iommu: probing hardware configuration...
[    0.724650] arm-smmu 5040000.iommu: SMMUv2 with:
[    0.724697] smps3: Setting 1352000-1352000uV
[    0.724786] arm-smmu 5040000.iommu: 	stage 1 translation
[    0.724917] arm-smmu 5040000.iommu: 	address translation ops
[    0.724982] smps5: Setting 1904000-2040000uV
[    0.725033] arm-smmu 5040000.iommu: 	non-coherent table walk
[    0.725208] arm-smmu 5040000.iommu: 	(IDR0.CTTW overridden by FW configuration)
[    0.725225] smps7: Setting 900000-1028000uV
[    0.725272] arm-smmu 5040000.iommu: 	stream matching with 5 register groups
[    0.725480] arm-smmu 5040000.iommu: 	5 context banks (0 stage-2 only)
[    0.725522] ldo1: Setting 880000-880000uV
[    0.725630] arm-smmu 5040000.iommu: 	Supported page sizes: 0x63315000
[    0.725779] arm-smmu 5040000.iommu: 	Stage-1: 48-bit VA -> 36-bit IPA
[    0.726094] arm-smmu 5040000.iommu: 	preserved 0 boot mappings
[    0.726444] ldo2: Setting 1200000-1200000uV
[    0.727571] ldo3: Setting 1000000-1000000uV
[    0.727839] ldo5: Setting 800000-800000uV
[    0.728073] ldo6: Setting 1856000-1856000uV
[    0.728320] ldo7: Setting 1800000-1800000uV
[    0.729462] adreno 5000000.gpu: Adding to iommu group 4
[    0.729767] ldo8: Setting 1200000-1248000uV
[    0.730051] ldo9: Setting 1704000-2928000uV
[    0.730295] ldo10: Setting 1704000-2928000uV
[    0.730346] msm-mdss ae00000.display-subsystem: Adding to iommu group 5
[    0.730627] ldo11: Setting 1000000-1048000uV
[    0.730900] ldo12: Setting 1800000-1800000uV
[    0.731179] ldo13: Setting 1800000-2960000uV
[    0.731414] ldo14: Setting 1840000-1840000uV
[    0.731647] ldo15: Setting 1800000-1800000uV
[    0.731975] ldo16: Setting 2704000-2704000uV
[    0.732248] ldo17: Setting 1304000-1304000uV
[    0.732262] platform ae94000.dsi: Fixed dependency cycle(s) with /soc@0/display-subsystem@ae00000/dsi@ae94000/panel@0/port/endpoint
[    0.732469] platform ae94000.dsi: Fixed dependency cycle(s) with /soc@0/display-subsystem@ae00000/display-controller@ae01000/ports/port@1/endpoint
[    0.732566] ldo18: Setting 2704000-2960000uV
[    0.732903] ldo20: Setting 2704000-2960000uV
[    0.733175] ldo21: Setting 2704000-2960000uV
[    0.733412] ldo22: Setting 2696000-2696000uV
[    0.733642] ldo23: Setting 3300000-3312000uV
[    0.733938] ldo24: Setting 3088000-3088000uV
[    0.734185] ldo25: Setting 3300000-3312000uV
[    0.734421] ldo26: Setting 1200000-1200000uV
[    0.734689] ldo28: Setting 3000000-3000000uV
[    0.734951] lvs1: mapping for mode 3 not defined
[    0.735269] lvs2: mapping for mode 3 not defined
[    0.759251] sdhci_msm 8804000.mmc: Adding to iommu group 6
[    0.759624] sdhci_msm 8804000.mmc: Got CD GPIO
[    0.760670] qcom-qusb2-phy 88e2000.phy: Registered Qcom-QUSB2 phy
[    0.801199] irq: IRQ126: trimming hierarchy from :soc@0:interrupt-controller@b220000-9
[    0.803525] mmc0: SDHCI controller on 8804000.mmc [8804000.mmc] using ADMA 64-bit
[    0.955412] atmel_mxt_ts 5-004a: Family: 166 Variant: 1 Firmware V2.1.AA Objects: 40
[    0.955597] atmel_mxt_ts 5-004a: Direct firmware load for maxtouch.cfg failed with error -2
[    0.957775] mipi-dsi ae94000.dsi.0: Fixed dependency cycle(s) with /soc@0/display-subsystem@ae00000/dsi@ae94000/ports/port@1/endpoint
[    0.958352] msm_dpu ae01000.display-controller: bound ae94000.dsi (ops dsi_ops)
[    0.959722] adreno 5000000.gpu: supply vdd not found, using dummy regulator
[    0.959942] adreno 5000000.gpu: supply vddcx not found, using dummy regulator
[    0.961255] atmel_mxt_ts 5-004a: Touchscreen size X1439Y2879
[    0.961480] input: Atmel maXTouch Touchscreen as /devices/platform/soc@0/8c0000.geniqup/894000.i2c/i2c-5/5-004a/input/input1
[    0.964488] platform 506a000.gmu: Adding to iommu group 7
[    0.966031] msm_dpu ae01000.display-controller: bound 5000000.gpu (ops a3xx_ops)
[    0.972104] [drm:dpu_kms_hw_init:1050] dpu hardware revision:0x40000000
[    0.976645] [drm] Initialized msm 1.10.0 20130625 for ae01000.display-controller on minor 0
[    0.977695] msm_dpu ae01000.display-controller: [drm:adreno_request_fw] loaded qcom/a630_sqe.fw from new location
[    0.977884] msm_dpu ae01000.display-controller: [drm:adreno_request_fw] loaded qcom/a630_gmu.bin from new location
[    1.020457] mmc0: new ultra high speed SDR104 SDHC card at address b368
[    1.021387] mmcblk0: mmc0:b368 LX32G 29.5 GiB 
[    1.024714]  mmcblk0: p1 p2
[    1.401446] Console: switching to colour frame buffer device 180x180
[    1.418491] msm_dpu ae01000.display-controller: [drm] fb0: msmdrmfb frame buffer device
[    1.419430] dwc3 a600000.usb: Adding to iommu group 8
[    1.426758] input: gpio-keys as /devices/platform/gpio-keys/input/input2
[    1.427689] clk: Disabling unused clocks
[    1.428166] ALSA device list:
[    1.428227]   No soundcards found.
[    1.428319] Warning: unable to open an initial console.
[    1.429189] Freeing unused kernel memory: 3776K
[    1.429372] Run /init as init process
[    1.429475]   with arguments:
[    1.429478]     /init
[    1.429480]   with environment:
[    1.429483]     HOME=/
[    1.429486]     TERM=linux
[    1.429489]     lcdid_adc=856933
[    1.429493]     startup=0x0000c000
[    1.429496]     warmboot=0x00000000
[    1.700288] configfs-gadget.g1 gadget.0: HOST MAC b2:ae:e4:a1:26:00
[    1.700301] configfs-gadget.g1 gadget.0: MAC 22:2c:81:ef:a0:2a
[    1.809534] EXT4-fs (mmcblk0p1): mounting ext2 file system using the ext4 subsystem
[    1.811483] EXT4-fs (mmcblk0p1): mounted filesystem 9842ac09-c64a-4270-ae8a-0ac2808a9634 ro without journal. Quota mode: none.
[    2.922579] EXT4-fs (mmcblk0p2): orphan cleanup on readonly fs
[    2.923989] EXT4-fs (mmcblk0p2): mounted filesystem 709dd4dd-761f-4e23-ad27-2b9b0b091219 ro with ordered data mode. Quota mode: none.
[    2.930522] EXT4-fs (mmcblk0p1): unmounting filesystem 9842ac09-c64a-4270-ae8a-0ac2808a9634.
[    2.997759] EXT4-fs (mmcblk0p1): mounting ext2 file system using the ext4 subsystem
[    3.001020] EXT4-fs (mmcblk0p1): mounted filesystem 9842ac09-c64a-4270-ae8a-0ac2808a9634 r/w without journal. Quota mode: none.
[    4.109160] udevd[877]: starting version 3.2.12
[    4.537839] random: crng init done
[    4.609738] udevd[877]: starting eudev-3.2.12
[    4.729614] cpufreq: cpufreq_online: CPU0: Running at unlisted initial frequency: 2995200 KHz, changing to: 1766400 KHz
[    4.730052] cpu cpu0: EM: created perf domain
[    4.735851] NET: Registered PF_QIPCRTR protocol family
[    4.738010] cpufreq: cpufreq_online: CPU4: Running at unlisted initial frequency: 2995200 KHz, changing to: 2649600 KHz
[    4.738501] cpu cpu4: EM: created perf domain
[    4.741622]  cs_system_cfg: CoreSight Configuration manager initialised
[    4.742486] remoteproc remoteproc0: remoteproc-adsp is available
[    4.744325] cfg80211: Loading compiled-in X.509 certificates for regulatory database
[    4.745905] remoteproc remoteproc1: remoteproc-cdsp is available
[    4.749683] coresight-tmc: probe of 6048000.etr failed with error -13
[    4.751188] ipa 1e40000.ipa: Adding to iommu group 9
[    4.751503] coresight stm0: STM32 initialized
[    4.751830] remoteproc remoteproc2: 5c00000.remoteproc is available
[    4.751885] remoteproc remoteproc2: Direct firmware load for qcom/sdm845/Sony/tama/slpi.mbn failed with error -2
[    4.751889] remoteproc remoteproc2: powering up 5c00000.remoteproc
[    4.751897] remoteproc remoteproc2: Direct firmware load for qcom/sdm845/Sony/tama/slpi.mbn failed with error -2
[    4.751900] remoteproc remoteproc2: request_firmware failed: -2
[    4.752624] ipa 1e40000.ipa: channel 4 limited to 256 TREs
[    4.753134] Loaded X.509 cert 'sforshee: 00b28ddf47aef9cea7'
[    4.757007] ipa 1e40000.ipa: IPA driver initialized
[    4.757639] qcrypto 1dfa000.crypto: Adding to iommu group 0
[    4.795895] ipa 1e40000.ipa: IPA driver setup completed successfully
[    4.821684] remoteproc remoteproc3: 4080000.remoteproc is available
[    4.834848] gpi 800000.dma-controller: Adding to iommu group 10
[    4.836923] gpi a00000.dma-controller: Adding to iommu group 11
[    4.837563] remoteproc remoteproc1: powering up remoteproc-cdsp
[    4.837571] remoteproc remoteproc1: Booting fw image qcom/sdm845/Sony/tama/cdsp.mbn, size 2835988
[    4.837752] rtc-pm8xxx c440000.spmi:pmic@0:rtc@6000: registered as rtc0
[    4.837806] rtc-pm8xxx c440000.spmi:pmic@0:rtc@6000: setting system clock to 1970-02-15T04:19:46 UTC (3903586)
[    4.865968] spmi spmi-0: cleanup_irq apid=219 sid=0x2 per=0x40 irq=7
[    4.865989] irq 87, desc: 00000000e96120ad, depth: 0, count: 0, unhandled: 0
[    4.865994] ->handle_irq():  000000003231f868, pmic_arb_chained_irq+0x0/0x30c
[    4.866010] ->irq_data.chip(): 00000000394a431f, gic_chip+0x0/0x108
[    4.866018] ->action(): 0000000070382aa6
[    4.866021] ->action->handler(): 0000000086750ed8, bad_chained_irq+0x0/0x4c
[    4.866029]      IRQ_LEVEL set
[    4.866031]    IRQ_NOPROBE set
[    4.866032]  IRQ_NOREQUEST set
[    4.866034]   IRQ_NOTHREAD set
[    4.902785] remoteproc remoteproc1: remote processor remoteproc-cdsp is now up
[    4.914486] mc: Linux media interface: v0.10
[    4.953101] qcom,fastrpc remoteproc-cdsp:glink-edge.fastrpcglink-apps-dsp.-1.-1: no reserved DMA memory for FASTRPC
[    4.954638] ath10k_snoc 18800000.wifi: Adding to iommu group 12
[    4.956004] qcom,fastrpc-cb remoteproc-cdsp:glink-edge:fastrpc:compute-cb@1: Adding to iommu group 13
[    4.956778] qcom,fastrpc-cb remoteproc-cdsp:glink-edge:fastrpc:compute-cb@2: Adding to iommu group 14
[    4.957489] remoteproc remoteproc0: powering up remoteproc-adsp
[    4.957497] remoteproc remoteproc0: Booting fw image qcom/sdm845/Sony/tama/adsp.mbn, size 11160092
[    4.957725] qcom,fastrpc-cb remoteproc-cdsp:glink-edge:fastrpc:compute-cb@3: Adding to iommu group 15
[    4.959193] qcom,fastrpc-cb remoteproc-cdsp:glink-edge:fastrpc:compute-cb@4: Adding to iommu group 16
[    4.959365] videodev: Linux video capture interface: v2.00
[    4.960365] qcom,fastrpc-cb remoteproc-cdsp:glink-edge:fastrpc:compute-cb@5: Adding to iommu group 17
[    4.961627] qcom,fastrpc-cb remoteproc-cdsp:glink-edge:fastrpc:compute-cb@6: Adding to iommu group 18
[    4.962258] qcom,fastrpc-cb remoteproc-cdsp:glink-edge:fastrpc:compute-cb@7: Adding to iommu group 19
[    4.963207] qcom,fastrpc-cb remoteproc-cdsp:glink-edge:fastrpc:compute-cb@8: Adding to iommu group 20
[    5.007379] qcom-venus aa00000.video-codec: Adding to iommu group 21
[    5.008115] qcom-venus aa00000.video-codec: non legacy binding
[    5.088055] qcom,fastrpc remoteproc-adsp:glink-edge.fastrpcglink-apps-dsp.-1.-1: no reserved DMA memory for FASTRPC
[    5.088055] remoteproc remoteproc0: remote processor remoteproc-adsp is now up
[    5.089672] qcom,fastrpc-cb remoteproc-adsp:glink-edge:fastrpc:compute-cb@3: Adding to iommu group 22
[    5.091291] qcom,fastrpc-cb remoteproc-adsp:glink-edge:fastrpc:compute-cb@4: Adding to iommu group 23
[    5.335101] NET: Registered PF_INET6 protocol family
[    5.335791] Segment Routing with IPv6
[    5.335799] In-situ OAM (IOAM) with IPv6
[    5.498723] EXT4-fs (mmcblk0p2): re-mounted 709dd4dd-761f-4e23-ad27-2b9b0b091219 r/w. Quota mode: none.
[    5.779774] qcom,apr remoteproc-adsp:glink-edge.apr_audio_svc.-1.-1: Adding APR/GPR dev: aprsvc:service:4:3
[    5.779956] qcom,apr remoteproc-adsp:glink-edge.apr_audio_svc.-1.-1: Adding APR/GPR dev: aprsvc:service:4:4
[    5.780024] qcom,apr remoteproc-adsp:glink-edge.apr_audio_svc.-1.-1: Adding APR/GPR dev: aprsvc:service:4:7
[    5.780089] qcom,apr remoteproc-adsp:glink-edge.apr_audio_svc.-1.-1: Adding APR/GPR dev: aprsvc:service:4:8
[    5.780168] qcom,apr remoteproc-adsp:glink-edge.apr_audio_svc.-1.-1: Adding APR/GPR dev: aprsvc:apr-service:4:9
[    5.780234] qcom,apr remoteproc-adsp:glink-edge.apr_audio_svc.-1.-1: Adding APR/GPR dev: aprsvc:apr-service:4:a
[    5.780308] qcom,apr remoteproc-adsp:glink-edge.apr_audio_svc.-1.-1: Adding APR/GPR dev: aprsvc:apr-service:4:b
[    5.810978] q6asm-dai remoteproc-adsp:glink-edge:apr:service@7:dais: Adding to iommu group 24
[    5.811177] q6asm-dai remoteproc-adsp:glink-edge:apr:service@7:dais: No dais found in DT
[    5.811182] q6asm-dai: probe of remoteproc-adsp:glink-edge:apr:service@7:dais failed with error -22
[    6.190002] Bluetooth: Core ver 2.22
[    6.190095] NET: Registered PF_BLUETOOTH protocol family
[    6.190098] Bluetooth: HCI device and connection manager initialized
[    6.190112] Bluetooth: HCI socket layer initialized
[    6.190117] Bluetooth: L2CAP socket layer initialized
[    6.190136] Bluetooth: SCO socket layer initialized
[   10.916868] memfd_create() without MFD_EXEC nor MFD_NOEXEC_SEAL, pid=1970 'gnome-shell'
[   13.482122] rfkill: input handler disabled
[   18.407590] qnoc-sdm845 17900000.interconnect: sync_state() pending due to 898000.serial
[   18.407617] qnoc-sdm845 1500000.interconnect: sync_state() pending due to 898000.serial
[   18.407629] qnoc-sdm845 16e0000.interconnect: sync_state() pending due to 898000.serial
[   18.407640] qcom-rpmhpd 179c0000.rsc:power-controller: sync_state() pending due to 898000.serial
[   18.407655] qnoc-sdm845 17900000.interconnect: sync_state() pending due to a84000.serial
[   18.407664] qnoc-sdm845 1500000.interconnect: sync_state() pending due to a84000.serial
[   18.407674] qnoc-sdm845 1700000.interconnect: sync_state() pending due to a84000.serial
[   18.407683] qcom-rpmhpd 179c0000.rsc:power-controller: sync_state() pending due to a84000.serial
[   54.305079] zram: Added device: zram0
[   54.324048] zram0: detected capacity change from 0 to 3686400
[   54.360707] Adding 1843196k swap on /dev/zram0.  Priority:16383 extents:1 across:1843196k SSDsc
[   62.622450] rfkill: input handler enabled
[   65.387215] rfkill: input handler disabled

@phodina
Copy link
Author

phodina commented Sep 5, 2023

The modem is not even listed in the qrtr-lookup

$ qrtr-lookup 
  Service Version Instance Node  Port
       14       1        0    1    14 Remote file system service
       49       1        1    1 16387 IPA control service
       64       1        1    1 16392 Service registry locator service
     4096       1        0    1 16394 TFTP
       15       1       32    5     1 Test service
       66       1       74    5     2 Service registry notification service
       43       2       20    5     5 Subsystem control service
       51       1        5    5     6 CoreSight remote tracing service
       24       1        1    5     8 Thermal mitigation device service
       15       1       33    5     9 Test service
      769       1        0    5    11 SLIMbus control service
       15       1       64   10     1 Test service
       66       1       76   10     2 Service registry notification service
       43       2       23   10     5 Subsystem control service
       51       1       13   10     6 CoreSight remote tracing service
       24       1       67   10     8 Thermal mitigation device service

Here's comparison for enchillada:

$ qrtr-lookup
  Service Version Instance Node  Port
       66       1      180    0     1 Service registry notification service
       43       2       18    0     4 Subsystem control service
       15       1        0    0    22 Test service
       51       1        2    0    23 CoreSight remote tracing service
       21       1        0    0    24 Modem embedded file system service
       24       1        0    0    25 Thermal mitigation device service
       23       1        0    0    26 Thermal sensors service
       22       1        0    0    27 Time service
       36       1        0    0    29 Persistent device configuration service
       49       1        2    0    30 IPA control service
       54       1        0    0    35 <unknown>
       17       1        0    0    37 Specific absorption rate service
       74       1        0    0    38 <unknown>
     4098       0        0    0    39 <unknown>
       34       1        0    0    41 Coexistence service
       41       1        1    0    43 RF radiated performance enhancement service
       55       1        2    0    46 <unknown>
      228       1        0    0    47 <unknown>
       50       1        0    0    51 <unknown>
        9       2        0    0    53 Voice service
        3       1        0    0    54 Network Access Service
       12       1        0    0    55 Phonebook Management service
       10       2        0    0    56 Card Application Toolkit service (v2)
       47       1        0    0    57 Data Port Mapper service
        1       1        0    0    58 Wireless Data Service
        4       1        0    0    59 Quality Of Service service
       26       1        0    0    60 Wireless data administrative service
        7       1        0    0    61 Authentication service
        8       1        0    0    62 AT service
       29       1        0    0    63 Circuit switched videotelephony service
       71       1        0    0    64 <unknown>
       11       1        0    0    65 User Identity Module service
       42       1        0    0    71 Data system determination service
        2       1        0    0    72 Device Management Service
        5       1        0    0    73 Wireless Messaging Service
       48       1        0    0    74 <unknown>
       68       1        0    0    75 <unknown>
       16       2        0    0    80 Location service (~ PDS v2)
       51       1        3    0    84 CoreSight remote tracing service
       69       1        0    0    85 ATH10k WLAN firmware service
       77       1        0    0    90 <unknown>
       33       1        0    0    93 IMS application service
       18       1        0    0    94 IMS settings service
     4099       0        0    0   157 <unknown>
       57       1        0    0   159 <unknown>
       14       1        0    1    14 Remote file system service
       49       1        1    1 16392 IPA control service
       64       1        1    1 16395 Service registry locator service
     4096       1        0    1 16398 TFTP
       15       1       32    5     1 Test service
       66       1       74    5     2 Service registry notification service
       43       2       20    5     5 Subsystem control service
       51       1        5    5     6 CoreSight remote tracing service
       24       1        1    5     8 Thermal mitigation device service
       15       1       33    5     9 Test service
      769       1        0    5    11 SLIMbus control service
       15       1       48    9     1 Test service
       66       1       90    9     2 Service registry notification service
       43       2       22    9     5 Subsystem control service
       51       1        8    9     6 CoreSight remote tracing service
       24       1       83    9     8 Thermal mitigation device service
       15       1       49    9     9 Test service
       51       1       12    9    11 CoreSight remote tracing service
      400       1        0    9    12 <unknown>
     4100      10        0    9    13 <unknown>

The remote processors are enabled by this commit, so could it be due to some regulators not being turn on?

https://gitlab.com/phodina/linux/-/commit/9c5b955432ad74e6d40641e594a4605b889e4ce4

@phodina
Copy link
Author

phodina commented Sep 5, 2023

Also what's the purpose of the ~240MiB partition modem? Shouldn't it also get loaded?

@phodina
Copy link
Author

phodina commented Sep 5, 2023

Is it possible the UART from bootloader has UART disabled in firmware?

No, UART is enabled by default and you should see the bootloader logs even on a locked bootloader. This is valid for all devices from Tama to Sagami platforms.

Okay, in that case it's probably the design of the adapter that triggers either the Card/Tray detect or is not inserted enough to capture the bootloader logs.

I acknowledge that the kernel will not output anything unless configured correctly.

@rhjdvsgsgks
Copy link

sorry for the off topic. i know its the issue for tama. but i cant find any better place to ask. where can i know the mainline progress of yoshino? especially the display part. is it been abandoned? by using kernel from SoMainline/linux@4f0d15d , i can only get a working back light and usb gadget for ssh. is display still be worked on?

@phodina
Copy link
Author

phodina commented Sep 8, 2023

@rhjdvsgsgks no problem hopefully someone will be able to give you more details, however if you look at the main page of the bug_tacker the yoshino platform is listed in the README as deprecated

@MartinX3
Copy link

MartinX3 commented Sep 8, 2023

@phodina deprecated by SODP which uses qualcom OEM binaries.
But every device will get mainlined.
Just this progress depends on how many volunteers have time.
Help is needed.

@MarijnS95
Copy link
Contributor

@rhjdvsgsgks I recently got hold of Maple (while already owning Poplar) and hope to make sure they run correctly on the latest mainline fork at Some Point In Time™.

Note that the commit you linked is from my personal development branch where I mainly work on SM8xxx- and SM6xxx-based devices; that commit is just to fix a compiler error, MSM8996 (which isn't even Yoshino, that's Tone) hasn't been ran on that branch.


@phodina just curious why you're pointing to deprecation status in SODP's bug_tracker when the question is about mainline support, in an issue about mai(N?)line of your creation 😬

@phodina
Copy link
Author

phodina commented Sep 8, 2023

@MarijnS95 you're right the question was about the mainline and not the SODP, so my comment was not relevant ... sorry for that confusion

@rhjdvsgsgks
Copy link

I recently got hold of Maple (while already owning Poplar) and hope to make sure they run correctly on the latest mainline fork at Some Point In Time™.

glad to hear tha

Note that the commit you linked is from my personal development branch where I mainly work on SM8xxx- and SM6xxx-based devices; that commit is just to fix a compiler error, MSM8996 (which isn't even Yoshino, that's Tone) hasn't been ran on that branch.

i saw that branch have some new commit about nt35950 . so i think the state maybe have some changes. but obviously failed, as you said they are just some fix about compiler error

@rhjdvsgsgks
Copy link

rhjdvsgsgks commented Apr 21, 2024

thanks for the hard work of MarijnS95 and konradybcio . maple finally have a working display now (on branch https://github.com/SoMainline/linux/tree/topic/maple_wip). gpu also works, just need to enable it in dt (and add zap-shader node under adreno_gpu). though vsync seems like not works in this screenshot

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

9 participants