summaryrefslogtreecommitdiff
path: root/libre-testing/uboot4extlinux-sunxi/uboot4extlinux-sunxi.hook.in
diff options
context:
space:
mode:
authorDenis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org>2022-05-23 23:40:35 +0200
committerDenis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org>2022-05-24 00:54:32 +0200
commit26258c970a5de46a243ffccd74a30ecdaed85b9c (patch)
treec5520924fb822771235f31a299569794cfd8f69c /libre-testing/uboot4extlinux-sunxi/uboot4extlinux-sunxi.hook.in
parent88462e5cc21168872df53543d9607335bb4ba625 (diff)
downloadabslibre-26258c970a5de46a243ffccd74a30ecdaed85b9c.tar.gz
abslibre-26258c970a5de46a243ffccd74a30ecdaed85b9c.tar.bz2
abslibre-26258c970a5de46a243ffccd74a30ecdaed85b9c.zip
move WIP u-boot modifications in libre-testing
I asked bill-auger to push his modifications so he uploaded the packages to libre-testing and the PKGBUILD modifications to abslibre. Since the pakcages have been uploaded to libre-testing it's better to move them here. While the code is not ready yet, it enables users to test the new u-boot which fixes the Ethernet PHY. From linux-sunxi we have[1]: Proper fix for rev. F and newer is to apply trace length compensation at the PHY. This is done by default (also for rev. H and newer despite commit message mentioning only realtek not Micrel) since mainline linux v5.15 and since mainline u-boot v2022.04; [1]https://linux-sunxi.org/Olimex_A20-OLinuXino-Lime2#calibrate_at_PHY That page also has more background on the issue being fixed here (basically making all the various Lime 2 A20 revisions (which have different Ethernet PHY) work with the same u-boot binary / package. Signed-off-by: Denis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org>
Diffstat (limited to 'libre-testing/uboot4extlinux-sunxi/uboot4extlinux-sunxi.hook.in')
-rw-r--r--libre-testing/uboot4extlinux-sunxi/uboot4extlinux-sunxi.hook.in11
1 files changed, 11 insertions, 0 deletions
diff --git a/libre-testing/uboot4extlinux-sunxi/uboot4extlinux-sunxi.hook.in b/libre-testing/uboot4extlinux-sunxi/uboot4extlinux-sunxi.hook.in
new file mode 100644
index 000000000..8cfa27bcc
--- /dev/null
+++ b/libre-testing/uboot4extlinux-sunxi/uboot4extlinux-sunxi.hook.in
@@ -0,0 +1,11 @@
+[Trigger]
+Type = Package
+Operation = Install
+Operation = Upgrade
+Target = @pkgname@
+
+[Action]
+Description = Test
+When = PostTransaction
+Exec = /usr/bin/cat /usr/share/doc/u-boot/@pkgname@/install-uboot4extlinux.txt
+NeedsTargets