mirror of
https://github.com/openwrt/openwrt.git
synced 2025-01-12 07:53:07 +00:00
ae8bf1a26e
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>
16 lines
377 B
Makefile
16 lines
377 B
Makefile
define Device/Default
|
|
PROFILES := Default
|
|
FILESYSTEMS := squashfs ubifs ext4
|
|
DEVICE_DTS_DIR := $(DTS_DIR)/freescale
|
|
KERNEL_INSTALL := 1
|
|
KERNEL_NAME := Image
|
|
KERNEL := kernel-bin
|
|
endef
|
|
|
|
define Device/imx8m
|
|
DEVICE_VENDOR := NXP
|
|
DEVICE_MODEL := i.MX8M
|
|
DEVICE_DTS := $(basename $(notdir $(wildcard $(DTS_DIR)/freescale/imx8m*.dts)))
|
|
endef
|
|
TARGET_DEVICES += imx8m
|