imx: add imx8m support
authorTim Harvey <tharvey@gateworks.com>
Mon, 8 Jan 2024 22:04:15 +0000 (14:04 -0800)
committerRobert Marko <robimarko@gmail.com>
Sun, 24 Mar 2024 20:19:10 +0000 (21:19 +0100)
commitae8bf1a26e15f89d17deca031253c3261b3a6c36
tree43e125b332ce778fe1521eeb7c777bb1b25c80c0
parent8db83d4cc0fb4544ddec5fb50de73b8b4f64fb3d
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>
package/kernel/linux/modules/crypto.mk
package/kernel/linux/modules/video.mk
target/linux/imx/Makefile
target/linux/imx/cortexa53/config-default [new file with mode: 0644]
target/linux/imx/cortexa53/target.mk [new file with mode: 0644]
target/linux/imx/cortexa7/target.mk
target/linux/imx/cortexa9/target.mk
target/linux/imx/image/cortexa53.mk [new file with mode: 0644]