Github messages for voidlinux
 help / color / mirror / Atom feed
From: voidlinux-github@inbox.vuxu.org
To: ml@inbox.vuxu.org
Subject: Re: [PR PATCH] [Updated] [WIP] rpi-kernel: fix aarch64 build issues
Date: Mon, 01 Jul 2019 13:44:57 +0200	[thread overview]
Message-ID: <20190701114457.hEPwIhM1sH5P-TYh0W6564IN_YBEjhzSy7ovLAYYdx4@z> (raw)
In-Reply-To: <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-12758@inbox.vuxu.org>

[-- Attachment #1: Type: text/plain, Size: 363 bytes --]

There is an updated pull request by Piraty against master on the void-packages repository

https://github.com/Piraty/void-packages rpi-kernel-aarch64-buildfix
https://github.com/void-linux/void-packages/pull/12758

[WIP] rpi-kernel: fix aarch64 build issues
Fixes: #12665

A patch file from https://github.com/void-linux/void-packages/pull/12758.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-rpi-kernel-aarch64-buildfix-12758.patch --]
[-- Type: application/text/x-diff, Size: 3320 bytes --]

From 30579cd7d5e4564d5f772a2a89b78da0bd7f259b Mon Sep 17 00:00:00 2001
From: Piraty <piraty1@inbox.ru>
Date: Sun, 30 Jun 2019 16:51:45 +0200
Subject: [PATCH] rpi-kernel: update to 4.19.56.

picked one patch from upstream to make it build for aarch64.

Fixes: #12665

[skip travis]
---
 .../patches/bcmrpi3_defconfig-drop-v4l2.patch | 30 +++++++++++++++++++
 srcpkgs/rpi-kernel/template                   | 10 ++-----
 2 files changed, 33 insertions(+), 7 deletions(-)
 create mode 100644 srcpkgs/rpi-kernel/patches/bcmrpi3_defconfig-drop-v4l2.patch

diff --git a/srcpkgs/rpi-kernel/patches/bcmrpi3_defconfig-drop-v4l2.patch b/srcpkgs/rpi-kernel/patches/bcmrpi3_defconfig-drop-v4l2.patch
new file mode 100644
index 00000000000..2ef6665c0cb
--- /dev/null
+++ b/srcpkgs/rpi-kernel/patches/bcmrpi3_defconfig-drop-v4l2.patch
@@ -0,0 +1,30 @@
+# reason: https://github.com/raspberrypi/linux/issues/3024
+# src: upstream
+
+From e8a66b4f610b3a20bae8f706256d230135916c26 Mon Sep 17 00:00:00 2001
+From: Dave Stevenson <dave.stevenson@raspberrypi.org>
+Date: Fri, 28 Jun 2019 16:05:25 +0100
+Subject: [PATCH] configs: Drop V4L2 camera and codec drivers from
+ bcmrpi3_defconfig
+
+They rely on mmal_vchiq, which in turn wants vc-sm-cma.
+vc-sm-cma needs some attention for 64 bit, so drop it for now.
+
+Signed-off-by: Dave Stevenson <dave.stevenson@raspberrypi.org>
+---
+ arch/arm64/configs/bcmrpi3_defconfig | 2 --
+ 1 file changed, 2 deletions(-)
+
+diff --git a/arch/arm64/configs/bcmrpi3_defconfig b/arch/arm64/configs/bcmrpi3_defconfig
+index 904163e4266dd..e81b099bd5420 100644
+--- arch/arm64/configs/bcmrpi3_defconfig
++++ arch/arm64/configs/bcmrpi3_defconfig
+@@ -1086,8 +1086,6 @@ CONFIG_FB_TFT_WATTEROTT=m
+ CONFIG_FB_FLEX=m
+ CONFIG_FB_TFT_FBTFT_DEVICE=m
+ CONFIG_SND_BCM2835=m
+-CONFIG_VIDEO_BCM2835=m
+-CONFIG_VIDEO_CODEC_BCM2835=m
+ CONFIG_MAILBOX=y
+ CONFIG_BCM2835_MBOX=y
+ # CONFIG_IOMMU_SUPPORT is not set
diff --git a/srcpkgs/rpi-kernel/template b/srcpkgs/rpi-kernel/template
index 97168e29ad5..069d1cdf200 100644
--- a/srcpkgs/rpi-kernel/template
+++ b/srcpkgs/rpi-kernel/template
@@ -5,11 +5,11 @@
 #
 #   https://www.raspberrypi.org/forums/viewtopic.php?f=29&t=224931
 
-_githash="78878cd46bcf68d8ae94e02c4e1cbba6841314bb"
+_githash="7b5c53d89a53e343679759476a27bb7af736ea22"
 _gitshort="${_githash:0:7}"
 
 pkgname=rpi-kernel
-version=4.19.55
+version=4.19.56
 revision=1
 wrksrc="linux-${_githash}"
 maintainer="Juan RP <xtraeme@voidlinux.org>"
@@ -17,7 +17,7 @@ homepage="http://www.kernel.org"
 license="GPL-2.0-only"
 short_desc="The Linux kernel for Raspberry Pi (${version%.*} series [git ${_gitshort}])"
 distfiles="https://github.com/raspberrypi/linux/archive/${_githash}.tar.gz"
-checksum=34d5efa0fabdc015a968a100e21935386c8e8d3ff6b4f552c757153ec981b52d
+checksum=0b5b1076bc39df3d716449a0f0e4ebee78b974f0aff4f0a3c90b117fcc4dac49
 
 _kernver="${version}_${revision}"
 
@@ -41,10 +41,6 @@ mutable_files="
 	/usr/lib/modules/${_kernver}/modules.alias.bin
 	/usr/lib/modules/${_kernver}/modules.devname"
 
-case "$XBPS_TARGET_MACHINE" in
-	aarch64*) broken="https://build.voidlinux.org/builders/aarch64-musl_builder/builds/20841/steps/shell_3/logs/stdio" ;;
-esac
-
 pre_configure() {
 	# Remove .git directory, otherwise scripts/setkernelversion.sh
 	# modifies KERNELRELEASE and appends + to it.

  reply	other threads:[~2019-07-01 11:44 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-06-30 16:03 [PR PATCH] rpi-kernel: unbreak voidlinux-github
2019-07-01 11:44 ` voidlinux-github [this message]
2019-07-01 11:44 ` [PR PATCH] [Updated] [WIP] rpi-kernel: fix aarch64 build issues voidlinux-github
2019-07-01 12:31 ` rpi-kernel: update to 4.19.56 voidlinux-github
2019-07-01 19:44 ` voidlinux-github
2019-07-03 12:15 ` [PR PATCH] [Merged]: " voidlinux-github

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20190701114457.hEPwIhM1sH5P-TYh0W6564IN_YBEjhzSy7ovLAYYdx4@z \
    --to=voidlinux-github@inbox.vuxu.org \
    --cc=ml@inbox.vuxu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).