Skip to content
Snippets Groups Projects

linux-postmarketos-qcom-sm8250: upgrade to 6.12.0

Merged Jianhua Lu requested to merge jianhua/pmaports:sm8250-6.12.0 into master
1 unresolved thread

Changes in kernel:

  1. upgrade to 6.12.0.
  2. mark panel-novatek-nt36523 from builtin to module. (panel driver should be loaded after drm msm driver, otherwise screen may show black during booting sometimes)

Changes in firmware-xiaomi-elish:

  1. add initramfs subpackage to include dsp firmware to initramfs( fixes pinctrl_sm8250_lpass_lpi probe error, adsp clocks need to be available before pinctrl_sm8250_lpass_lpi loading)

changes in device-xiaomi-elish:

  1. add panel-novatek-nt36523 and qcom_q6v5_pas modules to initramfs.
  2. add dsp firmwares to initramfs.
Edited by Jianhua Lu

Merge request reports

Merge request pipeline #211009 passed

Merge request pipeline passed for e4e0c100

Approved by

Merged by NewbyteNewbyte 4 months ago (Nov 26, 2024 1:32pm UTC)

Merge details

  • Changes merged into master with e4e0c100.
  • Deleted the source branch.
  • Auto-merge enabled

Pipeline #211038 passed

Pipeline passed for e4e0c100 on master

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
  • Jianhua Lu added 12 commits

    added 12 commits

    • c194dc18...adb58f61 - 9 commits from branch postmarketOS:master
    • eca01c81 - linux-postmarketos-qcom-sm8250: upgrade to 6.12.0
    • fddafeb8 - firmware-xiaomi-elish: include firmware files to initramfs
    • 5b3e211b - device-xiaomi-elish: include more modules and firmwares to initramfs

    Compare with previous version

  • Jianhua Lu resolved all threads

    resolved all threads

  • Jianhua Lu resolved all threads

    resolved all threads

  • Robert Eckelmann approved this merge request

    approved this merge request

  • Jianhua Lu added 9 commits

    added 9 commits

    • 5b3e211b...c017365d - 6 commits from branch postmarketOS:master
    • 9917d0be - linux-postmarketos-qcom-sm8250: upgrade to 6.12.0
    • 80f8e705 - firmware-xiaomi-elish: include firmware files to initramfs
    • 32eca1b5 - device-xiaomi-elish: include more modules and firmwares to initramfs

    Compare with previous version

  • Thanks!

  • Newbyte approved this merge request

    approved this merge request

  • Newbyte added 29 commits

    added 29 commits

    • 32eca1b5...edefb3df - 26 commits from branch postmarketOS:master
    • 412ace83 - linux-postmarketos-qcom-sm8250: upgrade to 6.12.0 (MR 5830)
    • 03d04f20 - firmware-xiaomi-elish: include firmware files to initramfs (MR 5830)
    • e4e0c100 - device-xiaomi-elish: include more modules and firmwares to initramfs (MR 5830)

    Compare with previous version

  • Newbyte enabled an automatic merge when all merge checks for e4e0c100 pass

    enabled an automatic merge when all merge checks for e4e0c100 pass

  • merged

    • Do you got sensors working?, on xiaomi-nabu and other sm8150 devices slpi fails to load and complains about qmi_decode_string_elem: String len 128 >= Max Len 65, did you had to do anything else to get it working?

    • Author Contributor

      sensors do work on xiaomi-elish, qmi_decode_string_elem: String len 128 \>= Max Len 65 means hexagonrpcd is running in a wrong way, you need to check xiaomi-nabu hexagonfs firmware or hexagonrpcd config.

    • how did you got your firmware? i'll try dumping those from latest hyperOS to see if it makes a difference, this dmesg is from an old try i've made, it would be awesome if you can give it a look to see if you see something wrong :D dmesg.log

    • Author Contributor

      From dmesg log,I find that slpi(sensor dsp) crashes before slpi is up.

      [   15.495494] arm-smmu 15000000.iommu: Unhandled context fault: fsr=0x402, iova=0x1fffff000, fsynr=0x690001, cbfrsynra=0x5a1, cb=13
      [   15.495510] arm-smmu 15000000.iommu: FSR    = 00000402 [Format=2 TF], SID=0x5a1
      [   15.495517] arm-smmu 15000000.iommu: FSYNR0 = 00690001 [S1CBNDX=105 PLVL=1]
      [   15.495853] PDM: service 'sensor_process' crash: 'EX:sensor_process:0x1:frpck_0_0:0x5a:PC=0xb218b1a8'
      [   15.511058] qcom_q6v5_pas 2400000.remoteproc: fatal error received: err_qdi.c:964:EX:sensor_process:0x1:frpck_0_0:0x5a:PC=0xb218b1a8
      [   15.511089] remoteproc remoteproc0: crash detected in 2400000.remoteproc: type fatal error
      [   15.511104] remoteproc remoteproc0: handling crash #1 in 2400000.remoteproc
      [   15.511110] remoteproc remoteproc0: recovering 2400000.remoteproc
      [   15.543463] remoteproc remoteproc0: stopped remote processor 2400000.remoteproc
      [   15.609285] qcom,slim-ngd-ctrl 171c0000.slim-ngd: SLIM SAT: Rcvd master capability
      [   15.655920] remoteproc remoteproc0: remote processor 2400000.remoteproc is now up

      I suspect that slpi firmware isn't proper.

      Edited by Jianhua Lu
    • after dumping them from latest hyperos, i'm getting the same result sadly, i've looked at slpi and sdsp memory nodes and they are the same as downstream, so i don't know where can i look at u.u

    • Author Contributor

      Here is elish's dmesg log with hexagonrpcd-sdsp disabled,

      [   15.495853] PDM: service 'sensor_process' crash: 'EX:sensor_process:0x1:frpck_0_0:0x5a:PC=0xb218b1a8'
      [   15.511058] qcom_q6v5_pas 2400000.remoteproc: fatal error received: err_qdi.c:964:EX:sensor_process:0x1:frpck_0_0:0x5a:PC=0xb218b1a8

      doesn't exist in elish's dmesg log. dmesg.log

    • Author Contributor

      Here is dmesg log with hexagonrpcd-sdsp enabled. dmesg.log

    • Please register or sign in to reply
  • Please register or sign in to reply
    Loading