Merge branch 'riscv64' into 'master'

Build a kernel image and udebs for riscv64. (Closes: #908161)

See merge request kernel-team/linux!66
This commit is contained in:
Ben Hutchings 2018-10-12 00:51:51 +00:00
commit 128488285f
40 changed files with 110 additions and 1 deletions

58
debian/config/riscv64/config vendored Normal file
View File

@ -0,0 +1,58 @@
##
## file: arch/riscv/Kconfig
##
CONFIG_SMP=y
CONFIG_PCI=y
##
## file: drivers/ata/Kconfig
##
CONFIG_SATA_AHCI_PLATFORM=m
##
## file: drivers/gpu/drm/Kconfig
##
CONFIG_DRM=m
CONFIG_DRM_RADEON=m
##
## file: drivers/irqchip/Kconfig
##
CONFIG_SIFIVE_PLIC=y
##
## file: drivers/net/ethernet/cadence/Kconfig
##
CONFIG_MACB=m
##
## file: drivers/pci/controller/Kconfig
##
CONFIG_PCIE_XILINX=y
##
## file: drivers/tty/hvc/Kconfig
##
CONFIG_HVC_RISCV_SBI=y
##
## file: drivers/tty/serial/8250/Kconfig
##
CONFIG_SERIAL_8250=y
CONFIG_SERIAL_8250_CONSOLE=y
CONFIG_SERIAL_OF_PLATFORM=y
##
## file: drivers/usb/Kconfig
##
CONFIG_USB=m
##
## file: drivers/usb/host/Kconfig
##
CONFIG_USB_XHCI_PLATFORM=m
CONFIG_USB_EHCI_HCD=m
CONFIG_USB_EHCI_HCD_PLATFORM=m
CONFIG_USB_OHCI_HCD=m
CONFIG_USB_OHCI_HCD_PLATFORM=m

View File

@ -1,4 +1,14 @@
[base]
kernel-arch: riscv
featuresets:
# empty; just building headers yet
none
[build]
image-file: vmlinux
[image]
install-stem: vmlinux
[riscv64_description]
hardware: 64-bit RISC-V platforms
hardware-long: 64-bit RISC-V platforms

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

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

View File

@ -28,6 +28,7 @@ powerpc - powerpc - - -
powerpc - powerpc64 - - -
ppc64 - powerpc64 - - -
ppc64el - powerpc64le - - -
riscv64 - riscv64 - - -
s390x - s390x - - -
sh4 - sh7751r - y -
sh4 - sh7785lcr - y -

View File

@ -0,0 +1 @@
libata ?

View File

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

View File

@ -0,0 +1 @@
#include <compress-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 <i2c-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 @@
#include <kernel-image>

View File

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

View File

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

View File

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

View File

@ -0,0 +1 @@
#include <mtd-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 <pata-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 <usb-modules>

View File

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

View File

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

View File

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