mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-28 17:48:58 +00:00
8eab5b2526
Enable and setup multi-cpu for qca8k switch for ipq806x based devices. Rework each DTS to enable the secondary CPU port on QCA8K switch and apply the required values originally set by the OEM in the old swconfig node. In original firmware the first CPU port was always assigned to the WAN port and the secondary CPU port was assigned to the rest of the LAN port. Follow this original implementation using an init.d script. To setup the CPU port ip tools is required. Add additional default package ip-tiny to correctly setup the CPU port. Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
27 lines
652 B
Makefile
27 lines
652 B
Makefile
# Copyright (c) 2013 The Linux Foundation. All rights reserved.
|
|
#
|
|
include $(TOPDIR)/rules.mk
|
|
|
|
ARCH:=arm
|
|
BOARD:=ipq806x
|
|
BOARDNAME:=Qualcomm Atheros IPQ806X
|
|
FEATURES:=squashfs fpu ramdisk
|
|
CPU_TYPE:=cortex-a15
|
|
CPU_SUBTYPE:=neon-vfpv4
|
|
SUBTARGETS:=generic chromium
|
|
|
|
KERNEL_PATCHVER:=6.1
|
|
|
|
KERNELNAME:=zImage Image dtbs
|
|
|
|
include $(INCLUDE_DIR)/target.mk
|
|
DEFAULT_PACKAGES += \
|
|
kmod-leds-gpio kmod-gpio-button-hotplug \
|
|
kmod-ata-ahci kmod-ata-ahci-platform \
|
|
kmod-usb-ohci kmod-usb2 kmod-usb-ledtrig-usbport \
|
|
kmod-phy-qcom-ipq806x-usb kmod-usb3 kmod-usb-dwc3-qcom \
|
|
kmod-ath10k-ct wpad-basic-mbedtls \
|
|
uboot-envtools ip-tiny
|
|
|
|
$(eval $(call BuildTarget))
|