mirror of https://github.com/hak5/openwrt-owl.git
cobalt: moved to targets feed
Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 45081owl
parent
04182658ef
commit
22b38f145d
|
@ -1,25 +0,0 @@
|
||||||
#
|
|
||||||
# Copyright (C) 2009-2011 OpenWrt.org
|
|
||||||
#
|
|
||||||
# This is free software, licensed under the GNU General Public License v2.
|
|
||||||
# See /LICENSE for more information.
|
|
||||||
#
|
|
||||||
include $(TOPDIR)/rules.mk
|
|
||||||
|
|
||||||
ARCH:=mipsel
|
|
||||||
BOARD:=cobalt
|
|
||||||
BOARDNAME:=Cobalt Microservers
|
|
||||||
FEATURES:=targz pci ext4 display
|
|
||||||
CPU_TYPE := 5k
|
|
||||||
CPU_CFLAGS_5k := -march=r5000
|
|
||||||
MAINTAINER:=Florian Fainelli <florian@openwrt.org>
|
|
||||||
|
|
||||||
KERNEL_PATCHVER:=3.18
|
|
||||||
|
|
||||||
include $(INCLUDE_DIR)/target.mk
|
|
||||||
|
|
||||||
define Target/Description
|
|
||||||
Build firmware images for Cobalt servers systems (Qube/Qube2/RaQ/RaQ2).
|
|
||||||
endef
|
|
||||||
|
|
||||||
$(eval $(call BuildTarget))
|
|
|
@ -1,17 +0,0 @@
|
||||||
#!/bin/sh
|
|
||||||
# Copyright (C) 2009-2013 OpenWrt.org
|
|
||||||
|
|
||||||
. /lib/functions/leds.sh
|
|
||||||
|
|
||||||
status_led="qube::front"
|
|
||||||
|
|
||||||
set_state() {
|
|
||||||
case "$1" in
|
|
||||||
preinit)
|
|
||||||
status_led_on
|
|
||||||
;;
|
|
||||||
done)
|
|
||||||
status_led_off
|
|
||||||
;;
|
|
||||||
esac
|
|
||||||
}
|
|
|
@ -1,191 +0,0 @@
|
||||||
# CONFIG_32BIT is not set
|
|
||||||
CONFIG_64BIT=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_HIBERNATION_POSSIBLE=y
|
|
||||||
CONFIG_ARCH_SUSPEND_POSSIBLE=y
|
|
||||||
CONFIG_ARCH_WANT_COMPAT_IPC_PARSE_VERSION=y
|
|
||||||
CONFIG_ARCH_WANT_IPC_PARSE_VERSION=y
|
|
||||||
CONFIG_ARCH_WANT_OLD_COMPAT_IPC=y
|
|
||||||
# CONFIG_ARPD is not set
|
|
||||||
CONFIG_ATA=y
|
|
||||||
CONFIG_BINFMT_ELF32=y
|
|
||||||
# CONFIG_BLK_DEV_INITRD is not set
|
|
||||||
CONFIG_BLK_DEV_LOOP=y
|
|
||||||
CONFIG_BLK_DEV_SD=y
|
|
||||||
CONFIG_BLOCK_COMPAT=y
|
|
||||||
CONFIG_CEVT_GT641XX=y
|
|
||||||
CONFIG_CEVT_R4K=y
|
|
||||||
CONFIG_CLKBLD_I8253=y
|
|
||||||
CONFIG_CLKEVT_I8253=y
|
|
||||||
CONFIG_CLKSRC_I8253=y
|
|
||||||
CONFIG_CLONE_BACKWARDS=y
|
|
||||||
CONFIG_CMDLINE="console=ttyS0,115200"
|
|
||||||
CONFIG_CMDLINE_BOOL=y
|
|
||||||
# CONFIG_CMDLINE_OVERRIDE is not set
|
|
||||||
CONFIG_COMPAT=y
|
|
||||||
CONFIG_COMPAT_BRK=y
|
|
||||||
CONFIG_COMPAT_NETLINK_MESSAGES=y
|
|
||||||
CONFIG_CONSOLE_TRANSLATIONS=y
|
|
||||||
CONFIG_CPU_GENERIC_DUMP_TLB=y
|
|
||||||
CONFIG_CPU_HAS_SYNC=y
|
|
||||||
CONFIG_CPU_LITTLE_ENDIAN=y
|
|
||||||
CONFIG_CPU_NEVADA=y
|
|
||||||
CONFIG_CPU_R4K_CACHE_TLB=y
|
|
||||||
CONFIG_CPU_R4K_FPU=y
|
|
||||||
CONFIG_CPU_SUPPORTS_32BIT_KERNEL=y
|
|
||||||
CONFIG_CPU_SUPPORTS_64BIT_KERNEL=y
|
|
||||||
CONFIG_CPU_SUPPORTS_HUGEPAGES=y
|
|
||||||
CONFIG_CSRC_R4K=y
|
|
||||||
CONFIG_DE2104X=y
|
|
||||||
CONFIG_DE2104X_DSL=0
|
|
||||||
# CONFIG_DE4X5 is not set
|
|
||||||
CONFIG_DEVKMEM=y
|
|
||||||
# CONFIG_DM9102 is not set
|
|
||||||
CONFIG_DMA_NONCOHERENT=y
|
|
||||||
CONFIG_DNOTIFY=y
|
|
||||||
CONFIG_DUMMY_CONSOLE=y
|
|
||||||
CONFIG_EARLY_PRINTK=y
|
|
||||||
CONFIG_ENABLE_MUST_CHECK=y
|
|
||||||
CONFIG_FS_POSIX_ACL=y
|
|
||||||
CONFIG_GENERIC_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_GPIO_DEVRES=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_TRANSPARENT_HUGEPAGE=y
|
|
||||||
# CONFIG_HAVE_BOOTMEM_INFO_NODE is not set
|
|
||||||
CONFIG_HAVE_C_RECORDMCOUNT=y
|
|
||||||
CONFIG_HAVE_DEBUG_KMEMLEAK=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_GENERIC_HARDIRQS=y
|
|
||||||
CONFIG_HAVE_IDE=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_HIGH_RES_TIMERS is not set
|
|
||||||
# CONFIG_HUGETLBFS is not set
|
|
||||||
CONFIG_HW_CONSOLE=y
|
|
||||||
CONFIG_HW_HAS_PCI=y
|
|
||||||
CONFIG_HZ=250
|
|
||||||
# CONFIG_HZ_100 is not set
|
|
||||||
CONFIG_HZ_250=y
|
|
||||||
CONFIG_HZ_PERIODIC=y
|
|
||||||
CONFIG_I8253=y
|
|
||||||
CONFIG_I8259=y
|
|
||||||
CONFIG_INPUT=y
|
|
||||||
# CONFIG_INPUT_COBALT_BTNS is not set
|
|
||||||
# CONFIG_IP_ADVANCED_ROUTER is not set
|
|
||||||
# CONFIG_IP_MULTICAST is not set
|
|
||||||
CONFIG_IRQ_CPU=y
|
|
||||||
CONFIG_IRQ_FORCED_THREADING=y
|
|
||||||
CONFIG_IRQ_GT641XX=y
|
|
||||||
CONFIG_IRQ_WORK=y
|
|
||||||
# CONFIG_JFFS2_FS is not set
|
|
||||||
CONFIG_KEXEC=y
|
|
||||||
CONFIG_LEDS_COBALT_QUBE=y
|
|
||||||
CONFIG_LEDS_COBALT_RAQ=y
|
|
||||||
# CONFIG_LEDS_TRIGGER_DEFAULT_ON is not set
|
|
||||||
# CONFIG_LEDS_TRIGGER_TIMER is not set
|
|
||||||
CONFIG_LEGACY_PTYS=y
|
|
||||||
CONFIG_LEGACY_PTY_COUNT=256
|
|
||||||
# CONFIG_MII is not set
|
|
||||||
CONFIG_MIPS=y
|
|
||||||
CONFIG_MIPS32_COMPAT=y
|
|
||||||
CONFIG_MIPS32_N32=y
|
|
||||||
CONFIG_MIPS32_O32=y
|
|
||||||
CONFIG_MIPS_COBALT=y
|
|
||||||
CONFIG_MIPS_EXTERNAL_TIMER=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_MTD_BLOCK is not set
|
|
||||||
# CONFIG_MTD_BLOCK_RO is not set
|
|
||||||
# CONFIG_MTD_CFI is not set
|
|
||||||
# CONFIG_MTD_CFI_INTELEXT is not set
|
|
||||||
# CONFIG_MTD_COMPLEX_MAPPINGS is not set
|
|
||||||
CONFIG_MTD_JEDECPROBE=y
|
|
||||||
CONFIG_MTD_PHYSMAP=y
|
|
||||||
CONFIG_NEED_DMA_MAP_STATE=y
|
|
||||||
CONFIG_NEED_PER_CPU_KM=y
|
|
||||||
CONFIG_NET_TULIP=y
|
|
||||||
CONFIG_NO_GENERIC_PCI_IOPORT_MAP=y
|
|
||||||
CONFIG_PAGEFLAGS_EXTENDED=y
|
|
||||||
# CONFIG_PARTITION_ADVANCED is not set
|
|
||||||
CONFIG_PATA_VIA=y
|
|
||||||
CONFIG_PCI=y
|
|
||||||
CONFIG_PCI_DISABLE_COMMON_QUIRKS=y
|
|
||||||
CONFIG_PCI_DOMAINS=y
|
|
||||||
CONFIG_PCI_GT64XXX_PCI0=y
|
|
||||||
CONFIG_PERF_USE_VMALLOC=y
|
|
||||||
CONFIG_PHYS_ADDR_T_64BIT=y
|
|
||||||
# CONFIG_PREEMPT_RCU is not set
|
|
||||||
CONFIG_PROC_PAGE_MONITOR=y
|
|
||||||
CONFIG_RAID_ATTRS=y
|
|
||||||
# CONFIG_RCU_STALL_COMMON is not set
|
|
||||||
CONFIG_RELAY=y
|
|
||||||
CONFIG_RTC_CLASS=y
|
|
||||||
CONFIG_RTC_INTF_DEV_UIE_EMUL=y
|
|
||||||
CONFIG_SATA_PMP=y
|
|
||||||
CONFIG_SCSI=y
|
|
||||||
# CONFIG_SCSI_LOWLEVEL is not set
|
|
||||||
# CONFIG_SCSI_MULTI_LUN is not set
|
|
||||||
CONFIG_SECCOMP=y
|
|
||||||
CONFIG_SERIAL_8250_NR_UARTS=4
|
|
||||||
CONFIG_SERIAL_8250_RUNTIME_UARTS=4
|
|
||||||
# CONFIG_SLAB is not set
|
|
||||||
CONFIG_SLUB=y
|
|
||||||
CONFIG_SYSVIPC_COMPAT=y
|
|
||||||
CONFIG_SYS_HAS_CPU_NEVADA=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_HUGETLBFS=y
|
|
||||||
CONFIG_SYS_SUPPORTS_LITTLE_ENDIAN=y
|
|
||||||
CONFIG_TICK_CPU_ACCOUNTING=y
|
|
||||||
CONFIG_TMPFS_POSIX_ACL=y
|
|
||||||
CONFIG_TULIP=y
|
|
||||||
CONFIG_TULIP_MMIO=y
|
|
||||||
CONFIG_TULIP_MWI=y
|
|
||||||
CONFIG_TULIP_NAPI=y
|
|
||||||
CONFIG_TULIP_NAPI_HW_MITIGATION=y
|
|
||||||
CONFIG_UIDGID_CONVERTED=y
|
|
||||||
# CONFIG_ULI526X is not set
|
|
||||||
CONFIG_USB_ARCH_HAS_XHCI=y
|
|
||||||
CONFIG_USB_SUPPORT=y
|
|
||||||
# CONFIG_VGA_CONSOLE is not set
|
|
||||||
# CONFIG_VLAN_8021Q is not set
|
|
||||||
CONFIG_VM_EVENT_COUNTERS=y
|
|
||||||
CONFIG_VT=y
|
|
||||||
CONFIG_VT_CONSOLE=y
|
|
||||||
CONFIG_VT_HW_CONSOLE_BINDING=y
|
|
||||||
# CONFIG_WATCHDOG is not set
|
|
||||||
# CONFIG_WINBOND_840 is not set
|
|
||||||
CONFIG_ZONE_DMA_FLAG=0
|
|
|
@ -1,23 +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
|
|
||||||
cp $(KDIR)/vmlinux.elf $(BIN_DIR)/$(IMG_PREFIX)-vmlinux.elf
|
|
||||||
endef
|
|
||||||
|
|
||||||
define Image/Build/squashfs
|
|
||||||
$(call prepare_generic_squashfs,$(KDIR)/root.squashfs)
|
|
||||||
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))
|
|
|
@ -1,36 +0,0 @@
|
||||||
#
|
|
||||||
# Copyright (C) 2012 OpenWrt.org
|
|
||||||
#
|
|
||||||
# This is free software, licensed under the GNU General Public License v2.
|
|
||||||
# See /LICENSE for more information.
|
|
||||||
#
|
|
||||||
|
|
||||||
define KernelPackage/fb-cobalt
|
|
||||||
SUBMENU:=$(VIDEO_MENU)
|
|
||||||
TITLE:=Cobalt framebuffer support
|
|
||||||
DEPENDS:=@TARGET_cobalt +kmod-fb
|
|
||||||
KCONFIG:=CONFIG_FB_COBALT
|
|
||||||
FILES:=$(LINUX_DIR)/drivers/video/fbdev/cobalt_lcdfb.ko
|
|
||||||
AUTOLOAD:=$(call AutoLoad,50,cobalt_lcdfb)
|
|
||||||
endef
|
|
||||||
|
|
||||||
define KernelPackage/fb-cobalt/descriptione
|
|
||||||
Kernel module for the Cobalt Microservers framebuffer
|
|
||||||
endef
|
|
||||||
|
|
||||||
$(eval $(call KernelPackage,fb-cobalt))
|
|
||||||
|
|
||||||
define KernelPackage/cobalt-btns
|
|
||||||
SUBMENU:=$(OTHER_MENU)
|
|
||||||
TITLE:=Cobalt buttons support
|
|
||||||
DEPENDS:=@TARGET_cobalt +kmod-input-evdev +kmod-input-polldev
|
|
||||||
KCONFIG:=CONFIG_INPUT_COBALT_BTNS
|
|
||||||
FILES:=$(LINUX_DIR)/drivers/input/misc/cobalt_btns.ko
|
|
||||||
AUTOLOAD:=$(call AutoLoad,62,cobalt_btns)
|
|
||||||
endef
|
|
||||||
|
|
||||||
define KernelPackage/cobalt-btns/description
|
|
||||||
Kernel module for the Cobalt Microservers buttons
|
|
||||||
endef
|
|
||||||
|
|
||||||
$(eval $(call KernelPackage,cobalt-btns))
|
|
Loading…
Reference in New Issue