| fix(atf): move imx8m/imx93 ATF linker-flag patch to shared atf-tq dir ATF_SKIP_LDFLAGS_WL="yes" was not a substitute for 0001-fix-needed-by-armbian-build-system.patch: that patch strips the -Wl,-prefixed --no-warn-rwx-segment flag from TF_LDFLAGS because TQ's ATF build invokes the linker directly, while ATF_SKIP_LDFLAGS_WL only suppresses the -Wl, prefix on our side, leaving a flag the patch never matches. Without the patch applied, TF_LDFLAGS reaches the linker unfiltered and produces a BL31 that hangs on i.MX93 (MBa93xxCA) right after SPL hands off via ROM_API, before any ATF console output. Rename ATFPATCHDIR from the imx8-only 'atf-imx8' to 'atf-tq' and set it per-board-case in imx8m.conf/imx93.conf, since the same fix is needed by both families. Signed-off-by: Martin Schmiedel <Martin.Schmiedel@tq-group.com> | 1 个月前 |