[arm64] Initial kernel configuration and packaging.

svn path=/dists/sid/linux/; revision=21356
This commit is contained in:
Ian Campbell 2014-05-22 18:23:45 +00:00
parent a1907d2235
commit 235e811596
40 changed files with 115 additions and 2 deletions

3
debian/changelog vendored
View File

@ -3,6 +3,9 @@ linux (3.14.4-2) UNRELEASED; urgency=medium
* [x86] ACPICA: Tables: Fix invalid pointer accesses in
acpi_tb_parse_root_table(). (Closes: #748574)
[ Ian Campbell ]
* [arm64] Initial kernel configuration and packaging (Closes: #745349).
-- Ben Hutchings <ben@decadent.org.uk> Wed, 21 May 2014 21:24:50 +0100
linux (3.14.4-1) unstable; urgency=high

51
debian/config/arm64/config vendored Normal file
View File

@ -0,0 +1,51 @@
##
## file: arch/arm64/Kconfig
##
CONFIG_ARCH_VEXPRESS=y
CONFIG_ARCH_XGENE=y
CONFIG_SMP=y
CONFIG_XEN=y
##
## file: drivers/mmc/Kconfig
##
CONFIG_MMC=y
##
## file: drivers/mmc/host/Kconfig
##
CONFIG_MMC_ARMMMCI=m
CONFIG_MMC_SPI=m
##
## file: drivers/power/reset/Kconfig
##
CONFIG_POWER_RESET_VEXPRESS=y
CONFIG_POWER_RESET_XGENE=y
##
## file: drivers/tty/serial/Kconfig
##
CONFIG_SERIAL_AMBA_PL010=y
CONFIG_SERIAL_AMBA_PL010_CONSOLE=y
CONFIG_SERIAL_AMBA_PL011=y
CONFIG_SERIAL_AMBA_PL011_CONSOLE=y
CONFIG_SERIAL_OF_PLATFORM=y
##
## file: drivers/tty/serial/8250/Kconfig
##
CONFIG_SERIAL_8250=y
CONFIG_SERIAL_8250_DEPRECATED_OPTIONS=y
CONFIG_SERIAL_8250_CONSOLE=y
CONFIG_SERIAL_8250_DMA=y
CONFIG_SERIAL_8250_NR_UARTS=4
CONFIG_SERIAL_8250_RUNTIME_UARTS=4
# CONFIG_SERIAL_8250_EXTENDED is not set
CONFIG_SERIAL_8250_DW=y
# CONFIG_SERIAL_8250_EM is not set
##
## file: drivers/virtio/Kconfig
##
CONFIG_VIRTIO_MMIO=m

View File

@ -1,4 +1,16 @@
[base]
kernel-arch: arm64
featuresets:
# empty; we don't have initramfs working yet
none
[build]
debug-info: true
image-file: arch/arm64/boot/Image
[image]
install-stem: vmlinuz
[arm64_description]
hardware: 64-bit ARMv8 machines
[arm64_image]

3
debian/config/arm64/none/defines vendored Normal file
View File

@ -0,0 +1,3 @@
[base]
flavours:
arm64

View File

@ -0,0 +1,2 @@
# arch version flavour installedname suffix build-depends
arm64 - arm64 - - -

View File

@ -0,0 +1 @@
libata

View File

@ -0,0 +1 @@
#include <btrfs-modules>

View File

@ -0,0 +1 @@
#include <core-modules>

View File

@ -0,0 +1 @@
#include <crc-modules>

View File

@ -0,0 +1 @@
#include <crypto-dm-modules>

View File

@ -0,0 +1 @@
#include <crypto-modules>

View File

@ -0,0 +1 @@
#include <event-modules>

View File

@ -0,0 +1 @@
#include <ext4-modules>

View File

@ -0,0 +1 @@
#include <fat-modules>

View File

@ -0,0 +1 @@
#include <fuse-modules>

View File

@ -0,0 +1 @@
#include <input-modules>

View File

@ -0,0 +1 @@
#include <isofs-modules>

View File

@ -0,0 +1 @@
#include <jfs-modules>

View File

@ -0,0 +1 @@
# empty

View File

@ -0,0 +1 @@
#include <loop-modules>

View File

@ -0,0 +1 @@
#include <md-modules>

View File

@ -0,0 +1 @@
#include <mmc-modules>

View File

@ -0,0 +1 @@
#include <multipath-modules>

View File

@ -0,0 +1 @@
#include <nbd-modules>

View File

@ -0,0 +1 @@
#include <nic-modules>

View File

@ -0,0 +1 @@
#include <nic-shared-modules>

View File

@ -0,0 +1 @@
#include <nic-usb-modules>

View File

@ -0,0 +1 @@
#include <nic-wireless-modules>

View File

@ -0,0 +1 @@
#include <ppp-modules>

View File

@ -0,0 +1 @@
#include <sata-modules>

View File

@ -0,0 +1 @@
#include <scsi-core-modules>

View File

@ -0,0 +1,2 @@
#include <scsi-modules>

View File

@ -0,0 +1 @@
#include <squashfs-modules>

View File

@ -0,0 +1 @@
#include <udf-modules>

View File

@ -0,0 +1 @@
#include <uinput-modules>

View File

@ -0,0 +1 @@
#include <usb-modules>

View File

@ -0,0 +1,2 @@
#include <usb-storage-modules>
usb-storage -

View File

@ -0,0 +1 @@
#include <zlib-modules>

7
debian/installer/arm64/package-list vendored Normal file
View File

@ -0,0 +1,7 @@
# This file is used to build up the control file. The kernel version and
# "-di" are appended to the package names. Section can be left out. So can
# architecture, which is derived from the files in the modules directory.
# It overwrites specifications from /usr/share/kernel-wedge/package-list.
#
Package: kernel-image

2
debian/rules.real vendored
View File

@ -373,7 +373,7 @@ endif
install-image_$(ARCH)_$(FEATURESET)_$(FLAVOUR)_plain_dt: DT_INSTALL_DIR = $(PACKAGE_DIR)/usr/lib/linux-image-$(REAL_VERSION)
install-image_$(ARCH)_$(FEATURESET)_$(FLAVOUR)_plain_dt:
ifneq ($(filter armel armhf,$(ARCH)),)
ifneq ($(filter arm64 armel armhf,$(ARCH)),)
+$(MAKE_CLEAN) -C $(DIR) dtbs
shopt -s nullglob ; for i in $(DIR)/arch/$(KERNEL_ARCH)/boot/dts/*.dtb ; do \
install -D -m644 $$i '$(DT_INSTALL_DIR)'/$$(basename $$i) ; \