Skip to content

Commit

Permalink
enable: PRU_RPROC_BEAGLELOGIC
Browse files Browse the repository at this point in the history
Signed-off-by: Robert Nelson <robertcnelson@gmail.com>
  • Loading branch information
RobertCNelson committed Jun 24, 2014
1 parent 956c414 commit bc1441c
Show file tree
Hide file tree
Showing 4 changed files with 31 additions and 4 deletions.
7 changes: 4 additions & 3 deletions patch.sh
Original file line number Diff line number Diff line change
Expand Up @@ -859,9 +859,10 @@ am33x_after () {
${git} "${DIR}/patches/logibone/0002-Adding-DTS-support-for-Logibone.patch"

echo "dir: BeagleLogic"
# ${git} "${DIR}/patches/BeagleLogic/0001-Add-DTS-for-BeagleLogic.patch"
# ${git} "${DIR}/patches/BeagleLogic/0002-Add-BeagleLogic-binding-functions-to-pru_rproc.patch"
# ${git} "${DIR}/patches/BeagleLogic/0003-Add-kernel-module-for-BeagleLogic.patch"
${git} "${DIR}/patches/BeagleLogic/0001-Add-DTS-for-BeagleLogic.patch"
${git} "${DIR}/patches/BeagleLogic/0002-Add-BeagleLogic-binding-functions-to-pru_rproc.patch"
${git} "${DIR}/patches/BeagleLogic/0003-Add-kernel-module-for-BeagleLogic.patch"
${git} "${DIR}/patches/BeagleLogic/0004-Fix-compile-error-with-pru_rproc.c.patch"

echo "dir: fixes"
${git} "${DIR}/patches/fixes/0001-sync-don-t-block-the-flusher-thread-waiting-on-IO.patch"
Expand Down
25 changes: 25 additions & 0 deletions patches/BeagleLogic/0004-Fix-compile-error-with-pru_rproc.c.patch
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
From f62cf2c0518b5171c6587bd7aa1f23e24da824e7 Mon Sep 17 00:00:00 2001
From: Kumar Abhishek <abhishek@theembeddedkitchen.net>
Date: Wed, 25 Jun 2014 01:02:08 +0700
Subject: [PATCH 4/4] Fix compile error with pru_rproc.c

Signed-off-by: Kumar Abhishek <abhishek@theembeddedkitchen.net>
---
drivers/remoteproc/pru_rproc.c | 1 +
1 file changed, 1 insertion(+)

diff --git a/drivers/remoteproc/pru_rproc.c b/drivers/remoteproc/pru_rproc.c
index ff8e541..402f2ef 100644
--- a/drivers/remoteproc/pru_rproc.c
+++ b/drivers/remoteproc/pru_rproc.c
@@ -34,6 +34,7 @@

#include "remoteproc_internal.h"

+#include <linux/miscdevice.h>
#include "beaglelogic_glue.h"

/* PRU_EVTOUT0 is halt (system call) */
--
2.0.0

1 change: 1 addition & 0 deletions patches/defconfig
Original file line number Diff line number Diff line change
Expand Up @@ -3921,6 +3921,7 @@ CONFIG_OF_IOMMU=y
CONFIG_REMOTEPROC=y
CONFIG_STE_MODEM_RPROC=m
CONFIG_PRU_RPROC=y
CONFIG_PRU_RPROC_BEAGLELOGIC=y

#
# Rpmsg drivers (EXPERIMENTAL)
Expand Down
2 changes: 1 addition & 1 deletion version.sh
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ toolchain="gcc_linaro_gnueabihf_4_7"
#Kernel/Build
KERNEL_REL=3.8
KERNEL_TAG=${KERNEL_REL}.13
BUILD=bone56.1
BUILD=bone56.2

#v3.X-rcX + upto SHA
#KERNEL_SHA=""
Expand Down

0 comments on commit bc1441c

Please sign in to comment.