Skip to content

Commit 55d44b8

Browse files
committed
Merge branch 'build-linux-kernel-v4.8.17'
2 parents a9d2cd6 + c43dec5 commit 55d44b8

36 files changed

+4367
-148
lines changed

Readme.md

Lines changed: 95 additions & 76 deletions
Large diffs are not rendered by default.

drivers/Makefile

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11

22
prefix ?= ./
33
curr_dir ?= $(shell pwd)
4-
lib_dir ?= $(prefix)/lib/modules/4.4.7-armv7-fpga/ikwzm
4+
lib_dir ?= $(prefix)/lib/modules/4.8.17-armv7-fpga/ikwzm
55

66
kmod_objects += dtbocfg/dtbocfg.ko
77
kmod_objects += fpgacfg/fpgacfg.ko
@@ -16,12 +16,12 @@ kmod_subdirs = $(dir $(kmod_objects))
1616

1717
all:
1818
for dir in $(kmod_subdirs); do \
19-
cd $$dir ; $(MAKE) KERNEL_SRC_DIR=$(curr_dir)/../linux-4.4.7-armv7-fpga all ; cd $(curr_dir) ;\
19+
cd $$dir ; $(MAKE) KERNEL_SRC_DIR=$(curr_dir)/../linux-4.8.17-armv7-fpga all ; cd $(curr_dir) ;\
2020
done
2121

2222
clean:
2323
for dir in $(kmod_subdirs); do \
24-
cd $$dir ; $(MAKE) KERNEL_SRC_DIR=$(curr_dir)/../linux-4.4.7-armv7-fpga clean ; cd $(curr_dir) ;\
24+
cd $$dir ; $(MAKE) KERNEL_SRC_DIR=$(curr_dir)/../linux-4.8.17-armv7-fpga clean ; cd $(curr_dir) ;\
2525
done
2626

2727
install: all

drivers/debian/control

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,9 @@ Homepage: <https://github.com/ikwzm/FPGA-SoC-Linux>
88
#Vcs-Git: git://anonscm.debian.org/collab-maint/fpga-soc-linux-drivers.git
99
#Vcs-Browser: https://anonscm.debian.org/gitweb/?p=collab-maint/fpga-soc-linux-drivers.git;a=summary
1010

11-
Package: fpga-soc-linux-drivers-4.4.7-armv7-fpga
11+
Package: fpga-soc-linux-drivers-4.8.17-armv7-fpga
1212
Architecture: any
13-
Depends: ${shlibs:Depends}, ${misc:Depends}, linux-image-4.4.7-armv7-fpga
13+
Depends: ${shlibs:Depends}, ${misc:Depends}, linux-image-4.8.17-armv7-fpga
1414
Description: FPGA+SoC+Linux device drivers
1515
FPGA+SoC+Linux device drivers.
1616
dtbocfg: Device Tree Blob Overlay Configuration File System.

drivers/dtbocfg/dtbocfg.c

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
/*********************************************************************************
22
*
3-
* Copyright (C) 2016 Ichiro Kawazome
3+
* Copyright (C) 2016-2017 Ichiro Kawazome
44
* All rights reserved.
55
*
66
* Redistribution and use in source and binary forms, with or without
@@ -37,6 +37,7 @@
3737
#include <linux/stat.h>
3838
#include <linux/limits.h>
3939
#include <linux/file.h>
40+
#include <linux/version.h>
4041

4142
/**
4243
* Device Tree Overlay Item Structure
@@ -58,7 +59,11 @@ static int dtbocfg_overlay_item_create(struct dtbocfg_overlay_item *overlay)
5859
{
5960
int ret_val;
6061

62+
#if (LINUX_VERSION_CODE >= 0x040700)
63+
of_fdt_unflatten_tree(overlay->dtbo, NULL, &overlay->node);
64+
#else
6165
of_fdt_unflatten_tree(overlay->dtbo, &overlay->node);
66+
#endif
6267
if (overlay->node == NULL) {
6368
pr_err("%s: failed to unflatten tree\n", __func__);
6469
ret_val = -EINVAL;

drivers/dtbocfg/dtbocfg.ko

-60 KB
Binary file not shown.

drivers/fclkcfg/fclkcfg.ko

-103 KB
Binary file not shown.
-65.8 KB
Binary file not shown.
-65.1 KB
Binary file not shown.

drivers/fpga-bridge/fpga-bridge.ko

-91.4 KB
Binary file not shown.

drivers/fpgacfg/fpgacfg.ko

-158 KB
Binary file not shown.

0 commit comments

Comments
 (0)