From 137b1ac5e8df6110a9ecea8a505ff61b64203ced Mon Sep 17 00:00:00 2001 From: John Crispin Date: Wed, 15 Jun 2016 20:28:21 +0200 Subject: netlogic: R.I.P I asked florian and he is ok with this. i think no one apart from him has access to these boards. Signed-off-by: John Crispin --- target/linux/netlogic/Makefile | 20 -- .../netlogic/base-files/etc/board.d/02_network | 24 --- target/linux/netlogic/base-files/lib/netlogic.sh | 48 ----- .../base-files/lib/preinit/03_do_netlogic.sh | 9 - target/linux/netlogic/config-default | 207 --------------------- target/linux/netlogic/image/Makefile | 26 --- target/linux/netlogic/xlp/config-default | 7 - target/linux/netlogic/xlp/target.mk | 10 - target/linux/netlogic/xlr/config-default | 12 -- target/linux/netlogic/xlr/target.mk | 7 - 10 files changed, 370 deletions(-) delete mode 100644 target/linux/netlogic/Makefile delete mode 100755 target/linux/netlogic/base-files/etc/board.d/02_network delete mode 100755 target/linux/netlogic/base-files/lib/netlogic.sh delete mode 100755 target/linux/netlogic/base-files/lib/preinit/03_do_netlogic.sh delete mode 100644 target/linux/netlogic/config-default delete mode 100644 target/linux/netlogic/image/Makefile delete mode 100644 target/linux/netlogic/xlp/config-default delete mode 100644 target/linux/netlogic/xlp/target.mk delete mode 100644 target/linux/netlogic/xlr/config-default delete mode 100644 target/linux/netlogic/xlr/target.mk diff --git a/target/linux/netlogic/Makefile b/target/linux/netlogic/Makefile deleted file mode 100644 index 5e15fff390..0000000000 --- a/target/linux/netlogic/Makefile +++ /dev/null @@ -1,20 +0,0 @@ -# -# Copyright (C) 2014 OpenWrt.org -# -# This is free software, licensed under the GNU General Public License v2. -# See /LICENSE for more information. -# -include $(TOPDIR)/rules.mk - -ARCH:=mips64 -BOARD:=netlogic -BOARDNAME:=Broadcom/Netlogic XLP/XLR -FEATURES:=squashfs jffs2 ext4 pci usb -MAINTAINER:=Florian Fainelli -SUBTARGETS:=xlp xlr - -KERNEL_PATCHVER:=3.18 - -include $(INCLUDE_DIR)/target.mk - -$(eval $(call BuildTarget)) diff --git a/target/linux/netlogic/base-files/etc/board.d/02_network b/target/linux/netlogic/base-files/etc/board.d/02_network deleted file mode 100755 index fca8d9662a..0000000000 --- a/target/linux/netlogic/base-files/etc/board.d/02_network +++ /dev/null @@ -1,24 +0,0 @@ -#!/bin/sh -# -# Copyright (C) 2014-2015 OpenWrt.org -# - -. /lib/functions/uci-defaults.sh -. /lib/netlogic.sh - -board_config_update - -case "$board_name" in -"xlp-evp" |\ -"xlp-fvp" |\ -"xlp-gvp" |\ -"xlp-svp" |\ -*) - ucidef_set_interface_lan "eth0" - ;; - -esac - -board_config_flush - -exit 0 diff --git a/target/linux/netlogic/base-files/lib/netlogic.sh b/target/linux/netlogic/base-files/lib/netlogic.sh deleted file mode 100755 index 27b7c4031d..0000000000 --- a/target/linux/netlogic/base-files/lib/netlogic.sh +++ /dev/null @@ -1,48 +0,0 @@ -#!/bin/sh -# -# Copyright (C) 2014 OpenWrt.org -# - -NETLOGIC_BOARD_NAME= -NETLOGIC_MODEL= - -netlogic_board_detect() { - local machine - local name - - machine=$(awk 'BEGIN{FS="[ \t:/]+"} /machine/ {print $2}' /proc/cpuinfo) - - case "$machine" in - *"netlogic,XLP-EVP") - name="xlp-evp" - ;; - *"netlogic,XLP-FVP") - name="xlp-fvp" - ;; - *"netlogic,XLP-GVP") - name="xlp-gvp" - ;; - *"netlogic,XLP-SVP") - name="xlp-svp" - ;; - esac - - [ -z "$name" ] && name="unknown" - - [ -z "$NETLOGIC_BOARD_NAME" ] && NETLOGIC_BOARD_NAME="$name" - [ -z "$NETLOGIC_MODEL" ] && NETLOGIC_MODEL="$machine" - - [ -e "/tmp/sysinfo/" ] || mkdir -p "/tmp/sysinfo/" - - echo "$NETLOGIC_BOARD_NAME" > /tmp/sysinfo/board_name - echo "$NETLOGIC_MODEL" > /tmp/sysinfo/model -} - -netlogic_board_name() { - local name - - [ -f /tmp/sysinfo/board_name ] && name=$(cat /tmp/sysinfo/board_name) - [ -z "$name" ] && name="unknown" - - echo "$name" -} diff --git a/target/linux/netlogic/base-files/lib/preinit/03_do_netlogic.sh b/target/linux/netlogic/base-files/lib/preinit/03_do_netlogic.sh deleted file mode 100755 index 712a231734..0000000000 --- a/target/linux/netlogic/base-files/lib/preinit/03_do_netlogic.sh +++ /dev/null @@ -1,9 +0,0 @@ -#!/bin/sh - -do_netlogic() { - . /lib/netlogic.sh - - netlogic_board_detect -} - -boot_hook_add preinit_main do_netlogic diff --git a/target/linux/netlogic/config-default b/target/linux/netlogic/config-default deleted file mode 100644 index ded67ef7c6..0000000000 --- a/target/linux/netlogic/config-default +++ /dev/null @@ -1,207 +0,0 @@ -# CONFIG_32BIT is not set -CONFIG_64BIT=y -CONFIG_64BIT_PHYS_ADDR=y -CONFIG_ARCH_BINFMT_ELF_RANDOMIZE_PIE=y -CONFIG_ARCH_DISCARD_MEMBLOCK=y -CONFIG_ARCH_DMA_ADDR_T_64BIT=y -CONFIG_ARCH_HAS_ATOMIC64_DEC_IF_POSITIVE=y -CONFIG_ARCH_HAVE_CUSTOM_GPIO_H=y -CONFIG_ARCH_MIGHT_HAVE_PC_PARPORT=y -CONFIG_ARCH_MIGHT_HAVE_PC_SERIO=y -CONFIG_ARCH_PHYS_ADDR_T_64BIT=y -CONFIG_ARCH_WANT_COMPAT_IPC_PARSE_VERSION=y -CONFIG_ARCH_WANT_IPC_PARSE_VERSION=y -CONFIG_ARCH_WANT_OLD_COMPAT_IPC=y -CONFIG_BINFMT_ELF32=y -CONFIG_BINFMT_MISC=y -CONFIG_BLK_DEV_LOOP=y -CONFIG_BLK_DEV_RAM=y -CONFIG_BLK_DEV_RAM_COUNT=16 -CONFIG_BLK_DEV_RAM_SIZE=65536 -CONFIG_BLOCK_COMPAT=y -CONFIG_BOOT_ELF32=y -CONFIG_CEVT_R4K=y -CONFIG_CLONE_BACKWARDS=y -CONFIG_COMPAT=y -CONFIG_COMPAT_NETLINK_MESSAGES=y -CONFIG_CPU_BIG_ENDIAN=y -CONFIG_CPU_GENERIC_DUMP_TLB=y -CONFIG_CPU_HAS_PREFETCH=y -CONFIG_CPU_HAS_SYNC=y -# CONFIG_CPU_LITTLE_ENDIAN is not set -CONFIG_CPU_MIPSR2=y -CONFIG_CPU_R4K_CACHE_TLB=y -CONFIG_CPU_R4K_FPU=y -CONFIG_CPU_RMAP=y -CONFIG_CPU_SUPPORTS_32BIT_KERNEL=y -CONFIG_CPU_SUPPORTS_64BIT_KERNEL=y -CONFIG_CPU_SUPPORTS_HIGHMEM=y -CONFIG_CSRC_R4K=y -# CONFIG_CYCLADES is not set -CONFIG_DEFAULT_MMAP_MIN_ADDR=65536 -CONFIG_DMA_COHERENT=y -CONFIG_DTC=y -CONFIG_E1000E=y -CONFIG_EARLY_PRINTK=y -CONFIG_FS_POSIX_ACL=y -CONFIG_GENERIC_CLOCKEVENTS=y -CONFIG_GENERIC_CLOCKEVENTS_BUILD=y -CONFIG_GENERIC_CMOS_UPDATE=y -CONFIG_GENERIC_IO=y -CONFIG_GENERIC_IRQ_SHOW=y -CONFIG_GENERIC_PCI_IOMAP=y -CONFIG_GENERIC_SMP_IDLE_THREAD=y -CONFIG_HARDWARE_WATCHPOINTS=y -CONFIG_HAS_DMA=y -CONFIG_HAS_IOMEM=y -CONFIG_HAS_IOPORT=y -CONFIG_HAVE_64BIT_ALIGNED_ACCESS=y -CONFIG_HAVE_ARCH_JUMP_LABEL=y -CONFIG_HAVE_ARCH_KGDB=y -CONFIG_HAVE_ARCH_TRACEHOOK=y -# CONFIG_HAVE_BOOTMEM_INFO_NODE is not set -CONFIG_HAVE_CC_STACKPROTECTOR=y -CONFIG_HAVE_CONTEXT_TRACKING=y -CONFIG_HAVE_C_RECORDMCOUNT=y -CONFIG_HAVE_DEBUG_KMEMLEAK=y -CONFIG_HAVE_DEBUG_STACKOVERFLOW=y -CONFIG_HAVE_DMA_API_DEBUG=y -CONFIG_HAVE_DMA_ATTRS=y -CONFIG_HAVE_DYNAMIC_FTRACE=y -CONFIG_HAVE_FTRACE_MCOUNT_RECORD=y -CONFIG_HAVE_FUNCTION_GRAPH_TRACER=y -CONFIG_HAVE_FUNCTION_TRACER=y -CONFIG_HAVE_FUNCTION_TRACE_MCOUNT_TEST=y -CONFIG_HAVE_GENERIC_DMA_COHERENT=y -CONFIG_HAVE_IDE=y -CONFIG_HAVE_KERNEL_BZIP2=y -CONFIG_HAVE_KERNEL_GZIP=y -CONFIG_HAVE_KERNEL_LZ4=y -CONFIG_HAVE_KERNEL_LZMA=y -CONFIG_HAVE_KERNEL_LZO=y -CONFIG_HAVE_KERNEL_XZ=y -CONFIG_HAVE_MEMBLOCK=y -CONFIG_HAVE_MEMBLOCK_NODE_MAP=y -CONFIG_HAVE_MOD_ARCH_SPECIFIC=y -CONFIG_HAVE_NET_DSA=y -CONFIG_HAVE_OPROFILE=y -CONFIG_HAVE_PERF_EVENTS=y -CONFIG_HAVE_SYSCALL_TRACEPOINTS=y -CONFIG_HAVE_VIRT_CPU_ACCOUNTING_GEN=y -CONFIG_HW_HAS_PCI=y -CONFIG_I2C=y -CONFIG_I2C_BOARDINFO=y -CONFIG_I2C_CHARDEV=y -CONFIG_I2C_OCORES=y -CONFIG_INITRAMFS_SOURCE="" -CONFIG_IOMMU_HELPER=y -CONFIG_IRQCHIP=y -CONFIG_IRQ_CPU=y -CONFIG_IRQ_DOMAIN=y -CONFIG_IRQ_FORCED_THREADING=y -CONFIG_IRQ_WORK=y -# CONFIG_ISI is not set -CONFIG_MIPS=y -CONFIG_MIPS32_COMPAT=y -CONFIG_MIPS32_N32=y -CONFIG_MIPS32_O32=y -# CONFIG_MIPS_HUGE_TLB_SUPPORT is not set -CONFIG_MIPS_L1_CACHE_SHIFT=5 -# CONFIG_MIPS_MACHINE is not set -CONFIG_MIPS_MT_DISABLED=y -CONFIG_MODULES_USE_ELF_REL=y -CONFIG_MODULES_USE_ELF_RELA=y -# CONFIG_MOXA_INTELLIO is not set -# CONFIG_MOXA_SMARTIO is not set -CONFIG_MTD_CFI_ADV_OPTIONS=y -CONFIG_MTD_CFI_GEOMETRY=y -CONFIG_MTD_CMDLINE_PARTS=y -CONFIG_MTD_PHYSMAP=y -CONFIG_NEED_SG_DMA_LENGTH=y -CONFIG_NET_FLOW_LIMIT=y -CONFIG_NLM_COMMON=y -# CONFIG_NLM_MULTINODE is not set -CONFIG_NO_GENERIC_PCI_IOPORT_MAP=y -CONFIG_NO_HZ=y -CONFIG_NO_HZ_COMMON=y -CONFIG_NO_HZ_IDLE=y -CONFIG_NR_CPUS=32 -CONFIG_NR_CPUS_DEFAULT_32=y -# CONFIG_N_HDLC is not set -CONFIG_OF=y -CONFIG_OF_ADDRESS=y -CONFIG_OF_EARLY_FLATTREE=y -CONFIG_OF_FLATTREE=y -CONFIG_OF_IRQ=y -CONFIG_OF_MTD=y -CONFIG_OF_NET=y -CONFIG_OF_PCI=y -CONFIG_OF_PCI_IRQ=y -CONFIG_PAGEFLAGS_EXTENDED=y -CONFIG_PCI=y -CONFIG_PCI_DEBUG=y -CONFIG_PCI_DOMAINS=y -CONFIG_PCI_REALLOC_ENABLE_AUTO=y -CONFIG_PCI_STUB=y -CONFIG_PERF_USE_VMALLOC=y -CONFIG_PHYS_ADDR_T_64BIT=y -CONFIG_PM=y -# CONFIG_PM_ADVANCED_DEBUG is not set -CONFIG_PM_DEBUG=y -CONFIG_PM_RUNTIME=y -CONFIG_POSIX_MQUEUE=y -CONFIG_POSIX_MQUEUE_SYSCTL=y -CONFIG_PPS=y -# CONFIG_PREEMPT_RCU is not set -CONFIG_PROC_KCORE=y -CONFIG_PTP_1588_CLOCK=y -CONFIG_RCU_STALL_COMMON=y -CONFIG_RFS_ACCEL=y -# CONFIG_ROCKETPORT is not set -CONFIG_RPS=y -# CONFIG_SCSI_DMA is not set -CONFIG_SERIAL_8250_EXTENDED=y -CONFIG_SERIAL_8250_MANY_PORTS=y -CONFIG_SERIAL_8250_NR_UARTS=48 -CONFIG_SERIAL_8250_RSA=y -CONFIG_SERIAL_8250_SHARE_IRQ=y -CONFIG_SERIAL_NONSTANDARD=y -CONFIG_SERIAL_OF_PLATFORM=y -CONFIG_SMP=y -CONFIG_STOP_MACHINE=y -CONFIG_SWIOTLB=y -# CONFIG_SYNCLINKMP is not set -# CONFIG_SYNCLINK_GT is not set -CONFIG_SYNC_R4K=y -CONFIG_SYSV68_PARTITION=y -CONFIG_SYSVIPC_COMPAT=y -CONFIG_SYS_HAS_EARLY_PRINTK=y -CONFIG_SYS_SUPPORTS_32BIT_KERNEL=y -CONFIG_SYS_SUPPORTS_64BIT_KERNEL=y -CONFIG_SYS_SUPPORTS_ARBIT_HZ=y -CONFIG_SYS_SUPPORTS_BIG_ENDIAN=y -CONFIG_SYS_SUPPORTS_HIGHMEM=y -CONFIG_SYS_SUPPORTS_LITTLE_ENDIAN=y -CONFIG_SYS_SUPPORTS_SMP=y -CONFIG_SYS_SUPPORTS_ZBOOT=y -CONFIG_SYS_SUPPORTS_ZBOOT_UART16550=y -CONFIG_THERMAL=y -# CONFIG_THERMAL_DEFAULT_GOV_FAIR_SHARE is not set -CONFIG_THERMAL_DEFAULT_GOV_STEP_WISE=y -# CONFIG_THERMAL_DEFAULT_GOV_USER_SPACE is not set -# CONFIG_THERMAL_EMULATION is not set -# CONFIG_THERMAL_GOV_FAIR_SHARE is not set -CONFIG_THERMAL_GOV_STEP_WISE=y -# CONFIG_THERMAL_GOV_USER_SPACE is not set -CONFIG_THERMAL_OF=y -CONFIG_TICK_CPU_ACCOUNTING=y -CONFIG_TIMER_STATS=y -CONFIG_TMPFS_POSIX_ACL=y -CONFIG_TREE_RCU=y -CONFIG_USB_SUPPORT=y -CONFIG_USE_OF=y -CONFIG_WEAK_ORDERING=y -CONFIG_WEAK_REORDERING_BEYOND_LLSC=y -CONFIG_XPS=y -CONFIG_ZONE_DMA32=y -CONFIG_ZONE_DMA_FLAG=0 diff --git a/target/linux/netlogic/image/Makefile b/target/linux/netlogic/image/Makefile deleted file mode 100644 index 9541f6a905..0000000000 --- a/target/linux/netlogic/image/Makefile +++ /dev/null @@ -1,26 +0,0 @@ -# -# Copyright (C) 2009-2010 OpenWrt.org -# -# This is free software, licensed under the GNU General Public License v2. -# See /LICENSE for more information. -# -include $(TOPDIR)/rules.mk -include $(INCLUDE_DIR)/image.mk - -define Image/BuildKernel -endef - -define Image/Build/squashfs - $(call prepare_generic_squashfs,$(KDIR)/root.squashfs) -endef - -define Image/Build/Initramfs - cp $(KDIR)/vmlinux-initramfs.elf $(BIN_DIR)/$(IMG_PREFIX)-vmlinux-initramfs.elf -endef - -define Image/Build - $(call Image/Build/$(1)) - dd if=$(KDIR)/root.$(1) of=$(BIN_DIR)/$(IMG_PREFIX)-root.$(1) bs=128k conv=sync -endef - -$(eval $(call BuildImage)) diff --git a/target/linux/netlogic/xlp/config-default b/target/linux/netlogic/xlp/config-default deleted file mode 100644 index eee7fb49a6..0000000000 --- a/target/linux/netlogic/xlp/config-default +++ /dev/null @@ -1,7 +0,0 @@ -CONFIG_CPU_XLP=y -CONFIG_DT_XLP_EVP=y -CONFIG_DT_XLP_FVP=y -CONFIG_DT_XLP_GVP=y -CONFIG_DT_XLP_SVP=y -CONFIG_NLM_XLP_BOARD=y -CONFIG_SYS_HAS_CPU_XLP=y diff --git a/target/linux/netlogic/xlp/target.mk b/target/linux/netlogic/xlp/target.mk deleted file mode 100644 index 44c4460bb1..0000000000 --- a/target/linux/netlogic/xlp/target.mk +++ /dev/null @@ -1,10 +0,0 @@ -CPU_TYPE:=xlp -CPU_FLAGS_xlp:=-march=xlp -mabi=64 -BOARDNAME:=xlp - -DEFAULT_PACKAGES += kmod-usb-core kmod-usb2 kmod-usb2-pci kmod-usb3 \ - kmod-usb-net kmod-usb-net-smsc95xx - -define Target/Description - Build firmware images for Broadcom/Netlogic XLP boards. -endef diff --git a/target/linux/netlogic/xlr/config-default b/target/linux/netlogic/xlr/config-default deleted file mode 100644 index daa1c91ff3..0000000000 --- a/target/linux/netlogic/xlr/config-default +++ /dev/null @@ -1,12 +0,0 @@ -CONFIG_CPU_SUPPORTS_HUGEPAGES=y -CONFIG_CPU_XLR=y -CONFIG_HAVE_ARCH_TRANSPARENT_HUGEPAGE=y -# CONFIG_HUGETLBFS is not set -CONFIG_I2C_XLR=y -CONFIG_MDIO_BOARDINFO=y -CONFIG_NETLOGIC_XLR_NET=y -CONFIG_NLM_XLR_BOARD=y -CONFIG_PHYLIB=y -CONFIG_SWAP_IO_SPACE=y -CONFIG_SYS_HAS_CPU_XLR=y -CONFIG_SYS_SUPPORTS_HUGETLBFS=y diff --git a/target/linux/netlogic/xlr/target.mk b/target/linux/netlogic/xlr/target.mk deleted file mode 100644 index e786598842..0000000000 --- a/target/linux/netlogic/xlr/target.mk +++ /dev/null @@ -1,7 +0,0 @@ -CPU_TYPE:=xlr -CPU_FLAGS_xlr:=-march=xlr -mabi=64 -BOARDNAME:=xlr - -define Target/Description - Build firmware images for Broadcom/Netlogic XLR boards. -endef -- cgit v1.2.3