mirror of
https://github.com/Telecominfraproject/OpenNetworkLinux.git
synced 2025-12-25 17:27:01 +00:00
Merge pull request #101 from shengzhou/add-arm64-ls2080ardb
Add arm64 arch and NXP ls2080ardb platform
This commit is contained in:
18
Makefile
18
Makefile
@@ -12,7 +12,7 @@ endif
|
||||
|
||||
include $(ONL)/make/config.mk
|
||||
|
||||
all: amd64 ppc arm
|
||||
all: amd64 ppc arm arm64
|
||||
$(MAKE) -C REPO build-clean
|
||||
|
||||
onl-amd64 onl-x86 x86 x86_64 amd64: packages_base_all
|
||||
@@ -37,6 +37,9 @@ ifdef ONL_DEBIAN_SUITE_jessie
|
||||
arm_toolchain_check:
|
||||
@which arm-linux-gnueabi-gcc || (/bin/echo -e "*\n* ERROR\n*\n* This container does not support building for the ARM architecture.\n* Please use opennetworklinux/onlbuilder8:1.2 later.\n*" && exit 1)
|
||||
|
||||
arm64_toolchain_check:
|
||||
@which aarch64-linux-gnu-gcc || (/bin/echo -e "*\n* ERROR\n*\n* This container does not support building for the ARM64 architecture.\n* Please use opennetworklinux/onlbuilder8:1.5 or later.\n*" && exit 1)
|
||||
|
||||
onl-arm arm: arm_toolchain_check packages_base_all
|
||||
$(MAKE) -C packages/base/armel/kernels
|
||||
$(MAKE) -C packages/base/armel/initrds
|
||||
@@ -45,11 +48,24 @@ onl-arm arm: arm_toolchain_check packages_base_all
|
||||
$(MAKE) -C packages/base/armel/faultd
|
||||
$(MAKE) -C packages/base/armel/fit
|
||||
$(MAKE) -C builds/armel
|
||||
|
||||
onl-arm64 arm64: arm64_toolchain_check packages_base_all
|
||||
$(MAKE) -C packages/base/arm64/kernels
|
||||
$(MAKE) -C packages/base/arm64/initrds
|
||||
$(MAKE) -C packages/base/arm64/onlp
|
||||
$(MAKE) -C packages/base/arm64/onlp-snmpd
|
||||
$(MAKE) -C packages/base/arm64/faultd
|
||||
$(MAKE) -C packages/base/arm64/fit
|
||||
$(MAKE) -C builds/arm64
|
||||
|
||||
else
|
||||
|
||||
onl-arm arm:
|
||||
@/bin/echo -e "*\n* Warning\n*\n* ARM Architecture support is only available in Jessie builds. Please use onbuilder -8.\n*"
|
||||
|
||||
onl-arm64 arm64:
|
||||
@/bin/echo -e "*\n* Warning\n*\n* ARM64 Architecture support is only available in Jessie builds. Please use onbuilder -8.\n*"
|
||||
|
||||
endif
|
||||
|
||||
|
||||
|
||||
1
REPO/jessie/packages/binary-arm64/Makefile
Normal file
1
REPO/jessie/packages/binary-arm64/Makefile
Normal file
@@ -0,0 +1 @@
|
||||
include $(ONL)/make/repo.mk
|
||||
@@ -19,6 +19,7 @@ if test "$ARCH" != "$IARCH"; then
|
||||
# identify mappings between kernel arch and debian arch
|
||||
case "$IARCH:$ARCH" in
|
||||
armel:armv7l) ;;
|
||||
arm64:aarch64) ;;
|
||||
powerpc:ppc) ;;
|
||||
*)
|
||||
echo
|
||||
@@ -42,7 +43,7 @@ case "$ARCH" in
|
||||
x86*|amd*|i?86*)
|
||||
ARCH_X86=$ARCH
|
||||
;;
|
||||
arm*)
|
||||
arm*|aarch64)
|
||||
ARCH_ARM=$ARCH
|
||||
;;
|
||||
*)
|
||||
|
||||
@@ -40,7 +40,6 @@
|
||||
- pciutils
|
||||
- usbutils
|
||||
- mtd-utils
|
||||
- kexec-tools
|
||||
- i2c-tools
|
||||
- module-init-tools
|
||||
- isc-dhcp-client
|
||||
|
||||
@@ -8,6 +8,7 @@
|
||||
- smartmontools
|
||||
- grub2
|
||||
- onl-upgrade
|
||||
- kexec-tools
|
||||
|
||||
|
||||
|
||||
|
||||
1
builds/any/rootfs/jessie/common/arm64-base-packages.yml
Normal file
1
builds/any/rootfs/jessie/common/arm64-base-packages.yml
Normal file
@@ -0,0 +1 @@
|
||||
- u-boot-tools
|
||||
9
builds/any/rootfs/jessie/common/arm64-onl-packages.yml
Normal file
9
builds/any/rootfs/jessie/common/arm64-onl-packages.yml
Normal file
@@ -0,0 +1,9 @@
|
||||
############################################################
|
||||
#
|
||||
# These packages are specific to the ONL root filesystem build.
|
||||
#
|
||||
############################################################
|
||||
- onl-loader-fit
|
||||
|
||||
|
||||
|
||||
@@ -1 +1,2 @@
|
||||
- u-boot-tools
|
||||
- kexec-tools
|
||||
|
||||
@@ -4,6 +4,7 @@
|
||||
#
|
||||
############################################################
|
||||
- u-boot-tools
|
||||
- kexec-tools
|
||||
|
||||
|
||||
|
||||
|
||||
2
builds/arm64/Makefile
Normal file
2
builds/arm64/Makefile
Normal file
@@ -0,0 +1,2 @@
|
||||
DIRECTORIES := rootfs swi installer
|
||||
include $(ONL)/make/subdirs.mk
|
||||
1
builds/arm64/installer/Makefile
Normal file
1
builds/arm64/installer/Makefile
Normal file
@@ -0,0 +1 @@
|
||||
include $(ONL)/make/pkg.mk
|
||||
1
builds/arm64/installer/installed/Makefile
Normal file
1
builds/arm64/installer/installed/Makefile
Normal file
@@ -0,0 +1 @@
|
||||
include $(ONL)/make/pkg.mk
|
||||
1
builds/arm64/installer/installed/PKG.yml
Normal file
1
builds/arm64/installer/installed/PKG.yml
Normal file
@@ -0,0 +1 @@
|
||||
!include $ONL/builds/any/installer/APKG.yml ARCH=arm64 BOOTMODE=installed
|
||||
1
builds/arm64/installer/installed/builds/.gitignore
vendored
Normal file
1
builds/arm64/installer/installed/builds/.gitignore
vendored
Normal file
@@ -0,0 +1 @@
|
||||
*INSTALLER
|
||||
3
builds/arm64/installer/installed/builds/Makefile
Normal file
3
builds/arm64/installer/installed/builds/Makefile
Normal file
@@ -0,0 +1,3 @@
|
||||
BOOTMODE=INSTALLED
|
||||
include $(ONL)/make/config.arm64.mk
|
||||
include $(ONL)/builds/any/installer/uboot/builds/Makefile
|
||||
4
builds/arm64/installer/installed/builds/boot-config
Normal file
4
builds/arm64/installer/installed/builds/boot-config
Normal file
@@ -0,0 +1,4 @@
|
||||
NETDEV=ma1
|
||||
NETAUTO=dhcp
|
||||
BOOTMODE=INSTALLED
|
||||
SWI=images::latest
|
||||
2
builds/arm64/installer/installed/builds/config/README
Normal file
2
builds/arm64/installer/installed/builds/config/README
Normal file
@@ -0,0 +1,2 @@
|
||||
This partition contains system configuration data that is persistant across installations and upgrades of ONL-based systems.
|
||||
|
||||
1
builds/arm64/installer/swi/Makefile
Normal file
1
builds/arm64/installer/swi/Makefile
Normal file
@@ -0,0 +1 @@
|
||||
include $(ONL)/make/pkg.mk
|
||||
1
builds/arm64/installer/swi/PKG.yml
Normal file
1
builds/arm64/installer/swi/PKG.yml
Normal file
@@ -0,0 +1 @@
|
||||
!include $ONL/builds/any/installer/APKG.yml ARCH=arm64 BOOTMODE=swi
|
||||
1
builds/arm64/installer/swi/builds/.gitignore
vendored
Normal file
1
builds/arm64/installer/swi/builds/.gitignore
vendored
Normal file
@@ -0,0 +1 @@
|
||||
*INSTALLER
|
||||
3
builds/arm64/installer/swi/builds/Makefile
Normal file
3
builds/arm64/installer/swi/builds/Makefile
Normal file
@@ -0,0 +1,3 @@
|
||||
BOOTMODE=SWI
|
||||
include $(ONL)/make/config.arm64.mk
|
||||
include $(ONL)/builds/any/installer/uboot/builds/Makefile
|
||||
4
builds/arm64/installer/swi/builds/boot-config
Normal file
4
builds/arm64/installer/swi/builds/boot-config
Normal file
@@ -0,0 +1,4 @@
|
||||
NETDEV=ma1
|
||||
NETAUTO=dhcp
|
||||
BOOTMODE=SWI
|
||||
SWI=images::latest
|
||||
2
builds/arm64/installer/swi/builds/config/README
Normal file
2
builds/arm64/installer/swi/builds/config/README
Normal file
@@ -0,0 +1,2 @@
|
||||
This partition contains system configuration data that is persistant across installations and upgrades of ONL-based systems.
|
||||
|
||||
1
builds/arm64/rootfs/Makefile
Normal file
1
builds/arm64/rootfs/Makefile
Normal file
@@ -0,0 +1 @@
|
||||
include $(ONL)/make/pkg.mk
|
||||
1
builds/arm64/rootfs/PKG.yml
Normal file
1
builds/arm64/rootfs/PKG.yml
Normal file
@@ -0,0 +1 @@
|
||||
!include $ONL/builds/any/rootfs/APKG.yml ARCH=arm64
|
||||
2
builds/arm64/rootfs/builds/.gitignore
vendored
Normal file
2
builds/arm64/rootfs/builds/.gitignore
vendored
Normal file
@@ -0,0 +1,2 @@
|
||||
*.d/
|
||||
manifest.json
|
||||
14
builds/arm64/rootfs/builds/Makefile
Normal file
14
builds/arm64/rootfs/builds/Makefile
Normal file
@@ -0,0 +1,14 @@
|
||||
include $(ONL)/make/config.arm64.mk
|
||||
|
||||
#
|
||||
# Default to include all available arm64 platforms.
|
||||
# You override this with you own list or yaml file.
|
||||
#
|
||||
export PLATFORM_LIST=$(shell onlpm --list-platforms --arch arm64 --csv )
|
||||
|
||||
RFS_CONFIG := $(ONL)/builds/any/rootfs/$(ONL_DEBIAN_SUITE)/standard/standard.yml
|
||||
RFS_DIR := rootfs-arm64.d
|
||||
RFS_CPIO := rootfs-arm64.cpio.gz
|
||||
RFS_SQUASH := rootfs-arm64.sqsh
|
||||
|
||||
include $(ONL)/make/rfs.mk
|
||||
1
builds/arm64/swi/Makefile
Normal file
1
builds/arm64/swi/Makefile
Normal file
@@ -0,0 +1 @@
|
||||
include $(ONL)/make/pkg.mk
|
||||
1
builds/arm64/swi/PKG.yml
Normal file
1
builds/arm64/swi/PKG.yml
Normal file
@@ -0,0 +1 @@
|
||||
!include $ONL/builds/any/swi/APKG.yml ARCH=arm64
|
||||
1
builds/arm64/swi/builds/.gitignore
vendored
Normal file
1
builds/arm64/swi/builds/.gitignore
vendored
Normal file
@@ -0,0 +1 @@
|
||||
manifest.json
|
||||
3
builds/arm64/swi/builds/Makefile
Normal file
3
builds/arm64/swi/builds/Makefile
Normal file
@@ -0,0 +1,3 @@
|
||||
ROOTFS_PACKAGE := onl-rootfs
|
||||
include $(ONL)/make/config.arm64.mk
|
||||
include $(ONL)/make/swi.mk
|
||||
21
docker/images/builder8/1.5/Dockerfile
Normal file
21
docker/images/builder8/1.5/Dockerfile
Normal file
@@ -0,0 +1,21 @@
|
||||
############################################################
|
||||
#
|
||||
# Update with aarch64 support dependencies.
|
||||
#
|
||||
############################################################
|
||||
FROM opennetworklinux/builder8:1.4
|
||||
MAINTAINER Jeffrey Townsend <jeffrey.townsend@bigswitch.com>
|
||||
|
||||
RUN dpkg --add-architecture arm64
|
||||
|
||||
RUN apt-get update && apt-get install -y \
|
||||
crossbuild-essential-arm64 \
|
||||
gcc-aarch64-linux-gnu
|
||||
|
||||
RUN xapt -a arm64 libedit-dev ncurses-dev libsensors4-dev libwrap0-dev libssl-dev libsnmp-dev
|
||||
|
||||
#
|
||||
# Docker shell and other container tools.
|
||||
#
|
||||
COPY docker_shell /bin/docker_shell
|
||||
COPY container-id /bin/container-id
|
||||
19
docker/images/builder8/1.5/Makefile
Normal file
19
docker/images/builder8/1.5/Makefile
Normal file
@@ -0,0 +1,19 @@
|
||||
VERSION=1.5
|
||||
USER=opennetworklinux
|
||||
REPO=builder8
|
||||
|
||||
TOOLS=../../../tools/docker_shell ../../../tools/container-id
|
||||
|
||||
build: check_version
|
||||
cp $(TOOLS) .
|
||||
docker build -t $(USER)/$(REPO):$(VERSION) .
|
||||
rm -rf $(notdir $(TOOLS))
|
||||
|
||||
#
|
||||
# Todo: Query remote repository to see if the request version already exists to avoid accidental overwrites
|
||||
# when a new image is built but the VERSION variable is not updated.
|
||||
#
|
||||
check_version:
|
||||
|
||||
push:
|
||||
docker push $(USER)/$(REPO):$(VERSION)
|
||||
9
make/config.arm64.mk
Normal file
9
make/config.arm64.mk
Normal file
@@ -0,0 +1,9 @@
|
||||
############################################################
|
||||
#
|
||||
# Open Network Linux
|
||||
#
|
||||
############################################################
|
||||
include $(ONL)/make/config.mk
|
||||
export TOOLCHAIN := aarch64-linux-gnu
|
||||
export ARCH := arm64
|
||||
export UARCH := ARM64
|
||||
@@ -157,7 +157,7 @@ endif
|
||||
endif
|
||||
|
||||
|
||||
MODSYNCLIST_DEFAULT := .config Module.symvers Makefile include scripts arch/x86/include arch/x86/Makefile arch/powerpc/include arch/powerpc/Makefile arch/powerpc/lib arch/arm/include arch/arm/Makefile arch/arm/lib
|
||||
MODSYNCLIST_DEFAULT := .config Module.symvers Makefile include scripts arch/x86/include arch/x86/Makefile arch/powerpc/include arch/powerpc/Makefile arch/powerpc/lib arch/arm/include arch/arm/Makefile arch/arm/lib arch/arm64/include arch/arm64/Makefile arch/arm64/lib
|
||||
MODSYNCLIST := $(MODSYNCLIST_DEFAULT) $(MODSYNCLIST_EXTRA)
|
||||
|
||||
mbuild: build
|
||||
@@ -169,8 +169,12 @@ dtbs: mbuild
|
||||
ifdef DTS_LIST
|
||||
rm -rf $(K_DTBS_DIR)
|
||||
mkdir -p $(K_DTBS_DIR)
|
||||
ifeq ($(ARCH),arm64)
|
||||
cp $(K_SOURCE_DIR)/arch/$(ARCH)/boot/dts/*.dtb $(K_DTBS_DIR)
|
||||
else
|
||||
$(foreach name,$(DTS_LIST),$(K_SOURCE_DIR)/scripts/dtc/dtc -I dts -O dtb -o $(K_DTBS_DIR)/$(name).dtb $(K_SOURCE_DIR)/arch/$(ARCH)/boot/dts/$(name).dts; )
|
||||
endif
|
||||
endif
|
||||
|
||||
#
|
||||
# This target can be used to manage the configuration file.
|
||||
|
||||
@@ -14,7 +14,7 @@ include $(ONL)/make/config.mk
|
||||
# directory tree.
|
||||
#
|
||||
ifndef ARCHES
|
||||
ARCHES := amd64 powerpc armel all
|
||||
ARCHES := amd64 powerpc armel arm64 all
|
||||
endif
|
||||
|
||||
ONLPM_ENVIRONMENT = \
|
||||
|
||||
@@ -72,7 +72,7 @@ fi
|
||||
#
|
||||
msg_info "Configuring Interfaces"
|
||||
|
||||
if ! ifup; then
|
||||
if ! /bin/ifup; then
|
||||
msg_error "The network settings indicated in the boot-config could not be applied."
|
||||
echo $(cat /etc/onl/NET)
|
||||
echo
|
||||
|
||||
@@ -140,6 +140,9 @@ case $(uname -m) in
|
||||
armv7l)
|
||||
ARCH_LIST="armel"
|
||||
;;
|
||||
aarch64)
|
||||
ARCH_LIST="arm64"
|
||||
;;
|
||||
*)
|
||||
q;;
|
||||
esac
|
||||
|
||||
@@ -117,7 +117,7 @@ if __name__ == '__main__':
|
||||
arch = platform.machine()
|
||||
klass = None
|
||||
|
||||
if arch in [ 'ppc', 'armv7l' ]:
|
||||
if arch in [ 'ppc', 'armv7l', 'aarch64', 'arm64' ]:
|
||||
klass = Loader_Upgrade_FIT
|
||||
elif arch == 'x86_64':
|
||||
klass = Loader_Upgrade_x86_64
|
||||
|
||||
@@ -39,6 +39,13 @@ default:
|
||||
=: kernel-3.2-deb7-arm-iproc-all.bin.gz
|
||||
<<: *arm-iproc-kernel-package
|
||||
|
||||
arm64-kernel-package: &arm64-kernel-package
|
||||
package: onl-kernel-3.18.25-arm64-all:arm64
|
||||
|
||||
arm64-kernel: &arm64-kernel
|
||||
=: kernel-3.18.25-arm64-all.bin.gz
|
||||
<<: *arm64-kernel-package
|
||||
|
||||
##############################
|
||||
#
|
||||
# For your system, pick from the above list
|
||||
@@ -68,6 +75,10 @@ default:
|
||||
=: onl-loader-fit.itb
|
||||
package: onl-loader-fit:armel
|
||||
|
||||
arm64-itb: &arm64-itb
|
||||
=: onl-loader-fit.itb
|
||||
package: onl-loader-fit:arm64
|
||||
|
||||
itb: *powerpc-itb
|
||||
|
||||
loader:
|
||||
|
||||
@@ -317,3 +317,7 @@ class OnlPlatformPortConfig_32x100(object):
|
||||
class OnlPlatformPortConfig_24x1_4x10(object):
|
||||
PORT_COUNT=28
|
||||
PORT_CONFIG="24x1 + 4x10"
|
||||
|
||||
class OnlPlatformPortConfig_8x1_8x10(object):
|
||||
PORT_COUNT=16
|
||||
PORT_CONFIG="8x1 + 8x10"
|
||||
|
||||
@@ -33,6 +33,7 @@ def baseconfig():
|
||||
'i386-linux-gnu',
|
||||
'x86_64-linux-gnu',
|
||||
'arm-linux-gnueabi',
|
||||
'aarch64-linux-gnu',
|
||||
]
|
||||
|
||||
for ht in HOST_TYPES:
|
||||
|
||||
@@ -41,7 +41,8 @@ class OnlSystemConfig(object):
|
||||
self.variables['ARCH'] = pp.machine()
|
||||
self.variables['PARCH'] = dict(ppc='powerpc',
|
||||
x86_64='amd64',
|
||||
armv7l='armel')[pp.machine()]
|
||||
armv7l='armel',
|
||||
aarch64='arm64')[pp.machine()]
|
||||
|
||||
self.config = {}
|
||||
for f in sorted(os.listdir(self.SYSTEM_CONFIG_DIR)):
|
||||
|
||||
@@ -35,7 +35,7 @@ class BaseUpgrade(object):
|
||||
self.init_argparser()
|
||||
self.load_config()
|
||||
self.arch = pp.machine()
|
||||
self.parch = dict(ppc='powerpc', x86_64='amd64', armv7l='armel')[self.arch]
|
||||
self.parch = dict(ppc='powerpc', x86_64='amd64', armv7l='armel', aarch64='arm64')[self.arch]
|
||||
self.platform = OnlPlatform()
|
||||
self.init()
|
||||
|
||||
|
||||
@@ -2,3 +2,4 @@
|
||||
buildroot-powerpc
|
||||
buildroot-x86_64
|
||||
buildroot-arm
|
||||
buildroot-arm64
|
||||
|
||||
@@ -16,7 +16,7 @@ include $(ONL)/make/config.mk
|
||||
#
|
||||
# We build for these architectures
|
||||
#
|
||||
ARCHS := powerpc x86_64 arm
|
||||
ARCHS := powerpc x86_64 arm arm64
|
||||
BUILDROOT_ARCHDIRS := $(foreach a,$(ARCHS),buildroot-$(a))
|
||||
BUILDROOT_SOURCE := buildroot-mirror
|
||||
|
||||
@@ -32,7 +32,10 @@ setup: setup-pyroute2 setup-dnspython setup-libyaml setup-pyyaml setup-jq setup-
|
||||
cp $(wildcard patches/busybox*.patch) $(BUILDROOT_SOURCE)/package/busybox/
|
||||
cp $(wildcard patches/kexec*.patch) $(BUILDROOT_SOURCE)/package/kexec/
|
||||
cp $(wildcard patches/openssl*.patch) $(BUILDROOT_SOURCE)/package/openssl/
|
||||
rm $(BUILDROOT_SOURCE)/package/openssl/openssl-do-not-build-docs.patch
|
||||
rm -f $(BUILDROOT_SOURCE)/package/openssl/openssl-do-not-build-docs.patch
|
||||
ifeq ($(BUILDROOT_ARCH),arm64)
|
||||
cp $(wildcard patches/uboot*.patch) $(BUILDROOT_SOURCE)/package/uboot-tools/
|
||||
endif
|
||||
sed -i 's%^DOSFSTOOLS_SITE =.*%DOSFSTOOLS_SITE = http://downloads.openwrt.org/sources%' $(BUILDROOT_SOURCE)/package/dosfstools/dosfstools.mk
|
||||
sed -i 's%^UEMACS_SITE =.*%UEMACS_SITE = http://www.kernel.org/pub/linux/kernel/uemacs%;s%^UEMACS_SOURCE =.*%UEMACS_SOURCE = em-$$(UEMACS_VERSION).tar.gz%' $(BUILDROOT_SOURCE)/package/uemacs/uemacs.mk
|
||||
mkdir -p $(BUILDROOT_ARCHDIRS)
|
||||
@@ -65,6 +68,7 @@ setup-pyyaml:
|
||||
cp patches/python-yaml.Config.in $(BUILDROOT_SOURCE)/package/python-yaml/Config.in
|
||||
sed -i '/[/]python-yaml[/]/d' $(BUILDROOT_SOURCE)/package/Config.in
|
||||
sed -i '/[/]python-setuptools[/]/a\source "package/python-yaml/Config.in"' $(BUILDROOT_SOURCE)/package/Config.in
|
||||
sed -i 's/pyyaml\//pyyaml/g' $(BUILDROOT_SOURCE)/package/python-yaml/python-yaml.mk
|
||||
|
||||
setup-libyaml:
|
||||
sed -i.bak -e '/LIBYAML_INSTALL_TARGET/d' $(BUILDROOT_SOURCE)/package/libyaml/libyaml.mk
|
||||
|
||||
1147
packages/base/any/initrds/buildroot/builds/buildroot.config-arm64
Normal file
1147
packages/base/any/initrds/buildroot/builds/buildroot.config-arm64
Normal file
File diff suppressed because it is too large
Load Diff
@@ -0,0 +1,23 @@
|
||||
From 0cbe6513c200e006061d1573228b970c42d0f414 Mon Sep 17 00:00:00 2001
|
||||
From: Shengzhou Liu <Shengzhou.Liu@nxp.com>
|
||||
Date: Tue, 26 Jul 2016 00:07:01 +0800
|
||||
Subject: [PATCH] fix error unknown type name u8 for arm64 arch
|
||||
|
||||
---
|
||||
include/aes.h | 1 +
|
||||
1 file changed, 1 insertion(+)
|
||||
|
||||
diff -Nura u-boot-2013.01.orig/include/aes.h u-boot-2013.01/include/aes.h
|
||||
--- u-boot-2013.01.orig/include/aes.h
|
||||
+++ u-boot-2013.01/include/aes.h
|
||||
@@ -24,6 +24,7 @@
|
||||
#ifndef _AES_REF_H_
|
||||
#define _AES_REF_H_
|
||||
|
||||
+typedef unsigned char u8;
|
||||
/*
|
||||
* AES encryption library, with small code size, supporting only 128-bit AES
|
||||
*
|
||||
--
|
||||
1.9.1
|
||||
|
||||
1
packages/base/any/kernels/3.18.25/configs/arm64-all/.gitignore
vendored
Normal file
1
packages/base/any/kernels/3.18.25/configs/arm64-all/.gitignore
vendored
Normal file
@@ -0,0 +1 @@
|
||||
kernel-3.18.25-arm64-all
|
||||
25
packages/base/any/kernels/3.18.25/configs/arm64-all/Makefile
vendored
Normal file
25
packages/base/any/kernels/3.18.25/configs/arm64-all/Makefile
vendored
Normal file
@@ -0,0 +1,25 @@
|
||||
############################################################
|
||||
#
|
||||
# Default 3.18.25 configuration for arm64 platforms.
|
||||
#
|
||||
############################################################
|
||||
THIS_DIR := $(abspath $(dir $(lastword $(MAKEFILE_LIST))))
|
||||
include $(ONL)/make/config.mk
|
||||
|
||||
ifndef K_TARGET_DIR
|
||||
K_TARGET_DIR := $(THIS_DIR)
|
||||
endif
|
||||
|
||||
include ../../kconfig.mk
|
||||
K_CONFIG := arm64-all.config
|
||||
K_BUILD_TARGET := Image Image.gz arm64-nxp-ls2080ardb-r0.dtb
|
||||
K_COPY_SRC := arch/arm64/boot/Image
|
||||
K_COPY_GZIP := 1
|
||||
ifndef K_COPY_DST
|
||||
K_COPY_DST := kernel-3.18.25-arm64-all.bin.gz
|
||||
endif
|
||||
|
||||
export ARCH=arm64
|
||||
DTS_LIST := arm64-nxp-ls2080ardb-r0
|
||||
|
||||
include $(ONL)/make/kbuild.mk
|
||||
2976
packages/base/any/kernels/3.18.25/configs/arm64-all/arm64-all.config
vendored
Normal file
2976
packages/base/any/kernels/3.18.25/configs/arm64-all/arm64-all.config
vendored
Normal file
File diff suppressed because it is too large
Load Diff
17982
packages/base/any/kernels/3.18.25/patches/add-kernel-patches-for-nxp-arm64-ls2080ardb-based-on.patch
vendored
Normal file
17982
packages/base/any/kernels/3.18.25/patches/add-kernel-patches-for-nxp-arm64-ls2080ardb-based-on.patch
vendored
Normal file
File diff suppressed because it is too large
Load Diff
@@ -1,2 +1,3 @@
|
||||
aufs.patch
|
||||
driver-support-intel-igb-bcm54616-phy.patch
|
||||
add-kernel-patches-for-nxp-arm64-ls2080ardb-based-on.patch
|
||||
|
||||
0
packages/base/arm64/faultd/.gitignore
vendored
Normal file
0
packages/base/arm64/faultd/.gitignore
vendored
Normal file
1
packages/base/arm64/faultd/Makefile
Normal file
1
packages/base/arm64/faultd/Makefile
Normal file
@@ -0,0 +1 @@
|
||||
include $(ONL)/make/pkg.mk
|
||||
1
packages/base/arm64/faultd/PKG.yml
Normal file
1
packages/base/arm64/faultd/PKG.yml
Normal file
@@ -0,0 +1 @@
|
||||
!include $ONL/packages/base/any/faultd/APKG.yml ARCH=arm64 TOOLCHAIN=aarch64-linux-gnu
|
||||
2
packages/base/arm64/faultd/builds/.gitignore
vendored
Normal file
2
packages/base/arm64/faultd/builds/.gitignore
vendored
Normal file
@@ -0,0 +1,2 @@
|
||||
faultd.mk
|
||||
faultd-module.mk
|
||||
2
packages/base/arm64/faultd/builds/Makefile
Normal file
2
packages/base/arm64/faultd/builds/Makefile
Normal file
@@ -0,0 +1,2 @@
|
||||
include $(ONL)/make/config.arm64.mk
|
||||
include $(ONL)/packages/base/any/faultd/builds/Makefile
|
||||
1
packages/base/arm64/fit/Makefile
Normal file
1
packages/base/arm64/fit/Makefile
Normal file
@@ -0,0 +1 @@
|
||||
include $(ONL)/make/pkg.mk
|
||||
1
packages/base/arm64/fit/buildroot/Makefile
Normal file
1
packages/base/arm64/fit/buildroot/Makefile
Normal file
@@ -0,0 +1 @@
|
||||
include $(ONL)/make/pkg.mk
|
||||
1
packages/base/arm64/fit/buildroot/PKG.yml
Normal file
1
packages/base/arm64/fit/buildroot/PKG.yml
Normal file
@@ -0,0 +1 @@
|
||||
!include $ONL/packages/base/any/fit/buildroot/APKG.yml ARCH=arm64
|
||||
4
packages/base/arm64/fit/buildroot/builds/.gitignore
vendored
Normal file
4
packages/base/arm64/fit/buildroot/builds/.gitignore
vendored
Normal file
@@ -0,0 +1,4 @@
|
||||
kernel-*
|
||||
*.itb
|
||||
*.its
|
||||
loader-initrd-arm64
|
||||
2
packages/base/arm64/fit/buildroot/builds/Makefile
Normal file
2
packages/base/arm64/fit/buildroot/builds/Makefile
Normal file
@@ -0,0 +1,2 @@
|
||||
include $(ONL)/make/config.arm64.mk
|
||||
include $(ONL)/packages/base/any/fit/buildroot/builds/Makefile
|
||||
1
packages/base/arm64/fit/loader/Makefile
Normal file
1
packages/base/arm64/fit/loader/Makefile
Normal file
@@ -0,0 +1 @@
|
||||
include $(ONL)/make/pkg.mk
|
||||
1
packages/base/arm64/fit/loader/PKG.yml
Normal file
1
packages/base/arm64/fit/loader/PKG.yml
Normal file
@@ -0,0 +1 @@
|
||||
!include $ONL/packages/base/any/fit/loader/APKG.yml ARCH=arm64
|
||||
5
packages/base/arm64/fit/loader/builds/.gitignore
vendored
Normal file
5
packages/base/arm64/fit/loader/builds/.gitignore
vendored
Normal file
@@ -0,0 +1,5 @@
|
||||
kernel-*
|
||||
*.itb
|
||||
*.its
|
||||
loader-initrd-arm64
|
||||
manifest.json
|
||||
2
packages/base/arm64/fit/loader/builds/Makefile
Normal file
2
packages/base/arm64/fit/loader/builds/Makefile
Normal file
@@ -0,0 +1,2 @@
|
||||
include $(ONL)/make/config.arm64.mk
|
||||
include $(ONL)/packages/base/any/fit/loader/builds/Makefile
|
||||
1
packages/base/arm64/initrds/Makefile
Normal file
1
packages/base/arm64/initrds/Makefile
Normal file
@@ -0,0 +1 @@
|
||||
include $(ONL)/make/pkg.mk
|
||||
1
packages/base/arm64/initrds/buildroot/Makefile
Normal file
1
packages/base/arm64/initrds/buildroot/Makefile
Normal file
@@ -0,0 +1 @@
|
||||
include $(ONL)/make/pkg.mk
|
||||
1
packages/base/arm64/initrds/buildroot/PKG.yml
Normal file
1
packages/base/arm64/initrds/buildroot/PKG.yml
Normal file
@@ -0,0 +1 @@
|
||||
!include $ONL/packages/base/any/initrds/buildroot/APKG.yml ARCH=arm64
|
||||
1
packages/base/arm64/initrds/buildroot/builds/.gitignore
vendored
Normal file
1
packages/base/arm64/initrds/buildroot/builds/.gitignore
vendored
Normal file
@@ -0,0 +1 @@
|
||||
makedevs
|
||||
28
packages/base/arm64/initrds/buildroot/builds/Makefile
Normal file
28
packages/base/arm64/initrds/buildroot/builds/Makefile
Normal file
@@ -0,0 +1,28 @@
|
||||
# -*- Makefile -*-
|
||||
############################################################
|
||||
# <bsn.cl fy=2016 v=onl>
|
||||
#
|
||||
# Copyright 2013, 2014 Big Switch Networks, Inc.
|
||||
# Copyright 2016 NXP Semiconductor, Inc.
|
||||
#
|
||||
# Licensed under the Eclipse Public License, Version 1.0 (the
|
||||
# "License"); you may not use this file except in compliance
|
||||
# with the License. You may obtain a copy of the License at
|
||||
#
|
||||
# http://www.eclipse.org/legal/epl-v10.html
|
||||
#
|
||||
# Unless required by applicable law or agreed to in writing,
|
||||
# software distributed under the License is distributed on an
|
||||
# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND,
|
||||
# either express or implied. See the License for the specific
|
||||
# language governing permissions and limitations under the
|
||||
# License.
|
||||
#
|
||||
# </bsn.cl>
|
||||
############################################################
|
||||
#
|
||||
#
|
||||
############################################################
|
||||
include $(ONL)/make/config.arm64.mk
|
||||
export BUILDROOT_ARCH := arm64
|
||||
include $(ONL)/packages/base/any/initrds/buildroot/Makefile.any
|
||||
1
packages/base/arm64/initrds/loader/Makefile
Normal file
1
packages/base/arm64/initrds/loader/Makefile
Normal file
@@ -0,0 +1 @@
|
||||
include $(ONL)/make/pkg.mk
|
||||
1
packages/base/arm64/initrds/loader/PKG.yml
Normal file
1
packages/base/arm64/initrds/loader/PKG.yml
Normal file
@@ -0,0 +1 @@
|
||||
!include $ONL/packages/base/any/initrds/loader/APKG.yml ARCH=arm64
|
||||
3
packages/base/arm64/initrds/loader/builds/.gitignore
vendored
Normal file
3
packages/base/arm64/initrds/loader/builds/.gitignore
vendored
Normal file
@@ -0,0 +1,3 @@
|
||||
loader-rootfs
|
||||
buildroot-makedevs
|
||||
manifest.json
|
||||
2
packages/base/arm64/initrds/loader/builds/Makefile
Normal file
2
packages/base/arm64/initrds/loader/builds/Makefile
Normal file
@@ -0,0 +1,2 @@
|
||||
include $(ONL)/make/config.arm64.mk
|
||||
include $(ONL)/packages/base/any/initrds/loader/builds/Makefile
|
||||
1
packages/base/arm64/kernels/Makefile
Normal file
1
packages/base/arm64/kernels/Makefile
Normal file
@@ -0,0 +1 @@
|
||||
include $(ONL)/make/pkg.mk
|
||||
@@ -0,0 +1 @@
|
||||
include $(ONL)/make/pkg.mk
|
||||
18
packages/base/arm64/kernels/kernel-3.18.25-arm64-all/PKG.yml
Normal file
18
packages/base/arm64/kernels/kernel-3.18.25-arm64-all/PKG.yml
Normal file
@@ -0,0 +1,18 @@
|
||||
|
||||
common:
|
||||
arch: arm64
|
||||
version: 1.0.0
|
||||
copyright: Copyright 2013, 2014, 2015 Big Switch Networks
|
||||
maintainer: support@bigswitch.com
|
||||
|
||||
packages:
|
||||
- name: onl-kernel-3.18.25-arm64-all
|
||||
version: 1.0.0
|
||||
summary: Open Network Linux Kernel 3.18.25 for ARM64 Integrated Processor Platforms.
|
||||
|
||||
files:
|
||||
builds/kernel-3.18.25-arm64-all.bin.gz : $$PKG_INSTALL/
|
||||
builds/linux-3.18.25-mbuild : $$PKG_INSTALL/mbuilds
|
||||
builds/linux-3.18.25-dtbs : $$PKG_INSTALL/dtbs
|
||||
|
||||
changelog: Change changes changes.,
|
||||
@@ -0,0 +1,10 @@
|
||||
# -*- Makefile -*-
|
||||
THIS_DIR := $(abspath $(dir $(lastword $(MAKEFILE_LIST))))
|
||||
|
||||
include $(ONL)/make/config.mk
|
||||
|
||||
kernel:
|
||||
$(MAKE) -C $(ONL)/packages/base/any/kernels/3.18.25/configs/arm64-all K_TARGET_DIR=$(THIS_DIR) $(ONL_MAKE_PARALLEL)
|
||||
|
||||
clean:
|
||||
rm -rf linux-3.18.25*
|
||||
1
packages/base/arm64/onlp-snmpd/Makefile
Normal file
1
packages/base/arm64/onlp-snmpd/Makefile
Normal file
@@ -0,0 +1 @@
|
||||
include $(ONL)/make/pkg.mk
|
||||
1
packages/base/arm64/onlp-snmpd/PKG.yml
Normal file
1
packages/base/arm64/onlp-snmpd/PKG.yml
Normal file
@@ -0,0 +1 @@
|
||||
!include $ONL/packages/base/any/onlp-snmpd/APKG.yml ARCH=arm64 TOOLCHAIN=aarch64-linux-gnu
|
||||
1
packages/base/arm64/onlp-snmpd/builds/.gitignore
vendored
Normal file
1
packages/base/arm64/onlp-snmpd/builds/.gitignore
vendored
Normal file
@@ -0,0 +1 @@
|
||||
onlp-snmpd.mk
|
||||
2
packages/base/arm64/onlp-snmpd/builds/Makefile
Normal file
2
packages/base/arm64/onlp-snmpd/builds/Makefile
Normal file
@@ -0,0 +1,2 @@
|
||||
include $(ONL)/make/config.arm64.mk
|
||||
include $(ONL)/packages/base/any/onlp-snmpd/builds/Makefile
|
||||
1
packages/base/arm64/onlp/Makefile
Normal file
1
packages/base/arm64/onlp/Makefile
Normal file
@@ -0,0 +1 @@
|
||||
include $(ONL)/make/pkg.mk
|
||||
1
packages/base/arm64/onlp/PKG.yml
Normal file
1
packages/base/arm64/onlp/PKG.yml
Normal file
@@ -0,0 +1 @@
|
||||
!include $ONL/packages/base/any/onlp/APKG.yml ARCH=arm64 TOOLCHAIN=aarch64-linux-gnu
|
||||
1
packages/base/arm64/onlp/builds/.gitignore
vendored
Normal file
1
packages/base/arm64/onlp/builds/.gitignore
vendored
Normal file
@@ -0,0 +1 @@
|
||||
libonlp-module.mk
|
||||
2
packages/base/arm64/onlp/builds/Makefile
Normal file
2
packages/base/arm64/onlp/builds/Makefile
Normal file
@@ -0,0 +1,2 @@
|
||||
DIRECTORIES := onlp-platform-defaults onlp-platform onlp onlpd
|
||||
include $(ONL)/make/subdirs.mk
|
||||
1
packages/base/arm64/onlp/builds/onlp-platform-defaults/.gitignore
vendored
Normal file
1
packages/base/arm64/onlp/builds/onlp-platform-defaults/.gitignore
vendored
Normal file
@@ -0,0 +1 @@
|
||||
libonlp-platform-defaults-module.mk
|
||||
@@ -0,0 +1,2 @@
|
||||
include $(ONL)/make/config.arm64.mk
|
||||
include $(ONL)/packages/base/any/onlp/builds/onlp-platform-defaults/Makefile
|
||||
1
packages/base/arm64/onlp/builds/onlp-platform/.gitignore
vendored
Normal file
1
packages/base/arm64/onlp/builds/onlp-platform/.gitignore
vendored
Normal file
@@ -0,0 +1 @@
|
||||
libonlp-platform-module.mk
|
||||
2
packages/base/arm64/onlp/builds/onlp-platform/Makefile
Normal file
2
packages/base/arm64/onlp/builds/onlp-platform/Makefile
Normal file
@@ -0,0 +1,2 @@
|
||||
include $(ONL)/make/config.arm64.mk
|
||||
include $(ONL)/packages/base/any/onlp/builds/onlp-platform/Makefile
|
||||
2
packages/base/arm64/onlp/builds/onlp/Makefile
Normal file
2
packages/base/arm64/onlp/builds/onlp/Makefile
Normal file
@@ -0,0 +1,2 @@
|
||||
include $(ONL)/make/config.arm64.mk
|
||||
include $(ONL)/packages/base/any/onlp/builds/onlp/Makefile
|
||||
1
packages/base/arm64/onlp/builds/onlpd/.gitignore
vendored
Normal file
1
packages/base/arm64/onlp/builds/onlpd/.gitignore
vendored
Normal file
@@ -0,0 +1 @@
|
||||
onlpd-module.mk
|
||||
2
packages/base/arm64/onlp/builds/onlpd/Makefile
Normal file
2
packages/base/arm64/onlp/builds/onlpd/Makefile
Normal file
@@ -0,0 +1,2 @@
|
||||
include $(ONL)/make/config.arm64.mk
|
||||
include $(ONL)/packages/base/any/onlp/builds/onlpd/Makefile
|
||||
1
packages/base/arm64/oom-shim/Makefile
Normal file
1
packages/base/arm64/oom-shim/Makefile
Normal file
@@ -0,0 +1 @@
|
||||
include $(ONL)/make/pkg.mk
|
||||
1
packages/base/arm64/oom-shim/PKG.yml
Normal file
1
packages/base/arm64/oom-shim/PKG.yml
Normal file
@@ -0,0 +1 @@
|
||||
!include $ONL/packages/base/any/oom-shim/APKG.yml ARCH=arm64 TOOLCHAIN=aarch64-linux-gnu
|
||||
2
packages/base/arm64/oom-shim/builds/Makefile
Normal file
2
packages/base/arm64/oom-shim/builds/Makefile
Normal file
@@ -0,0 +1,2 @@
|
||||
include $(ONL)/make/config.arm64.mk
|
||||
include $(ONL)/packages/base/any/oom-shim/builds/Makefile
|
||||
7
packages/base/arm64/oom-shim/builds/oom_shim.mk
Normal file
7
packages/base/arm64/oom-shim/builds/oom_shim.mk
Normal file
@@ -0,0 +1,7 @@
|
||||
|
||||
###############################################################################
|
||||
#
|
||||
# Inclusive Makefile for the oom_shim module.
|
||||
#
|
||||
###############################################################################
|
||||
oom_shim_BASEDIR := $(dir $(abspath $(lastword $(MAKEFILE_LIST))))
|
||||
1
packages/platforms/nxp/Makefile
Normal file
1
packages/platforms/nxp/Makefile
Normal file
@@ -0,0 +1 @@
|
||||
include $(ONL)/make/pkg.mk
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user