Issue #581 has been updated by Walter Sonius.

File cb-pull264053a-log-ed2k-mcb2408-hp-compaq_pro_6300_sff-mt-me-S.txt added

Final closing notes for patch4 264053a:

The earlier confirmed 3 SATA ports are working again Blue/White/White, Black 
still broken.

VGA and Displayport are working without any edits to the code!

The Wake On Lan feature is working perfectly with S3 suspend to RAM both on 
SeaBIOS and EDK2(mcb 2408) it doesn't need to disable false wake events 
mentioned earlier for the previous 8300_elite_sff based attempt. Wak On Lan 
even works now on (warm) boots (system shutdown before) not sure if that is 
called S5 or some special S4 mode(did not hibernate) but it just consumes 
around ~0-1 Watt!
Suspend to ram S3, can also be woken from USB keyboard (not mouse) and 
offcourse Power Button.
The Power LED also blinks in Suspend compared to continues on in normal 
operating mode.
The only thing blocking S3 suspend to RAM as in instantly waking after sleep is 
having a PS2 keyboard connected!

All testing has been done with a non updated but active and normal functioning 
ME/TXE firmware version 8.1.31.1351 (generation 2) from the OEM firmware, see 
earlier coreboot logs and new log with ME disabled!

Just tried corna me_cleaner with option -S on the current running whole 
firmware file, reflashed and cold(first) boot seems a little bit slower with 
first a instant powerdown after poweron but than it continues itself powering 
on and booting. The operating systems just complaines about "mei_me" issues but 
that is expected and when waking from suspend the system notices that the mei 
pci device is not there. I'm aware that also during coreboot build there is an 
option to do the ME neutering, but since that is not default it may not be 
needed to test?

sudo dmesg | grep mei
[   11.901493] mei_me 0000:00:16.0: wait hw ready failed
[   11.902658] mei_me 0000:00:16.0: hw_start failed ret = -62 fw status = 
1C020191 120A0150
[   11.903810] mei_me 0000:00:16.0: H_RST is set = 0x80000015
[   13.949486] mei_me 0000:00:16.0: wait hw ready failed
[   13.950650] mei_me 0000:00:16.0: hw_start failed ret = -62 fw status = 
1C020191 120A0150
[   13.951802] mei_me 0000:00:16.0: H_RST is set = 0x80000015
[   15.998474] mei_me 0000:00:16.0: wait hw ready failed
[   15.998994] mei_me 0000:00:16.0: hw_start failed ret = -62 fw status = 
1C020191 120A0150
[   15.999498] mei_me 0000:00:16.0: reset: reached maximal consecutive resets: 
disabling the device
[   15.999968] mei_me 0000:00:16.0: reset failed ret = -19
[   16.000433] mei_me 0000:00:16.0: link layer initialization failed.
[   16.000904] mei_me 0000:00:16.0: init hw failure.
[   16.004749] mei_me 0000:00:16.0: initialization failed.
#after wake from lan
[  334.141317] pci 0000:00:16.0: Unable to change power state from D0 to D0, 
device inaccessible

The multi-gpu iGPU+dedicated support, not even sure if its supported for this 
specific chipset but I got that working already on a "Asrock H110 Pro BTC+" 
with coreboot which well be next variant adventure. Also don't have any recent 
opensource supported GPU's to fit in this low profile case, otherwise I would 
continue testing.  

For ECC RAM I will fill a separate bug if this pro_6300_sff/mt variant is 
officially merged.

Still would recommend a note in the "compaq_pro_6300_series.md" about using 
flashrom while on coreboot firmware, both needed for -r read and -w write. Will 
continue that as a seperate issue in the flashrom tracker soon, but 
coreboot/flashrom new enthousiasts might panic if they cannot reflash again 
with simple syntax so this is the fix:
flashrom -p internal:boardmismatch=force,ich_spi_mode=hwseq -w test.rom -c 
"Opaque flash chip"

Thanks Keith, Martin and the Mr Jenkins ;-) for completing this pull request, 
you earn all the credits to the code and don't need to mention me.

Yours Sincerely

Walter


----------------------------------------
Support #581: success new variant "compaq_pro_6300_sff" for hp/snb_ivb_desktops 
compatible with "compaq_8300_elite_sff" template
https://ticket.coreboot.org/issues/581#change-2013

* Author: Walter Sonius
* Status: New
* Priority: Normal
* Category: board support
* Target version: none
* Start date: 2025-03-15
----------------------------------------
Successful flash and coreboot SeaBIOS functioning of a HP "compaq_pro_6300_sff" 
with a unchanged "compaq_8300_elite_sff" template using coreboot 
(24.12-758-g1e7ba810c6bb) and SeaBIOS (version rel-1.16.3-0-ga6ed6b70).

These two HP Compaq devices are extremely similar, they use the same OEM 
proprietary BIOS upgrade files. Hardware wise the only 3 noticeable differences 
are that the "compaq_8300_elite_sff" comes with a Q77 chipset, SuperIO NPCD378 
and J32 labeled 16x length "white" PCI-E slot versus a Q75 chipset, SuperIO 
NPCD379HAKFX with the J32 labeled slot populated with a limited physical 1x 
length "black" PCI-E slot on the "compaq_pro_6300_sff".

Flashing from OEM proprietary BIOS 3.08revA enabling the FDO jumper on the 
motherboard as described for the compaq_8300_elite_sff works by booting with 
"iomem=relaxed" kernel parameter and specifying the specific 16MB chip 25Q128A: 
flashrom -p internal -w cbtest.rom -c "MT25QL128"

Tested and Working:
Poweron/Poweroff/Reboot
CPU i3-3220 / e3-1225v2
RAM 1x 2x 4x populated slots total of 4GB/8GB/16GB/24GB (both 1.35v and 1.5v 
modules mixed with ECC)
Serial port (including coreboot)
PS2 keyboard (including SeaBIOS)
PS2 mouse
SATA 3 ports (blue/white/white)
USB 2.0 4x front & 2x back ports
USB 3.0 4x back ports
Ethernet 1Gbit/100Mbit
Display port works in SeaBIOS and OS
VGA port only works in OS!
PCI using realtek RTL8169 1Gb
PCIE 3.0 16x using 2.0 8x 10Gb intel X540-AT2 / using 1.0 16x Nvidia Geforce 
6200 LE (also works in SeaBIOS)
PCIE 2.0 1x using 2.0 1x 2.5Gb realtek RTL8125
PCIE 2.0 1x using 1.0 1x 1Gb intel 82574L (SeaBIOS loads option rom)
Audio built-in speaker (plays music in OS compared to legacy bleep pc-speaker)
Audio front panel 3.5 mm headphone jack (auto disables built-in Speakers and 
selects Headphones)
Audio front panel 3.5 mm headphone&mic jack (only microphone works with 4 pin 
3.5mm combi mic/headphone)
Audio back panel 3.5mm green jack (manually select Line Out and it works)
Sensors CPU and 2 motherboard sensors
SuperIO
Booting USB / SATA(HDD/DVD)
OS: Fedora-mate Linux kernel 6.11.4 / 6.13.6, KDE neon Linux kernel 6.8.0-52
Flashrom: needs additional parameters compared to OEM BIOS both for read/write 
depending on flashrom version?

flashrom -p internal:boardmismatch=force,ich_spi_mode=hwseq -w test.rom -c 
"Opague flash chip"

Tested not Working:
RAM ECC functioning (see coreboot log)
SATA port black
Wakeonlan, it just auto wakes from itself so cannot verify...
iGPU multigpu with PCIE nvidia geforce 6200 le, only PCIE nvidia geforce works 
and iGPU gets disabled.

What to do next to get this "compaq_pro_6300_sff" variant officially supported?

*Supply more logs/info?
*Fill a bug for the ECC not working or first get this variant supported as is?
*Fill a bug that VGA doesn't work in SeaBIOS?
*Fill a bug/ticket on the flashrom support list for the difference in 
parameters needed pre/post flash?

https://support.hp.com/us-en/drivers/hp-compaq-pro-6300-small-form-factor-pc/model/5232884
https://support.hp.com/in-en/drivers/hp-compaq-elite-8300-small-form-factor-pc/model/5232855

Walter Sonius


---Files--------------------------------
cb-log-hp-compaq_pro_6300_sff.txt (51.8 KB)
hp-compaq-pro-6300-oem-and-coreboot-autoport.zip (266 KB)
cb-pull97add0a-log-ed2k-hp-compaq_pro_6300_sff-mt-deselect-vga-vga-working.txt 
(47.7 KB)
cb-pull97add0a-log-ed2k-hp-compaq_pro_6300_sff-mt-deselect-vga-dp-hdmi-working.txt
 (47.8 KB)
cb-pull97add0a-log-sb-hp-compaq_pro_6300_sff-mt.txt (54.6 KB)
cb-pull264053a-log-ed2k-mcb2408-hp-compaq_pro_6300_sff-mt-me-S.txt (46.1 KB)


-- 
You have received this notification because you have either subscribed to it, 
or are involved in it.
To change your notification preferences, please click here: 
https://ticket.coreboot.org/my/account
_______________________________________________
coreboot mailing list -- [email protected]
To unsubscribe send an email to [email protected]

Reply via email to