On Wed, 5 Oct 2022 16:13:30 +0200
PaweÅ‚ Dembicki <[email protected]> wrote:

> Hi everybody,
> 
> I am preparing support for the T4240RDB board. But I'm stuck with one problem:
> 
> Qoriq target is powerpc64. But  T4240RDB in u-boot is supported as
> mpc85xx family and requires a 32-bit compiler.
> 
> I tried setting OpenWrt config:  EXTRA_TARGET_ARCH to y and
> EXTRA_TARGET_ARCH_NAME to powerpc32. But it didn't work:

Depending on the context, the name may also be something like "ppc", "ppc64" or
"ppc64le", JFYI.

[...]

> I see two possible solutions:
> 1. Compile u-boot with regular powerpc compiler
> 2. Fix settings in powerpc64 linker to allow build 32-bit arch binary.
> 
> Can I ask for help with it?

Without looking at the details (makes suggestions easier ;-) you may get by
with dropping "-m32" or "-m64" into CFLAGS here and there, presumed your 
toolchain
has support for both.

        Torsten



_______________________________________________
openwrt-devel mailing list
[email protected]
https://lists.openwrt.org/mailman/listinfo/openwrt-devel

Reply via email to