PC Engines APU2 coming soon - how is OpenBSD's support so far?

classic Classic list List threaded Threaded
27 messages Options
12
Reply | Threaded
Open this post in threaded view
|

PC Engines APU2 coming soon - how is OpenBSD's support so far?

nothingness
Hello tech@

   Whilst browsing their forums I found a link to this:
http://pcengines.ch/apu2b4.htm . AMD Jaguar APU, 4 cores, up to 4Gb
DDR1333 ram with ECC, and 3 intel i211 or i210 NICs. Hopefully there
won't be so many issues with this iteration of their APU series.

Cheers,

Noth

Reply | Threaded
Open this post in threaded view
|

Re: PC Engines APU2 coming soon - how is OpenBSD's support so far?

Theo de Raadt
>    Whilst browsing their forums I found a link to this:
> http://pcengines.ch/apu2b4.htm . AMD Jaguar APU, 4 cores, up to 4Gb
> DDR1333 ram with ECC, and 3 intel i211 or i210 NICs. Hopefully there
> won't be so many issues with this iteration of their APU series.

Hopefully.

It would be nice if some developers get some early, to verify this.
Otherwise, I agree, there could be lots of pain once again.

Reply | Threaded
Open this post in threaded view
|

Re: PC Engines APU2 coming soon - how is OpenBSD's support so far?

nothingness
Got my first beta board today, here's the dmesg:

OpenBSD 5.8 (GENERIC.MP) #1: Mon Oct 19 02:13:53 CEST 2015
[hidden email]:/root/binpatchng-2.1.2/work-binpatch58-amd64/src/sys/arch/amd64/compile/GENERIC.MP
real mem = 4261081088 (4063MB)
avail mem = 4128047104 (3936MB)
mpath0 at root
scsibus0 at mpath0: 256 targets
mainbus0 at root
bios0 at mainbus0: SMBIOS rev. 2.7 @ 0xdffb7020 (7 entries)
bios0: vendor coreboot version "APU2A_20150924-3-g0bf9198-dirty" date
09/28/2015
bios0: PC Engines apu2
acpi0 at bios0: rev 2
acpi0: sleep states S0 S1 S2 S3 S4 S5
acpi0: tables DSDT FACP SSDT APIC HEST SSDT SSDT HPET
acpi0: wakeup devices PWRB(S4) PBR4(S4) PBR5(S4) PBR6(S4) PBR7(S4)
PBR8(S4) UOH1(S3) UOH3(S3) UOH5(S3) XHC0(S4)
acpitimer0 at acpi0: 3579545 Hz, 32 bits
acpimadt0 at acpi0 addr 0xfee00000: PC-AT compat
cpu0 at mainbus0: apid 0 (boot processor)
cpu0: AMD GX-412TC SOC, 998.27 MHz
cpu0:
FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,MMX,FXSR,SSE,SSE2,HTT,SSE3,PCLMUL,MWAIT,SSSE3,CX16,SSE4.1,SSE4.2,MOVBE,POPCNT,AES,XSAVE,AVX,F16C,NXE,MMXX,FFXSR,PAGE1GB,LONG,LAHF,CMPLEG,SVM,EAPICSP,AMCR8,ABM,SSE4A,MASSE,3DNOWP,OSVW,IBS,SKINIT,TOPEXT,ITSC,BMI1
cpu0: 32KB 64b/line 2-way I-cache, 32KB 64b/line 8-way D-cache, 2MB
64b/line 16-way L2 cache
cpu0: ITLB 32 4KB entries fully associative, 8 4MB entries fully associative
cpu0: DTLB 40 4KB entries fully associative, 8 4MB entries fully associative
cpu0: smt 0, core 0, package 0
mtrr: Pentium Pro MTRR support, 8 var ranges, 88 fixed ranges
cpu0: apic clock running at 99MHz
cpu0: mwait min=64, max=64, IBE
cpu1 at mainbus0: apid 1 (application processor)
cpu1: AMD GX-412TC SOC, 998.13 MHz
cpu1:
FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,MMX,FXSR,SSE,SSE2,HTT,SSE3,PCLMUL,MWAIT,SSSE3,CX16,SSE4.1,SSE4.2,MOVBE,POPCNT,AES,XSAVE,AVX,F16C,NXE,MMXX,FFXSR,PAGE1GB,LONG,LAHF,CMPLEG,SVM,EAPICSP,AMCR8,ABM,SSE4A,MASSE,3DNOWP,OSVW,IBS,SKINIT,TOPEXT,ITSC,BMI1
cpu1: 32KB 64b/line 2-way I-cache, 32KB 64b/line 8-way D-cache, 2MB
64b/line 16-way L2 cache
cpu1: ITLB 32 4KB entries fully associative, 8 4MB entries fully associative
cpu1: DTLB 40 4KB entries fully associative, 8 4MB entries fully associative
cpu1: smt 0, core 1, package 0
cpu2 at mainbus0: apid 2 (application processor)
cpu2: AMD GX-412TC SOC, 998.13 MHz
cpu2:
FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,MMX,FXSR,SSE,SSE2,HTT,SSE3,PCLMUL,MWAIT,SSSE3,CX16,SSE4.1,SSE4.2,MOVBE,POPCNT,AES,XSAVE,AVX,F16C,NXE,MMXX,FFXSR,PAGE1GB,LONG,LAHF,CMPLEG,SVM,EAPICSP,AMCR8,ABM,SSE4A,MASSE,3DNOWP,OSVW,IBS,SKINIT,TOPEXT,ITSC,BMI1
cpu2: 32KB 64b/line 2-way I-cache, 32KB 64b/line 8-way D-cache, 2MB
64b/line 16-way L2 cache
cpu2: ITLB 32 4KB entries fully associative, 8 4MB entries fully associative
cpu2: DTLB 40 4KB entries fully associative, 8 4MB entries fully associative
cpu2: smt 0, core 2, package 0
cpu3 at mainbus0: apid 3 (application processor)
cpu3: AMD GX-412TC SOC, 998.17 MHz
cpu3:
FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,MMX,FXSR,SSE,SSE2,HTT,SSE3,PCLMUL,MWAIT,SSSE3,CX16,SSE4.1,SSE4.2,MOVBE,POPCNT,AES,XSAVE,AVX,F16C,NXE,MMXX,FFXSR,PAGE1GB,LONG,LAHF,CMPLEG,SVM,EAPICSP,AMCR8,ABM,SSE4A,MASSE,3DNOWP,OSVW,IBS,SKINIT,TOPEXT,ITSC,BMI1
cpu3: 32KB 64b/line 2-way I-cache, 32KB 64b/line 8-way D-cache, 2MB
64b/line 16-way L2 cache
cpu3: ITLB 32 4KB entries fully associative, 8 4MB entries fully associative
cpu3: DTLB 40 4KB entries fully associative, 8 4MB entries fully associative
cpu3: smt 0, core 3, package 0
ioapic0 at mainbus0: apid 4 pa 0xfec00000, version 21, 24 pins
ioapic1 at mainbus0: apid 5 pa 0xfec20000, version 21, 32 pins
ioapic1: misconfigured as apic 0, remapped to apid 5
acpihpet0 at acpi0: 14318180 Hz
acpiprt0 at acpi0: bus 0 (PCI0)
acpiprt1 at acpi0: bus -1 (PBR4)
acpiprt2 at acpi0: bus 1 (PBR5)
acpiprt3 at acpi0: bus 2 (PBR6)
acpiprt4 at acpi0: bus 3 (PBR7)
acpiprt5 at acpi0: bus -1 (PBR8)
acpicpu0 at acpi0: !C2(0@400 io@0x1771), C1(@1 halt!), PSS
acpicpu1 at acpi0: !C2(0@400 io@0x1771), C1(@1 halt!), PSS
acpicpu2 at acpi0: !C2(0@400 io@0x1771), C1(@1 halt!), PSS
acpicpu3 at acpi0: !C2(0@400 io@0x1771), C1(@1 halt!), PSS
acpibtn0 at acpi0: PWRB
cpu0: 998 MHz: speeds: 1000 800 600 MHz
pci0 at mainbus0 bus 0
pchb0 at pci0 dev 0 function 0 vendor "AMD", unknown product 0x1566 rev 0x00
pchb1 at pci0 dev 2 function 0 vendor "AMD", unknown product 0x156b rev 0x00
ppb0 at pci0 dev 2 function 2 "AMD AMD64 16h PCIE" rev 0x00: msi
pci1 at ppb0 bus 1
em0 at pci1 dev 0 function 0 "Intel I210" rev 0x03: msi, address
00:0d:b9:3f:9e:0c
ppb1 at pci0 dev 2 function 3 "AMD AMD64 16h PCIE" rev 0x00: msi
pci2 at ppb1 bus 2
em1 at pci2 dev 0 function 0 "Intel I210" rev 0x03: msi, address
00:0d:b9:3f:9e:0d
ppb2 at pci0 dev 2 function 4 "AMD AMD64 16h PCIE" rev 0x00: msi
pci3 at ppb2 bus 3
em2 at pci3 dev 0 function 0 "Intel I210" rev 0x03: msi, address
00:0d:b9:3f:9e:0e
vendor "AMD", unknown product 0x1537 (class crypto subclass
miscellaneous, rev 0x00) at pci0 dev 8 function 0 not configured
xhci0 at pci0 dev 16 function 0 vendor "AMD", unknown product 0x7814 rev
0x11: msi
usb0 at xhci0: USB revision 3.0
uhub0 at usb0 "AMD xHCI root hub" rev 3.00/1.00 addr 1
ahci0 at pci0 dev 17 function 0 "AMD Hudson-2 SATA" rev 0x40: apic 4 int
19, AHCI 1.3
ahci0: port 0: 6.0Gb/s
scsibus1 at ahci0: 32 targets
sd0 at scsibus1 targ 0 lun 0: <ATA, SATA SSD, S9FM> SCSI3 0/direct fixed
t10.ATA_SATA_SSD_466F07550B9400389664
sd0: 15272MB, 512 bytes/sector, 31277232 sectors, thin
ehci0 at pci0 dev 19 function 0 "AMD Hudson-2 USB2" rev 0x39: apic 4 int 18
usb1 at ehci0: USB revision 2.0
uhub1 at usb1 "AMD EHCI root hub" rev 2.00/1.00 addr 1
piixpm0 at pci0 dev 20 function 0 "AMD Hudson-2 SMBus" rev 0x42: SMBus
disabled
pcib0 at pci0 dev 20 function 3 "AMD Hudson-2 LPC" rev 0x11
sdhc0 at pci0 dev 20 function 7 vendor "AMD", unknown product 0x7813 rev
0x01: apic 4 int 16
sdhc0 at 0x10: can't map registers
pchb2 at pci0 dev 24 function 0 vendor "AMD", unknown product 0x1580 rev
0x00
pchb3 at pci0 dev 24 function 1 vendor "AMD", unknown product 0x1581 rev
0x00
pchb4 at pci0 dev 24 function 2 vendor "AMD", unknown product 0x1582 rev
0x00
pchb5 at pci0 dev 24 function 3 vendor "AMD", unknown product 0x1583 rev
0x00
pchb6 at pci0 dev 24 function 4 vendor "AMD", unknown product 0x1584 rev
0x00
pchb7 at pci0 dev 24 function 5 vendor "AMD", unknown product 0x1585 rev
0x00
isa0 at pcib0
isadma0 at isa0
com0 at isa0 port 0x3f8/8 irq 4: ns16550a, 16 byte fifo
com0: console
com1 at isa0 port 0x2f8/8 irq 3: ns16550a, 16 byte fifo
pcppi0 at isa0 port 0x61
spkr0 at pcppi0
lpt0 at isa0 port 0x378/4 irq 7
wbsio0 at isa0 port 0x2e/2: NCT5104D rev 0x52
uhub2 at uhub1 port 1 "Advanced Micro Devices product 0x7900" rev
2.00/0.18 addr 2
vscsi0 at root
scsibus2 at vscsi0: 256 targets
softraid0 at root
scsibus3 at softraid0: 256 targets
root on sd0a (47e18331a1a8156e.a) swap on sd0b dump on sd0b

sysctl hw:

hw.machine=amd64
hw.model=AMD GX-412TC SOC
hw.ncpu=4
hw.byteorder=1234
hw.pagesize=4096
hw.disknames=sd0:47e18331a1a8156e
hw.diskcount=1
hw.cpuspeed=998
hw.setperf=100
hw.vendor=PC Engines
hw.product=apu2
hw.version=1.0
hw.serialno=123456789
hw.physmem=4261081088
hw.usermem=4261056512
hw.ncpufound=4
hw.allowpowerdown=1
hw.perfpolicy=manual
hw.machine=amd64
hw.model=AMD GX-412TC SOC
hw.ncpu=4
hw.byteorder=1234
hw.pagesize=4096
hw.disknames=sd0:47e18331a1a8156e
hw.diskcount=1
hw.cpuspeed=998
hw.setperf=100
hw.vendor=PC Engines
hw.product=apu2
hw.version=1.0
hw.serialno=123456789
hw.physmem=4261081088
hw.usermem=4261056512
hw.ncpufound=4hw.machine=amd64
hw.model=AMD GX-412TC SOC
hw.ncpu=4
hw.byteorder=1234
hw.pagesize=4096
hw.disknames=sd0:47e18331a1a8156e
hw.diskcount=1
hw.cpuspeed=998
hw.setperf=100
hw.vendor=PC Engines
hw.product=apu2
hw.version=1.0
hw.serialno=123456789
hw.physmem=4261081088
hw.usermem=4261056512
hw.ncpufound=4
hw.allowpowerdown=1
hw.perfpolicy=manual

So far everything works as advertised with the current limitations of
the BIOS (no ECC, no iPXE).
hw.allowpowerdown=1
hw.perfpolicy=manual

On 31/10/15 19:29, Theo de Raadt wrote:
>>     Whilst browsing their forums I found a link to this:
>> http://pcengines.ch/apu2b4.htm . AMD Jaguar APU, 4 cores, up to 4Gb
>> DDR1333 ram with ECC, and 3 intel i211 or i210 NICs. Hopefully there
>> won't be so many issues with this iteration of their APU series.
> Hopefully.
>
> It would be nice if some developers get some early, to verify this.
> Otherwise, I agree, there could be lots of pain once again.

Reply | Threaded
Open this post in threaded view
|

Re: PC Engines APU2 coming soon - how is OpenBSD's support so far?

Adam Van Ymeren
In reply to this post by Theo de Raadt
On Sat, Oct 31, 2015 at 2:29 PM, Theo de Raadt <[hidden email]> wrote:

>>    Whilst browsing their forums I found a link to this:
>> http://pcengines.ch/apu2b4.htm . AMD Jaguar APU, 4 cores, up to 4Gb
>> DDR1333 ram with ECC, and 3 intel i211 or i210 NICs. Hopefully there
>> won't be so many issues with this iteration of their APU series.
>
> Hopefully.
>
> It would be nice if some developers get some early, to verify this.
> Otherwise, I agree, there could be lots of pain once again.
>

I don't know the details of PC Engine's beta program, but if any
developers need a hardware donation let me know and I'll try to help.

Reply | Threaded
Open this post in threaded view
|

Re: PC Engines APU2 coming soon - how is OpenBSD's support so far?

nothingness
In reply to this post by nothingness
This is with the -CURRENT :

OpenBSD 5.8-current (GENERIC.MP) #0: Wed Nov  4 17:47:40 CET 2015
[hidden email]:/usr/src/sys/arch/amd64/compile/GENERIC.MP
real mem = 4261081088 (4063MB)
avail mem = 4127813632 (3936MB)
mpath0 at root
scsibus0 at mpath0: 256 targets
mainbus0 at root
bios0 at mainbus0: SMBIOS rev. 2.7 @ 0xdffb7020 (7 entries)
bios0: vendor coreboot version "APU2A_20150924-3-g0bf9198-dirty" date
09/28/2015
bios0: PC Engines apu2
acpi0 at bios0: rev 2
acpi0: sleep states S0 S1 S2 S3 S4 S5
acpi0: tables DSDT FACP SSDT APIC HEST SSDT SSDT HPET
acpi0: wakeup devices PWRB(S4) PBR4(S4) PBR5(S4) PBR6(S4) PBR7(S4)
PBR8(S4) UOH1(S3) UOH3(S3) UOH5(S3) XHC0(S4)
acpitimer0 at acpi0: 3579545 Hz, 32 bits
acpimadt0 at acpi0 addr 0xfee00000: PC-AT compat
cpu0 at mainbus0: apid 0 (boot processor)
cpu0: AMD GX-412TC SOC, 998.27 MHz
cpu0:
FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,MMX,FXSR,SSE,SSE2,HTT,SSE3,PCLMUL,MWAIT,SSSE3,CX16,SSE4.1,SSE4.2,MOVBE,POPCNT,AES,XSAVE,AVX,F16C,NXE,MMXX,FFXSR,PAGE1GB,LONG,LAHF,CMPLEG,SVM,EAPICSP,AMCR8,ABM,SSE4A,MASSE,3DNOWP,OSVW,IBS,SKINIT,TOPEXT,ITSC,BMI1
cpu0: 32KB 64b/line 2-way I-cache, 32KB 64b/line 8-way D-cache, 2MB
64b/line 16-way L2 cache
cpu0: ITLB 32 4KB entries fully associative, 8 4MB entries fully associative
cpu0: DTLB 40 4KB entries fully associative, 8 4MB entries fully associative
cpu0: smt 0, core 0, package 0
mtrr: Pentium Pro MTRR support, 8 var ranges, 88 fixed ranges
cpu0: apic clock running at 99MHz
cpu0: mwait min=64, max=64, IBE
cpu1 at mainbus0: apid 1 (application processor)
cpu1: AMD GX-412TC SOC, 998.11 MHz
cpu1:
FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,MMX,FXSR,SSE,SSE2,HTT,SSE3,PCLMUL,MWAIT,SSSE3,CX16,SSE4.1,SSE4.2,MOVBE,POPCNT,AES,XSAVE,AVX,F16C,NXE,MMXX,FFXSR,PAGE1GB,LONG,LAHF,CMPLEG,SVM,EAPICSP,AMCR8,ABM,SSE4A,MASSE,3DNOWP,OSVW,IBS,SKINIT,TOPEXT,ITSC,BMI1
cpu1: 32KB 64b/line 2-way I-cache, 32KB 64b/line 8-way D-cache, 2MB
64b/line 16-way L2 cache
cpu1: ITLB 32 4KB entries fully associative, 8 4MB entries fully associative
cpu1: DTLB 40 4KB entries fully associative, 8 4MB entries fully associative
cpu1: smt 0, core 1, package 0
cpu2 at mainbus0: apid 2 (application processor)
cpu2: AMD GX-412TC SOC, 998.11 MHz
cpu2:
FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,MMX,FXSR,SSE,SSE2,HTT,SSE3,PCLMUL,MWAIT,SSSE3,CX16,SSE4.1,SSE4.2,MOVBE,POPCNT,AES,XSAVE,AVX,F16C,NXE,MMXX,FFXSR,PAGE1GB,LONG,LAHF,CMPLEG,SVM,EAPICSP,AMCR8,ABM,SSE4A,MASSE,3DNOWP,OSVW,IBS,SKINIT,TOPEXT,ITSC,BMI1
cpu2: 32KB 64b/line 2-way I-cache, 32KB 64b/line 8-way D-cache, 2MB
64b/line 16-way L2 cache
cpu2: ITLB 32 4KB entries fully associative, 8 4MB entries fully associative
cpu2: DTLB 40 4KB entries fully associative, 8 4MB entries fully associative
cpu2: smt 0, core 2, package 0
cpu3 at mainbus0: apid 3 (application processor)
cpu3: AMD GX-412TC SOC, 998.11 MHz
cpu3:
FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,MMX,FXSR,SSE,SSE2,HTT,SSE3,PCLMUL,MWAIT,SSSE3,CX16,SSE4.1,SSE4.2,MOVBE,POPCNT,AES,XSAVE,AVX,F16C,NXE,MMXX,FFXSR,PAGE1GB,LONG,LAHF,CMPLEG,SVM,EAPICSP,AMCR8,ABM,SSE4A,MASSE,3DNOWP,OSVW,IBS,SKINIT,TOPEXT,ITSC,BMI1
cpu3: 32KB 64b/line 2-way I-cache, 32KB 64b/line 8-way D-cache, 2MB
64b/line 16-way L2 cache
cpu3: ITLB 32 4KB entries fully associative, 8 4MB entries fully associative
cpu3: DTLB 40 4KB entries fully associative, 8 4MB entries fully associative
cpu3: smt 0, core 3, package 0
ioapic0 at mainbus0: apid 4 pa 0xfec00000, version 21, 24 pins
ioapic1 at mainbus0: apid 5 pa 0xfec20000, version 21, 32 pins
ioapic1: misconfigured as apic 0, remapped to apid 5
acpihpet0 at acpi0: 14318180 Hz
acpiprt0 at acpi0: bus 0 (PCI0)
acpiprt1 at acpi0: bus -1 (PBR4)
acpiprt2 at acpi0: bus 1 (PBR5)
acpiprt3 at acpi0: bus 2 (PBR6)
acpiprt4 at acpi0: bus 3 (PBR7)
acpiprt5 at acpi0: bus -1 (PBR8)
acpicpu0 at acpi0: !C2(0@400 io@0x1771), C1(@1 halt!), PSS
acpicpu1 at acpi0: !C2(0@400 io@0x1771), C1(@1 halt!), PSS
acpicpu2 at acpi0: !C2(0@400 io@0x1771), C1(@1 halt!), PSS
acpicpu3 at acpi0: !C2(0@400 io@0x1771), C1(@1 halt!), PSS
acpibtn0 at acpi0: PWRB
cpu0: 998 MHz: speeds: 1000 800 600 MHz
pci0 at mainbus0 bus 0
pchb0 at pci0 dev 0 function 0 "AMD AMD64 16h Root Complex" rev 0x00
pchb1 at pci0 dev 2 function 0 "AMD AMD64 16h Host" rev 0x00
ppb0 at pci0 dev 2 function 2 "AMD AMD64 16h PCIE" rev 0x00: msi
pci1 at ppb0 bus 1
em0 at pci1 dev 0 function 0 "Intel I210" rev 0x03: msi, address
00:0d:b9:3f:9e:0c
ppb1 at pci0 dev 2 function 3 "AMD AMD64 16h PCIE" rev 0x00: msi
pci2 at ppb1 bus 2
em1 at pci2 dev 0 function 0 "Intel I210" rev 0x03: msi, address
00:0d:b9:3f:9e:0d
ppb2 at pci0 dev 2 function 4 "AMD AMD64 16h PCIE" rev 0x00: msi
pci3 at ppb2 bus 3
em2 at pci3 dev 0 function 0 "Intel I210" rev 0x03: msi, address
00:0d:b9:3f:9e:0e
"AMD CCP" rev 0x00 at pci0 dev 8 function 0 not configured
xhci0 at pci0 dev 16 function 0 "AMD Bolton xHCI" rev 0x11: msi
usb0 at xhci0: USB revision 3.0
uhub0 at usb0 "AMD xHCI root hub" rev 3.00/1.00 addr 1
ahci0 at pci0 dev 17 function 0 "AMD Hudson-2 SATA" rev 0x40: apic 4 int
19, AHCI 1.3
ahci0: port 0: 6.0Gb/s
scsibus1 at ahci0: 32 targets
sd0 at scsibus1 targ 0 lun 0: <ATA, SATA SSD, S9FM> SCSI3 0/direct fixed
t10.ATA_SATA_SSD_466F07550B9400389664
sd0: 15272MB, 512 bytes/sector, 31277232 sectors, thin
ehci0 at pci0 dev 19 function 0 "AMD Hudson-2 USB2" rev 0x39: apic 4 int 18
usb1 at ehci0: USB revision 2.0
uhub1 at usb1 "AMD EHCI root hub" rev 2.00/1.00 addr 1
piixpm0 at pci0 dev 20 function 0 "AMD Hudson-2 SMBus" rev 0x42: SMBus
disabled
pcib0 at pci0 dev 20 function 3 "AMD Hudson-2 LPC" rev 0x11
sdhc0 at pci0 dev 20 function 7 "AMD Bolton SD/MMC" rev 0x01: apic 4 int 16
sdhc0 at 0x10: can't map registers
pchb2 at pci0 dev 24 function 0 "AMD AMD64 16h Link Cfg" rev 0x00
pchb3 at pci0 dev 24 function 1 "AMD AMD64 16h Address Map" rev 0x00
pchb4 at pci0 dev 24 function 2 "AMD AMD64 16h DRAM Cfg" rev 0x00
pchb5 at pci0 dev 24 function 3 "AMD AMD64 16h Misc Cfg" rev 0x00
pchb6 at pci0 dev 24 function 4 "AMD AMD64 16h CPU Power" rev 0x00
pchb7 at pci0 dev 24 function 5 "AMD AMD64 16h Misc Cfg" rev 0x00
isa0 at pcib0
isadma0 at isa0
com0 at isa0 port 0x3f8/8 irq 4: ns16550a, 16 byte fifo
com0: console
com1 at isa0 port 0x2f8/8 irq 3: ns16550a, 16 byte fifo
pcppi0 at isa0 port 0x61
spkr0 at pcppi0
lpt0 at isa0 port 0x378/4 irq 7
wbsio0 at isa0 port 0x2e/2: NCT5104D rev 0x52
uhub2 at uhub1 port 1 "Advanced Micro Devices product 0x7900" rev
2.00/0.18 addr 2
vscsi0 at root
scsibus2 at vscsi0: 256 targets
softraid0 at root
scsibus3 at softraid0: 256 targets
root on sd0a (47e18331a1a8156e.a) swap on sd0b dump on sd0b

Main difference is that the AMD CCP is correctly identified. Really nice hw!

Cheers,

Noth

On 04/11/15 16:25, Noth wrote:

> Got my first beta board today, here's the dmesg:
>
> OpenBSD 5.8 (GENERIC.MP) #1: Mon Oct 19 02:13:53 CEST 2015
> [hidden email]:/root/binpatchng-2.1.2/work-binpatch58-amd64/src/sys/arch/amd64/compile/GENERIC.MP
>
> real mem = 4261081088 (4063MB)
> avail mem = 4128047104 (3936MB)
> mpath0 at root
> scsibus0 at mpath0: 256 targets
> mainbus0 at root
> bios0 at mainbus0: SMBIOS rev. 2.7 @ 0xdffb7020 (7 entries)
> bios0: vendor coreboot version "APU2A_20150924-3-g0bf9198-dirty" date
> 09/28/2015
> bios0: PC Engines apu2
> acpi0 at bios0: rev 2
> acpi0: sleep states S0 S1 S2 S3 S4 S5
> acpi0: tables DSDT FACP SSDT APIC HEST SSDT SSDT HPET
> acpi0: wakeup devices PWRB(S4) PBR4(S4) PBR5(S4) PBR6(S4) PBR7(S4)
> PBR8(S4) UOH1(S3) UOH3(S3) UOH5(S3) XHC0(S4)
> acpitimer0 at acpi0: 3579545 Hz, 32 bits
> acpimadt0 at acpi0 addr 0xfee00000: PC-AT compat
> cpu0 at mainbus0: apid 0 (boot processor)
> cpu0: AMD GX-412TC SOC, 998.27 MHz
> cpu0:
> FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,MMX,FXSR,SSE,SSE2,HTT,SSE3,PCLMUL,MWAIT,SSSE3,CX16,SSE4.1,SSE4.2,MOVBE,POPCNT,AES,XSAVE,AVX,F16C,NXE,MMXX,FFXSR,PAGE1GB,LONG,LAHF,CMPLEG,SVM,EAPICSP,AMCR8,ABM,SSE4A,MASSE,3DNOWP,OSVW,IBS,SKINIT,TOPEXT,ITSC,BMI1
> cpu0: 32KB 64b/line 2-way I-cache, 32KB 64b/line 8-way D-cache, 2MB
> 64b/line 16-way L2 cache
> cpu0: ITLB 32 4KB entries fully associative, 8 4MB entries fully
> associative
> cpu0: DTLB 40 4KB entries fully associative, 8 4MB entries fully
> associative
> cpu0: smt 0, core 0, package 0
> mtrr: Pentium Pro MTRR support, 8 var ranges, 88 fixed ranges
> cpu0: apic clock running at 99MHz
> cpu0: mwait min=64, max=64, IBE
> cpu1 at mainbus0: apid 1 (application processor)
> cpu1: AMD GX-412TC SOC, 998.13 MHz
> cpu1:
> FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,MMX,FXSR,SSE,SSE2,HTT,SSE3,PCLMUL,MWAIT,SSSE3,CX16,SSE4.1,SSE4.2,MOVBE,POPCNT,AES,XSAVE,AVX,F16C,NXE,MMXX,FFXSR,PAGE1GB,LONG,LAHF,CMPLEG,SVM,EAPICSP,AMCR8,ABM,SSE4A,MASSE,3DNOWP,OSVW,IBS,SKINIT,TOPEXT,ITSC,BMI1
> cpu1: 32KB 64b/line 2-way I-cache, 32KB 64b/line 8-way D-cache, 2MB
> 64b/line 16-way L2 cache
> cpu1: ITLB 32 4KB entries fully associative, 8 4MB entries fully
> associative
> cpu1: DTLB 40 4KB entries fully associative, 8 4MB entries fully
> associative
> cpu1: smt 0, core 1, package 0
> cpu2 at mainbus0: apid 2 (application processor)
> cpu2: AMD GX-412TC SOC, 998.13 MHz
> cpu2:
> FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,MMX,FXSR,SSE,SSE2,HTT,SSE3,PCLMUL,MWAIT,SSSE3,CX16,SSE4.1,SSE4.2,MOVBE,POPCNT,AES,XSAVE,AVX,F16C,NXE,MMXX,FFXSR,PAGE1GB,LONG,LAHF,CMPLEG,SVM,EAPICSP,AMCR8,ABM,SSE4A,MASSE,3DNOWP,OSVW,IBS,SKINIT,TOPEXT,ITSC,BMI1
> cpu2: 32KB 64b/line 2-way I-cache, 32KB 64b/line 8-way D-cache, 2MB
> 64b/line 16-way L2 cache
> cpu2: ITLB 32 4KB entries fully associative, 8 4MB entries fully
> associative
> cpu2: DTLB 40 4KB entries fully associative, 8 4MB entries fully
> associative
> cpu2: smt 0, core 2, package 0
> cpu3 at mainbus0: apid 3 (application processor)
> cpu3: AMD GX-412TC SOC, 998.17 MHz
> cpu3:
> FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,MMX,FXSR,SSE,SSE2,HTT,SSE3,PCLMUL,MWAIT,SSSE3,CX16,SSE4.1,SSE4.2,MOVBE,POPCNT,AES,XSAVE,AVX,F16C,NXE,MMXX,FFXSR,PAGE1GB,LONG,LAHF,CMPLEG,SVM,EAPICSP,AMCR8,ABM,SSE4A,MASSE,3DNOWP,OSVW,IBS,SKINIT,TOPEXT,ITSC,BMI1
> cpu3: 32KB 64b/line 2-way I-cache, 32KB 64b/line 8-way D-cache, 2MB
> 64b/line 16-way L2 cache
> cpu3: ITLB 32 4KB entries fully associative, 8 4MB entries fully
> associative
> cpu3: DTLB 40 4KB entries fully associative, 8 4MB entries fully
> associative
> cpu3: smt 0, core 3, package 0
> ioapic0 at mainbus0: apid 4 pa 0xfec00000, version 21, 24 pins
> ioapic1 at mainbus0: apid 5 pa 0xfec20000, version 21, 32 pins
> ioapic1: misconfigured as apic 0, remapped to apid 5
> acpihpet0 at acpi0: 14318180 Hz
> acpiprt0 at acpi0: bus 0 (PCI0)
> acpiprt1 at acpi0: bus -1 (PBR4)
> acpiprt2 at acpi0: bus 1 (PBR5)
> acpiprt3 at acpi0: bus 2 (PBR6)
> acpiprt4 at acpi0: bus 3 (PBR7)
> acpiprt5 at acpi0: bus -1 (PBR8)
> acpicpu0 at acpi0: !C2(0@400 io@0x1771), C1(@1 halt!), PSS
> acpicpu1 at acpi0: !C2(0@400 io@0x1771), C1(@1 halt!), PSS
> acpicpu2 at acpi0: !C2(0@400 io@0x1771), C1(@1 halt!), PSS
> acpicpu3 at acpi0: !C2(0@400 io@0x1771), C1(@1 halt!), PSS
> acpibtn0 at acpi0: PWRB
> cpu0: 998 MHz: speeds: 1000 800 600 MHz
> pci0 at mainbus0 bus 0
> pchb0 at pci0 dev 0 function 0 vendor "AMD", unknown product 0x1566
> rev 0x00
> pchb1 at pci0 dev 2 function 0 vendor "AMD", unknown product 0x156b
> rev 0x00
> ppb0 at pci0 dev 2 function 2 "AMD AMD64 16h PCIE" rev 0x00: msi
> pci1 at ppb0 bus 1
> em0 at pci1 dev 0 function 0 "Intel I210" rev 0x03: msi, address
> 00:0d:b9:3f:9e:0c
> ppb1 at pci0 dev 2 function 3 "AMD AMD64 16h PCIE" rev 0x00: msi
> pci2 at ppb1 bus 2
> em1 at pci2 dev 0 function 0 "Intel I210" rev 0x03: msi, address
> 00:0d:b9:3f:9e:0d
> ppb2 at pci0 dev 2 function 4 "AMD AMD64 16h PCIE" rev 0x00: msi
> pci3 at ppb2 bus 3
> em2 at pci3 dev 0 function 0 "Intel I210" rev 0x03: msi, address
> 00:0d:b9:3f:9e:0e
> vendor "AMD", unknown product 0x1537 (class crypto subclass
> miscellaneous, rev 0x00) at pci0 dev 8 function 0 not configured
> xhci0 at pci0 dev 16 function 0 vendor "AMD", unknown product 0x7814
> rev 0x11: msi
> usb0 at xhci0: USB revision 3.0
> uhub0 at usb0 "AMD xHCI root hub" rev 3.00/1.00 addr 1
> ahci0 at pci0 dev 17 function 0 "AMD Hudson-2 SATA" rev 0x40: apic 4
> int 19, AHCI 1.3
> ahci0: port 0: 6.0Gb/s
> scsibus1 at ahci0: 32 targets
> sd0 at scsibus1 targ 0 lun 0: <ATA, SATA SSD, S9FM> SCSI3 0/direct
> fixed t10.ATA_SATA_SSD_466F07550B9400389664
> sd0: 15272MB, 512 bytes/sector, 31277232 sectors, thin
> ehci0 at pci0 dev 19 function 0 "AMD Hudson-2 USB2" rev 0x39: apic 4
> int 18
> usb1 at ehci0: USB revision 2.0
> uhub1 at usb1 "AMD EHCI root hub" rev 2.00/1.00 addr 1
> piixpm0 at pci0 dev 20 function 0 "AMD Hudson-2 SMBus" rev 0x42: SMBus
> disabled
> pcib0 at pci0 dev 20 function 3 "AMD Hudson-2 LPC" rev 0x11
> sdhc0 at pci0 dev 20 function 7 vendor "AMD", unknown product 0x7813
> rev 0x01: apic 4 int 16
> sdhc0 at 0x10: can't map registers
> pchb2 at pci0 dev 24 function 0 vendor "AMD", unknown product 0x1580
> rev 0x00
> pchb3 at pci0 dev 24 function 1 vendor "AMD", unknown product 0x1581
> rev 0x00
> pchb4 at pci0 dev 24 function 2 vendor "AMD", unknown product 0x1582
> rev 0x00
> pchb5 at pci0 dev 24 function 3 vendor "AMD", unknown product 0x1583
> rev 0x00
> pchb6 at pci0 dev 24 function 4 vendor "AMD", unknown product 0x1584
> rev 0x00
> pchb7 at pci0 dev 24 function 5 vendor "AMD", unknown product 0x1585
> rev 0x00
> isa0 at pcib0
> isadma0 at isa0
> com0 at isa0 port 0x3f8/8 irq 4: ns16550a, 16 byte fifo
> com0: console
> com1 at isa0 port 0x2f8/8 irq 3: ns16550a, 16 byte fifo
> pcppi0 at isa0 port 0x61
> spkr0 at pcppi0
> lpt0 at isa0 port 0x378/4 irq 7
> wbsio0 at isa0 port 0x2e/2: NCT5104D rev 0x52
> uhub2 at uhub1 port 1 "Advanced Micro Devices product 0x7900" rev
> 2.00/0.18 addr 2
> vscsi0 at root
> scsibus2 at vscsi0: 256 targets
> softraid0 at root
> scsibus3 at softraid0: 256 targets
> root on sd0a (47e18331a1a8156e.a) swap on sd0b dump on sd0b
>
> sysctl hw:
>
> hw.machine=amd64
> hw.model=AMD GX-412TC SOC
> hw.ncpu=4
> hw.byteorder=1234
> hw.pagesize=4096
> hw.disknames=sd0:47e18331a1a8156e
> hw.diskcount=1
> hw.cpuspeed=998
> hw.setperf=100
> hw.vendor=PC Engines
> hw.product=apu2
> hw.version=1.0
> hw.serialno=123456789
> hw.physmem=4261081088
> hw.usermem=4261056512
> hw.ncpufound=4
> hw.allowpowerdown=1
> hw.perfpolicy=manual
> hw.machine=amd64
> hw.model=AMD GX-412TC SOC
> hw.ncpu=4
> hw.byteorder=1234
> hw.pagesize=4096
> hw.disknames=sd0:47e18331a1a8156e
> hw.diskcount=1
> hw.cpuspeed=998
> hw.setperf=100
> hw.vendor=PC Engines
> hw.product=apu2
> hw.version=1.0
> hw.serialno=123456789
> hw.physmem=4261081088
> hw.usermem=4261056512
> hw.ncpufound=4hw.machine=amd64
> hw.model=AMD GX-412TC SOC
> hw.ncpu=4
> hw.byteorder=1234
> hw.pagesize=4096
> hw.disknames=sd0:47e18331a1a8156e
> hw.diskcount=1
> hw.cpuspeed=998
> hw.setperf=100
> hw.vendor=PC Engines
> hw.product=apu2
> hw.version=1.0
> hw.serialno=123456789
> hw.physmem=4261081088
> hw.usermem=4261056512
> hw.ncpufound=4
> hw.allowpowerdown=1
> hw.perfpolicy=manual
>
> So far everything works as advertised with the current limitations of
> the BIOS (no ECC, no iPXE).
> hw.allowpowerdown=1
> hw.perfpolicy=manual
>
> On 31/10/15 19:29, Theo de Raadt wrote:
>>>     Whilst browsing their forums I found a link to this:
>>> http://pcengines.ch/apu2b4.htm . AMD Jaguar APU, 4 cores, up to 4Gb
>>> DDR1333 ram with ECC, and 3 intel i211 or i210 NICs. Hopefully there
>>> won't be so many issues with this iteration of their APU series.
>> Hopefully.
>>
>> It would be nice if some developers get some early, to verify this.
>> Otherwise, I agree, there could be lots of pain once again.
>

Reply | Threaded
Open this post in threaded view
|

Re: PC Engines APU2 coming soon - how is OpenBSD's support so far?

Stuart Henderson-6
this will probably get you a cpu temperature sensor.

Index: km.c
===================================================================
RCS file: /cvs/src/sys/dev/pci/km.c,v
retrieving revision 1.10
diff -u -p -r1.10 km.c
--- km.c 14 Mar 2015 03:38:48 -0000 1.10
+++ km.c 4 Nov 2015 17:44:25 -0000
@@ -72,7 +72,8 @@ static const struct pci_matchid km_devic
  { PCI_VENDOR_AMD, PCI_PRODUCT_AMD_AMD64_14_MISC },
  { PCI_VENDOR_AMD, PCI_PRODUCT_AMD_AMD64_15_0x_MISC },
  { PCI_VENDOR_AMD, PCI_PRODUCT_AMD_AMD64_15_1x_MISC },
- { PCI_VENDOR_AMD, PCI_PRODUCT_AMD_AMD64_16_MISC }
+ { PCI_VENDOR_AMD, PCI_PRODUCT_AMD_AMD64_16_MISC },
+ { PCI_VENDOR_AMD, PCI_PRODUCT_AMD_AMD64_16_3X_MISC }
 };
 
 

Reply | Threaded
Open this post in threaded view
|

Re: PC Engines APU2 coming soon - how is OpenBSD's support so far?

nothingness
Thanks Stuart, that works for me!

# sysctl hw
hw.machine=amd64
hw.model=AMD GX-412TC SOC
hw.ncpu=4
hw.byteorder=1234
hw.pagesize=4096
hw.disknames=sd0:47e18331a1a8156e
hw.diskcount=1
hw.sensors.km0.temp0=59.38 degC
hw.cpuspeed=998
hw.setperf=100
hw.vendor=PC Engines
hw.product=apu2
hw.version=1.0
hw.serialno=123456789
hw.physmem=4261081088
hw.usermem=4261056512
hw.ncpufound=4
hw.allowpowerdown=1
hw.perfpolicy=manual

On 04/11/15 18:47, Stuart Henderson wrote:

> this will probably get you a cpu temperature sensor.
>
> Index: km.c
> ===================================================================
> RCS file: /cvs/src/sys/dev/pci/km.c,v
> retrieving revision 1.10
> diff -u -p -r1.10 km.c
> --- km.c 14 Mar 2015 03:38:48 -0000 1.10
> +++ km.c 4 Nov 2015 17:44:25 -0000
> @@ -72,7 +72,8 @@ static const struct pci_matchid km_devic
>   { PCI_VENDOR_AMD, PCI_PRODUCT_AMD_AMD64_14_MISC },
>   { PCI_VENDOR_AMD, PCI_PRODUCT_AMD_AMD64_15_0x_MISC },
>   { PCI_VENDOR_AMD, PCI_PRODUCT_AMD_AMD64_15_1x_MISC },
> - { PCI_VENDOR_AMD, PCI_PRODUCT_AMD_AMD64_16_MISC }
> + { PCI_VENDOR_AMD, PCI_PRODUCT_AMD_AMD64_16_MISC },
> + { PCI_VENDOR_AMD, PCI_PRODUCT_AMD_AMD64_16_3X_MISC }
>   };
>  
>  
>

Reply | Threaded
Open this post in threaded view
|

Re: PC Engines APU2 coming soon - how is OpenBSD's support so far?

Chris Cappuccio
Noth,
I got my APU (first rev) to go from 56-58 temps down to 49-50 by using heatsink paste instead of the thermal pad...

Noth [[hidden email]] wrote:

> Thanks Stuart, that works for me!
>
> # sysctl hw
> hw.machine=amd64
> hw.model=AMD GX-412TC SOC
> hw.ncpu=4
> hw.byteorder=1234
> hw.pagesize=4096
> hw.disknames=sd0:47e18331a1a8156e
> hw.diskcount=1
> hw.sensors.km0.temp0=59.38 degC
> hw.cpuspeed=998
> hw.setperf=100
> hw.vendor=PC Engines
> hw.product=apu2
> hw.version=1.0
> hw.serialno=123456789
> hw.physmem=4261081088
> hw.usermem=4261056512
> hw.ncpufound=4
> hw.allowpowerdown=1
> hw.perfpolicy=manual
>
> On 04/11/15 18:47, Stuart Henderson wrote:
> >this will probably get you a cpu temperature sensor.
> >
> >Index: km.c
> >===================================================================
> >RCS file: /cvs/src/sys/dev/pci/km.c,v
> >retrieving revision 1.10
> >diff -u -p -r1.10 km.c
> >--- km.c 14 Mar 2015 03:38:48 -0000 1.10
> >+++ km.c 4 Nov 2015 17:44:25 -0000
> >@@ -72,7 +72,8 @@ static const struct pci_matchid km_devic
> >   { PCI_VENDOR_AMD, PCI_PRODUCT_AMD_AMD64_14_MISC },
> >   { PCI_VENDOR_AMD, PCI_PRODUCT_AMD_AMD64_15_0x_MISC },
> >   { PCI_VENDOR_AMD, PCI_PRODUCT_AMD_AMD64_15_1x_MISC },
> >- { PCI_VENDOR_AMD, PCI_PRODUCT_AMD_AMD64_16_MISC }
> >+ { PCI_VENDOR_AMD, PCI_PRODUCT_AMD_AMD64_16_MISC },
> >+ { PCI_VENDOR_AMD, PCI_PRODUCT_AMD_AMD64_16_3X_MISC }
> >  };
> >

Reply | Threaded
Open this post in threaded view
|

Re: PC Engines APU2 coming soon - how is OpenBSD's support so far?

Brian Conway
In reply to this post by nothingness
Not much different to report with the 2 GB model, other than the
expected changes in memory size and ethernet chips. Everything seems
to work well.

Taking into account Mr. Cappuccio's advice on using thermal paste
between the CPU and heat spreader, and also positioning it bottom-up,
this one stabilized at 51 C at idle. I haven't had a chance to do much
benchmarking for higher temps yet, other than a run of `openssl speed`
to warm it up.

Brian Conway

OpenBSD 5.8-current (GENERIC.MP) #1574: Thu Nov  5 22:51:41 MST 2015
    [hidden email]:/usr/src/sys/arch/amd64/compile/GENERIC.MP
real mem = 1996152832 (1903MB)
avail mem = 1931587584 (1842MB)
mpath0 at root
scsibus0 at mpath0: 256 targets
mainbus0 at root
bios0 at mainbus0: SMBIOS rev. 2.7 @ 0x77fb7020 (7 entries)
bios0: vendor coreboot version "APU2A_20150924-3-g0bf9198-dirty" date 09/28/2015
bios0: PC Engines apu2
acpi0 at bios0: rev 2
acpi0: sleep states S0 S1 S2 S3 S4 S5
acpi0: tables DSDT FACP SSDT APIC HEST SSDT SSDT HPET
acpi0: wakeup devices PWRB(S4) PBR4(S4) PBR5(S4) PBR6(S4) PBR7(S4)
PBR8(S4) UOH1(S3) UOH3(S3) UOH5(S3) XHC0(S4)
acpitimer0 at acpi0: 3579545 Hz, 32 bits
acpimadt0 at acpi0 addr 0xfee00000: PC-AT compat
cpu0 at mainbus0: apid 0 (boot processor)
cpu0: AMD GX-412TC SOC, 998.25 MHz
cpu0: FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,MMX,FXSR,SSE,SSE2,HTT,SSE3,PCLMUL,MWAIT,SSSE3,CX16,SSE4.1,SSE4.2,MOVBE,POPCNT,AES,XSAVE,AVX,F16C,NXE,MMXX,FFXSR,PAGE1GB,LONG,LAHF,CMPLEG,SVM,EAPICSP,AMCR8,ABM,SSE4A,MASSE,3DNOWP,OSVW,IBS,SKINIT,TOPEXT,ITSC,BMI1
cpu0: 32KB 64b/line 2-way I-cache, 32KB 64b/line 8-way D-cache, 2MB
64b/line 16-way L2 cache
cpu0: ITLB 32 4KB entries fully associative, 8 4MB entries fully associative
cpu0: DTLB 40 4KB entries fully associative, 8 4MB entries fully associative
cpu0: smt 0, core 0, package 0
mtrr: Pentium Pro MTRR support, 8 var ranges, 88 fixed ranges
cpu0: apic clock running at 99MHz
cpu0: mwait min=64, max=64, IBE
cpu1 at mainbus0: apid 1 (application processor)
cpu1: AMD GX-412TC SOC, 998.13 MHz
cpu1: FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,MMX,FXSR,SSE,SSE2,HTT,SSE3,PCLMUL,MWAIT,SSSE3,CX16,SSE4.1,SSE4.2,MOVBE,POPCNT,AES,XSAVE,AVX,F16C,NXE,MMXX,FFXSR,PAGE1GB,LONG,LAHF,CMPLEG,SVM,EAPICSP,AMCR8,ABM,SSE4A,MASSE,3DNOWP,OSVW,IBS,SKINIT,TOPEXT,ITSC,BMI1
cpu1: 32KB 64b/line 2-way I-cache, 32KB 64b/line 8-way D-cache, 2MB
64b/line 16-way L2 cache
cpu1: ITLB 32 4KB entries fully associative, 8 4MB entries fully associative
cpu1: DTLB 40 4KB entries fully associative, 8 4MB entries fully associative
cpu1: smt 0, core 1, package 0
cpu2 at mainbus0: apid 2 (application processor)
cpu2: AMD GX-412TC SOC, 998.13 MHz
cpu2: FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,MMX,FXSR,SSE,SSE2,HTT,SSE3,PCLMUL,MWAIT,SSSE3,CX16,SSE4.1,SSE4.2,MOVBE,POPCNT,AES,XSAVE,AVX,F16C,NXE,MMXX,FFXSR,PAGE1GB,LONG,LAHF,CMPLEG,SVM,EAPICSP,AMCR8,ABM,SSE4A,MASSE,3DNOWP,OSVW,IBS,SKINIT,TOPEXT,ITSC,BMI1
cpu2: 32KB 64b/line 2-way I-cache, 32KB 64b/line 8-way D-cache, 2MB
64b/line 16-way L2 cache
cpu2: ITLB 32 4KB entries fully associative, 8 4MB entries fully associative
cpu2: DTLB 40 4KB entries fully associative, 8 4MB entries fully associative
cpu2: smt 0, core 2, package 0
cpu3 at mainbus0: apid 3 (application processor)
cpu3: AMD GX-412TC SOC, 998.13 MHz
cpu3: FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,MMX,FXSR,SSE,SSE2,HTT,SSE3,PCLMUL,MWAIT,SSSE3,CX16,SSE4.1,SSE4.2,MOVBE,POPCNT,AES,XSAVE,AVX,F16C,NXE,MMXX,FFXSR,PAGE1GB,LONG,LAHF,CMPLEG,SVM,EAPICSP,AMCR8,ABM,SSE4A,MASSE,3DNOWP,OSVW,IBS,SKINIT,TOPEXT,ITSC,BMI1
cpu3: 32KB 64b/line 2-way I-cache, 32KB 64b/line 8-way D-cache, 2MB
64b/line 16-way L2 cache
cpu3: ITLB 32 4KB entries fully associative, 8 4MB entries fully associative
cpu3: DTLB 40 4KB entries fully associative, 8 4MB entries fully associative
cpu3: smt 0, core 3, package 0
ioapic0 at mainbus0: apid 4 pa 0xfec00000, version 21, 24 pins
ioapic1 at mainbus0: apid 5 pa 0xfec20000, version 21, 32 pins
ioapic1: misconfigured as apic 0, remapped to apid 5
acpihpet0 at acpi0: 14318180 Hz
acpiprt0 at acpi0: bus 0 (PCI0)
acpiprt1 at acpi0: bus -1 (PBR4)
acpiprt2 at acpi0: bus 1 (PBR5)
acpiprt3 at acpi0: bus 2 (PBR6)
acpiprt4 at acpi0: bus 3 (PBR7)
acpiprt5 at acpi0: bus -1 (PBR8)
acpicpu0 at acpi0: !C2(0@400 io@0x1771), C1(@1 halt!), PSS
acpicpu1 at acpi0: !C2(0@400 io@0x1771), C1(@1 halt!), PSS
acpicpu2 at acpi0: !C2(0@400 io@0x1771), C1(@1 halt!), PSS
acpicpu3 at acpi0: !C2(0@400 io@0x1771), C1(@1 halt!), PSS
acpibtn0 at acpi0: PWRB
cpu0: 998 MHz: speeds: 1000 800 600 MHz
pci0 at mainbus0 bus 0
pchb0 at pci0 dev 0 function 0 "AMD AMD64 16h Root Complex" rev 0x00
pchb1 at pci0 dev 2 function 0 "AMD AMD64 16h Host" rev 0x00
ppb0 at pci0 dev 2 function 2 "AMD AMD64 16h PCIE" rev 0x00: msi
pci1 at ppb0 bus 1
em0 at pci1 dev 0 function 0 "Intel I211" rev 0x03: msi, address
00:0d:b9:3f:9d:84
ppb1 at pci0 dev 2 function 3 "AMD AMD64 16h PCIE" rev 0x00: msi
pci2 at ppb1 bus 2
em1 at pci2 dev 0 function 0 "Intel I211" rev 0x03: msi, address
00:0d:b9:3f:9d:85
ppb2 at pci0 dev 2 function 4 "AMD AMD64 16h PCIE" rev 0x00: msi
pci3 at ppb2 bus 3
em2 at pci3 dev 0 function 0 "Intel I211" rev 0x03: msi, address
00:0d:b9:3f:9d:86
"AMD CCP" rev 0x00 at pci0 dev 8 function 0 not configured
xhci0 at pci0 dev 16 function 0 "AMD Bolton xHCI" rev 0x11: msi
usb0 at xhci0: USB revision 3.0
uhub0 at usb0 "AMD xHCI root hub" rev 3.00/1.00 addr 1
ahci0 at pci0 dev 17 function 0 "AMD Hudson-2 SATA" rev 0x40: apic 4
int 19, AHCI 1.3
scsibus1 at ahci0: 32 targets
ehci0 at pci0 dev 19 function 0 "AMD Hudson-2 USB2" rev 0x39: apic 4 int 18
usb1 at ehci0: USB revision 2.0
uhub1 at usb1 "AMD EHCI root hub" rev 2.00/1.00 addr 1
piixpm0 at pci0 dev 20 function 0 "AMD Hudson-2 SMBus" rev 0x42: SMBus disabled
pcib0 at pci0 dev 20 function 3 "AMD Hudson-2 LPC" rev 0x11
sdhc0 at pci0 dev 20 function 7 "AMD Bolton SD/MMC" rev 0x01: apic 4 int 16
sdhc0 at 0x10: can't map registers
pchb2 at pci0 dev 24 function 0 "AMD AMD64 16h Link Cfg" rev 0x00
pchb3 at pci0 dev 24 function 1 "AMD AMD64 16h Address Map" rev 0x00
pchb4 at pci0 dev 24 function 2 "AMD AMD64 16h DRAM Cfg" rev 0x00
km0 at pci0 dev 24 function 3 "AMD AMD64 16h Misc Cfg" rev 0x00
pchb5 at pci0 dev 24 function 4 "AMD AMD64 16h CPU Power" rev 0x00
pchb6 at pci0 dev 24 function 5 "AMD AMD64 16h Misc Cfg" rev 0x00
isa0 at pcib0
isadma0 at isa0
com0 at isa0 port 0x3f8/8 irq 4: ns16550a, 16 byte fifo
com0: console
com1 at isa0 port 0x2f8/8 irq 3: ns16550a, 16 byte fifo
pcppi0 at isa0 port 0x61
spkr0 at pcppi0
lpt0 at isa0 port 0x378/4 irq 7
wbsio0 at isa0 port 0x2e/2: NCT5104D rev 0x52
umass0 at uhub0 port 1 configuration 1 interface 0 " Patriot Memory"
rev 3.00/1.00 addr 2
umass0: using SCSI over Bulk-Only
scsibus2 at umass0: 2 targets, initiator 0
sd0 at scsibus2 targ 1 lun 0: <, Patriot Memory, PMAP> SCSI4 0/direct
removable serial.13fe5200380886B2E024
sd0: 7552MB, 512 bytes/sector, 15466496 sectors
uhub2 at uhub1 port 1 "Advanced Micro Devices product 0x7900" rev
2.00/0.18 addr 2
vscsi0 at root
scsibus3 at vscsi0: 256 targets
softraid0 at root
scsibus4 at softraid0: 256 targets
root on sd0d (58aff44d6b292ff6.d) swap on sd0b dump on sd0b

hw.machine=amd64
hw.model=AMD GX-412TC SOC
hw.ncpu=4
hw.byteorder=1234
hw.pagesize=4096
hw.disknames=sd0:58aff44d6b292ff6
hw.diskcount=1
hw.sensors.km0.temp0=40.38 degC
hw.cpuspeed=998
hw.setperf=100
hw.vendor=PC Engines
hw.product=apu2
hw.version=1.0
hw.serialno=123456789
hw.physmem=1996152832
hw.usermem=1996128256
hw.ncpufound=4
hw.allowpowerdown=1
hw.perfpolicy=manual

Reply | Threaded
Open this post in threaded view
|

Re: PC Engines APU2 coming soon - how is OpenBSD's support so far?

Chris Cappuccio
Brian Conway [[hidden email]] wrote:
>
> Taking into account Mr. Cappuccio's advice on using thermal paste
> between the CPU and heat spreader, and also positioning it bottom-up,
> this one stabilized at 51 C at idle. I haven't had a chance to do much
> benchmarking for higher temps yet, other than a run of `openssl speed`
> to warm it up.

If you put the heat speader upside down, the sticky pad would be against
the cpu heatsink contact area?? There's only one way to put that device in.

Reply | Threaded
Open this post in threaded view
|

Re: PC Engines APU2 coming soon - how is OpenBSD's support so far?

Brian Conway
I meant positioning the whole case bottom-up (i.e. but the hot surface
at the top).

Brian Conway

On Mon, Nov 9, 2015 at 9:28 AM, Chris Cappuccio <[hidden email]> wrote:

> Brian Conway [[hidden email]] wrote:
>>
>> Taking into account Mr. Cappuccio's advice on using thermal paste
>> between the CPU and heat spreader, and also positioning it bottom-up,
>> this one stabilized at 51 C at idle. I haven't had a chance to do much
>> benchmarking for higher temps yet, other than a run of `openssl speed`
>> to warm it up.
>
> If you put the heat speader upside down, the sticky pad would be against
> the cpu heatsink contact area?? There's only one way to put that device in.

Reply | Threaded
Open this post in threaded view
|

Re: PC Engines APU2 coming soon - how is OpenBSD's support so far?

Chris Cappuccio
Brian Conway [[hidden email]] wrote:
> I meant positioning the whole case bottom-up (i.e. but the hot surface
> at the top).

Oh I see!

I just got a beta unit. I was late to the party. I used some of this
ZM-STG1 thermal grease (comes with a paint applicator type brush) and
the integrated memtest goes between 46 and 47 C. With intel ethernet,
four cores and usb3, this is a pretty nice unit!

I wonder if these are four discrete cores or if AMD is playing games
(like the bulldozer lawsuit as of late.)

Chris

Reply | Threaded
Open this post in threaded view
|

Re: PC Engines APU2 coming soon - how is OpenBSD's support so far?

Rolf Sommerhalder
In reply to this post by nothingness
Got two APU2b4 boards yesterday, and they fail to boot 5.8 or
-current, i386 or amd64, from USB early in the process (see below).

So far, I could not figure out if there are differences to your setup
from your dmesgs. Eventually, did you revceive an earlier hardware
revision APU2a4, with an earlier version of coreboot?

Also, I tried to lower serial line speed from the initial 115k of
coreboot, for the (unlikely) case that the kernel should change it.

Finally, 'boot -c' dos not get as far as to UKC in order to try with
ACPI disabled etc.

What is your serial console output at boot time? Any ideas or
suggestions what I should try next?

Thanks,
Rolf


console output from power-up:

Mainboard PCEngines apu2 Enable.
APIC: 00 missing read_resources
APIC: 01 missing read_resources
APIC: 02 missing read_resources
APIC: 03 missing read_resources
SeaBIOS (version rel-1.8.0-181-g0af5958)
BUILD: gcc: (Ubuntu 4.8.4-2ubuntu1~14.04) 4.8.4 binutils: (GNU Binutils for Ubu4
SeaBIOS (version rel-1.8.0-181-g0af5958)
BUILD: gcc: (Ubuntu 4.8.4-2ubuntu1~14.04) 4.8.4 binutils: (GNU Binutils for Ubu4
Found coreboot cbmem console @ dffdf000
Found mainboard PC Engines PCEngines apu2
Relocating init from 0x000eeb10 to 0xdff66fd0 (size 28576)
Found CBFS header at 0xfffffc50
multiboot: eax=0, ebx=0
boot order:
1: /pci@i0cf8/usb@10/usb-*@1
2: /pci@i0cf8/usb@10/usb-*@2
SeaBIOS (version rel-1.8.0-181-g0af5958)
XHCI init on dev 00:10.0: regs @ 0xfeb22000, 4 ports, 32 slots, 32 byte contexts
XHCI    extcap 0x1 @ feb22500
XHCI    protocol USB  3.00, 2 ports (offset 1), def 0
XHCI    protocol USB  2.00, 2 ports (offset 3), def 10
XHCI    extcap 0xa @ feb22540
Found 2 serial ports
Searching bootorder for: /pci@i0cf8/*@14,7
EHCI init on dev 00:13.0 (regs=0xfeb25420)
Searching bootorder for: /rom@img/memtest
Searching bootorder for: /rom@img/setup
XHCI port #3: 0x00200e03, powered, enabled, pls 0, speed 3 [High]
Initialized USB HUB (0 ports used)
WARNING - Timeout at xhci_event_wait:694!
xhci_send_pipe: xfer failed (cc -1)
Searching bootorder for: /pci@i0cf8/usb@10/storage@3/*@0/*@0,0
Searching bootorder for: /pci@i0cf8/usb@10/usb-*@3
USB MSC vendor='JetFlash' product='Transcend 1GB' rev='8.07' type=0 removable=1
USB MSC blksize=512 sectors=1972224
All threads complete.
Scan for option roms
PCengines Press F10 key now for boot menu:
Searching bootorder for: HALT
drive 0x000f5850: PCHS=0/0/0 translation=lba LCHS=978/32/63 s=1972224
Space available for UMB: c1000-ef000, f0000-f5850
Returned 258048 bytes of ZoneHigh
e820 map has 7 items:
  0: 0000000000000000 - 000000000009f800 = 1 RAM
  1: 000000000009f800 - 00000000000a0000 = 2 RESERVED
  2: 00000000000f0000 - 0000000000100000 = 2 RESERVED
  3: 0000000000100000 - 00000000dffad000 = 1 RAM
  4: 00000000dffad000 - 00000000e0000000 = 2 RESERVED
  5: 00000000f8000000 - 00000000fc000000 = 2 RESERVED
  6: 0000000100000000 - 000000011f000000 = 1 RAM
enter handle_19:
  NULL
Booting from Hard Disk...
Booting from 0000:7c00
Using drive 0, partition 3.
Loading.........
probing: pc0 com0 com1 mem[638K 3582M 496M a20=on]
disk: hd0+
>> OpenBSD/amd64 BOOT 3.28
boot>
cannot open hd0a:/etc/random.seed: No such file or directory
booting hd0a:/5.8/amd64/bsd.rd: 3251512+1391248+2401280+0+520192 [72+360480+23]8
entry point at 0x1000160 [7205c766, 34000004, 24448b12, a680a304]
(output stops here)

Reply | Threaded
Open this post in threaded view
|

Re: PC Engines APU2 coming soon - how is OpenBSD's support so far?

Stuart Henderson-6
set tty com0

On 2015/11/12 14:32, Rolf Sommerhalder wrote:

> Got two APU2b4 boards yesterday, and they fail to boot 5.8 or
> -current, i386 or amd64, from USB early in the process (see below).
>
> So far, I could not figure out if there are differences to your setup
> from your dmesgs. Eventually, did you revceive an earlier hardware
> revision APU2a4, with an earlier version of coreboot?
>
> Also, I tried to lower serial line speed from the initial 115k of
> coreboot, for the (unlikely) case that the kernel should change it.
>
> Finally, 'boot -c' dos not get as far as to UKC in order to try with
> ACPI disabled etc.
>
> What is your serial console output at boot time? Any ideas or
> suggestions what I should try next?
>
> Thanks,
> Rolf
>
>
> console output from power-up:
>
> Mainboard PCEngines apu2 Enable.
> APIC: 00 missing read_resources
> APIC: 01 missing read_resources
> APIC: 02 missing read_resources
> APIC: 03 missing read_resources
> SeaBIOS (version rel-1.8.0-181-g0af5958)
> BUILD: gcc: (Ubuntu 4.8.4-2ubuntu1~14.04) 4.8.4 binutils: (GNU Binutils for Ubu4
> SeaBIOS (version rel-1.8.0-181-g0af5958)
> BUILD: gcc: (Ubuntu 4.8.4-2ubuntu1~14.04) 4.8.4 binutils: (GNU Binutils for Ubu4
> Found coreboot cbmem console @ dffdf000
> Found mainboard PC Engines PCEngines apu2
> Relocating init from 0x000eeb10 to 0xdff66fd0 (size 28576)
> Found CBFS header at 0xfffffc50
> multiboot: eax=0, ebx=0
> boot order:
> 1: /pci@i0cf8/usb@10/usb-*@1
> 2: /pci@i0cf8/usb@10/usb-*@2
> SeaBIOS (version rel-1.8.0-181-g0af5958)
> XHCI init on dev 00:10.0: regs @ 0xfeb22000, 4 ports, 32 slots, 32 byte contexts
> XHCI    extcap 0x1 @ feb22500
> XHCI    protocol USB  3.00, 2 ports (offset 1), def 0
> XHCI    protocol USB  2.00, 2 ports (offset 3), def 10
> XHCI    extcap 0xa @ feb22540
> Found 2 serial ports
> Searching bootorder for: /pci@i0cf8/*@14,7
> EHCI init on dev 00:13.0 (regs=0xfeb25420)
> Searching bootorder for: /rom@img/memtest
> Searching bootorder for: /rom@img/setup
> XHCI port #3: 0x00200e03, powered, enabled, pls 0, speed 3 [High]
> Initialized USB HUB (0 ports used)
> WARNING - Timeout at xhci_event_wait:694!
> xhci_send_pipe: xfer failed (cc -1)
> Searching bootorder for: /pci@i0cf8/usb@10/storage@3/*@0/*@0,0
> Searching bootorder for: /pci@i0cf8/usb@10/usb-*@3
> USB MSC vendor='JetFlash' product='Transcend 1GB' rev='8.07' type=0 removable=1
> USB MSC blksize=512 sectors=1972224
> All threads complete.
> Scan for option roms
> PCengines Press F10 key now for boot menu:
> Searching bootorder for: HALT
> drive 0x000f5850: PCHS=0/0/0 translation=lba LCHS=978/32/63 s=1972224
> Space available for UMB: c1000-ef000, f0000-f5850
> Returned 258048 bytes of ZoneHigh
> e820 map has 7 items:
>   0: 0000000000000000 - 000000000009f800 = 1 RAM
>   1: 000000000009f800 - 00000000000a0000 = 2 RESERVED
>   2: 00000000000f0000 - 0000000000100000 = 2 RESERVED
>   3: 0000000000100000 - 00000000dffad000 = 1 RAM
>   4: 00000000dffad000 - 00000000e0000000 = 2 RESERVED
>   5: 00000000f8000000 - 00000000fc000000 = 2 RESERVED
>   6: 0000000100000000 - 000000011f000000 = 1 RAM
> enter handle_19:
>   NULL
> Booting from Hard Disk...
> Booting from 0000:7c00
> Using drive 0, partition 3.
> Loading.........
> probing: pc0 com0 com1 mem[638K 3582M 496M a20=on]
> disk: hd0+
> >> OpenBSD/amd64 BOOT 3.28
> boot>
> cannot open hd0a:/etc/random.seed: No such file or directory
> booting hd0a:/5.8/amd64/bsd.rd: 3251512+1391248+2401280+0+520192 [72+360480+23]8
> entry point at 0x1000160 [7205c766, 34000004, 24448b12, a680a304]
> (output stops here)
>

Reply | Threaded
Open this post in threaded view
|

Re: PC Engines APU2 coming soon - how is OpenBSD's support so far?

Daniel Ouellet
In reply to this post by Rolf Sommerhalder
you got stuck at the same place I did.

For i386/amd64 you have to tell boot you want serial output
either at the boot prompt or via boot.conf.

stty com0 115200
set tty com0

See archive:

http://marc.info/?l=openbsd-misc&m=144531335118929&w=2

And this should be on misc@ anyway.

Take care.

Daniel


On 11/12/15 8:32 AM, Rolf Sommerhalder wrote:

> Got two APU2b4 boards yesterday, and they fail to boot 5.8 or
> -current, i386 or amd64, from USB early in the process (see below).
>
> So far, I could not figure out if there are differences to your setup
> from your dmesgs. Eventually, did you revceive an earlier hardware
> revision APU2a4, with an earlier version of coreboot?
>
> Also, I tried to lower serial line speed from the initial 115k of
> coreboot, for the (unlikely) case that the kernel should change it.
>
> Finally, 'boot -c' dos not get as far as to UKC in order to try with
> ACPI disabled etc.
>
> What is your serial console output at boot time? Any ideas or
> suggestions what I should try next?
>
> Thanks,
> Rolf
>
>
> console output from power-up:
>
> Mainboard PCEngines apu2 Enable.
> APIC: 00 missing read_resources
> APIC: 01 missing read_resources
> APIC: 02 missing read_resources
> APIC: 03 missing read_resources
> SeaBIOS (version rel-1.8.0-181-g0af5958)
> BUILD: gcc: (Ubuntu 4.8.4-2ubuntu1~14.04) 4.8.4 binutils: (GNU Binutils for Ubu4
> SeaBIOS (version rel-1.8.0-181-g0af5958)
> BUILD: gcc: (Ubuntu 4.8.4-2ubuntu1~14.04) 4.8.4 binutils: (GNU Binutils for Ubu4
> Found coreboot cbmem console @ dffdf000
> Found mainboard PC Engines PCEngines apu2
> Relocating init from 0x000eeb10 to 0xdff66fd0 (size 28576)
> Found CBFS header at 0xfffffc50
> multiboot: eax=0, ebx=0
> boot order:
> 1: /pci@i0cf8/usb@10/usb-*@1
> 2: /pci@i0cf8/usb@10/usb-*@2
> SeaBIOS (version rel-1.8.0-181-g0af5958)
> XHCI init on dev 00:10.0: regs @ 0xfeb22000, 4 ports, 32 slots, 32 byte contexts
> XHCI    extcap 0x1 @ feb22500
> XHCI    protocol USB  3.00, 2 ports (offset 1), def 0
> XHCI    protocol USB  2.00, 2 ports (offset 3), def 10
> XHCI    extcap 0xa @ feb22540
> Found 2 serial ports
> Searching bootorder for: /pci@i0cf8/*@14,7
> EHCI init on dev 00:13.0 (regs=0xfeb25420)
> Searching bootorder for: /rom@img/memtest
> Searching bootorder for: /rom@img/setup
> XHCI port #3: 0x00200e03, powered, enabled, pls 0, speed 3 [High]
> Initialized USB HUB (0 ports used)
> WARNING - Timeout at xhci_event_wait:694!
> xhci_send_pipe: xfer failed (cc -1)
> Searching bootorder for: /pci@i0cf8/usb@10/storage@3/*@0/*@0,0
> Searching bootorder for: /pci@i0cf8/usb@10/usb-*@3
> USB MSC vendor='JetFlash' product='Transcend 1GB' rev='8.07' type=0 removable=1
> USB MSC blksize=512 sectors=1972224
> All threads complete.
> Scan for option roms
> PCengines Press F10 key now for boot menu:
> Searching bootorder for: HALT
> drive 0x000f5850: PCHS=0/0/0 translation=lba LCHS=978/32/63 s=1972224
> Space available for UMB: c1000-ef000, f0000-f5850
> Returned 258048 bytes of ZoneHigh
> e820 map has 7 items:
>   0: 0000000000000000 - 000000000009f800 = 1 RAM
>   1: 000000000009f800 - 00000000000a0000 = 2 RESERVED
>   2: 00000000000f0000 - 0000000000100000 = 2 RESERVED
>   3: 0000000000100000 - 00000000dffad000 = 1 RAM
>   4: 00000000dffad000 - 00000000e0000000 = 2 RESERVED
>   5: 00000000f8000000 - 00000000fc000000 = 2 RESERVED
>   6: 0000000100000000 - 000000011f000000 = 1 RAM
> enter handle_19:
>   NULL
> Booting from Hard Disk...
> Booting from 0000:7c00
> Using drive 0, partition 3.
> Loading.........
> probing: pc0 com0 com1 mem[638K 3582M 496M a20=on]
> disk: hd0+
>>> OpenBSD/amd64 BOOT 3.28
> boot>
> cannot open hd0a:/etc/random.seed: No such file or directory
> booting hd0a:/5.8/amd64/bsd.rd: 3251512+1391248+2401280+0+520192 [72+360480+23]8
> entry point at 0x1000160 [7205c766, 34000004, 24448b12, a680a304]
> (output stops here)
>

Reply | Threaded
Open this post in threaded view
|

Re: PC Engines APU2 coming soon - how is OpenBSD's support so far?

Rolf Sommerhalder
In reply to this post by Stuart Henderson-6
Many thanks Stuart!

> set tty com0
Bingo, and then reduce serial line speed from 115k to 9600 :-)

Reply | Threaded
Open this post in threaded view
|

Re: PC Engines APU2 coming soon - how is OpenBSD's support so far?

Mathias Schmocker
In reply to this post by nothingness
Hello,

APU2 BETA TEST 4GB version with:
   SeaBIOS (version rel-1.8.0-181-g0af5958)
   BUILD: gcc: (Ubuntu 4.8.4-2ubuntu1~14.04) 4.8.4 binutils: (GNU
Binutils for Ubuntu) 2.24
<...>
   Running option rom at c000:0003

   Google, Inc.
   Serial Graphics Adapter 08/22/15
   SGABIOS $Id: sgabios.S 8 2010-04-22 00:03:40Z nlaredo $
(wiv@coreboot-  Virtual-Machine) Sat Aug 22 09:25:30 UTC 2015
   Term: 80x24
   IO4 0
   Turning on vga text mode console
<...>

First tests with a bootable OpenBSD amd64 5.8-current USB stick and
installation on the 16GB mSata internal storage.
After reboot, BIOS could find mSata to boot on, but defaulted to the
memtest boot payload

Unable to abort memtest by pressing (esc) on the serial console, or (c)
for configure.

Other install trials with a the bootable USB stick and another USB HDD
not conclusive yet.

It seems to me that the BETA bios has some trouble to properly and
reliably detect USB, or boot from mSata.

Mathias

Le 04.11.15 18:31, Noth a écrit :

> This is with the -CURRENT :
>
> OpenBSD 5.8-current (GENERIC.MP) #0: Wed Nov  4 17:47:40 CET 2015
> [hidden email]:/usr/src/sys/arch/amd64/compile/GENERIC.MP
> real mem = 4261081088 (4063MB)
> avail mem = 4127813632 (3936MB)
> mpath0 at root
> scsibus0 at mpath0: 256 targets
> mainbus0 at root
> bios0 at mainbus0: SMBIOS rev. 2.7 @ 0xdffb7020 (7 entries)
> bios0: vendor coreboot version "APU2A_20150924-3-g0bf9198-dirty" date
> 09/28/2015
> bios0: PC Engines apu2
> acpi0 at bios0: rev 2
> acpi0: sleep states S0 S1 S2 S3 S4 S5
> acpi0: tables DSDT FACP SSDT APIC HEST SSDT SSDT HPET
> acpi0: wakeup devices PWRB(S4) PBR4(S4) PBR5(S4) PBR6(S4) PBR7(S4)
> PBR8(S4) UOH1(S3) UOH3(S3) UOH5(S3) XHC0(S4)
> acpitimer0 at acpi0: 3579545 Hz, 32 bits
> acpimadt0 at acpi0 addr 0xfee00000: PC-AT compat
> cpu0 at mainbus0: apid 0 (boot processor)
> cpu0: AMD GX-412TC SOC, 998.27 MHz
> cpu0:
> FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,MMX,FXSR,SSE,SSE2,HTT,SSE3,PCLMUL,MWAIT,SSSE3,CX16,SSE4.1,SSE4.2,MOVBE,POPCNT,AES,XSAVE,AVX,F16C,NXE,MMXX,FFXSR,PAGE1GB,LONG,LAHF,CMPLEG,SVM,EAPICSP,AMCR8,ABM,SSE4A,MASSE,3DNOWP,OSVW,IBS,SKINIT,TOPEXT,ITSC,BMI1
>
> cpu0: 32KB 64b/line 2-way I-cache, 32KB 64b/line 8-way D-cache, 2MB
> 64b/line 16-way L2 cache
> cpu0: ITLB 32 4KB entries fully associative, 8 4MB entries fully
> associative
> cpu0: DTLB 40 4KB entries fully associative, 8 4MB entries fully
> associative
> cpu0: smt 0, core 0, package 0
> mtrr: Pentium Pro MTRR support, 8 var ranges, 88 fixed ranges
> cpu0: apic clock running at 99MHz
> cpu0: mwait min=64, max=64, IBE
> cpu1 at mainbus0: apid 1 (application processor)
> cpu1: AMD GX-412TC SOC, 998.11 MHz
> cpu1:
> FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,MMX,FXSR,SSE,SSE2,HTT,SSE3,PCLMUL,MWAIT,SSSE3,CX16,SSE4.1,SSE4.2,MOVBE,POPCNT,AES,XSAVE,AVX,F16C,NXE,MMXX,FFXSR,PAGE1GB,LONG,LAHF,CMPLEG,SVM,EAPICSP,AMCR8,ABM,SSE4A,MASSE,3DNOWP,OSVW,IBS,SKINIT,TOPEXT,ITSC,BMI1
>
> cpu1: 32KB 64b/line 2-way I-cache, 32KB 64b/line 8-way D-cache, 2MB
> 64b/line 16-way L2 cache
> cpu1: ITLB 32 4KB entries fully associative, 8 4MB entries fully
> associative
> cpu1: DTLB 40 4KB entries fully associative, 8 4MB entries fully
> associative
> cpu1: smt 0, core 1, package 0
> cpu2 at mainbus0: apid 2 (application processor)
> cpu2: AMD GX-412TC SOC, 998.11 MHz
> cpu2:
> FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,MMX,FXSR,SSE,SSE2,HTT,SSE3,PCLMUL,MWAIT,SSSE3,CX16,SSE4.1,SSE4.2,MOVBE,POPCNT,AES,XSAVE,AVX,F16C,NXE,MMXX,FFXSR,PAGE1GB,LONG,LAHF,CMPLEG,SVM,EAPICSP,AMCR8,ABM,SSE4A,MASSE,3DNOWP,OSVW,IBS,SKINIT,TOPEXT,ITSC,BMI1
>
> cpu2: 32KB 64b/line 2-way I-cache, 32KB 64b/line 8-way D-cache, 2MB
> 64b/line 16-way L2 cache
> cpu2: ITLB 32 4KB entries fully associative, 8 4MB entries fully
> associative
> cpu2: DTLB 40 4KB entries fully associative, 8 4MB entries fully
> associative
> cpu2: smt 0, core 2, package 0
> cpu3 at mainbus0: apid 3 (application processor)
> cpu3: AMD GX-412TC SOC, 998.11 MHz
> cpu3:
> FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,MMX,FXSR,SSE,SSE2,HTT,SSE3,PCLMUL,MWAIT,SSSE3,CX16,SSE4.1,SSE4.2,MOVBE,POPCNT,AES,XSAVE,AVX,F16C,NXE,MMXX,FFXSR,PAGE1GB,LONG,LAHF,CMPLEG,SVM,EAPICSP,AMCR8,ABM,SSE4A,MASSE,3DNOWP,OSVW,IBS,SKINIT,TOPEXT,ITSC,BMI1
>
> cpu3: 32KB 64b/line 2-way I-cache, 32KB 64b/line 8-way D-cache, 2MB
> 64b/line 16-way L2 cache
> cpu3: ITLB 32 4KB entries fully associative, 8 4MB entries fully
> associative
> cpu3: DTLB 40 4KB entries fully associative, 8 4MB entries fully
> associative
> cpu3: smt 0, core 3, package 0
> ioapic0 at mainbus0: apid 4 pa 0xfec00000, version 21, 24 pins
> ioapic1 at mainbus0: apid 5 pa 0xfec20000, version 21, 32 pins
> ioapic1: misconfigured as apic 0, remapped to apid 5
> acpihpet0 at acpi0: 14318180 Hz
> acpiprt0 at acpi0: bus 0 (PCI0)
> acpiprt1 at acpi0: bus -1 (PBR4)
> acpiprt2 at acpi0: bus 1 (PBR5)
> acpiprt3 at acpi0: bus 2 (PBR6)
> acpiprt4 at acpi0: bus 3 (PBR7)
> acpiprt5 at acpi0: bus -1 (PBR8)
> acpicpu0 at acpi0: !C2(0@400 io@0x1771), C1(@1 halt!), PSS
> acpicpu1 at acpi0: !C2(0@400 io@0x1771), C1(@1 halt!), PSS
> acpicpu2 at acpi0: !C2(0@400 io@0x1771), C1(@1 halt!), PSS
> acpicpu3 at acpi0: !C2(0@400 io@0x1771), C1(@1 halt!), PSS
> acpibtn0 at acpi0: PWRB
> cpu0: 998 MHz: speeds: 1000 800 600 MHz
> pci0 at mainbus0 bus 0
> pchb0 at pci0 dev 0 function 0 "AMD AMD64 16h Root Complex" rev 0x00
> pchb1 at pci0 dev 2 function 0 "AMD AMD64 16h Host" rev 0x00
> ppb0 at pci0 dev 2 function 2 "AMD AMD64 16h PCIE" rev 0x00: msi
> pci1 at ppb0 bus 1
> em0 at pci1 dev 0 function 0 "Intel I210" rev 0x03: msi, address
> 00:0d:b9:3f:9e:0c
> ppb1 at pci0 dev 2 function 3 "AMD AMD64 16h PCIE" rev 0x00: msi
> pci2 at ppb1 bus 2
> em1 at pci2 dev 0 function 0 "Intel I210" rev 0x03: msi, address
> 00:0d:b9:3f:9e:0d
> ppb2 at pci0 dev 2 function 4 "AMD AMD64 16h PCIE" rev 0x00: msi
> pci3 at ppb2 bus 3
> em2 at pci3 dev 0 function 0 "Intel I210" rev 0x03: msi, address
> 00:0d:b9:3f:9e:0e
> "AMD CCP" rev 0x00 at pci0 dev 8 function 0 not configured
> xhci0 at pci0 dev 16 function 0 "AMD Bolton xHCI" rev 0x11: msi
> usb0 at xhci0: USB revision 3.0
> uhub0 at usb0 "AMD xHCI root hub" rev 3.00/1.00 addr 1
> ahci0 at pci0 dev 17 function 0 "AMD Hudson-2 SATA" rev 0x40: apic 4 int
> 19, AHCI 1.3
> ahci0: port 0: 6.0Gb/s
> scsibus1 at ahci0: 32 targets
> sd0 at scsibus1 targ 0 lun 0: <ATA, SATA SSD, S9FM> SCSI3 0/direct fixed
> t10.ATA_SATA_SSD_466F07550B9400389664
> sd0: 15272MB, 512 bytes/sector, 31277232 sectors, thin
> ehci0 at pci0 dev 19 function 0 "AMD Hudson-2 USB2" rev 0x39: apic 4 int 18
> usb1 at ehci0: USB revision 2.0
> uhub1 at usb1 "AMD EHCI root hub" rev 2.00/1.00 addr 1
> piixpm0 at pci0 dev 20 function 0 "AMD Hudson-2 SMBus" rev 0x42: SMBus
> disabled
> pcib0 at pci0 dev 20 function 3 "AMD Hudson-2 LPC" rev 0x11
> sdhc0 at pci0 dev 20 function 7 "AMD Bolton SD/MMC" rev 0x01: apic 4 int 16
> sdhc0 at 0x10: can't map registers
> pchb2 at pci0 dev 24 function 0 "AMD AMD64 16h Link Cfg" rev 0x00
> pchb3 at pci0 dev 24 function 1 "AMD AMD64 16h Address Map" rev 0x00
> pchb4 at pci0 dev 24 function 2 "AMD AMD64 16h DRAM Cfg" rev 0x00
> pchb5 at pci0 dev 24 function 3 "AMD AMD64 16h Misc Cfg" rev 0x00
> pchb6 at pci0 dev 24 function 4 "AMD AMD64 16h CPU Power" rev 0x00
> pchb7 at pci0 dev 24 function 5 "AMD AMD64 16h Misc Cfg" rev 0x00
> isa0 at pcib0
> isadma0 at isa0
> com0 at isa0 port 0x3f8/8 irq 4: ns16550a, 16 byte fifo
> com0: console
> com1 at isa0 port 0x2f8/8 irq 3: ns16550a, 16 byte fifo
> pcppi0 at isa0 port 0x61
> spkr0 at pcppi0
> lpt0 at isa0 port 0x378/4 irq 7
> wbsio0 at isa0 port 0x2e/2: NCT5104D rev 0x52
> uhub2 at uhub1 port 1 "Advanced Micro Devices product 0x7900" rev
> 2.00/0.18 addr 2
> vscsi0 at root
> scsibus2 at vscsi0: 256 targets
> softraid0 at root
> scsibus3 at softraid0: 256 targets
> root on sd0a (47e18331a1a8156e.a) swap on sd0b dump on sd0b
>
> Main difference is that the AMD CCP is correctly identified. Really nice
> hw!
>
> Cheers,
>
> Noth
>
> On 04/11/15 16:25, Noth wrote:
>> Got my first beta board today, here's the dmesg:
>>
>> OpenBSD 5.8 (GENERIC.MP) #1: Mon Oct 19 02:13:53 CEST 2015
>> [hidden email]:/root/binpatchng-2.1.2/work-binpatch58-amd64/src/sys/arch/amd64/compile/GENERIC.MP
>>
>> real mem = 4261081088 (4063MB)
>> avail mem = 4128047104 (3936MB)
>> mpath0 at root
>> scsibus0 at mpath0: 256 targets
>> mainbus0 at root
>> bios0 at mainbus0: SMBIOS rev. 2.7 @ 0xdffb7020 (7 entries)
>> bios0: vendor coreboot version "APU2A_20150924-3-g0bf9198-dirty" date
>> 09/28/2015
>> bios0: PC Engines apu2
>> acpi0 at bios0: rev 2
>> acpi0: sleep states S0 S1 S2 S3 S4 S5
>> acpi0: tables DSDT FACP SSDT APIC HEST SSDT SSDT HPET
>> acpi0: wakeup devices PWRB(S4) PBR4(S4) PBR5(S4) PBR6(S4) PBR7(S4)
>> PBR8(S4) UOH1(S3) UOH3(S3) UOH5(S3) XHC0(S4)
>> acpitimer0 at acpi0: 3579545 Hz, 32 bits
>> acpimadt0 at acpi0 addr 0xfee00000: PC-AT compat
>> cpu0 at mainbus0: apid 0 (boot processor)
>> cpu0: AMD GX-412TC SOC, 998.27 MHz
>> cpu0:
>> FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,MMX,FXSR,SSE,SSE2,HTT,SSE3,PCLMUL,MWAIT,SSSE3,CX16,SSE4.1,SSE4.2,MOVBE,POPCNT,AES,XSAVE,AVX,F16C,NXE,MMXX,FFXSR,PAGE1GB,LONG,LAHF,CMPLEG,SVM,EAPICSP,AMCR8,ABM,SSE4A,MASSE,3DNOWP,OSVW,IBS,SKINIT,TOPEXT,ITSC,BMI1
>>
>> cpu0: 32KB 64b/line 2-way I-cache, 32KB 64b/line 8-way D-cache, 2MB
>> 64b/line 16-way L2 cache
>> cpu0: ITLB 32 4KB entries fully associative, 8 4MB entries fully
>> associative
>> cpu0: DTLB 40 4KB entries fully associative, 8 4MB entries fully
>> associative
>> cpu0: smt 0, core 0, package 0
>> mtrr: Pentium Pro MTRR support, 8 var ranges, 88 fixed ranges
>> cpu0: apic clock running at 99MHz
>> cpu0: mwait min=64, max=64, IBE
>> cpu1 at mainbus0: apid 1 (application processor)
>> cpu1: AMD GX-412TC SOC, 998.13 MHz
>> cpu1:
>> FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,MMX,FXSR,SSE,SSE2,HTT,SSE3,PCLMUL,MWAIT,SSSE3,CX16,SSE4.1,SSE4.2,MOVBE,POPCNT,AES,XSAVE,AVX,F16C,NXE,MMXX,FFXSR,PAGE1GB,LONG,LAHF,CMPLEG,SVM,EAPICSP,AMCR8,ABM,SSE4A,MASSE,3DNOWP,OSVW,IBS,SKINIT,TOPEXT,ITSC,BMI1
>>
>> cpu1: 32KB 64b/line 2-way I-cache, 32KB 64b/line 8-way D-cache, 2MB
>> 64b/line 16-way L2 cache
>> cpu1: ITLB 32 4KB entries fully associative, 8 4MB entries fully
>> associative
>> cpu1: DTLB 40 4KB entries fully associative, 8 4MB entries fully
>> associative
>> cpu1: smt 0, core 1, package 0
>> cpu2 at mainbus0: apid 2 (application processor)
>> cpu2: AMD GX-412TC SOC, 998.13 MHz
>> cpu2:
>> FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,MMX,FXSR,SSE,SSE2,HTT,SSE3,PCLMUL,MWAIT,SSSE3,CX16,SSE4.1,SSE4.2,MOVBE,POPCNT,AES,XSAVE,AVX,F16C,NXE,MMXX,FFXSR,PAGE1GB,LONG,LAHF,CMPLEG,SVM,EAPICSP,AMCR8,ABM,SSE4A,MASSE,3DNOWP,OSVW,IBS,SKINIT,TOPEXT,ITSC,BMI1
>>
>> cpu2: 32KB 64b/line 2-way I-cache, 32KB 64b/line 8-way D-cache, 2MB
>> 64b/line 16-way L2 cache
>> cpu2: ITLB 32 4KB entries fully associative, 8 4MB entries fully
>> associative
>> cpu2: DTLB 40 4KB entries fully associative, 8 4MB entries fully
>> associative
>> cpu2: smt 0, core 2, package 0
>> cpu3 at mainbus0: apid 3 (application processor)
>> cpu3: AMD GX-412TC SOC, 998.17 MHz
>> cpu3:
>> FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,MMX,FXSR,SSE,SSE2,HTT,SSE3,PCLMUL,MWAIT,SSSE3,CX16,SSE4.1,SSE4.2,MOVBE,POPCNT,AES,XSAVE,AVX,F16C,NXE,MMXX,FFXSR,PAGE1GB,LONG,LAHF,CMPLEG,SVM,EAPICSP,AMCR8,ABM,SSE4A,MASSE,3DNOWP,OSVW,IBS,SKINIT,TOPEXT,ITSC,BMI1
>>
>> cpu3: 32KB 64b/line 2-way I-cache, 32KB 64b/line 8-way D-cache, 2MB
>> 64b/line 16-way L2 cache
>> cpu3: ITLB 32 4KB entries fully associative, 8 4MB entries fully
>> associative
>> cpu3: DTLB 40 4KB entries fully associative, 8 4MB entries fully
>> associative
>> cpu3: smt 0, core 3, package 0
>> ioapic0 at mainbus0: apid 4 pa 0xfec00000, version 21, 24 pins
>> ioapic1 at mainbus0: apid 5 pa 0xfec20000, version 21, 32 pins
>> ioapic1: misconfigured as apic 0, remapped to apid 5
>> acpihpet0 at acpi0: 14318180 Hz
>> acpiprt0 at acpi0: bus 0 (PCI0)
>> acpiprt1 at acpi0: bus -1 (PBR4)
>> acpiprt2 at acpi0: bus 1 (PBR5)
>> acpiprt3 at acpi0: bus 2 (PBR6)
>> acpiprt4 at acpi0: bus 3 (PBR7)
>> acpiprt5 at acpi0: bus -1 (PBR8)
>> acpicpu0 at acpi0: !C2(0@400 io@0x1771), C1(@1 halt!), PSS
>> acpicpu1 at acpi0: !C2(0@400 io@0x1771), C1(@1 halt!), PSS
>> acpicpu2 at acpi0: !C2(0@400 io@0x1771), C1(@1 halt!), PSS
>> acpicpu3 at acpi0: !C2(0@400 io@0x1771), C1(@1 halt!), PSS
>> acpibtn0 at acpi0: PWRB
>> cpu0: 998 MHz: speeds: 1000 800 600 MHz
>> pci0 at mainbus0 bus 0
>> pchb0 at pci0 dev 0 function 0 vendor "AMD", unknown product 0x1566
>> rev 0x00
>> pchb1 at pci0 dev 2 function 0 vendor "AMD", unknown product 0x156b
>> rev 0x00
>> ppb0 at pci0 dev 2 function 2 "AMD AMD64 16h PCIE" rev 0x00: msi
>> pci1 at ppb0 bus 1
>> em0 at pci1 dev 0 function 0 "Intel I210" rev 0x03: msi, address
>> 00:0d:b9:3f:9e:0c
>> ppb1 at pci0 dev 2 function 3 "AMD AMD64 16h PCIE" rev 0x00: msi
>> pci2 at ppb1 bus 2
>> em1 at pci2 dev 0 function 0 "Intel I210" rev 0x03: msi, address
>> 00:0d:b9:3f:9e:0d
>> ppb2 at pci0 dev 2 function 4 "AMD AMD64 16h PCIE" rev 0x00: msi
>> pci3 at ppb2 bus 3
>> em2 at pci3 dev 0 function 0 "Intel I210" rev 0x03: msi, address
>> 00:0d:b9:3f:9e:0e
>> vendor "AMD", unknown product 0x1537 (class crypto subclass
>> miscellaneous, rev 0x00) at pci0 dev 8 function 0 not configured
>> xhci0 at pci0 dev 16 function 0 vendor "AMD", unknown product 0x7814
>> rev 0x11: msi
>> usb0 at xhci0: USB revision 3.0
>> uhub0 at usb0 "AMD xHCI root hub" rev 3.00/1.00 addr 1
>> ahci0 at pci0 dev 17 function 0 "AMD Hudson-2 SATA" rev 0x40: apic 4
>> int 19, AHCI 1.3
>> ahci0: port 0: 6.0Gb/s
>> scsibus1 at ahci0: 32 targets
>> sd0 at scsibus1 targ 0 lun 0: <ATA, SATA SSD, S9FM> SCSI3 0/direct
>> fixed t10.ATA_SATA_SSD_466F07550B9400389664
>> sd0: 15272MB, 512 bytes/sector, 31277232 sectors, thin
>> ehci0 at pci0 dev 19 function 0 "AMD Hudson-2 USB2" rev 0x39: apic 4
>> int 18
>> usb1 at ehci0: USB revision 2.0
>> uhub1 at usb1 "AMD EHCI root hub" rev 2.00/1.00 addr 1
>> piixpm0 at pci0 dev 20 function 0 "AMD Hudson-2 SMBus" rev 0x42: SMBus
>> disabled
>> pcib0 at pci0 dev 20 function 3 "AMD Hudson-2 LPC" rev 0x11
>> sdhc0 at pci0 dev 20 function 7 vendor "AMD", unknown product 0x7813
>> rev 0x01: apic 4 int 16
>> sdhc0 at 0x10: can't map registers
>> pchb2 at pci0 dev 24 function 0 vendor "AMD", unknown product 0x1580
>> rev 0x00
>> pchb3 at pci0 dev 24 function 1 vendor "AMD", unknown product 0x1581
>> rev 0x00
>> pchb4 at pci0 dev 24 function 2 vendor "AMD", unknown product 0x1582
>> rev 0x00
>> pchb5 at pci0 dev 24 function 3 vendor "AMD", unknown product 0x1583
>> rev 0x00
>> pchb6 at pci0 dev 24 function 4 vendor "AMD", unknown product 0x1584
>> rev 0x00
>> pchb7 at pci0 dev 24 function 5 vendor "AMD", unknown product 0x1585
>> rev 0x00
>> isa0 at pcib0
>> isadma0 at isa0
>> com0 at isa0 port 0x3f8/8 irq 4: ns16550a, 16 byte fifo
>> com0: console
>> com1 at isa0 port 0x2f8/8 irq 3: ns16550a, 16 byte fifo
>> pcppi0 at isa0 port 0x61
>> spkr0 at pcppi0
>> lpt0 at isa0 port 0x378/4 irq 7
>> wbsio0 at isa0 port 0x2e/2: NCT5104D rev 0x52
>> uhub2 at uhub1 port 1 "Advanced Micro Devices product 0x7900" rev
>> 2.00/0.18 addr 2
>> vscsi0 at root
>> scsibus2 at vscsi0: 256 targets
>> softraid0 at root
>> scsibus3 at softraid0: 256 targets
>> root on sd0a (47e18331a1a8156e.a) swap on sd0b dump on sd0b
>>
>> sysctl hw:
>>
>> hw.machine=amd64
>> hw.model=AMD GX-412TC SOC
>> hw.ncpu=4
>> hw.byteorder=1234
>> hw.pagesize=4096
>> hw.disknames=sd0:47e18331a1a8156e
>> hw.diskcount=1
>> hw.cpuspeed=998
>> hw.setperf=100
>> hw.vendor=PC Engines
>> hw.product=apu2
>> hw.version=1.0
>> hw.serialno=123456789
>> hw.physmem=4261081088
>> hw.usermem=4261056512
>> hw.ncpufound=4
>> hw.allowpowerdown=1
>> hw.perfpolicy=manual
>> hw.machine=amd64
>> hw.model=AMD GX-412TC SOC
>> hw.ncpu=4
>> hw.byteorder=1234
>> hw.pagesize=4096
>> hw.disknames=sd0:47e18331a1a8156e
>> hw.diskcount=1
>> hw.cpuspeed=998
>> hw.setperf=100
>> hw.vendor=PC Engines
>> hw.product=apu2
>> hw.version=1.0
>> hw.serialno=123456789
>> hw.physmem=4261081088
>> hw.usermem=4261056512
>> hw.ncpufound=4hw.machine=amd64
>> hw.model=AMD GX-412TC SOC
>> hw.ncpu=4
>> hw.byteorder=1234
>> hw.pagesize=4096
>> hw.disknames=sd0:47e18331a1a8156e
>> hw.diskcount=1
>> hw.cpuspeed=998
>> hw.setperf=100
>> hw.vendor=PC Engines
>> hw.product=apu2
>> hw.version=1.0
>> hw.serialno=123456789
>> hw.physmem=4261081088
>> hw.usermem=4261056512
>> hw.ncpufound=4
>> hw.allowpowerdown=1
>> hw.perfpolicy=manual
>>
>> So far everything works as advertised with the current limitations of
>> the BIOS (no ECC, no iPXE).
>> hw.allowpowerdown=1
>> hw.perfpolicy=manual
>>
>> On 31/10/15 19:29, Theo de Raadt wrote:
>>>>     Whilst browsing their forums I found a link to this:
>>>> http://pcengines.ch/apu2b4.htm . AMD Jaguar APU, 4 cores, up to 4Gb
>>>> DDR1333 ram with ECC, and 3 intel i211 or i210 NICs. Hopefully there
>>>> won't be so many issues with this iteration of their APU series.
>>> Hopefully.
>>>
>>> It would be nice if some developers get some early, to verify this.
>>> Otherwise, I agree, there could be lots of pain once again.
>>
>
>


Reply | Threaded
Open this post in threaded view
|

Re: PC Engines APU2 coming soon - how is OpenBSD's support so far?

Chris Cappuccio
Mathias Schmocker [[hidden email]] wrote:
>
> First tests with a bootable OpenBSD amd64 5.8-current USB stick and
> installation on the 16GB mSata internal storage.
> After reboot, BIOS could find mSata to boot on, but defaulted to the memtest
> boot payload
>

This is a setting you can change, although the default boot order would put memtest last.

I've had no problems with apu2 detecting msata so far..

> Unable to abort memtest by pressing (esc) on the serial console, or (c) for
> configure.
>

You have to escape to the prompt before memtest starts.

Reply | Threaded
Open this post in threaded view
|

Re: PC Engines APU2 coming soon - how is OpenBSD's support so far?

Mathias Schmocker
Le 14.11.15 17:02, Chris Cappuccio a écrit :
 > Mathias Schmocker [[hidden email]] wrote:
 >>
 >> First tests with a bootable OpenBSD amd64 5.8-current USB stick and
 >> installation on the 16GB mSata internal storage.
 >> After reboot, BIOS could find mSata to boot on, but defaulted to the
memtest
 >> boot payload
 >>
 >
 > This is a setting you can change, although the default boot order
would put memtest last.

Not for me:

1. USB MSC Drive SanDisk Ultra Fit 1.00
2. Payload [memtest]
3. Payload [setup]

I have now successfully installed and booted on a small 16GB SanDisk USB
key, root on sd1a (but I had a hard lockup once, with >
xhci_wait_for_command: Command ring still running ...)

But pressing F10 and 3 to access setup and placing mSata in front of all
the other does NOT work (even if sd0a has a bootable bsd.rd, /boot and
the proper /etc/boot.conf, and is accessible once OpenBSD runs out of
the USB key ...)

Which SeaBIOS, BUILD version, and option rom does your APU2 display when
booting up ?

 > I've had no problems with apu2 detecting msata so far..
 >
 >> Unable to abort memtest by pressing (esc) on the serial console, or
(c) for
 >> configure.
 >>
 >
 > You have to escape to the prompt before memtest starts.
 >
 >

Reply | Threaded
Open this post in threaded view
|

Re: PC Engines APU2 coming soon - how is OpenBSD's support so far?

nothingness
I'm using the SeaBIOS provided with the machine, and have no news on a
upcoming newer release. So far it works for me flawlessly with the
limits stated by the manufacturer.


System startup messages:

SeaBIOS (version rel-1.8.0-143-g174faf8-dirty-20150928_122234-wim-ws)
XHCI init on dev 00:10.0: regs @ 0xfeb22000, 4 ports, 32 slots, 32 byte
contexts
XHCI    extcap 0x1 @ feb22500
XHCI    protocol USB  3.00, 2 ports (offset 1), def 0
XHCI    protocol USB  2.00, 2 ports (offset 3), def 10
XHCI    extcap 0xa @ feb22540
Found 2 serial ports
ATA controller 1 at 4010/4020/0 (irq 0 dev 88)
EHCI init on dev 00:13.0 (regs=0xfeb25420)
ATA controller 2 at 4018/4024/0 (irq 0 dev 88)
Searching bootorder for: /pci@i0cf8/*@14,7
Searching bootorder for: /rom@img/memtest
Searching bootorder for: /rom@img/setup
ata0-0: SATA SSD ATA-10 Hard-Disk (15272 MiBytes)
Searching bootorder for: /pci@i0cf8/*@11/drive@0/disk@0
XHCI port #3: 0x00200e03, powered, enabled, pls 0, speed 3 [High]
Searching bootorder for: /pci@i0cf8/usb@10/storage@3/*@0/*@0,0
Searching bootorder for: /pci@i0cf8/usb@10/usb-*@3
USB MSC vendor='SanDisk' product='Cruzer Fit' rev='1.26' type=0 removable=0
USB MSC blksize=512 sectors=31266816
Initialized USB HUB (0 ports used)
All threads complete.
Scan for option roms
PCengines Press F10 key now for boot menu:
Searching bootorder for: HALT
drive 0x000f2e30: PCHS=0/0/0 translation=lba LCHS=1024/255/63 s=31266816
drive 0x000f2e60: PCHS=16383/16/63 translation=lba LCHS=1024/255/63
s=31277232
Space available for UMB: c1000-ef000, f0000-f2e30



On 14/11/15 19:22, Mathias Schmocker wrote:

> Le 14.11.15 17:02, Chris Cappuccio a écrit :
> > Mathias Schmocker [[hidden email]] wrote:
> >>
> >> First tests with a bootable OpenBSD amd64 5.8-current USB stick and
> >> installation on the 16GB mSata internal storage.
> >> After reboot, BIOS could find mSata to boot on, but defaulted to
> the memtest
> >> boot payload
> >>
> >
> > This is a setting you can change, although the default boot order
> would put memtest last.
>
> Not for me:
>
> 1. USB MSC Drive SanDisk Ultra Fit 1.00
> 2. Payload [memtest]
> 3. Payload [setup]
>
> I have now successfully installed and booted on a small 16GB SanDisk
> USB key, root on sd1a (but I had a hard lockup once, with >
> xhci_wait_for_command: Command ring still running ...)
>
> But pressing F10 and 3 to access setup and placing mSata in front of
> all the other does NOT work (even if sd0a has a bootable bsd.rd, /boot
> and the proper /etc/boot.conf, and is accessible once OpenBSD runs out
> of the USB key ...)
>
> Which SeaBIOS, BUILD version, and option rom does your APU2 display
> when booting up ?
>
> > I've had no problems with apu2 detecting msata so far..
> >
> >> Unable to abort memtest by pressing (esc) on the serial console, or
> (c) for
> >> configure.
> >>
> >
> > You have to escape to the prompt before memtest starts.
> >
> >
>

12