Mike Banon has uploaded this change for review. ( https://review.coreboot.org/c/coreboot/+/48266 )
Change subject: G505S good IRQs: scripts for applying the unofficial (not-merged-yet) patches ......................................................................
G505S good IRQs: scripts for applying the unofficial (not-merged-yet) patches
These scripts will help you to securely and conveniently apply four changes CB:48161, CB:48162, CB:48163, CB:48179 - for the good IRQs on AMD Lenovo G505S. Save to ./coreboot/ then run ./get_dgpu_patches.sh , ./check... and ./apply...
Signed-off-by: Mike Banon mikebdp2@gmail.com Change-Id: I59fde56d1a630371d6eb72b59a14b3408fac074c --- A apply_irq_patches.sh A check_irq_patches.sh A get_irq_patches.sh A sha256sums_irq_correct.txt 4 files changed, 71 insertions(+), 0 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/66/48266/1
diff --git a/apply_irq_patches.sh b/apply_irq_patches.sh new file mode 100755 index 0000000..fdaa19c --- /dev/null +++ b/apply_irq_patches.sh @@ -0,0 +1,22 @@ +#!/bin/sh +### +### https://review.coreboot.org/c/coreboot/+/48161 +### lenovo/g505s: properly program the IRQ tables +### +patch -p1 < "./cd096f9.diff" +### +### https://review.coreboot.org/c/coreboot/+/48162 +### lenovo/g505s: update the ACPI routing to match the new IRQ routing +### +patch -p1 < "./42aeed4.diff" +### +### https://review.coreboot.org/c/coreboot/+/48163 +### lenovo/g505s: add the PIRQ routing table +### +patch -p1 < "./9ffa290.diff" +### +### https://review.coreboot.org/c/coreboot/+/48179 +### lenovo/g505s: enable the webcam [WIP] +### +patch -p1 < "./8517e5a.diff" +### diff --git a/check_irq_patches.sh b/check_irq_patches.sh new file mode 100755 index 0000000..8069c95 --- /dev/null +++ b/check_irq_patches.sh @@ -0,0 +1,15 @@ +#!/bin/sh +rm -f "./sha256sums_irq_my.txt" +sha256sum "./cd096f9.diff" > "./sha256sums_irq_my.txt" +sha256sum "./42aeed4.diff" >> "./sha256sums_irq_my.txt" +sha256sum "./9ffa290.diff" >> "./sha256sums_irq_my.txt" +sha256sum "./8517e5a.diff" >> "./sha256sums_irq_my.txt" +if cmp -s "./sha256sums_irq_my.txt" "./sha256sums_irq_correct.txt" +then + echo "SHA256 checksums are correct, please run ./apply_irq_patches.sh" + exit 0 +else + echo "! MISMATCH ! See ./sha256sums_irq_my.txt and ./sha256sums_irq_correct.txt" + exit 1 +fi +# diff --git a/get_irq_patches.sh b/get_irq_patches.sh new file mode 100755 index 0000000..833b813 --- /dev/null +++ b/get_irq_patches.sh @@ -0,0 +1,30 @@ +#!/bin/sh +### +### https://review.coreboot.org/c/coreboot/+/48161 +### lenovo/g505s: properly program the IRQ tables +### +rm -f "./cd096f9.diff" +wget "https://review.coreboot.org/changes/48161/revisions/1/patch?zip" +unzip "./patch?zip" && rm -f "./patch?zip" # && patch -p1 < "./cd096f9.diff" +### +### https://review.coreboot.org/c/coreboot/+/48162 +### lenovo/g505s: update the ACPI routing to match the new IRQ routing +### +rm -f "./42aeed4.diff" +wget "https://review.coreboot.org/changes/48162/revisions/1/patch?zip" +unzip "./patch?zip" && rm -f "./patch?zip" # && patch -p1 < "./42aeed4.diff" +### +### https://review.coreboot.org/c/coreboot/+/48163 +### lenovo/g505s: add the PIRQ routing table +### +rm -f "./9ffa290.diff" +wget "https://review.coreboot.org/changes/48163/revisions/1/patch?zip" +unzip "./patch?zip" && rm -f "./patch?zip" # && patch -p1 < "./9ffa290.diff" +### +### https://review.coreboot.org/c/coreboot/+/48179 +### lenovo/g505s: enable the webcam [WIP] +### +rm -f "./8517e5a.diff" +wget "https://review.coreboot.org/changes/48179/revisions/1/patch?zip" +unzip "./patch?zip" && rm -f "./patch?zip" # && patch -p1 < "./8517e5a.diff" +### diff --git a/sha256sums_irq_correct.txt b/sha256sums_irq_correct.txt new file mode 100755 index 0000000..0d83e64 --- /dev/null +++ b/sha256sums_irq_correct.txt @@ -0,0 +1,4 @@ +9fd4cca063bb6e6c9063f00f4c972c019d616560883b9bda76177a462817ae8e ./cd096f9.diff +357a1e1e9f250149127fa8f7aac089e481a39f96b313ae1a0310c7e5d22faa72 ./42aeed4.diff +306e2a1e92b5b0c5885d7384c4b99ecaa83935a9e5242fb720266c0eb1d98529 ./9ffa290.diff +ab0b347af164e5c50c580f036e7ed55757e90158ad3cb04fc2f8154b5392f804 ./8517e5a.diff
Mike Banon has uploaded a new patch set (#2). ( https://review.coreboot.org/c/coreboot/+/48266 )
Change subject: G505S good IRQs: scripts for applying the unofficial (not-merged-yet) patches ......................................................................
G505S good IRQs: scripts for applying the unofficial (not-merged-yet) patches
These scripts will help you to securely and conveniently apply four changes CB:48161, CB:48162, CB:48163, CB:48179 - for the good IRQs on AMD Lenovo G505S. Save to ./coreboot/ then run ./get_irq_patches.sh , ./check... and ./apply...
Signed-off-by: Mike Banon mikebdp2@gmail.com Change-Id: I59fde56d1a630371d6eb72b59a14b3408fac074c --- A apply_irq_patches.sh A check_irq_patches.sh A get_irq_patches.sh A sha256sums_irq_correct.txt 4 files changed, 71 insertions(+), 0 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/66/48266/2
Mike Banon has posted comments on this change. ( https://review.coreboot.org/c/coreboot/+/48266 )
Change subject: G505S good IRQs: scripts for applying the unofficial (not-merged-yet) patches ......................................................................
Patch Set 2:
I really hope the need for this - is temporary...
Hello build bot (Jenkins),
I'd like you to reexamine a change. Please visit
https://review.coreboot.org/c/coreboot/+/48266
to look at the new patch set (#3).
Change subject: G505S good IRQs: scripts for applying the unofficial (not-merged-yet) patches ......................................................................
G505S good IRQs: scripts for applying the unofficial (not-merged-yet) patches
These scripts will help you to securely and conveniently apply four changes CB:48161, CB:48162, CB:48163, CB:48179 - for the good IRQs on AMD Lenovo G505S. Save to ./coreboot/ then run ./get_irq_patches.sh , ./check... and ./apply...
Signed-off-by: Mike Banon mikebdp2@gmail.com Change-Id: I59fde56d1a630371d6eb72b59a14b3408fac074c --- A apply_irq_patches.sh A check_irq_patches.sh A get_irq_patches.sh A sha256sums_irq_correct.txt 4 files changed, 71 insertions(+), 0 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/66/48266/3
Hello build bot (Jenkins),
I'd like you to reexamine a change. Please visit
https://review.coreboot.org/c/coreboot/+/48266
to look at the new patch set (#4).
Change subject: G505S good IRQs: scripts for applying the unofficial (not-merged-yet) patches ......................................................................
G505S good IRQs: scripts for applying the unofficial (not-merged-yet) patches
These scripts will help you to securely and conveniently apply four changes CB:48161, CB:48162, CB:48163, CB:48179 - for the good IRQs on AMD Lenovo G505S. Save to ./coreboot/ then run ./get_irq_patches.sh , ./check... and ./apply...
Signed-off-by: Mike Banon mikebdp2@gmail.com Change-Id: I59fde56d1a630371d6eb72b59a14b3408fac074c --- A apply_irq_patches.sh A check_irq_patches.sh A get_irq_patches.sh A sha256sums_irq_correct.txt 4 files changed, 71 insertions(+), 0 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/66/48266/4
Mike Banon has abandoned this change. ( https://review.coreboot.org/c/coreboot/+/48266 )
Change subject: G505S good IRQs: scripts for applying the unofficial (not-merged-yet) patches ......................................................................
Abandoned
Superseded by CB:48427