Repository navigation
kboot: hand the iBoot-loaded ISP firmware to Linux on T6041 - #71
Conversation
|
Merge-train review (aura, M4-series): the change reads well and CI is green, but the commit(s) have no 🤖 Generated with Claude Code |
On T6041 iBoot loads the ISP firmware and the Linux driver starts it as iBoot left it (aurora-silicon/linux#384, Jonathan Goyvaerts' T6040 ISP support). The TEXT and DATA move between boots, so fill the kernel DT's /reserved-memory/isp-firmware-text and isp-firmware-data placeholders from the ADT segment-ranges (reg, no-map, iommu-addresses at the firmware's own addresses) instead of the m1n1 heap setup, which does not apply here. Signed-off-by: AxxzyWasTaken <axxzytte@gmail.com>
dt_set_isp_fwdata() now branches to dt_set_isp_t6041() on T6041, so the harnesses that compile it need the chip ID and a stub. Signed-off-by: AxxzyWasTaken <axxzytte@gmail.com>
897d41d to
5ecc570
Compare
|
Signed off and force-pushed. No code change. |
|
Merge train (MTR, 06/11): reviewed. It only runs for |
Hands the ISP firmware over on T6041 (M4 Max). iBoot loads it and the Linux driver starts it as iBoot left it, but on J616C it moves between boots, so the J616s addresses in the device tree don't hold.
This fills
/reserved-memory/isp-firmware-textandisp-firmware-datafrom this boot's ADT/arm-io/isp0segment ranges:reg,no-map, andiommu-addressesat the firmware's own addresses. It does nothing if the ISP is disabled or a placeholder is missing, and it refuses an implausible range.aura#48 does the same job for J614s on T6040, so the two don't overlap.
Testing
ESP_STAGE2=1 CHAINLOADING=1; clang-format clean. No new host test.Needs the
ispalias in the device tree. On J616C the handoff didn't run until it was added; linux#914 has it.