Commit graph

24 commits

Author SHA1 Message Date
Clayton Craft
d07f0b3dbc
temp/u-boot-pinephone: fix sed regex to support gnu sed (MR 2461)
gnu sed doesn't support \d:
https://stackoverflow.com/questions/14671293/why-doesnt-d-work-in-regular-expressions-in-sed/14671365#14671365

So update-u-boot was failing if a user installed gnu sed.

Thanks to Arnavion for pointing this out
2021-08-26 21:54:37 +02:00
Bobby The Builder
63e2807916
temp/u-boot-pinephone: upgrade to 2021.07 (MR 2315)
- switch sources to official repo https://source.denx.de/u-boot
- use tag v2021.07
- extract patches from pine64-org
- enable DMA transfers from eMMC and mSD (u-boot from Megi)

[ci:skip-build] already built successfully in CI
2021-08-13 23:19:29 -07:00
Bobby The Builder
b795e65785
temp/arm-trusted-firmware: common build for rk3328, rk3399 and pinephone (MR 2315)
Include:
  smaeul: "all idle entry attempts will return PSCI_E_INVALID_PARAMS, and Linux
  isn't smart enough to stop trying without these patches:
  https://github.com/crust-firmware/arm-trusted-firmware/commits/d6ebf5dab2daab8"

  Extra patches custom to pinephone
2021-08-13 23:19:28 -07:00
Maxim Karasev
637586a9c0
temp/u-boot-{pinebookpro,pinephone,rockpro64}: fixup for arm-trusted-firmware package changes (MR 2270)
[ci:skip-build] already built successfully in CI
2021-07-08 10:34:52 -07:00
Bart Ribbers
9d81d86220
temp/u-boot-pinephone: depend on allwinner kernel >= 5.12 (MR 2149) 2021-05-27 14:13:16 +02:00
Bobby The Builder
abf1beb999
temp/u-boot-pinephone: automatic upgrade with checksum validation (MR 2155) 2021-05-26 23:44:13 +02:00
Oliver Smith
3b2e6a6cec
temp/u-boot-pinephone: fix y/n prompt (MR 2155)
Use POSIX syntax, write the question like a typical y/n prompt.
2021-05-26 23:44:13 +02:00
Bobby The Builder
bca96b107c
temp/u-boot-pinephone: remove unsupported boards (MR 2155) 2021-05-26 23:44:13 +02:00
Bobby The Builder
a849da488d
temp/u-boot-pinephone: add support for pinetab (MR 2155) 2021-05-26 23:44:12 +02:00
Bobby The Builder
cd1b1640b6
temp/u-boot-pinephone: add -s|--skip-delay option (MR 2155)
skip delay when updating automatically
2021-05-26 23:44:12 +02:00
Bobby The Builder
b3ba1b4c45
temp/u-boot-pinephone: written data checksum validation (MR 2155) 2021-05-26 23:44:12 +02:00
Bobby The Builder
9620ea0093
temp/u-boot-pinephone: avoid filesystem cache when writing U-Boot (MR 2155) 2021-05-26 23:44:12 +02:00
Bobby The Builder
5919b8456a
temp/u-boot-pinephone: refactor $freq logic (MR 2155)
* Prevent interactive warning to pop once already approved when
  [over/down]clocking DRAM
* Make sure $freq is always set

Co-Authored-By: Oliver Smith <ollieparanoid@postmarketos.org>
2021-05-26 23:44:12 +02:00
Bobby The Builder
259c9eefe5
pine64-*: change default RAM clock from 552 to 528 (MR 1998)
Issue #981 Change default clock from 552 to 528
(latest batches such as KDE are having issues with 552)
2021-04-05 11:14:18 +02:00
Bobby The Builder
ba84cd8d49
temp/u-boot-pinephone: expose ram_freq in device tree (MR 1998)
Query the ram clock:
cat /proc/device-tree/memory/ram_freq
2021-04-05 11:14:17 +02:00
Bobby The Builder
5322350898
temp/u-boot-pinephone: build with 3 RAM clocks (MR 1998)
U-Boot package will be built and packaged with tree
different images, each with a custom RAM clock.

Supported clocks: 528, 552 and 624
2021-04-05 11:14:13 +02:00
Bobby The Builder
e4a4e80667
temp/u-boot-pinephone: upgrade to 2021.01_git20201228 (MR 1846)
Also add DRAM clock protection (552)
2021-01-27 15:34:29 +01:00
Bart Ribbers
9835084f5a
temp/u-boot-pinephone: set RAM block back to 552 (MR 1527)
We were using a frequency of 624 which froze my device and in the past
other units too. Set it back to 552 as before so this doesn't happen
anymore

This is being upstreamed, https://gitlab.com/pine64-org/u-boot/-/merge_requests/3

(cherry picked from commit 88b48dee152686a887809ddb296cfd96e0c89f55)
2020-09-03 01:48:09 -07:00
Danct12
5a29944d10 temp/u-boot-pinephone: switch to pine64-org/u-boot (MR 1495)
Signed-off-by: Danct12 <danct12@disroot.org>
2020-08-22 10:34:04 +02:00
Luca Weiss
9a878ee7ee temp/u-boot-pinephone: apply patch for 3GB RAM support (MR 1420) 2020-07-18 21:59:13 +02:00
Bart Ribbers
a1aae9ff47
temp/u-boot-pinephone: add crust firmware (MR 1163) 2020-07-16 23:14:54 +02:00
Antoine Fontaine
d7d0a4b5aa
temp/u-boot-pinephone: disable too fast fast dram clock speed (MR 1351)
Fixes https://gitlab.com/postmarketOS/pmaports/-/issues/547 and
https://gitlab.com/postmarketOS/pmaports/-/issues/606. See also
https://forum.pine64.org/showthread.php?tid=9832.
2020-06-20 12:26:47 +00:00
Danct12
a67a00f038
temp/u-boot-pinephone: bump pkgrel to build for ARM TF 2.3 (MR 1286)
Signed-off-by: Danct12 <danct12@disroot.org>
2020-06-16 13:15:58 +02:00
Martijn Braam
a7bf6ded70
temp/u-boot-pinephone: new aport (!1049)
This adds a package that builds u-boot from the pine64/u-boot repository
which includes patches for enableing less hardware while booting so
there's quicker feedback that the power button has been pressed.

It also has a seperate patch file that modifies the clockspeed for the
memory which is one of the main performance bottlenecks of the A64 SoC.
It's a patch file so it's quick and easy to test out other clock speeds
when building. 600Mhz is stable but it should be able to run up to
624Mhz.
2020-03-18 13:57:24 +01:00