From owner-freebsd-arm@freebsd.org Sat Aug 17 16:55:20 2019 Return-Path: Delivered-To: freebsd-arm@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 7B088CBC99 for ; Sat, 17 Aug 2019 16:55:20 +0000 (UTC) (envelope-from danny@cs.huji.ac.il) Received: from mailman.nyi.freebsd.org (mailman.nyi.freebsd.org [IPv6:2610:1c1:1:606c::50:13]) by mx1.freebsd.org (Postfix) with ESMTP id 469mX76RVWz4XH6 for ; Sat, 17 Aug 2019 16:55:19 +0000 (UTC) (envelope-from danny@cs.huji.ac.il) Received: by mailman.nyi.freebsd.org (Postfix) id DD072CBC98; Sat, 17 Aug 2019 16:55:19 +0000 (UTC) Delivered-To: arm@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id DCC81CBC97 for ; Sat, 17 Aug 2019 16:55:19 +0000 (UTC) (envelope-from danny@cs.huji.ac.il) Received: from kabab.cs.huji.ac.il (kabab.cs.huji.ac.il [132.65.116.210]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 469mX63Phjz4XH4 for ; Sat, 17 Aug 2019 16:55:18 +0000 (UTC) (envelope-from danny@cs.huji.ac.il) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=cs.huji.ac.il; s=57791128; h=To:Date:Message-Id:Subject:Mime-Version:Content-Transfer-Encoding:Content-Type:From; bh=i4xekvVPYkAgHi1PBvzKZV2Qx5E/EWkIVOiSoyaPZHc=; b=s7c/GX91Zp+kkkubpsa4PH4uovZV3VF5QfNIKBw+rRdPvAnp3LOHsp4hIYHn9IsYlCn43iHOJ/d7We1mYTGeCof43oXv8KVZnpXiLE4pOIwF9RH9as5uWLeH3kSBuI1B2qqEbnE4ywx4wCE1iLJ2/u708WLnXbdVUszoJtwWpmd20co3aRKOaxlrWKdshCis3Q3fdFmHADsqruzWXu14uPBL2pTRl/kT3SdiBFNO/LhYlnrcVIMD4nSEMcqVPHotEge/RSqZdorYiPJ1sIOAyO3LHcn6y1A8VDIxHRnof5t+KLiaH12dcZtOcssETVGyH1j/XdRff/tYdejqx+8cGg==; Received: from macmini.bk.cs.huji.ac.il ([132.65.179.19]) by kabab.cs.huji.ac.il with esmtp id 1hz1z0-000NKb-Be for arm@freebsd.org; Sat, 17 Aug 2019 19:55:14 +0300 From: Daniel Braniss Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Mime-Version: 1.0 (Mac OS X Mail 12.4 \(3445.104.11\)) Subject: boot hangs in nanopi-neo Message-Id: <116689BE-9231-4591-BFBB-8E823931D2D2@cs.huji.ac.il> Date: Sat, 17 Aug 2019 19:55:13 +0300 To: "freebsd-arm@freebsd.org" X-Mailer: Apple Mail (2.3445.104.11) X-Rspamd-Queue-Id: 469mX63Phjz4XH4 X-Spamd-Bar: -- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=cs.huji.ac.il header.s=57791128 header.b=s7c/GX91; dmarc=none; spf=none (mx1.freebsd.org: domain of danny@cs.huji.ac.il has no SPF policy when checking 132.65.116.210) smtp.mailfrom=danny@cs.huji.ac.il X-Spamd-Result: default: False [-2.94 / 15.00]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-0.99)[-0.994,0]; R_DKIM_ALLOW(-0.20)[cs.huji.ac.il:s=57791128]; FROM_HAS_DN(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; MV_CASE(0.50)[]; MIME_GOOD(-0.10)[text/plain]; DMARC_NA(0.00)[huji.ac.il]; NEURAL_HAM_LONG(-0.99)[-0.993,0]; RCPT_COUNT_ONE(0.00)[1]; IP_SCORE(-0.30)[ipnet: 132.64.0.0/13(-0.85), asn: 378(-0.68), country: IL(0.05)]; TO_DN_ALL(0.00)[]; DKIM_TRACE(0.00)[cs.huji.ac.il:+]; NEURAL_HAM_SHORT(-0.86)[-0.856,0]; RCVD_IN_DNSWL_NONE(0.00)[210.116.65.132.list.dnswl.org : 127.0.10.0]; R_SPF_NA(0.00)[]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; RCVD_TLS_LAST(0.00)[]; ASN(0.00)[asn:378, ipnet:132.64.0.0/13, country:IL]; MID_RHS_MATCH_FROM(0.00)[]; RCVD_COUNT_TWO(0.00)[2] X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 17 Aug 2019 16:55:20 -0000 after some months, I decided to upgrade, but now it stucks here: =E2=80=A6 FreeBSD 13.0-CURRENT #13 r351126M: Sat Aug 17 13:19:09 IDT 2019 = danny@pe-44:/home/obj/pe-44/arm/neo/r+d/vanilla/13/arm.armv7/r+d/vanilla/1= 3/sys/AWG arm FreeBSD clang version 8.0.1 (tags/RELEASE_801/final 366581) (based on = LLVM 8.0.1) WARNING: WITNESS option enabled, expect reduced performance. =E2=80=A6 hub3: on = usbus3 mmcsd0: 8GB at mmc0 = 50.0MHz/4bit/32768-block Release A at which point it hangs solid. BTW, I installed a newer u-boot (maybe it=E2=80=99s not the very latest) this is the full console output: USB Device(s) found scanning bus 1 for devices... 1 USB Device(s) found scanning bus 2 for devices... 1 USB Device(s) found scanning bus 3 for devices... 1 USB Device(s) found scanning usb for storage devices... 0 Storage Device(s) found Hit any key to stop autoboot: 0=20 switch to partitions #0, OK mmc0 is current device Scanning mmc 0:1... Found U-Boot script /boot.scr 199 bytes read in 0 ms ## Executing script at 43100000 384788 bytes read in 24 ms (15.3 MiB/s) ## Starting application at 0x42000000 ... Consoles: U-Boot console =20 Compatible U-Boot API signature found @0x5bf6bca0 FreeBSD/armv7 U-Boot loader, Revision 1.3 (Sat Aug 17 12:49:43 IDT 2019 danny@pe-44) DRAM: 512MB Number of U-Boot devices: 1 U-Boot env: loaderdev not set, will probe all devices. Found U-Boot device: disk Probing all devices... Checking unit=3D0 slice=3D partition=3D... good. Booting from disk0s2a: Loading /boot/defaults/loader.conf Loading /boot/device.hints Loading /boot/loader.conf Loading /boot/loader.conf.local Loading kernel... /boot/kernel/kernel text=3D0x870a68 data=3D0xb4e18+0x259768 = syms=3D[0x4+0xaa340+0x4+0x10d2ac] Loading configured modules... can't find '/boot/entropy' Hit [Enter] to boot immediately, or any other key for command prompt. Booting [/boot/kernel/kernel]... =20 /boot/dtb/sun8i-h3-nanopi-neo.dtb size=3D0x64d1 Loaded DTB from file 'sun8i-h3-nanopi-neo.dtb'. Kernel entry at 0x42400180... Kernel args: (null) ---<>--- KDB: debugger backends: ddb KDB: current backend: ddb Copyright (c) 1992-2019 The FreeBSD Project. Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994 The Regents of the University of California. All rights reserved. FreeBSD is a registered trademark of The FreeBSD Foundation. FreeBSD 13.0-CURRENT #13 r351126M: Sat Aug 17 13:19:09 IDT 2019 = danny@pe-44:/home/obj/pe-44/arm/neo/r+d/vanilla/13/arm.armv7/r+d/vanilla/1= 3/sys/AWG arm FreeBSD clang version 8.0.1 (tags/RELEASE_801/final 366581) (based on = LLVM 8.0.1) WARNING: WITNESS option enabled, expect reduced performance. VT: init without driver. module_register: cannot register ofwbus/pcib from kernel; already loaded = from kernel Module ofwbus/pcib failed to register: 17 module_register: cannot register simplebus/pcib from kernel; already = loaded from kernel Module simplebus/pcib failed to register: 17 CPU: ARM Cortex-A7 r0p5 (ECO: 0x00000000) CPU Features:=20 Multiprocessing, Thumb2, Security, Virtualization, Generic Timer, = VMSAv7, PXN, LPAE, Coherent Walk Optional instructions:=20 SDIV/UDIV, UMULL, SMULL, SIMD(ext) LoUU:2 LoC:3 LoUIS:2=20 Cache level 1: 32KB/64B 4-way data cache WB Read-Alloc Write-Alloc 32KB/32B 2-way instruction cache Read-Alloc Cache level 2: 512KB/64B 8-way unified cache WB Read-Alloc Write-Alloc real memory =3D 536870912 (512 MB) avail memory =3D 506929152 (483 MB) No PSCI/SMCCC call function found FreeBSD/SMP: Multiprocessor System Detected: 4 CPUs arc4random: WARNING: initial seeding bypassed the cryptographic random = device because it was not yet seeded and the knob = 'bypass_before_seeding' was enabled. random: entropy device external interface kbd0 at kbdmux0 ofwbus0: ofw_clkbus0: on ofwbus0 clk_fixed0: on ofw_clkbus0 clk_fixed1: on ofw_clkbus0 simplebus0: on ofwbus0 regfix0: on ofwbus0 regfix1: on ofwbus0 regfix2: on ofwbus0 rtc0: mem 0x1f00000-0x1f003ff irq 40,41 on simplebus0 rtc0: registered as a time-of-day clock, resolution 1.000000s ccu_h3ng0: mem = 0x1c20000-0x1c203ff on simplebus0 ccu_sun8i_r0: mem = 0x1f01400-0x1f014ff on simplebus0 gic0: mem = 0x1c81000-0x1c81fff,0x1c82000-0x1c83fff,0x1c84000-0x1c85fff,0x1c86000-0x1c= 87fff irq 37 on simplebus0 gic0: pn 0x1, arch 0x2, rev 0x1, implementer 0x43b irqs 160 gpio0: mem 0x1c20800-0x1c20bff irq = 18,19 on simplebus0 gpiobus0: on gpio0 gpio1: mem 0x1f02c00-0x1f02fff irq 44 = on simplebus0 gpiobus1: on gpio1 generic_timer0: irq 0,1,2,3 on ofwbus0 Timecounter "ARM MPCore Timecounter" frequency 24000000 Hz quality 1000 Event timer "ARM MPCore Eventtimer" frequency 24000000 Hz quality 1000 aw_syscon0: mem 0x1c00000-0x1c00fff on simplebus0 awusbphy0: mem = 0x1c19400-0x1c1942b,0x1c1a800-0x1c1a803,0x1c1b800-0x1c1b803,0x1c1c800-0x1c= 1c803,0x1c1d800-0x1c1d803 on simplebus0 a31dmac0: mem 0x1c02000-0x1c02fff irq 4 on = simplebus0 aw_mmc0: mem = 0x1c0f000-0x1c0ffff irq 6 on simplebus0 mmc0: on aw_mmc0 ehci0: mem 0x1c1a000-0x1c1a0ff = irq 10 on simplebus0 usbus0: EHCI version 1.0 usbus0 on ehci0 ohci0: mem 0x1c1a400-0x1c1a4ff irq 11 on = simplebus0 usbus1 on ohci0 ehci1: mem 0x1c1d000-0x1c1d0ff = irq 16 on simplebus0 usbus2: EHCI version 1.0 usbus2 on ehci1 ohci1: mem 0x1c1d400-0x1c1d4ff irq 17 on = simplebus0 usbus3 on ohci1 gpioc0: on gpio0 awg0: mem 0x1c30000-0x1c3ffff irq 22 on = simplebus0 miibus0: on awg0 ukphy0: PHY 0 on miibus0 ukphy0: none, 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto, = auto-flow ukphy1: PHY 1 on miibus0 ukphy1: none, 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto, = auto-flow awg0: Ethernet address: f2:00:e7:81:61:2e aw_wdog0: mem 0x1c20ca0-0x1c20cbf irq 25 on = simplebus0 uart2: <16750 or compatible> mem 0x1c28000-0x1c283ff irq 30 on = simplebus0 uart2: console (115384,n,8,1) gpioc1: on gpio1 cpulist0: on ofwbus0 cpu0: on cpulist0 cpu1: on cpulist0 cpu2: on cpulist0 cpu3: on cpulist0 gpioled0: on ofwbus0 cryptosoft0: Timecounters tick every 1.000 msec usbus0: 480Mbps High Speed USB v2.0 usbus1: 12Mbps Full Speed USB v1.0 usbus2: 480Mbps High Speed USB v2.0 usbus3: 12Mbps Full Speed USB v1.0 ugen1.1: at usbus1 uhub0 on usbus1 uhub0: on = usbus1 ugen0.1: at usbus0 uhub1 on usbus0 uhub1: on = usbus0 ugen2.1: at usbus2 uhub2 on usbus2 uhub2: on = usbus2 ugen3.1: at usbus3 uhub3 on usbus3 uhub3: on = usbus3 mmcsd0: 8GB at mmc0 = 50.0MHz/4bit/32768-block Release A=