Skip to content

Commit 88a404a

Browse files
committed
microchipsw: add support for Microchip LAN969x switches
Add a new microchipsw target aimed add supporting Microchip switch SoC-s. Start by supporting LAN969x SoC-s as the first subtarget. Signed-off-by: Robert Marko <[email protected]>
1 parent 5e3a602 commit 88a404a

File tree

119 files changed

+36377
-0
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

119 files changed

+36377
-0
lines changed

.github/labeler.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -126,6 +126,12 @@
126126
- "target/linux/mediatek/**"
127127
- "package/boot/arm-trusted-firmware-mediatek/**"
128128
- "package/boot/uboot-mediatek/**"
129+
"target/microchipsw":
130+
- changed-files:
131+
- any-glob-to-any-file:
132+
- "target/linux/microchipsw/**"
133+
- "package/boot/arm-trusted-firmware-microchipsw/**"
134+
- "package/boot/uboot-microchipsw/**"
129135
"target/mpc85xx":
130136
- changed-files:
131137
- any-glob-to-any-file:

config/Config-images.in

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ menu "Target Images"
1818
default TARGET_INITRAMFS_COMPRESSION_LZMA if TARGET_mpc85xx
1919
default TARGET_INITRAMFS_COMPRESSION_LZMA if TARGET_ramips
2020
default TARGET_INITRAMFS_COMPRESSION_ZSTD if TARGET_qualcommax
21+
default TARGET_INITRAMFS_COMPRESSION_ZSTD if TARGET_microchipsw
2122
default TARGET_INITRAMFS_COMPRESSION_XZ if USES_SEPARATE_INITRAMFS
2223
default TARGET_INITRAMFS_COMPRESSION_NONE
2324
depends on TARGET_ROOTFS_INITRAMFS

target/linux/microchipsw/Makefile

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
include $(TOPDIR)/rules.mk
2+
3+
ARCH:=aarch64
4+
BOARD:=microchipsw
5+
BOARDNAME:=Microchip switches
6+
FEATURES:=squashfs ramdisk fpu rtc emmc source-only
7+
KERNELNAME:=Image
8+
CPU_TYPE:=cortex-a53
9+
SUBTARGETS:=lan969x
10+
11+
KERNEL_PATCHVER:=6.12
12+
13+
include $(INCLUDE_DIR)/target.mk
14+
DEFAULT_PACKAGES += \
15+
kmod-gpio-button-hotplug \
16+
kmod-leds-gpio \
17+
uboot-envtools \
18+
ethtool-full
19+
20+
$(eval $(call BuildTarget))

0 commit comments

Comments
 (0)