Keith Hui has uploaded this change for review. ( https://review.coreboot.org/c/coreboot/+/38354 )
Change subject: asus/p2b-ls: Replicate OEM GPO/PM configurations ......................................................................
asus/p2b-ls: Replicate OEM GPO/PM configurations
Replicate the entire GPO/lid/thermal configuration from OEM BIOS. Among the GPOs are termination controls for the onboard SCSI buses.
Requires /c/38352 to function.
Change-Id: I86183acd8e1a830d7639c21ec179fbdbe937f8ee Signed-off-by: Keith Hui buurin@gmail.com --- M src/mainboard/asus/p2b-ls/devicetree.cb 1 file changed, 4 insertions(+), 0 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/54/38354/1
diff --git a/src/mainboard/asus/p2b-ls/devicetree.cb b/src/mainboard/asus/p2b-ls/devicetree.cb index a9901b4..5e55278 100644 --- a/src/mainboard/asus/p2b-ls/devicetree.cb +++ b/src/mainboard/asus/p2b-ls/devicetree.cb @@ -8,6 +8,10 @@ device pci 0.0 on end # Host bridge device pci 1.0 on end # PCI/AGP bridge chip southbridge/intel/i82371eb # Southbridge + register "gpo" = "0x7fbfb9ff" + register "gpo22_enable" = "1" + register "lid_polarity" = "1" + register "thrm_polarity" = "1" device pci 4.0 on # ISA bridge chip superio/winbond/w83977tf # Super I/O (FIXME: It's W83977EF!) device pnp 3f0.0 on # Floppy
Hello build bot (Jenkins),
I'd like you to reexamine a change. Please visit
https://review.coreboot.org/c/coreboot/+/38354
to look at the new patch set (#3).
Change subject: asus/p2b-ls: Replicate OEM configurations ......................................................................
asus/p2b-ls: Replicate OEM configurations
Replicate the entire GPO/lid/thermal configurations from OEM BIOS. Among the GPOs are termination controls for the onboard SCSI buses.
Requires /c/38352 to function.
Change-Id: I86183acd8e1a830d7639c21ec179fbdbe937f8ee Signed-off-by: Keith Hui buurin@gmail.com --- M src/mainboard/asus/p2b-ls/devicetree.cb 1 file changed, 4 insertions(+), 0 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/54/38354/3
Angel Pons has posted comments on this change. ( https://review.coreboot.org/c/coreboot/+/38354 )
Change subject: asus/p2b-ls: Replicate OEM configurations ......................................................................
Patch Set 3: Code-Review+1
(2 comments)
https://review.coreboot.org/c/coreboot/+/38354/3//COMMIT_MSG Commit Message:
https://review.coreboot.org/c/coreboot/+/38354/3//COMMIT_MSG@9 PS3, Line 9: lid Is this board a laptop, or a trash can? I don't think it would have a lid.
https://review.coreboot.org/c/coreboot/+/38354/3//COMMIT_MSG@12 PS3, Line 12: Requires /c/38352 to function. This is redundant, since the changes were pushed as a patch train.
Keith Hui has posted comments on this change. ( https://review.coreboot.org/c/coreboot/+/38354 )
Change subject: asus/p2b-ls: Replicate OEM configurations ......................................................................
Patch Set 3:
(2 comments)
https://review.coreboot.org/c/coreboot/+/38354/3//COMMIT_MSG Commit Message:
https://review.coreboot.org/c/coreboot/+/38354/3//COMMIT_MSG@9 PS3, Line 9: lid
Is this board a laptop, or a trash can? I don't think it would have a lid.
LOL... It's a desktop board, but does have a port where one can connect a switch to sense when the case housing the board is opened.
https://review.coreboot.org/c/coreboot/+/38354/3//COMMIT_MSG@12 PS3, Line 12: Requires /c/38352 to function.
This is redundant, since the changes were pushed as a patch train.
Ack
Keith Hui has posted comments on this change. ( https://review.coreboot.org/c/coreboot/+/38354 )
Change subject: asus/p2b-ls: Replicate OEM configurations ......................................................................
Patch Set 3:
The entire patch train has been tested with a Atlas 10K III hard drive connected to the Ultra2 LVD port.
Angel Pons has posted comments on this change. ( https://review.coreboot.org/c/coreboot/+/38354 )
Change subject: asus/p2b-ls: Replicate OEM configurations ......................................................................
Patch Set 3: Code-Review+2
(1 comment)
https://review.coreboot.org/c/coreboot/+/38354/3//COMMIT_MSG Commit Message:
https://review.coreboot.org/c/coreboot/+/38354/3//COMMIT_MSG@9 PS3, Line 9: lid
LOL... […]
Ah, yes, the case open switch. So, it might not be a laptop but can be like a Mac Pro with a lid open switch :^)
Paul Menzel has posted comments on this change. ( https://review.coreboot.org/c/coreboot/+/38354 )
Change subject: asus/p2b-ls: Replicate OEM configurations ......................................................................
Patch Set 3:
(1 comment)
https://review.coreboot.org/c/coreboot/+/38354/3/src/mainboard/asus/p2b-ls/d... File src/mainboard/asus/p2b-ls/devicetree.cb:
https://review.coreboot.org/c/coreboot/+/38354/3/src/mainboard/asus/p2b-ls/d... PS3, Line 13: register "lid_polarity" = "1" What is that good for on a desktop board?
Paul Menzel has posted comments on this change. ( https://review.coreboot.org/c/coreboot/+/38354 )
Change subject: asus/p2b-ls: Replicate OEM configurations ......................................................................
Patch Set 3:
(1 comment)
https://review.coreboot.org/c/coreboot/+/38354/3//COMMIT_MSG Commit Message:
https://review.coreboot.org/c/coreboot/+/38354/3//COMMIT_MSG@13 PS3, Line 13: Could you please document how you deduced the values?
Paul Menzel has posted comments on this change. ( https://review.coreboot.org/c/coreboot/+/38354 )
Change subject: asus/p2b-ls: Replicate OEM configurations ......................................................................
Patch Set 3:
(1 comment)
https://review.coreboot.org/c/coreboot/+/38354/3//COMMIT_MSG Commit Message:
https://review.coreboot.org/c/coreboot/+/38354/3//COMMIT_MSG@13 PS3, Line 13:
Could you please document how you deduced the values?
Also, TEST= line, with what works now, would be nice.
Angel Pons has posted comments on this change. ( https://review.coreboot.org/c/coreboot/+/38354 )
Change subject: asus/p2b-ls: Replicate OEM configurations ......................................................................
Patch Set 3:
(1 comment)
https://review.coreboot.org/c/coreboot/+/38354/3/src/mainboard/asus/p2b-ls/d... File src/mainboard/asus/p2b-ls/devicetree.cb:
https://review.coreboot.org/c/coreboot/+/38354/3/src/mainboard/asus/p2b-ls/d... PS3, Line 13: register "lid_polarity" = "1"
What is that good for on a desktop board?
See commit message comments. Though, if both of us had to answer the same question, maybe this needs a rename.
Hello Angel Pons, build bot (Jenkins),
I'd like you to reexamine a change. Please visit
https://review.coreboot.org/c/coreboot/+/38354
to look at the new patch set (#4).
Change subject: asus/p2b-ls: Replicate OEM configurations ......................................................................
asus/p2b-ls: Replicate OEM configurations
Replicate the entire GPO/lid/thermal configurations from OEM BIOS. Among the GPOs are termination controls for the onboard SCSI buses.
TEST=read/write Maxtor Atlas 10k3 18GB HDD connected to Ultra2 LVD port
Change-Id: I86183acd8e1a830d7639c21ec179fbdbe937f8ee Signed-off-by: Keith Hui buurin@gmail.com --- M src/mainboard/asus/p2b-ls/devicetree.cb 1 file changed, 4 insertions(+), 0 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/54/38354/4
Hello Angel Pons, build bot (Jenkins),
I'd like you to reexamine a change. Please visit
https://review.coreboot.org/c/coreboot/+/38354
to look at the new patch set (#5).
Change subject: asus/p2b-ls: Replicate OEM configurations ......................................................................
asus/p2b-ls: Replicate OEM configurations
Replicate the entire GPO/lid/thermal configurations from OEM BIOS, obtained via inteltool -a and lspci -nnvvvxxx while toggling SCSI bus termination settings. This GPO configuration enables onboard termination of the SCSI buses, allowing SCSI hard drives to be accessed.
TEST=read/write Maxtor Atlas 10k3 18GB HDD connected to Ultra2 LVD port
Change-Id: I86183acd8e1a830d7639c21ec179fbdbe937f8ee Signed-off-by: Keith Hui buurin@gmail.com --- M src/mainboard/asus/p2b-ls/devicetree.cb 1 file changed, 4 insertions(+), 0 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/54/38354/5
Hello Angel Pons, build bot (Jenkins),
I'd like you to reexamine a change. Please visit
https://review.coreboot.org/c/coreboot/+/38354
to look at the new patch set (#6).
Change subject: asus/p2b-ls: Replicate OEM configurations ......................................................................
asus/p2b-ls: Replicate OEM configurations
Replicate the entire GPO/lid/thermal configurations from OEM BIOS. Among the GPOs are termination controls for the onboard SCSI buses.
TEST=read/write Maxtor Atlas 10k3 18GB HDD connected to Ultra2 LVD port
Change-Id: I86183acd8e1a830d7639c21ec179fbdbe937f8ee Signed-off-by: Keith Hui buurin@gmail.com --- M src/mainboard/asus/p2b-ls/devicetree.cb 1 file changed, 4 insertions(+), 0 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/54/38354/6
Paul Menzel has posted comments on this change. ( https://review.coreboot.org/c/coreboot/+/38354 )
Change subject: asus/p2b-ls: Replicate OEM configurations ......................................................................
Patch Set 7: Code-Review+1
Angel Pons has posted comments on this change. ( https://review.coreboot.org/c/coreboot/+/38354 )
Change subject: asus/p2b-ls: Replicate OEM configurations ......................................................................
Patch Set 7: Code-Review+1
(2 comments)
https://review.coreboot.org/c/coreboot/+/38354/3/src/mainboard/asus/p2b-ls/d... File src/mainboard/asus/p2b-ls/devicetree.cb:
https://review.coreboot.org/c/coreboot/+/38354/3/src/mainboard/asus/p2b-ls/d... PS3, Line 13: register "lid_polarity" = "1"
See commit message comments. […]
See latest patchset
https://review.coreboot.org/c/coreboot/+/38354/7/src/mainboard/asus/p2b-ls/d... File src/mainboard/asus/p2b-ls/devicetree.cb:
https://review.coreboot.org/c/coreboot/+/38354/7/src/mainboard/asus/p2b-ls/d... PS7, Line 13: lid_polarity Maybe call it "case_open_polarity" instead?
Patrick Georgi has posted comments on this change. ( https://review.coreboot.org/c/coreboot/+/38354 )
Change subject: asus/p2b-ls: Replicate OEM configurations ......................................................................
Patch Set 9:
(1 comment)
https://review.coreboot.org/c/coreboot/+/38354/3//COMMIT_MSG Commit Message:
https://review.coreboot.org/c/coreboot/+/38354/3//COMMIT_MSG@13 PS3, Line 13:
Also, TEST= line, with what works now, would be nice.
Done
Hello build bot (Jenkins), Paul Menzel, Angel Pons,
I'd like you to reexamine a change. Please visit
https://review.coreboot.org/c/coreboot/+/38354
to look at the new patch set (#10).
Change subject: asus/p2b-ls: Replicate OEM GPO configuration ......................................................................
asus/p2b-ls: Replicate OEM GPO configuration
Replicate the GPO configurations from OEM BIOS, obtained via inteltool. Among the GPOs are termination controls for the onboard SCSI buses.
TEST=read/write Maxtor Atlas 10k3 18GB HDD connected to Ultra2 LVD port
Change-Id: I86183acd8e1a830d7639c21ec179fbdbe937f8ee Signed-off-by: Keith Hui buurin@gmail.com --- M src/mainboard/asus/p2b/variants/p2b-ls/overridetree.cb 1 file changed, 4 insertions(+), 0 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/54/38354/10
Hello build bot (Jenkins), Paul Menzel, Angel Pons,
I'd like you to reexamine a change. Please visit
https://review.coreboot.org/c/coreboot/+/38354
to look at the new patch set (#11).
Change subject: asus/p2b-ls: Replicate OEM GPO configuration ......................................................................
asus/p2b-ls: Replicate OEM GPO configuration
Replicate the GPO configurations from OEM BIOS, obtained via inteltool. Among the GPOs are termination controls for the onboard SCSI buses.
TEST=read/write Maxtor Atlas 10k3 18GB HDD connected to Ultra2 LVD port
Change-Id: I86183acd8e1a830d7639c21ec179fbdbe937f8ee Signed-off-by: Keith Hui buurin@gmail.com --- M src/mainboard/asus/p2b/variants/p2b-ls/overridetree.cb 1 file changed, 4 insertions(+), 0 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/54/38354/11
Patrick Georgi has posted comments on this change. ( https://review.coreboot.org/c/coreboot/+/38354 )
Change subject: asus/p2b-ls: Replicate OEM GPO configuration ......................................................................
Patch Set 13:
(1 comment)
https://review.coreboot.org/c/coreboot/+/38354/7/src/mainboard/asus/p2b-ls/d... File src/mainboard/asus/p2b-ls/devicetree.cb:
https://review.coreboot.org/c/coreboot/+/38354/7/src/mainboard/asus/p2b-ls/d... PS7, Line 13: lid_polarity
Maybe call it "case_open_polarity" instead?
This seems to have been dropped, so I guess this can be resolved?
Keith Hui has posted comments on this change. ( https://review.coreboot.org/c/coreboot/+/38354 )
Change subject: asus/p2b-ls: Replicate OEM GPO configuration ......................................................................
Patch Set 13:
(1 comment)
https://review.coreboot.org/c/coreboot/+/38354/7/src/mainboard/asus/p2b-ls/d... File src/mainboard/asus/p2b-ls/devicetree.cb:
https://review.coreboot.org/c/coreboot/+/38354/7/src/mainboard/asus/p2b-ls/d... PS7, Line 13: lid_polarity
This seems to have been dropped, so I guess this can be resolved?
It was taken out of this patch's scope with the overridetree commit.
Angel Pons has posted comments on this change. ( https://review.coreboot.org/c/coreboot/+/38354 )
Change subject: asus/p2b-ls: Replicate OEM GPO configuration ......................................................................
Patch Set 13: Code-Review+2
(1 comment)
https://review.coreboot.org/c/coreboot/+/38354/7/src/mainboard/asus/p2b-ls/d... File src/mainboard/asus/p2b-ls/devicetree.cb:
https://review.coreboot.org/c/coreboot/+/38354/7/src/mainboard/asus/p2b-ls/d... PS7, Line 13: lid_polarity
It was taken out of this patch's scope with the overridetree commit.
Done
Angel Pons has submitted this change. ( https://review.coreboot.org/c/coreboot/+/38354 )
Change subject: asus/p2b-ls: Replicate OEM GPO configuration ......................................................................
asus/p2b-ls: Replicate OEM GPO configuration
Replicate the GPO configurations from OEM BIOS, obtained via inteltool. Among the GPOs are termination controls for the onboard SCSI buses.
TEST=read/write Maxtor Atlas 10k3 18GB HDD connected to Ultra2 LVD port
Change-Id: I86183acd8e1a830d7639c21ec179fbdbe937f8ee Signed-off-by: Keith Hui buurin@gmail.com Reviewed-on: https://review.coreboot.org/c/coreboot/+/38354 Reviewed-by: Angel Pons th3fanbus@gmail.com Tested-by: build bot (Jenkins) no-reply@coreboot.org --- M src/mainboard/asus/p2b/variants/p2b-ls/overridetree.cb 1 file changed, 4 insertions(+), 0 deletions(-)
Approvals: build bot (Jenkins): Verified Angel Pons: Looks good to me, approved
diff --git a/src/mainboard/asus/p2b/variants/p2b-ls/overridetree.cb b/src/mainboard/asus/p2b/variants/p2b-ls/overridetree.cb index bb252c0..541db02 100644 --- a/src/mainboard/asus/p2b/variants/p2b-ls/overridetree.cb +++ b/src/mainboard/asus/p2b/variants/p2b-ls/overridetree.cb @@ -1,6 +1,10 @@ chip northbridge/intel/i440bx # Northbridge device domain 0 on # PCI domain chip southbridge/intel/i82371eb # Southbridge + register "gpo" = "0x7fbfb9ff" + register "gpo22_enable" = "1" # GPO22 controls LVD port termination (0=enabled) + # GPO23 controls SCSI-50 port termination (1=enabled) + # SCSI-68 port is always terminated device pci 4.0 on # ISA bridge chip superio/winbond/w83977tf # Super I/O device pnp 3f0.a off # ACPI
9elements QA has posted comments on this change. ( https://review.coreboot.org/c/coreboot/+/38354 )
Change subject: asus/p2b-ls: Replicate OEM GPO configuration ......................................................................
Patch Set 14:
Automatic boot test returned (PASS/FAIL/TOTAL): 4/0/4 Emulation targets: "QEMU x86 q35/ich9" using payload TianoCore : SUCCESS : https://lava.9esec.io/r/2659 "QEMU x86 q35/ich9" using payload SeaBIOS : SUCCESS : https://lava.9esec.io/r/2658 "QEMU x86 i440fx/piix4" using payload SeaBIOS : SUCCESS : https://lava.9esec.io/r/2657 "QEMU AArch64" using payload LinuxBoot_u-root_kexec : SUCCESS : https://lava.9esec.io/r/2656
Please note: This test is under development and might not be accurate at all!