Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions builds/amd64/installer/installed/builds/boot-config
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
NETDEV=ma1
BOOTMODE=INSTALLED
SWI=images::latest
NETAUTO=dhcp
30 changes: 30 additions & 0 deletions builds/any/rootfs/jessie/common/all-base-packages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -81,3 +81,33 @@
- sysstat
- ipmitool
- lm-sensors
- autoconf
- libtool
- libc6-dev
- g++
- git
- libboost-dev
- python-dev
- flex
- bison
- libevent-dev
- libboost-test-dev
- bridge-utils
- python-pip
- python-ply
- ethtool
- libssl-dev
- libpcap-dev
- libusb-1.0-0-dev
- libcurl4-gnutls-dev
- automake
- python-crcmod
- python-jsonschema
- xz-utils
- libbz2-dev
- python3
- python3-pip
- python3-dev
- python3-crcmod
- python3-jsonschema
- python3-yaml
47 changes: 47 additions & 0 deletions builds/any/rootfs/stretch/common/all-base-packages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -87,3 +87,50 @@
- htop
- tree
- memtester
- autoconf
- libtool
- libc6-dev
- g++
- git
- libboost-dev
- python-dev
- flex
- bison
- libevent-dev
- libboost-test-dev
- libboost-thread-dev
- bridge-utils
- python-pip
- python-ply
- ethtool
- libssl-dev
- libpcap-dev
- libusb-1.0-0-dev
- libcurl4-gnutls-dev
- automake
- python-crcmod
- python-jsonschema
- xz-utils
- libbz2-dev
- python3
- python3-pip
- python3-dev
- python3-crcmod
- python3-jsonschema
- python3-yaml
- pkg-config
- curl
- unzip
- python-ipaddr
- python-pyparsing
- doxygen
- python-ply
- python-simplejson
- python-packaging
- python-vcversioner
- python-functools32
- python-six
- python-wheel
- python-futures
- python-enum34
- python-coverage
8 changes: 7 additions & 1 deletion make/kbuild.mk
Original file line number Diff line number Diff line change
Expand Up @@ -113,8 +113,14 @@ K_DTBS_DIR := $(K_SOURCE_DIR)-dtbs
#
# The kernel source archive. Download if not present.
#
ifeq ($(ONL_DEBIAN_SUITE),jessie)
# The certificates for kernel.org are expired in the jessie container.
# Until that can be fixed we skip cert checks here:
EXTRA_WGET_OPTIONS := --no-check-certificate
endif

$(K_ARCHIVE_PATH):
cd $(ONL_KERNELS)/archives && wget $(K_ARCHIVE_URL)
cd $(ONL_KERNELS)/archives && wget $(EXTRA_WGET_OPTIONS) $(K_ARCHIVE_URL)


.PHONY : ksource kpatched
Expand Down
3 changes: 3 additions & 0 deletions packages/platforms/accton/x86-64/wedge100bf-32qs/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
*x86*64*accton*wedge100bf*32qs*.mk
onlpdump.mk

1 change: 1 addition & 0 deletions packages/platforms/accton/x86-64/wedge100bf-32qs/Makefile
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
include $(ONL)/make/pkg.mk
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
include $(ONL)/make/pkg.mk
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
!include $ONL_TEMPLATES/no-platform-modules.yml ARCH=amd64 VENDOR=accton BASENAME=x86-64-accton-wedge100bf-32qs
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
include $(ONL)/make/pkg.mk
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
!include $ONL_TEMPLATES/onlp-platform-any.yml PLATFORM=x86-64-accton-wedge100bf-32qs ARCH=amd64 TOOLCHAIN=x86_64-linux-gnu
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
FILTER=src
include $(ONL)/make/subdirs.mk
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
PLATFORM := x86-64-accton-wedge100bf-32qs
include $(ONL)/packages/base/any/onlp/builds/platform/libonlp-platform.mk
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
PLATFORM := x86-64-accton-wedge100bf-32qs
include $(ONL)/packages/base/any/onlp/builds/platform/onlps.mk
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
name: x86_64_accton_wedge100bf_32qs
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
###############################################################################
#
#
#
###############################################################################
include $(ONL)/make/config.mk
MODULE := x86_64_accton_wedge100bf_32qs
AUTOMODULE := x86_64_accton_wedge100bf_32qs
include $(BUILDER)/definemodule.mk
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
###############################################################################
#
# x86_64_accton_wedge100bf_32qs README
#
###############################################################################

Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
###############################################################################
#
# x86_64_accton_wedge100bf_32qs Autogeneration
#
###############################################################################
x86_64_accton_wedge100bf_32qs_AUTO_DEFS := module/auto/x86_64_accton_wedge100bf_32qs.yml
x86_64_accton_wedge100bf_32qs_AUTO_DIRS := module/inc/x86_64_accton_wedge100bf_32qs module/src
include $(BUILDER)/auto.mk

Original file line number Diff line number Diff line change
@@ -0,0 +1,50 @@
###############################################################################
#
# X86_64_ACCTON_WEDGE100BF_32QS Autogeneration Definitions.
#
###############################################################################

cdefs: &cdefs
- X86_64_ACCTON_WEDGE100BF_32QS_CONFIG_INCLUDE_LOGGING:
doc: "Include or exclude logging."
default: 1
- X86_64_ACCTON_WEDGE100BF_32QS_CONFIG_LOG_OPTIONS_DEFAULT:
doc: "Default enabled log options."
default: AIM_LOG_OPTIONS_DEFAULT
- X86_64_ACCTON_WEDGE100BF_32QS_CONFIG_LOG_BITS_DEFAULT:
doc: "Default enabled log bits."
default: AIM_LOG_BITS_DEFAULT
- X86_64_ACCTON_WEDGE100BF_32QS_CONFIG_LOG_CUSTOM_BITS_DEFAULT:
doc: "Default enabled custom log bits."
default: 0
- X86_64_ACCTON_WEDGE100BF_32QS_CONFIG_PORTING_STDLIB:
doc: "Default all porting macros to use the C standard libraries."
default: 1
- X86_64_ACCTON_WEDGE100BF_32QS_CONFIG_PORTING_INCLUDE_STDLIB_HEADERS:
doc: "Include standard library headers for stdlib porting macros."
default: X86_64_ACCTON_WEDGE100BF_32QS_CONFIG_PORTING_STDLIB
- X86_64_ACCTON_WEDGE100BF_32QS_CONFIG_INCLUDE_UCLI:
doc: "Include generic uCli support."
default: 0
- X86_64_ACCTON_WEDGE100BF_32QS_CONFIG_INCLUDE_DEFAULT_FAN_DIRECTION:
doc: "Assume chassis fan direction is the same as the PSU fan direction."
default: 0


definitions:
cdefs:
X86_64_ACCTON_WEDGE100BF_32QS_CONFIG_HEADER:
defs: *cdefs
basename: x86_64_accton_wedge100bf_32qs_config

portingmacro:
X86_64_ACCTON_WEDGE100BF_32QS:
macros:
- malloc
- free
- memset
- memcpy

- vsnprintf
- snprintf
- strlen
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
/**************************************************************************//**
*
*
*
*****************************************************************************/
#include <x86_64_accton_wedge100bf_32qs/x86_64_accton_wedge100bf_32qs_config.h>

/* <--auto.start.xmacro(ALL).define> */
/* <auto.end.xmacro(ALL).define> */

/* <--auto.start.xenum(ALL).define> */
/* <auto.end.xenum(ALL).define> */


Original file line number Diff line number Diff line change
@@ -0,0 +1,137 @@
/**************************************************************************//**
*
* @file
* @brief x86_64_accton_wedge100bf_32qs Configuration Header
*
* @addtogroup x86_64_accton_wedge100bf_32qs-config
* @{
*
*****************************************************************************/
#ifndef __X86_64_ACCTON_WEDGE100BF_32QS_CONFIG_H__
#define __X86_64_ACCTON_WEDGE100BF_32QS_CONFIG_H__

#ifdef GLOBAL_INCLUDE_CUSTOM_CONFIG
#include <global_custom_config.h>
#endif
#ifdef X86_64_ACCTON_WEDGE100BF_32QS_INCLUDE_CUSTOM_CONFIG
#include <x86_64_accton_wedge100bf_32qs_custom_config.h>
#endif

/* <auto.start.cdefs(X86_64_ACCTON_WEDGE100BF_32QS_CONFIG_HEADER).header> */
#include <AIM/aim.h>
/**
* X86_64_ACCTON_WEDGE100BF_32QS_CONFIG_INCLUDE_LOGGING
*
* Include or exclude logging. */


#ifndef X86_64_ACCTON_WEDGE100BF_32QS_CONFIG_INCLUDE_LOGGING
#define X86_64_ACCTON_WEDGE100BF_32QS_CONFIG_INCLUDE_LOGGING 1
#endif

/**
* X86_64_ACCTON_WEDGE100BF_32QS_CONFIG_LOG_OPTIONS_DEFAULT
*
* Default enabled log options. */


#ifndef X86_64_ACCTON_WEDGE100BF_32QS_CONFIG_LOG_OPTIONS_DEFAULT
#define X86_64_ACCTON_WEDGE100BF_32QS_CONFIG_LOG_OPTIONS_DEFAULT AIM_LOG_OPTIONS_DEFAULT
#endif

/**
* X86_64_ACCTON_WEDGE100BF_32QS_CONFIG_LOG_BITS_DEFAULT
*
* Default enabled log bits. */


#ifndef X86_64_ACCTON_WEDGE100BF_32QS_CONFIG_LOG_BITS_DEFAULT
#define X86_64_ACCTON_WEDGE100BF_32QS_CONFIG_LOG_BITS_DEFAULT AIM_LOG_BITS_DEFAULT
#endif

/**
* X86_64_ACCTON_WEDGE100BF_32QS_CONFIG_LOG_CUSTOM_BITS_DEFAULT
*
* Default enabled custom log bits. */


#ifndef X86_64_ACCTON_WEDGE100BF_32QS_CONFIG_LOG_CUSTOM_BITS_DEFAULT
#define X86_64_ACCTON_WEDGE100BF_32QS_CONFIG_LOG_CUSTOM_BITS_DEFAULT 0
#endif

/**
* X86_64_ACCTON_WEDGE100BF_32QS_CONFIG_PORTING_STDLIB
*
* Default all porting macros to use the C standard libraries. */


#ifndef X86_64_ACCTON_WEDGE100BF_32QS_CONFIG_PORTING_STDLIB
#define X86_64_ACCTON_WEDGE100BF_32QS_CONFIG_PORTING_STDLIB 1
#endif

/**
* X86_64_ACCTON_WEDGE100BF_32QS_CONFIG_PORTING_INCLUDE_STDLIB_HEADERS
*
* Include standard library headers for stdlib porting macros. */


#ifndef X86_64_ACCTON_WEDGE100BF_32QS_CONFIG_PORTING_INCLUDE_STDLIB_HEADERS
#define X86_64_ACCTON_WEDGE100BF_32QS_CONFIG_PORTING_INCLUDE_STDLIB_HEADERS X86_64_ACCTON_WEDGE100BF_32QS_CONFIG_PORTING_STDLIB
#endif

/**
* X86_64_ACCTON_WEDGE100BF_32QS_CONFIG_INCLUDE_UCLI
*
* Include generic uCli support. */


#ifndef X86_64_ACCTON_WEDGE100BF_32QS_CONFIG_INCLUDE_UCLI
#define X86_64_ACCTON_WEDGE100BF_32QS_CONFIG_INCLUDE_UCLI 0
#endif

/**
* X86_64_ACCTON_WEDGE100BF_32QS_CONFIG_INCLUDE_DEFAULT_FAN_DIRECTION
*
* Assume chassis fan direction is the same as the PSU fan direction. */


#ifndef X86_64_ACCTON_WEDGE100BF_32QS_CONFIG_INCLUDE_DEFAULT_FAN_DIRECTION
#define X86_64_ACCTON_WEDGE100BF_32QS_CONFIG_INCLUDE_DEFAULT_FAN_DIRECTION 0
#endif



/**
* All compile time options can be queried or displayed
*/

/** Configuration settings structure. */
typedef struct x86_64_accton_wedge100bf_32qs_config_settings_s {
/** name */
const char* name;
/** value */
const char* value;
} x86_64_accton_wedge100bf_32qs_config_settings_t;

/** Configuration settings table. */
/** x86_64_accton_wedge100bf_32qs_config_settings table. */
extern x86_64_accton_wedge100bf_32qs_config_settings_t x86_64_accton_wedge100bf_32qs_config_settings[];

/**
* @brief Lookup a configuration setting.
* @param setting The name of the configuration option to lookup.
*/
const char* x86_64_accton_wedge100bf_32qs_config_lookup(const char* setting);

/**
* @brief Show the compile-time configuration.
* @param pvs The output stream.
*/
int x86_64_accton_wedge100bf_32qs_config_show(struct aim_pvs_s* pvs);

/* <auto.end.cdefs(X86_64_ACCTON_WEDGE100BF_32QS_CONFIG_HEADER).header> */

#include "x86_64_accton_wedge100bf_32qs_porting.h"

#endif /* __X86_64_ACCTON_WEDGE100BF_32QS_CONFIG_H__ */
/* @} */
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
/**************************************************************************//**
*
* x86_64_accton_wedge100bf_32qs Doxygen Header
*
*****************************************************************************/
#ifndef __X86_64_ACCTON_WEDGE100BF_32QS_DOX_H__
#define __X86_64_ACCTON_WEDGE100BF_32QS_DOX_H__

/**
* @defgroup x86_64_accton_wedge100bf_32qs x86_64_accton_wedge100bf_32qs - x86_64_accton_wedge100bf_32qs Description
*

The documentation overview for this module should go here.

*
* @{
*
* @defgroup x86_64_accton_wedge100bf_32qs-x86_64_accton_wedge100bf_32qs Public Interface
* @defgroup x86_64_accton_wedge100bf_32qs-config Compile Time Configuration
* @defgroup x86_64_accton_wedge100bf_32qs-porting Porting Macros
*
* @}
*
*/

#endif /* __X86_64_ACCTON_WEDGE100BF_32QS_DOX_H__ */
Loading