pil-squasher
pil-squasher copied to clipboard
pil-squasher: workaround for MSM8226 WCNSS firmware
On some of old devices WCNSS firmware has wrong p_filesz for the hash segment. Work around it by copying full hash segment if available.
Still doesn't work unfortunately...
[ 62.891350] remoteproc remoteproc2: powering up fb204000.remoteproc
[ 63.528583] remoteproc remoteproc2: Booting fw image qcom/msm8926/memul/wcnss.mbn, size 3946700
[ 63.570652] qcom-wcnss-pil fb204000.remoteproc: error -5 initializing firmware qcom/msm8926/memul/wcnss.mbn
[ 63.570748] remoteproc remoteproc2: Failed to load program segments: -5
[ 63.571494] remoteproc remoteproc2: Boot failed: -5
(for reference here on github, the firmware this applies to is for HTC One Mini 2 https://github.com/fairblobs/memul-firmware)
Seems HTC has some custom secure boot on at least this device, the string "HTC Secure Boot" can be found in the binaries for example.