Add arm64 support for kernel based on 3.18.25

This commit is contained in:
Shengzhou Liu
2016-07-06 00:24:08 +08:00
parent 9dcd9c079e
commit ad139993d0
9 changed files with 21015 additions and 0 deletions

View File

@@ -0,0 +1 @@
kernel-3.18.25-arm64-all

View 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

File diff suppressed because it is too large Load Diff

View File

@@ -1,2 +1,3 @@
aufs.patch
driver-support-intel-igb-bcm54616-phy.patch
add-kernel-patches-for-nxp-arm64-ls2080ardb-based-on.patch

View File

@@ -0,0 +1 @@
include $(ONL)/make/pkg.mk

View File

@@ -0,0 +1 @@
include $(ONL)/make/pkg.mk

View 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.,

View File

@@ -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*