[LEDE-DEV] [PATCH] mediatek: enable support for vfpv4 and neon

John Crispin john at phrozen.org
Sun Dec 11 00:13:56 PST 2016



On 25/11/2016 20:57, Christian Lamparter wrote:
> While researching for the armvirt target, I looked at the
> existing arm platforms. It turns out that the mediatek target
> with its sole MT7623N/A chip is sold as a "highly integrated
> multimedia network router system-on-chip". To that end, it
> lists support for the "NEON multimedia processing engine with
> SIMDv2 / VFPv4 ISA support".
> 
> <http://topics.mediatek.com/en/products/connectivity/wifi/home-network/wifi-ap/mt7623na/>
> 
> So this patch enables the CPU_SUBTYPE to use this information.
> This should have the nice side effect that LEDE's phase2 builders
> no longer need to built a separate "cortex-a7" target, so this
> should free up some resources.
> 
> Cc: John Crispin <john at phrozen.org>
> Signed-off-by: Christian Lamparter <chunkeey at gmail.com>

sorry took me ages to build/boot an image. merged into my staging tree
just now

	John

> ---
> I don't have any MT7623, so I can't say if this works or not.
> ---
>  target/linux/mediatek/Makefile | 1 +
>  1 file changed, 1 insertion(+)
> 
> diff --git a/target/linux/mediatek/Makefile b/target/linux/mediatek/Makefile
> index 689ba31..e3eecd5 100644
> --- a/target/linux/mediatek/Makefile
> +++ b/target/linux/mediatek/Makefile
> @@ -7,6 +7,7 @@ BOARD:=mediatek
>  BOARDNAME:=MediaTek Ralink ARM
>  FEATURES:=squashfs nand ubifs
>  CPU_TYPE:=cortex-a7
> +CPU_SUBTYPE:=neon-vfpv4
>  MAINTAINER:=John Crispin <john at phrozen.org>
>  
>  KERNEL_PATCHVER:=4.4
> 



More information about the Lede-dev mailing list