From owner-freebsd-arm@freebsd.org Sun Nov 11 11:44:36 2018 Return-Path: Delivered-To: freebsd-arm@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id E06401100EB9 for ; Sun, 11 Nov 2018 11:44:35 +0000 (UTC) (envelope-from hondareyte.luc@laposte.net) Received: from smtp.laposte.net (smtpoutz23.laposte.net [194.117.213.98]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 004A57C3FD for ; Sun, 11 Nov 2018 11:44:34 +0000 (UTC) (envelope-from hondareyte.luc@laposte.net) Received: from smtp.laposte.net (localhost [127.0.0.1]) by lpn-prd-vrout011 (Postfix) with ESMTP id EFFE75305E5 for ; Sun, 11 Nov 2018 12:44:25 +0100 (CET) Received: from smtp.laposte.net (localhost [127.0.0.1]) by lpn-prd-vrout011 (Postfix) with ESMTP id E03215305EB for ; Sun, 11 Nov 2018 12:44:25 +0100 (CET) Received: from lpn-prd-vrin002 (lpn-prd-vrin002.prosodie [10.128.63.3]) by lpn-prd-vrout011 (Postfix) with ESMTP id D586D5305E5 for ; Sun, 11 Nov 2018 12:44:25 +0100 (CET) Received: from lpn-prd-vrin002 (localhost [127.0.0.1]) by lpn-prd-vrin002 (Postfix) with ESMTP id C50305E861F for ; Sun, 11 Nov 2018 12:44:25 +0100 (CET) Received: from Hibiscus.local (unknown [88.190.12.188]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by lpn-prd-vrin002 (Postfix) with ESMTPSA id A977B5E8315 for ; Sun, 11 Nov 2018 12:44:25 +0100 (CET) From: Luc Hondareyte Subject: u-boot 2018-09 and nano pi air To: freebsd-arm@freebsd.org Message-ID: <659cb177-bdb4-54f2-ba77-a03d00af0b25@laposte.net> Date: Sun, 11 Nov 2018 12:44:25 +0100 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.13; rv:52.0) Gecko/20100101 Thunderbird/52.9.1 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit Content-Language: fr X-VR-FullState: 0 X-VR-Score: 0 X-VR-Cause-1: gggruggvucftvghtrhhoucdtuddrgedtkedrkeejgdeftdcutefuodetggdotefrodftvfcurfhrohhf X-VR-Cause-2: ihhlvgemucfntefrqffuvffgnecuuegrihhlohhuthemucehtddtnecunecujfgurhephffuvffkffgf X-VR-Cause-3: gggtgfesthekredttdefjeenucfhrhhomhepnfhutgcujfhonhgurghrvgihthgvuceohhhonhgurghr X-VR-Cause-4: vgihthgvrdhluhgtsehlrghpohhsthgvrdhnvghtqeenucfkphepkeekrdduledtrdduvddrudekkeen X-VR-Cause-5: ucfrrghrrghmpehmohguvgepshhmthhpohhuthdpihhnvghtpeekkedrudeltddruddvrddukeekpdhh X-VR-Cause-6: vghlohepjfhisghishgtuhhsrdhlohgtrghlpdhmrghilhhfrhhomhephhhonhgurghrvgihthgvrdhl X-VR-Cause-7: uhgtsehlrghpohhsthgvrdhnvghtpdhrtghpthhtohepfhhrvggvsghsugdqrghrmhesfhhrvggvsghs X-VR-Cause-8: ugdrohhrghenucevlhhushhtvghrufhiiigvpedt X-VR-AvState: No X-VR-State: 0 X-VR-State: 0 X-Rspamd-Queue-Id: 004A57C3FD X-Spamd-Result: default: False [-2.78 / 200.00]; ARC_NA(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; R_DKIM_ALLOW(-0.20)[laposte.net]; RCVD_COUNT_FIVE(0.00)[6]; FROM_HAS_DN(0.00)[]; R_SPF_ALLOW(-0.20)[+ip4:194.117.213.98/31]; FREEMAIL_FROM(0.00)[laposte.net]; MIME_GOOD(-0.10)[text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-arm@freebsd.org]; TO_DN_NONE(0.00)[]; RCPT_COUNT_ONE(0.00)[1]; NEURAL_HAM_LONG(-0.99)[-0.989,0]; RCVD_TLS_LAST(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; DKIM_TRACE(0.00)[laposte.net:+]; MX_GOOD(-0.01)[smtpz4.laposte.net]; DMARC_POLICY_ALLOW(-0.50)[laposte.net,quarantine]; NEURAL_SPAM_SHORT(0.32)[0.318,0]; NEURAL_HAM_MEDIUM(-1.00)[-0.997,0]; IP_SCORE(-0.00)[country: FR(-0.02)]; RCVD_IN_DNSWL_LOW(-0.10)[98.213.117.194.list.dnswl.org : 127.0.5.1]; FROM_EQ_ENVFROM(0.00)[]; FREEMAIL_ENVFROM(0.00)[laposte.net]; ASN(0.00)[asn:8784, ipnet:194.117.208.0/20, country:FR]; MID_RHS_MATCH_FROM(0.00)[] X-Rspamd-Server: mx1.freebsd.org 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: Sun, 11 Nov 2018 11:44:36 -0000 Hello, I just tested generics images 12-BETA4 and 13-CURRENT (r340239) with u-boot 2018-09 package for nanopi-neo-air. Apparently, the USB stack does not work with this release. However, this works with the 2018-09 version for nano-pi-neo (not air). I did not have this problem with the 2018-03 version. U-Boot SPL 2018.09 (Oct 22 2018 - 20:09:02 +0000) DRAM: 512 MiB Trying to boot from MMC1 U-Boot 2018.09 (Oct 22 2018 - 20:09:02 +0000) Allwinner Technology CPU:   Allwinner H3 (SUN8I 1680) Model: FriendlyARM NanoPi NEO Air DRAM:  512 MiB MMC:   SUNXI SD/MMC: 0 Loading Environment from FAT... *** Warning - bad CRC, using default environment In:    serial Out:   serial Err:   serial Net:   No ethernet found. starting USB... No controllers found Hit any key to stop autoboot:  0 => usb info USB is stopped. Please issue 'usb start' first. => usb start starting USB... No controllers found Another question, what is the status for the eMMC for this board. Here is the dmesg with 13-CURRENT r340239: Booting [/boot/kernel/kernel]... Using DTB provided by EFI at 0x47ff9000. Kernel entry at 0x53000180... Kernel args: (null) modulep: 0xc0d22000 relocation_offset 0 ---<>--- KDB: debugger backends: ddb KDB: current backend: ddb Copyright (c) 1992-2018 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 r340239 GENERIC arm FreeBSD clang version 6.0.1 (tags/RELEASE_601/final 335540) (based on LLVM 6.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 No PSCI/SMCCC call function found CPU: ARM Cortex-A7 r0p5 (ECO: 0x00000000) CPU Features:   Multiprocessing, Thumb2, Security, Virtualization, Generic Timer, VMSAv7,   PXN, LPAE, Coherent Walk Optional instructions:   SDIV/UDIV, UMULL, SMULL, SIMD(ext) LoUU:2 LoC:3 LoUIS:2 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  = 0 (0 MB) avail memory = 506171392 (482 MB) FreeBSD/SMP: Multiprocessor System Detected: 4 CPUs random: unblocking device. random: entropy device external interface kbd0 at kbdmux0 ofwbus0: aw_ccu0: on ofwbus0 clk_fixed0: on aw_ccu0 clk_fixed1: on aw_ccu0 clk_fixed2: on aw_ccu0 simplebus0: on ofwbus0 ccu_h3ng0: mem 0x1c20000-0x1c203ff on simplebus0 regfix0: on ofwbus0 regfix1: on ofwbus0 regfix2: on ofwbus0 ccu_sun8i_r0: mem 0x1f01400-0x1f014ff on simplebus0 gic0: mem 0x1c81000-0x1c81fff,0x1c82000-0x1c83fff,0x1c84000-0x1c85fff,0x1c86000-0x1c87fff 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 43 on simplebus0 gpiobus1: on gpio1 rtc0: mem 0x1f00000-0x1f00053 irq 39,40 on simplebus0 rtc0: registered as a time-of-day clock, resolution 1.000000s 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-0x1c1c803,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 aw_mmc1: mem 0x1c10000-0x1c10fff irq 7 on simplebus0 mmc1: on aw_mmc1 gpioc0: on gpio0 aw_wdog0: mem 0x1c20ca0-0x1c20cbf irq 25 on simplebus0 uart0: <16750 or compatible> mem 0x1c28000-0x1c283ff irq 30 on simplebus0 uart0: 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 usb_needs_explore_all: no devclass mmcsd0: 32GB at mmc0 50.0MHz/4bit/32768-block AW_MMC_INT_RESP_TIMEOUT mmc0: Failed to set VCCQ for card at relative address 22964 AW_MMC_INT_RESP_TIMEOUT AW_MMC_INT_RESP_TIMEOUT AW_MMC_INT_RESP_TIMEOUT AW_MMC_INT_RESP_TIMEOUT AW_MMC_INT_RESP_TIMEOUT AW_MMC_INT_RESP_TIMEOUT AW_MMC_INT_RESP_TIMEOUT AW_MMC_INT_RESP_TIMEOUT AW_MMC_INT_RESP_TIMEOUT AW_MMC_INT_RESP_TIMEOUT AW_MMC_INT_RESP_TIMEOUT mmc1: No compatible cards found on bus aw_mmc1: Spurious interrupt - no active request, rint: 0x00000004 Release APs WARNING: WITNESS option enabled, expect reduced performance. Luc.