Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
manjaro-arm
packages
core
uboot-pinephone
Commits
ebdfd9a4
Commit
ebdfd9a4
authored
May 22, 2021
by
Philip Müller
Browse files
[pkg-upd] 2021.01rc4-2
parent
324183d0
Pipeline
#3442
failed with stage
in 2 minutes and 57 seconds
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Improve-Allwinner-A64-timer-workaround.patch
0 → 100644
View file @
ebdfd9a4
--- u-boot-c784be467aa7d111f149c2a54557e8828bc5775a/arch/arm/cpu/armv8/generic_timer.c.orig 2021-03-10 18:44:07.000000000 +0100
+++ u-boot-c784be467aa7d111f149c2a54557e8828bc5775a/arch/arm/cpu/armv8/generic_timer.c 2021-05-22 21:36:48.565156255 +0200
@@ -69,7 +69,7 @@
unsigned long timer_read_counter(void)
isb();
do {
asm volatile("mrs %0, cntpct_el0" : "=r" (cntpct));
- } while (((cntpct + 1) & GENMASK(10, 0)) <= 1);
+ } while (((cntpct + 1) & GENMASK(8, 0)) <= 1);
return cntpct;
}
PKGBUILD
View file @
ebdfd9a4
...
...
@@ -22,7 +22,7 @@ source=("u-boot-$_commit_uboot.tar.gz::https://gitlab.com/pine64-org/u-boot/-/ar
"arm-trusted-firmware-
$_commit_atf
.tar.gz::https://github.com/crust-firmware/arm-trusted-firmware/archive/
${
_commit_atf
}
.tar.gz"
"scp-
$_commit_scp
.tar.gz::https://github.com/crust-firmware/crust/archive/
${
_commit_scp
}
.tar.gz"
'0001-ATF-set-fno-stack-protector.patch'
'Improve-Allwinner-A64
timer-workaround.patch'
'Improve-Allwinner-A64
-
timer-workaround.patch'
'mkscr'
'boot.txt'
'mount-boot'
...
...
@@ -40,7 +40,7 @@ sha256sums=('38d756525d736a4ea29355158a93cf233a414814f9c339d9ca3be3ed06d5ca8f'
prepare
()
{
cd
arm-trusted-firmware-
${
_commit_atf
}
patch
-N
-p1
< ../0001-ATF-set-fno-stack-protector.patch
patch
-N
-p1
< ../Improve-Allwinner-A64
timer-workaround.patch
patch
-N
-p1
< ../Improve-Allwinner-A64
-
timer-workaround.patch
}
build
()
{
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment