From 81f87466e768e41e481be59611e8ef8d08e5b7a1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jonas=20H=C3=B6glund?= <jonas.hoglund@embeddednation.com> Date: Wed, 16 Mar 2016 10:26:18 +0100 Subject: [PATCH] Refactored arm target --- iopsys-brcm63xx-arm/Config.in | 48 ++++++++++++++++++++- iopsys-brcm63xx-arm/Makefile | 11 +++-- iopsys-brcm63xx-arm/base-files | 1 + iopsys-brcm63xx-arm/config-uClibc-0.9.33.2 | 7 +++ iopsys-brcm63xx-arm/profiles/000-Default.mk | 16 +++++++ 5 files changed, 78 insertions(+), 5 deletions(-) mode change 120000 => 100644 iopsys-brcm63xx-arm/Config.in create mode 120000 iopsys-brcm63xx-arm/base-files create mode 100644 iopsys-brcm63xx-arm/config-uClibc-0.9.33.2 create mode 100644 iopsys-brcm63xx-arm/profiles/000-Default.mk diff --git a/iopsys-brcm63xx-arm/Config.in b/iopsys-brcm63xx-arm/Config.in deleted file mode 120000 index fe352ef4b..000000000 --- a/iopsys-brcm63xx-arm/Config.in +++ /dev/null @@ -1 +0,0 @@ -../iopsys-brcm63xx-mips/Config.in \ No newline at end of file diff --git a/iopsys-brcm63xx-arm/Config.in b/iopsys-brcm63xx-arm/Config.in new file mode 100644 index 000000000..6b4319af8 --- /dev/null +++ b/iopsys-brcm63xx-arm/Config.in @@ -0,0 +1,47 @@ + +comment "Target options" + +# target config +config TARGET_iopsys_brcm63xx_arm + bool + select BRCM_SDK_VER_416040 + select BCM_ENDPOINT_MODULE + select BCM_I2C + +config KERNEL_GIT_CLONE_URI + string + default "git@private.inteno.se:bcmlinux.git" if TARGET_iopsys_brcm63xx_arm + +config KERNEL_GIT_BRANCH + string + default "bcm_4.16L.04" if TARGET_iopsys_brcm63xx_arm + +config BCM_KERNEL_PROFILE + string + default "963138BGWV" if TARGET_iopsys_brcm63xx_arm + +config BCM_CHIP_ID + string + default "63138" if TARGET_iopsys_brcm63xx_arm + +# brcm has it's own brctl +config BUSYBOX_DEFAULT_BRCTL + bool + default n if TARGET_iopsys_brcm63xx_arm + +# brcm has it's own ifconfig +config BUSYBOX_DEFAULT_IFCONFIG + bool + default n if TARGET_iopsys_brcm63xx_arm + +config BCM_CFE_PASSWORD + string + default "" if TARGET_iopsys_brcm63xx_arm + +config BCM_BLNAND + string + default "0" if TARGET_iopsys_brcm63xx_arm + + + + diff --git a/iopsys-brcm63xx-arm/Makefile b/iopsys-brcm63xx-arm/Makefile index 6edac439c..9eec82f58 100644 --- a/iopsys-brcm63xx-arm/Makefile +++ b/iopsys-brcm63xx-arm/Makefile @@ -1,5 +1,5 @@ # -# Copyright (C) 2006-2009 OpenWrt.org +# Copyright (C) Inteno Broadband AB # # This is free software, licensed under the GNU General Public License v2. # See /LICENSE for more information. @@ -8,12 +8,13 @@ include $(TOPDIR)/rules.mk ARCH:=arm BOARD:=iopsys-brcm63xx-arm -BOARDNAME:=Broadcom BCM63xx_ref_nand_arm -FEATURES:= -LINUX_VERSION:=3.3.8 +BOARDNAME:=Iopsys Broadcom ARM +FEATURES:=usb jffs2_nand nand ubifs MAINTAINER:=Benjamin Larsson <benjamin.larsson@inteno.se> CFLAGS:=-Os -pipe -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=softfp +LINUX_VERSION:=3.4.11 + include $(INCLUDE_DIR)/target.mk define Target/Description @@ -21,4 +22,6 @@ define Target/Description based on the Broadcom SDK for arm endef +DEFAULT_PACKAGES += bcmkernel bcmhotproxy brcm_fw_tool brcminfo mcpd + $(eval $(call BuildTarget)) diff --git a/iopsys-brcm63xx-arm/base-files b/iopsys-brcm63xx-arm/base-files new file mode 120000 index 000000000..f612bcb24 --- /dev/null +++ b/iopsys-brcm63xx-arm/base-files @@ -0,0 +1 @@ +../iopsys-brcm63xx-mips/base-files \ No newline at end of file diff --git a/iopsys-brcm63xx-arm/config-uClibc-0.9.33.2 b/iopsys-brcm63xx-arm/config-uClibc-0.9.33.2 new file mode 100644 index 000000000..b958c1ef6 --- /dev/null +++ b/iopsys-brcm63xx-arm/config-uClibc-0.9.33.2 @@ -0,0 +1,7 @@ +UCLIBC_HAS_LOCALE=y +# UCLIBC_BUILD_ALL_LOCALE is not set +UCLIBC_BUILD_MINIMAL_LOCALE=y +# UCLIBC_PREGENERATED_LOCALE_DATA is not set +UCLIBC_BUILD_MINIMAL_LOCALES="en_US" +UCLIBC_HAS_XLOCALE=y + diff --git a/iopsys-brcm63xx-arm/profiles/000-Default.mk b/iopsys-brcm63xx-arm/profiles/000-Default.mk new file mode 100644 index 000000000..3a04af468 --- /dev/null +++ b/iopsys-brcm63xx-arm/profiles/000-Default.mk @@ -0,0 +1,16 @@ +# +# Copyright (C) 2015 OpenWrt.org +# +# This is free software, licensed under the GNU General Public License v2. +# See /LICENSE for more information. +# + +define Profile/Default + NAME:=Default Profile (all drivers) +endef + +define Profile/Default/Description + Default package set compatible with most boards. +endef + +$(eval $(call Profile,Default)) -- GitLab