[OpenWrt-Devel] [PATCH 1/2] imx6: kernel: Add support for Toradex Apalis modules

Felix Fietkau nbd at openwrt.org
Wed Nov 11 09:03:30 EST 2015


On 2015-11-11 14:28, Petr Štetiar wrote:
> Tested on Toradex Apalis iMX6 Quad 2GB IT V1.1A module on Ixora board
> with Mikrotik R11e-2HnD and Quectel EC20 Mini PCIe modules.
> 
> Signed-off-by: Petr Štetiar <ynezz at true.cz>
> ---
>  target/linux/imx6/image/Makefile                   |    2 +
>  ...6-Add-support-for-Toradex-Apalis-modules-.patch | 1996 ++++++++++++++++++++
>  ...dd-reset-function-for-reseting-downstream.patch |   79 +
>  target/linux/imx6/profiles/130-toradex.mk          |   27 +
>  4 files changed, 2104 insertions(+)
>  create mode 100644 target/linux/imx6/patches-4.1/200-ARM-dts-imx6-Add-support-for-Toradex-Apalis-modules-.patch
>  create mode 100644 target/linux/imx6/patches-4.1/300-pcie-imx6-add-reset-function-for-reseting-downstream.patch
>  create mode 100644 target/linux/imx6/profiles/130-toradex.mk
> 
> diff --git a/target/linux/imx6/image/Makefile b/target/linux/imx6/image/Makefile
> index d5bab30..0dadf0b 100644
> --- a/target/linux/imx6/image/Makefile
> +++ b/target/linux/imx6/image/Makefile
> @@ -110,6 +110,8 @@ Image/BuildKernel/Template/VENTANA=$(foreach dts,$(shell echo $(VENTANA_DTS)),$(
>  Image/InstallKernel/Template/VENTANA=$(call Image/InstallKernel/Template,$(VENTANA_DTS))
>  Image/ubifs/VENTANA=$(call ubifs_imx_gateworks_ventana)
>  
> +Image/BuildKernel/Template/APALIS=$(foreach dts,$(shell echo $(APALIS_DTS)),$(call Image/BuildKernel/Template,$(dts)))
> +Image/InstallKernel/Template/APALIS=$(call Image/InstallKernel/Template,$(APALIS_DTS))
>  
>  define Image/BuildKernel
>  	$(call Image/BuildKernel/Template/$(PROFILE))
This conflicts with Tim Harvey's work on converting imx6 image building
code to over to the new infrastructure. Please make a new patch based on
a tree with his patch applied.
Also, since you implied in another email that you need kernel-in-rootfs
support, please look into splitting the kernel image filesystem from the
main openwrt root filesystem in order to support squashfs + ubifs overlay.

You can find Tim's patches here:
http://patchwork.ozlabs.org/patch/541142/
http://patchwork.ozlabs.org/patch/541143/

- Felix
_______________________________________________
openwrt-devel mailing list
openwrt-devel at lists.openwrt.org
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel


More information about the openwrt-devel mailing list