[PATCH] airoha: Add new target platform

Felix Fietkau nbd at nbd.name
Tue Jul 26 01:39:09 PDT 2022


Hi Daniel,

On 26.07.22 08:46, Daniel Danzberger wrote:
> Airoha is a new ARM platform based on Cortex A7 which has recently been
> merged into linux-next.
> 
> This support is based mostly on those linux-next commits backported
> for kernel 5.15.
> 
> Patches:
> 1 - platform support = linux-next
> 2 - clock driver = linux-next
> 3 - gpio driver = linux-next
> 4 - linux,usable-memory-range dts support = linux-next
> 5 - mtd spinand driver
> 6 - spi driver
> 7 - pci driver (kconfig only, uses mediatek PCI) = linux-next
> 
> Still missing:
> - Ethernet driver
> - Sysupgrade support
> 
> A.t.m there exists one subtarget EN7523 with only one evaluation
> board.
> 
> The initramfs can be run with the following commands from u-boot:
> -
> u-boot> setenv bootfile \
> 	openwrt-airoha-en7523-airoha_en7523-evb-initramfs-kernel.bin
> u-boot> tftpboot
> u-boot> bootm 0x81800000
> -
> 
> Signed-off-by: Daniel Danzberger<daniel at dd-wrt.com>
On a first glance, the target looks mostly fine to me.

I have some minor requests:
- please drop the use of a subtarget for now, we can always add it back 
when we want to add a second one later.
- on the same note, please fold image/en7523.mk into image/Makefile
- please add source-only to FEATURES in the target makefile - i don't 
think we should run this target through buildbot just yet.

Thanks,

- Felix



More information about the openwrt-devel mailing list