Re: Compulab's Fitlet3: Intel's Elkhart Atom X6425E with MARVELL PHY 88E1512 Ethernet

2023-10-15 Thread Ted Ri
Stefan's efforts on this are appreciated.

Our Fitlet3 units may have slight differences, but in case it is
helpful, I've included the following:

Intel Elkhart Lake Ethernet on Compulab Fitlet3 with PCI Product ID:
 4ba1 and 4bb1 not recognized.

Regards,
Ted

Output of pcidump; pcidump -vv 0:29:1; pcidump -vv 0:29:2; dmesg

Domain /dev/pci0:
 0:0:0: Intel Elkhart Lake Host
 0:2:0: Intel UHD Graphics
 0:8:0: Intel Elkhart Lake GNA
 0:20:0: Intel Elkhart Lake xHCI
 0:20:2: Intel Elkhart Lake SRAM
 0:21:0: Intel Elkhart Lake I2C
 0:21:2: Intel Elkhart Lake I2C
 0:21:3: Intel Elkhart Lake I2C
 0:22:0: Intel Elkhart Lake HECI
 0:23:0: Intel Elkhart Lake AHCI
 0:25:0: Intel Elkhart Lake I2C
 0:25:2: Intel Elkhart Lake UART
 0:28:0: Intel Elkhart Lake PCIE
 0:28:4: Intel Elkhart Lake PCIE
 0:28:6: Intel Elkhart Lake PCIE
 0:29:0: Intel Elkhart Lake LH2OSE
 0:29:1: Intel Elkhart Lake Ethernet
 0:29:2: Intel Elkhart Lake Ethernet
 0:30:0: Intel Elkhart Lake UART
 0:30:1: Intel Elkhart Lake UART
 0:31:0: Intel Elkhart Lake eSPI
 0:31:3: Intel Elkhart Lake HD Audio
 0:31:4: Intel Elkhart Lake SMBus
 0:31:5: Intel Elkhart Lake SPI
 1:0:0: unknown unknown
 3:0:0: Intel Wi-Fi 6 AX210

 0:29:1: Intel Elkhart Lake Ethernet
0x: Vendor ID: 8086, Product ID: 4ba1
0x0004: Command: , Status: 0010
0x0008: Class: 02 Network, Subclass: 00 Ethernet,
Interface: 18, Revision: 11
0x000c: BIST: 00, Header Type: 80, Latency Timer: 00,
Cache Line Size: 00
0x0010: BAR mem 64bit addr: 0x00600134/0x0004
0x0018: BAR empty ()
0x001c: BAR empty ()
0x0020: BAR empty ()
0x0024: BAR empty ()
0x0028: Cardbus CIS: 
0x002c: Subsystem Vendor ID: 8086 Product ID: 7270
0x0030: Expansion ROM Base Address: 
0x0038: 
0x003c: Interrupt Pin: 01 Line: ff Min Gnt: 00 Max Lat: 00
0x0080: Capability 0x01: Power Management
State: D0
0x0090: Capability 0x09: Vendor Specific
0x00d0: Capability 0x05: Message Signalled Interrupts (MSI)
Enabled: no

 0:29:2: Intel Elkhart Lake Ethernet
0x: Vendor ID: 8086, Product ID: 4bb1
0x0004: Command: , Status: 0010
0x0008: Class: 02 Network, Subclass: 00 Ethernet,
Interface: 19, Revision: 11
0x000c: BIST: 00, Header Type: 80, Latency Timer: 00,
Cache Line Size: 00
0x0010: BAR mem 64bit addr: 0x00600130/0x0004
0x0018: BAR empty ()
0x001c: BAR empty ()
0x0020: BAR empty ()
0x0024: BAR empty ()
0x0028: Cardbus CIS: 
0x002c: Subsystem Vendor ID: 8086 Product ID: 7270
0x0030: Expansion ROM Base Address: 
0x0038: 
0x003c: Interrupt Pin: 01 Line: ff Min Gnt: 00 Max Lat: 00
0x0080: Capability 0x01: Power Management
State: D0
0x0090: Capability 0x09: Vendor Specific
0x00d0: Capability 0x05: Message Signalled Interrupts (MSI)
Enabled: no

OpenBSD 7.4-current (RAMDISK_CD) #1331: Sun Oct 15 10:39:10 MDT 2023
dera...@amd64.openbsd.org:/usr/src/sys/arch/amd64/compile/RAMDISK_CD
real mem = 8378597376 (7990MB)
avail mem = 8120643584 (7744MB)
random: good seed from bootblocks
mainbus0 at root
bios0 at mainbus0: SMBIOS rev. 3.3 @ 0x76a31000 (81 entries)
bios0: vendor American Megatrends International, LLC. version "5.19"
date 01/24/2023
bios0: Default string Default string
acpi0 at bios0: ACPI 6.2
acpi0: tables DSDT FACP MCFG SSDT SSDT SSDT FIDT OEM1 HPET APIC PRAM
RSCI SSDT SSDT SSDT NHLT SSDT SSDT PSDS LPIT SSDT DMAR SSDT TPM2 WSMT
FPDT
acpihpet0 at acpi0: 1920 Hz
acpimadt0 at acpi0 addr 0xfee0: PC-AT compat
cpu0 at mainbus0: apid 0 (boot processor)
cpu0: Intel(R) Celeron(R) J6413 @ 1.80GHz, 1796.11 MHz, 06-96-01, patch 0014
cpu0: 
FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE,SSE3,PCLMUL,DTES64,MWAIT,DS-CPL,VMX,EST,TM2,SSSE3,SDBG,CX16,xTPR,PDCM,SSE4.1,SSE4.2,x2APIC,MOVBE,POPCNT,DEADLINE,AES,XSAVE,RDRAND,NXE,RDTSCP,LONG,LAHF,3DNOWP,PERF,ITSC,FSGSBASE,TSC_ADJUST,SMEP,ERMS,RDSEED,SMAP,CLFLUSHOPT,CLWB,PT,SHA,UMIP,WAITPKG,MD_CLEAR,IBRS,IBPB,STIBP,L1DF,SSBD,SENSOR,ARAT,IBRS_ALL,SKIP_L1DFL,MDS_NO,IF_PSCHANGE,MISC_PKG_CT,ENERGY_FILT,XSAVEOPT,XSAVEC,XGETBV1,XSAVES
cpu0: 32KB 64b/line 8-way D-cache, 32KB 64b/line 8-way I-cache, 1MB
64b/line 12-way L2 cache, 4MB 64b/line 16-way L3 cache
cpu0: apic clock running at 38MHz
cpu0: mwait min=64, max=64, C-substates=0.2.0.2.2.1.1.1, IBE
cpu at mainbus0: not configured
cpu at mainbus0: not configured
cpu at mainbus0: not configured
ioapic0 at mainbus0: apid 2 pa 0xfec0, version 20, 120 pins
acpiprt0 at acpi0: bus 0 (PC00)
acpiprt1 at acpi0: bus -1 (PEG0)
acpiprt2 at acpi0: bus -1 (PEG1)
acpiprt3 at acpi0: bus -1 (PEG2)
acpiprt4 at acpi0: bus -1 (PEG3)
acpiprt5 at acpi0: bus 1 (RP01)
acpiprt6 at acpi0: bus -1 (RP02)
acpiprt7 at acpi0: bus -1 (RP03)
acpiprt8 at acpi0: bus -1 (RP04)
acpiprt9 at acpi0: bus 2 (RP05)
acpiprt10 at acpi0: bus -1 (RP06)
acpiprt11 at acpi0: bus 3 (RP07)
acpipci0 at acpi0 PC00: 0x 0x0011 0x0001
"INTC1027" at acpi0 not configured

Re: Compulab's Fitlet3: Intel's Elkhart Atom X6425E with MARVELL PHY 88E1512 Ethernet

2023-10-11 Thread Stefan Sperling
On Mon, Sep 18, 2023 at 09:15:48AM +0200, Wolfgang Oelerich wrote:
> ok; thank you for the quick reply. 

The next amd64 -current snapshot should have dwqe(4) attach to at
least one of the Elkhart Lake interfaces of your system, provided
it has PCI product Id 4ba0 in pcidump -vv output.

> > Am 15.09.2023 um 21:54 schrieb Stefan Sperling :
> > On Fri, Sep 15, 2023 at 04:55:42PM +0200, Wolfgang Oelerich wrote:
> >> Hello,
> >> 
> >> recently, I „inherited“ one of Compulab‘s Fitlet3. I received it with 
> >> Linux Mint installed and found all 4 available Ethernet ports working: 
> >> 2 of its extensional FACET card and 2 of Intel‘s Elkhart Lake Atom X6425E 
> >> with MARVELL-type PHY „88E1512" at Atom's PCIe bus (see link below). 
> >> 
> >> Now, I tried a clean install of OpenBSD 7.3/AMD64 which smoothly worked 
> >> out but only the FACET card Ethernet ports have been recognized properly. 
> >> While assuming BIOS is ok since Linux Mint worked I am wondering how far 
> >> the hardware combination of X6425E/MARVELL PHY 88E1512 is already set to 
> >> be working or if there is some driver or other Kernel level code not 
> >> available yet.
> > 
> > Elkhart Lake Ethernet will require PCI attachment code to be written
> > for dwqe(4). There is interest in getting this working but it will take
> > time. Definitely won't be ready for OpenBSD 7.4. Maybe 7.5.
> 
> 



Re: Compulab's Fitlet3: Intel's Elkhart Atom X6425E with MARVELL PHY 88E1512 Ethernet

2023-09-18 Thread Wolfgang Oelerich
… ok; thank you for the quick reply. 

von meinem Kläwwerfon gesendet

> Am 15.09.2023 um 21:54 schrieb Stefan Sperling :
> On Fri, Sep 15, 2023 at 04:55:42PM +0200, Wolfgang Oelerich wrote:
>> Hello,
>> 
>> recently, I „inherited“ one of Compulab‘s Fitlet3. I received it with 
>> Linux Mint installed and found all 4 available Ethernet ports working: 
>> 2 of its extensional FACET card and 2 of Intel‘s Elkhart Lake Atom X6425E 
>> with MARVELL-type PHY „88E1512" at Atom's PCIe bus (see link below). 
>> 
>> Now, I tried a clean install of OpenBSD 7.3/AMD64 which smoothly worked 
>> out but only the FACET card Ethernet ports have been recognized properly. 
>> While assuming BIOS is ok since Linux Mint worked I am wondering how far 
>> the hardware combination of X6425E/MARVELL PHY 88E1512 is already set to 
>> be working or if there is some driver or other Kernel level code not 
>> available yet.
> 
> Elkhart Lake Ethernet will require PCI attachment code to be written
> for dwqe(4). There is interest in getting this working but it will take
> time. Definitely won't be ready for OpenBSD 7.4. Maybe 7.5.



Re: Compulab's Fitlet3: Intel's Elkhart Atom X6425E with MARVELL PHY 88E1512 Ethernet

2023-09-15 Thread Stefan Sperling
On Fri, Sep 15, 2023 at 04:55:42PM +0200, Wolfgang Oelerich wrote:
> Hello,
> 
> recently, I „inherited“ one of Compulab‘s Fitlet3. I received it with 
> Linux Mint installed and found all 4 available Ethernet ports working: 
> 2 of its extensional FACET card and 2 of Intel‘s Elkhart Lake Atom X6425E 
> with MARVELL-type PHY „88E1512" at Atom's PCIe bus (see link below). 
> 
> Now, I tried a clean install of OpenBSD 7.3/AMD64 which smoothly worked 
> out but only the FACET card Ethernet ports have been recognized properly. 
> While assuming BIOS is ok since Linux Mint worked I am wondering how far 
> the hardware combination of X6425E/MARVELL PHY 88E1512 is already set to 
> be working or if there is some driver or other Kernel level code not 
> available yet.

Elkhart Lake Ethernet will require PCI attachment code to be written
for dwqe(4). There is interest in getting this working but it will take
time. Definitely won't be ready for OpenBSD 7.4. Maybe 7.5.



Compulab's Fitlet3: Intel's Elkhart Atom X6425E with MARVELL PHY 88E1512 Ethernet

2023-09-15 Thread Wolfgang Oelerich
Hello,

recently, I „inherited“ one of Compulab‘s Fitlet3. I received it with 
Linux Mint installed and found all 4 available Ethernet ports working: 
2 of its extensional FACET card and 2 of Intel‘s Elkhart Lake Atom X6425E 
with MARVELL-type PHY „88E1512" at Atom's PCIe bus (see link below). 

Now, I tried a clean install of OpenBSD 7.3/AMD64 which smoothly worked 
out but only the FACET card Ethernet ports have been recognized properly. 
While assuming BIOS is ok since Linux Mint worked I am wondering how far 
the hardware combination of X6425E/MARVELL PHY 88E1512 is already set to 
be working or if there is some driver or other Kernel level code not available 
yet.

After clean OpenBSD 7.3/AMD64 install I did afterboot, syspatch and 
sysmerge. 

Also, from Compulab‘s / FitPC‘s R&D folks (Andrey Mazlin) I was 
redirected to OpenBSD groups because they were not able to help. Here is, 
what they replied to my support request: "The best solution is to rise a 
question at OpenBSD kernel support community. We did try to ask them and 
what we've got: "I was able to created an OpenBSD custom kernel with this 
NIC enabled, but the device is still a pci-device not a network 
interface."" [end of citation].

At first, I have a short question: should first booting of 
OpenBSD 7.3/AMD64 have recognized mentioned hardware properly? 
If yes, I will follow-up at „sendbug“ with enclosed system info.

Would appreciate any answer. 
Kind regards 
Wolfgang 

Link to Fitlet3 schematic:
https://fit-pc.com/wiki/index.php?title=Fitlet3_Specifications_and_block_diagram