From owner-freebsd-arm@freebsd.org Sat Aug 12 14:20:53 2017 Return-Path: Delivered-To: freebsd-arm@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id B55A0DD96AA for ; Sat, 12 Aug 2017 14:20:53 +0000 (UTC) (envelope-from hlh@restart.be) Received: from tignes.restart.be (tignes.restart.be [IPv6:2001:41d0:8:bdbe:0:1::]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "tignes.restart.be", Issuer "CA master" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 532E03484 for ; Sat, 12 Aug 2017 14:20:53 +0000 (UTC) (envelope-from hlh@restart.be) X-Comment: SPF check N/A for local connections - client-ip=2001:41d0:8:bdbe:1:1::; helo=restart.be; envelope-from=hlh@restart.be; receiver=freebsd-arm@freebsd.org DKIM-Filter: OpenDKIM Filter v2.10.3 tignes.restart.be 3xV3ty1MGYzsNr DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=restart.be; s=tignes; t=1502547642; bh=2WnNSlraW3jLlzb2obS/MprDlPi+8NMsRvX+HnSHA4g=; h=Subject:To:References:From:Date:In-Reply-To; z=Subject:=20Re:=20PINE64+=20Release=20APs,=20APs=20not=20started=2 0-=20a=20solution...|To:=20freebsd-arm@freebsd.org|References:=20< 79dd24d5-9669-a767-be2a-0e84bc4d22ae@restart.be>|From:=20Henri=20H ennebert=20|Date:=20Sat,=2012=20Aug=202017=2016:20 :39=20+0200|In-Reply-To:=20<79dd24d5-9669-a767-be2a-0e84bc4d22ae@r estart.be>; b=nDg++NlEudRufaQd4b41w1N1ENOm3bLSKrnIlfzAHRNLsu8HSTjuhVsfR3R69yAXd EgTzODbD2BIVjY9RbEOR0/8Tab/uINKSaqpukSrNESYai9eLQrVzCdGjHaY5vsZ4bi P33FUZCPqKrzLiy025YptWGRB0CjU2QepAJXfnIY8cPo8GBMqD9O3sXOgWa9b2v1Et J0JPxiFt7vAMDS3VJaJ5UbkpHICgbxhqp7+bq91O0Ww5BEwAKOsTpcV9NSLBSS8ST8 dKH3mnLgaUJGS/ciMda1ZnJ1ObZH3TpnUUKFNzHiDItEewU5PiNPsahSlPs1oFqqh4 LZsOfHDe2igiw== Received: from restart.be (avoriaz.restart.be [IPv6:2001:41d0:8:bdbe:1:1::]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "smtp.restart.be", Issuer "CA master" (verified OK)) by tignes.restart.be (Postfix) with ESMTPS id 3xV3ty1MGYzsNr for ; Sat, 12 Aug 2017 16:20:41 +0200 (CEST) Received: from chamonix.restart.bel (chamonix.restart.bel [IPv6:2001:41d0:8:bdbe:1:9:0:0]) (authenticated bits=0) by restart.be (8.15.2/8.15.2) with ESMTPSA id v7CEKdZM044702 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128 verify=NO) for ; Sat, 12 Aug 2017 16:20:40 +0200 (CEST) (envelope-from hlh@restart.be) Subject: Re: PINE64+ Release APs, APs not started - a solution... To: freebsd-arm@freebsd.org References: <79dd24d5-9669-a767-be2a-0e84bc4d22ae@restart.be> From: Henri Hennebert Message-ID: Date: Sat, 12 Aug 2017 16:20:39 +0200 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:52.0) Gecko/20100101 Thunderbird/52.2.1 MIME-Version: 1.0 In-Reply-To: <79dd24d5-9669-a767-be2a-0e84bc4d22ae@restart.be> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: fr-classic Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 12 Aug 2017 14:20:53 -0000 On 07/25/2017 19:22, Henri Hennebert wrote: > Hello, > > With FreeBSD 12.0-CURRENT #0 r320599 I can boot normally: > > ... > Release APs > CPU 0: ARM Cortex-A53 r0p4 affinity: 0 > Instruction Set Attributes 0 = > Instruction Set Attributes 1 = <0> > Processor Features 0 = 32> > Processor Features 1 = <0> > Memory Model Features 0 = <4k Granule,64k > Granule,MixedEndian,S/NS Mem,16bit ASID,1TB PA> > Memory Model Features 1 = <> > Debug Features 0 = <2 CTX Breakpoints,4 Watchpoints,6 > Breakpoints,PMUv3,Debug v8> > Debug Features 1 = <0> > Auxiliary Features 0 = <0> > Auxiliary Features 1 = <0> > CPU 1: ARM Cortex-A53 r0p4 affinity: 1 > CPU 2: ARM Cortex-A53 r0p4 affinity: 2 > CPU 3: ARM Cortex-A53 r0p4 affinity: 3 > ... > > With r320869, I get > > Release APs > APs not started > x0: ffff000000977d80 > x1: fffffd000299ba80 > x2: 3 > > I succeed one time to boot with r321003 but after that I try multiple > times and get the same error: APs not started > > I try r321371 to no avail. > > Any idea ? > > Henri If I boot with kernel r320599 (unload; load /boot/kernel.r320599/kernel; set module_path=/boot/kernel.r320599; load zfs; load opensolaris; boot), the boot complete without problem. Then I do a shutdown -r now to reboot with my default kernel (/boot/kernel) the boot complete without problem: [root@norquay ~]# uname -a FreeBSD norquay.restart.bel 12.0-CURRENT FreeBSD 12.0-CURRENT #0 r322109M: Wed Aug 9 17:16:41 CEST 2017 root@norquay.restart.bel:/usr/obj/usr/src/sys/NORQUAY arm64 with my rpool on 2 USB disks connected to a self powered hub: root@norquay ~]# zpool status pool: rpool state: ONLINE scan: scrub repaired 0 in 3h3m with 0 errors on Sat Jul 29 16:33:00 2017 config: NAME STATE READ WRITE CKSUM rpool ONLINE 0 0 0 mirror-0 ONLINE 0 0 0 gpt/disk0-zfs ONLINE 0 0 0 gpt/disk1-zfs ONLINE 0 0 0 errors: No known data errors BUT after a power off power on, this same kernel encounter the APs not started error. If I boot with /boot/kernel.r320599 and then do a shutdown -r now the r322109 boot without problem. Henri