imx: add imx8m support
Add imx8m support: - add a cortexa53 subtarget to imx - move ARCH and KERNELNAME to subtargets - account for kernel modules that are not used for cortexa53 No device-specific targets or firmware images are created yet but all imx8m* dtbs will be built. enabling CONFIG_TARGET_ROOTFS_INITRAMFS results in openwrt-imx-cortexa53-imx8m-initramfs-kernel.bin which has been successfully booted on an imx8mm-evk using the following: u-boot=> tftpboot $fdt_addr_r image-imx8mm-evk.dtb && \ tftpboot $kernel_addr_r openwrt-imx-cortexa53-imx8m-initramfs-kernel.bin && \ booti $kernel_addr_r - $fdt_addr_r Signed-off-by: Tim Harvey <tharvey@gateworks.com>
This commit is contained in:
@@ -448,7 +448,7 @@ $(eval $(call KernelPackage,drm-imx-hdmi))
|
||||
define KernelPackage/drm-imx-ldb
|
||||
SUBMENU:=$(VIDEO_MENU)
|
||||
TITLE:=Freescale i.MX LVDS DRM support
|
||||
DEPENDS:=+kmod-backlight kmod-drm-imx
|
||||
DEPENDS:=@(TARGET_imx&&!TARGET_imx_cortexa53) +kmod-backlight kmod-drm-imx
|
||||
KCONFIG:=CONFIG_DRM_IMX_LDB \
|
||||
CONFIG_DRM_PANEL_SIMPLE \
|
||||
CONFIG_DRM_PANEL=y \
|
||||
@@ -1182,7 +1182,7 @@ $(eval $(call KernelPackage,video-dma))
|
||||
|
||||
define KernelPackage/video-coda
|
||||
TITLE:=i.MX VPU support
|
||||
DEPENDS:=@(TARGET_imx&&!TARGET_imx_cortexa7) +kmod-video-mem2mem +kmod-video-dma
|
||||
DEPENDS:=@(TARGET_imx&&TARGET_imx_cortexa9) +kmod-video-mem2mem +kmod-video-dma
|
||||
KCONFIG:= \
|
||||
CONFIG_VIDEO_CODA \
|
||||
CONFIG_VIDEO_IMX_VDOA
|
||||
|
||||
Reference in New Issue
Block a user