From owner-freebsd-acpi@FreeBSD.ORG Mon Mar 10 20:03:21 2014 Return-Path: Delivered-To: freebsd-acpi@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id EC320C54 for ; Mon, 10 Mar 2014 20:03:20 +0000 (UTC) Received: from mailgate.gta.com (mailgate.gta.com [199.120.225.23]) by mx1.freebsd.org (Postfix) with ESMTP id 9685191F for ; Mon, 10 Mar 2014 20:03:20 +0000 (UTC) Received: (qmail 69422 invoked by uid 1000); 10 Mar 2014 20:03:13 -0000 Date: Mon, 10 Mar 2014 16:03:13 -0400 From: Larry Baird To: Mike Tancsa Subject: Re: ACPI issues with PC engines APU beta board Message-ID: <20140310200313.GB67247@gta.com> References: <20140303154834.GA5864@gta.com> <531E1742.2020906@sentex.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <531E1742.2020906@sentex.net> User-Agent: Mutt/1.5.22 (2013-10-16) Cc: freebsd-acpi@freebsd.org, Idwer Vollering X-BeenThere: freebsd-acpi@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: ACPI and power management development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 10 Mar 2014 20:03:21 -0000 On Mon, Mar 10, 2014 at 03:49:22PM -0400, Mike Tancsa wrote: > On 3/3/2014 10:48 AM, Larry Baird wrote: > >> This beta board runs coreboot, which is GPL'ed software. This means that it > >> is possible to submit a contribution that lets you boot FreeBSD 9.2 and 10. > >> > >> Working with PC Engines to come up with a solution is the right way. > >> > >> FWIW, I can boot FreeBSD 9.2 just fine on amd64 hardware (ASUS F2A85-M) > >> that also starts with coreboot. > > FreeBSD has working on the issue from two directions. > > > > 1) John Baldwin has made software changes to FreeBSD > > head that work around the issue (http://svnweb.freebsd.org/base?view=revision&sortby=date&revision=261243). This issue was to be MFCed a few weeks back. > > I am sure that John will MFC it at some point. > > > > 2) I worked with Jung-uk Kim to develop BIOS patches to > > give to PC Engines to provide back to SAGE. I received an updated BIOS > > with this change the end of last week. > > Hi, > I just got one of these boards to evaluate. I was trying to load the > watchdog, but no luck. There seem to be a few other errors too > > amdsbwd0: ResetStatus0 = 0xf9 > amdsbwd0: ResetStatus1 = 0x0b > amdsbwd0: memory base address = 0xfec000f0 > amdsbwd0: at iomem > 0xfec000f0-0xfec000f3,0xfec000f4-0xfec000f7 on isa0 > amdsbwd0: bus_alloc_resource for ctrl failed > device_attach: amdsbwd0 attach returned 6 > > USB seems to have some issues as well > > device_attach: pcib4 attach returned 6 > ohci0: at device 20.5 on pci0 > ohci0: 0x1000 bytes of rid 0x10 res 3 failed (0, 0xffffffff). > ohci0: Could not map memory > device_attach: ohci0 attach returned 6 > pcib4: at device 21.0 on pci0 > pci4: on pcib4 > ohci0: at device 22.0 on pci0 > ohci0: 0x1000 bytes of rid 0x10 res 3 failed (0, 0xffffffff). > ohci0: Could not map memory > device_attach: ohci0 attach returned 6 > ehci0: at device 22.2 on pci0 > ehci0: 0x100 bytes of rid 0x10 res 3 failed (0, 0xffffffff). > ehci0: Could not map memory > device_attach: ehci0 attach returned 6 > acpi_button0: on acpi0 > pmtimer0 on isa0 > > not sure of the NIC errors are issues too ? > > re2: port > 0x3000-0x30ff at device 0.0 on pci3 > re2: 0x1000 bytes of rid 0x18 res 3 failed (0, 0xffffffff). > re2: 0x4000 bytes of rid 0x20 res 3 failed (0, 0xffffffff). > re2: could not allocate MSI-X PBA resource > re2: Using 1 MSI message > re2: ASPM disabled > re2: Chip rev. 0x2c000000 > re2: MAC rev. 0x00200000 > miibus2: on re2 > rgephy2: PHY 1 on miibus2 > rgephy2: none, 10baseT, 10baseT-FDX, 10baseT-FDX-flow, 100baseTX, > 100baseTX-FDX, 100baseTX-FDX-flow, 1000baseT, 1000baseT-master, > 1000baseT-FDX, 1000baseT-FDX-master, 1000baseT-FDX-flow, > 1000baseT-FDX-flow-master, auto, auto-flow > re2: Ethernet address: 00:0d:b9:33:11:c6 > > Start bios (version ?-20131224_111227-ubuntubuilderx64) > CPU Mhz=1000 > > 10.0-STABLE FreeBSD 10.0-STABLE #2 r262153 i386 You will need to either update the BIOS or patch FreeBSD 10. The patch associated with: http://svnweb.freebsd.org/base?view=revision&sortby=date&revision=261243 applies cleanly to FreeBSD 10. The latest BIOS from PC engines for the APU board is very noisy when it boots. Hopefully the code change will get MFCed now that the APU board is generally available: http://www.pcengines.ch/apu.htm Larry -- ------------------------------------------------------------------------ Larry Baird Global Technology Associates, Inc. 1992-2012 | http://www.gta.com Celebrating Twenty Years of Software Innovation | Orlando, FL Email: lab@gta.com | TEL 407-380-0220