From owner-freebsd-arm@freebsd.org Wed Jan 16 01:17:15 2019 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 298CA149D2A2 for ; Wed, 16 Jan 2019 01:17:15 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.ysv.freebsd.org (mxrelay.ysv.freebsd.org [IPv6:2001:1900:2254:206a::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.ysv.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id B3E60844D2 for ; Wed, 16 Jan 2019 01:17:14 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.ysv.freebsd.org (Postfix) with ESMTPS id 0F9FF26CD8 for ; Wed, 16 Jan 2019 01:17:14 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id x0G1HDG8094794 for ; Wed, 16 Jan 2019 01:17:13 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id x0G1HD2H094793 for freebsd-arm@FreeBSD.org; Wed, 16 Jan 2019 01:17:13 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: freebsd-arm@FreeBSD.org Subject: [Bug 233489] SPI on the Raspberry Pi 3 is not working Date: Wed, 16 Jan 2019 01:17:14 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: arm X-Bugzilla-Version: CURRENT X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Many People X-Bugzilla-Who: gonzo@FreeBSD.org X-Bugzilla-Status: Closed X-Bugzilla-Resolution: FIXED X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: gonzo@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: assigned_to bug_status resolution Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 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: Wed, 16 Jan 2019 01:17:15 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D233489 Oleksandr Tymoshenko changed: What |Removed |Added ---------------------------------------------------------------------------- Assignee|freebsd-arm@FreeBSD.org |gonzo@FreeBSD.org Status|In Progress |Closed Resolution|--- |FIXED --- Comment #5 from Oleksandr Tymoshenko --- spigen-rpi3 overlay was committed to HEAD. I'm going to close this PR as fi= xed since the original issue is addressed now. --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-arm@freebsd.org Wed Jan 16 03:51:52 2019 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 4A76214A1535 for ; Wed, 16 Jan 2019 03:51:52 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.ysv.freebsd.org (mxrelay.ysv.freebsd.org [IPv6:2001:1900:2254:206a::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.ysv.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id DCF4A8976B for ; Wed, 16 Jan 2019 03:51:51 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.ysv.freebsd.org (Postfix) with ESMTPS id 2BDC53A0 for ; Wed, 16 Jan 2019 03:51:51 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id x0G3ppAK045725 for ; Wed, 16 Jan 2019 03:51:51 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id x0G3ppfP045724 for freebsd-arm@FreeBSD.org; Wed, 16 Jan 2019 03:51:51 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: freebsd-arm@FreeBSD.org Subject: [Bug 201268] Bug in elf_trampoline with ARMv7 processors Date: Wed, 16 Jan 2019 03:51:51 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: arm X-Bugzilla-Version: CURRENT X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Many People X-Bugzilla-Who: gonzo@FreeBSD.org X-Bugzilla-Status: Closed X-Bugzilla-Resolution: Overcome By Events X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: freebsd-arm@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status resolution cc Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 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: Wed, 16 Jan 2019 03:51:52 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D201268 Oleksandr Tymoshenko changed: What |Removed |Added ---------------------------------------------------------------------------- Status|New |Closed Resolution|--- |Overcome By Events CC| |gonzo@FreeBSD.org --- Comment #1 from Oleksandr Tymoshenko --- ARMv6/ARMv7 support for ELF trampoline was removed in base r325439. Closing= as OBE. --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-arm@freebsd.org Wed Jan 16 16:56:08 2019 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 DF5B1148E574 for ; Wed, 16 Jan 2019 16:56:08 +0000 (UTC) (envelope-from fbsd@www.zefox.net) Received: from www.zefox.net (www.zefox.net [50.1.20.27]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "www.zefox.org", Issuer "www.zefox.org" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 5861575DE8 for ; Wed, 16 Jan 2019 16:56:07 +0000 (UTC) (envelope-from fbsd@www.zefox.net) Received: from www.zefox.net (localhost [127.0.0.1]) by www.zefox.net (8.15.2/8.15.2) with ESMTPS id x0GGuJZe005569 (version=TLSv1.2 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO); Wed, 16 Jan 2019 08:56:20 -0800 (PST) (envelope-from fbsd@www.zefox.net) Received: (from fbsd@localhost) by www.zefox.net (8.15.2/8.15.2/Submit) id x0GGuJsk005568; Wed, 16 Jan 2019 08:56:19 -0800 (PST) (envelope-from fbsd) Date: Wed, 16 Jan 2019 08:56:19 -0800 From: bob prohaska To: freebsd-arm@freebsd.org Subject: Re: [Bug 234672] www/chromium: c++: error: unable to execute command: Segmentation fault (core dumped) Message-ID: <20190116165619.GA5515@www.zefox.net> References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.24 (2015-08-30) X-Rspamd-Queue-Id: 5861575DE8 X-Spamd-Bar: ------ Authentication-Results: mx1.freebsd.org X-Spamd-Result: default: False [-6.99 / 15.00]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; NEURAL_HAM_SHORT(-0.99)[-0.992,0]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; REPLY(-4.00)[] 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: Wed, 16 Jan 2019 16:56:09 -0000 On Wed, Jan 16, 2019 at 07:51:07AM +0000, bugzilla-noreply@freebsd.org wrote: > https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=234672 > > Oleksandr Tymoshenko changed: > > What |Removed |Added > ---------------------------------------------------------------------------- > CC| |dim@FreeBSD.org > > --- Comment #8 from Oleksandr Tymoshenko --- > This looks more like clang-related crash than ARM-specific. I'll try to take a > look but my expertise in this area is not great. Adding dim@ to Cc, he may be > aware of known problems with clang/ARM in the latest release. > In quite a few instances the make log file contains a note such as *** Error code 254 [number varies, websearch found nothing] and the error message indicates cc: error: clang frontend command failed due to signal (use -v to see invocation) If somebody could tell me how to invoke the -v option I'll try it. IIRC putting CFLAGS=-v on the command line to make didn't work. Is there any possibility this is a hardware issue, perhaps with the microSD card? It's a Samsung EVO Plus, 128GB. No console errors at all, the troubles appeared several buildworld cycles after starting to use it. Single thread make in single-user mode didn't avert the problem, Thanks for reading, bob prohaska From owner-freebsd-arm@freebsd.org Wed Jan 16 21:36:05 2019 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 10A6014966F2 for ; Wed, 16 Jan 2019 21:36:05 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.ysv.freebsd.org (mxrelay.ysv.freebsd.org [IPv6:2001:1900:2254:206a::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.ysv.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 9F9D488A52 for ; Wed, 16 Jan 2019 21:36:04 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.ysv.freebsd.org (Postfix) with ESMTPS id C0830A218 for ; Wed, 16 Jan 2019 21:36:03 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id x0GLa3ib022998 for ; Wed, 16 Jan 2019 21:36:03 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id x0GLa3Nr022997 for freebsd-arm@FreeBSD.org; Wed, 16 Jan 2019 21:36:03 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: freebsd-arm@FreeBSD.org Subject: [Bug 210705] freebsd/sys/arm/mv/mv_common.c:2252]: (style) Suspicious condition Date: Wed, 16 Jan 2019 21:36:03 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: arm X-Bugzilla-Version: CURRENT X-Bugzilla-Keywords: patch X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: gonzo@FreeBSD.org X-Bugzilla-Status: Closed X-Bugzilla-Resolution: FIXED X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: gonzo@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: resolution bug_status assigned_to cc Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 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: Wed, 16 Jan 2019 21:36:05 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D210705 Oleksandr Tymoshenko changed: What |Removed |Added ---------------------------------------------------------------------------- Resolution|--- |FIXED Status|Open |Closed Assignee|freebsd-arm@FreeBSD.org |gonzo@FreeBSD.org CC| |gonzo@FreeBSD.org --- Comment #2 from Oleksandr Tymoshenko --- Fix committed. Thanks for the submission. --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-arm@freebsd.org Wed Jan 16 21:44:52 2019 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 8915F14969B6 for ; Wed, 16 Jan 2019 21:44:52 +0000 (UTC) (envelope-from fbsd@www.zefox.net) Received: from www.zefox.net (www.zefox.net [50.1.20.27]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "www.zefox.org", Issuer "www.zefox.org" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 045F288ED7 for ; Wed, 16 Jan 2019 21:44:51 +0000 (UTC) (envelope-from fbsd@www.zefox.net) Received: from www.zefox.net (localhost [127.0.0.1]) by www.zefox.net (8.15.2/8.15.2) with ESMTPS id x0GLj9Je006610 (version=TLSv1.2 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO); Wed, 16 Jan 2019 13:45:10 -0800 (PST) (envelope-from fbsd@www.zefox.net) Received: (from fbsd@localhost) by www.zefox.net (8.15.2/8.15.2/Submit) id x0GLj8xE006609; Wed, 16 Jan 2019 13:45:08 -0800 (PST) (envelope-from fbsd) Date: Wed, 16 Jan 2019 13:45:08 -0800 From: bob prohaska To: freebsd-arm@freebsd.org Subject: Re: [Bug 234672] www/chromium: c++: error: unable to execute command: Segmentation fault (core dumped) Message-ID: <20190116214508.GA5922@www.zefox.net> References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.24 (2015-08-30) X-Rspamd-Queue-Id: 045F288ED7 X-Spamd-Bar: ------ Authentication-Results: mx1.freebsd.org X-Spamd-Result: default: False [-6.99 / 15.00]; REPLY(-4.00)[]; NEURAL_HAM_SHORT(-0.99)[-0.986,0]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; NEURAL_HAM_LONG(-1.00)[-1.000,0] 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: Wed, 16 Jan 2019 21:44:52 -0000 On Wed, Jan 16, 2019 at 08:56:42PM +0000, bugzilla-noreply@freebsd.org wrote: > https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=234672 > > --- Comment #9 from Dimitry Andric --- > I tried the sprintf-4b97e4.{c,sh} test case, and that compiles without any > problem for me, with clang 7.0.1 on head r342759. I also tried clang 6.0.1 > succesfully. > > The other test case, partial_circular_buffer-563908.sh, is missing the > corresponding .cpp file, so I can't evaluate it. > Here's the latest segfault message, generated using make buildworld (with no -j) on r342987, from sources at 343001 ...... /usr/obj/usr/src/arm64.aarch64/tmp/usr/include/openssl/opensslconf.h:107:55: note: expanded from macro 'DECLARE_DEPRECATED' # define DECLARE_DEPRECATED(f) f __attribute__ ((deprecated)); ^ 1 warning generated. cc: error: unable to execute command: Segmentation fault (core dumped) cc: error: clang frontend command failed due to signal (use -v to see invocation) FreeBSD clang version 7.0.1 (tags/RELEASE_701/final 349250) (based on LLVM 7.0.1) Target: aarch64-unknown-freebsd13.0 Thread model: posix InstalledDir: /usr/bin cc: note: diagnostic msg: PLEASE submit a bug report to https://bugs.freebsd.org/submit/ and include the crash backtrace, preprocessed source, and associated run script. cc: note: diagnostic msg: ******************** PLEASE ATTACH THE FOLLOWING FILES TO THE BUG REPORT: Preprocessed source(s) and associated run script(s) are located at: cc: note: diagnostic msg: /tmp/serverloop-a25e04.c cc: note: diagnostic msg: /tmp/serverloop-a25e04.sh cc: note: diagnostic msg: ******************** root@www:/usr/src # root@www:/usr/src # find /usr/obj -name serverloop.o -depth -print root@www:/usr/src # ls -l /tmp/serverloop-a25e04.* -rw-r--r-- 1 root wheel 2320872 Jan 16 12:41 /tmp/serverloop-a25e04.c -rw-r--r-- 1 root wheel 4056 Jan 16 12:41 /tmp/serverloop-a25e04.sh The end of the build log contains: cc -target aarch64-unknown-freebsd13.0 --sysroot=/usr/obj/usr/src/arm64.aarch64/tmp -B/usr/obj/usr/src/arm64.aarch64/tmp/usr/bin -O2 -pipe -I/usr/src/crypto/openssh -include ssh_namespace.h -DHAVE_LDNS=1 -DUSE_BSM_AUDIT=1 -DHAVE_GETAUDIT_ADDR=1 -DUSE_BLACKLIST=1 -I/usr/src/contrib/blacklist/include -include krb5_config.h -DLIBWRAP=1 -g -MD -MF.depend.serverloop.o -MTserverloop.o -std=gnu99 -fstack-protector-strong -Wno-pointer-sign -Wno-empty-body -Wno-string-plus-int -Wno-unused-const-variable -Wno-tautological-compare -Wno-unused-value -Wno-parentheses-equality -Wno-unused-function -Wno-enum-conversion -Wno-unused-local-typedef -Wno-address-of-packed-member -Wno-switch -Wno-switch-enum -Wno-knr-promoted-parameter -Wno-parentheses -Qunused-arguments -c /usr/src/crypto/openssh/serverloop.c -o serverloop.o *** Error code 254 Stop. make[5]: stopped in /usr/src/secure/usr.sbin/sshd *** Error code 1 Stop. make[4]: stopped in /usr/src/secure/usr.sbin *** Error code 1 Stop. make[3]: stopped in /usr/src/secure *** Error code 1 Stop. make[2]: stopped in /usr/src *** Error code 1 Stop. make[1]: stopped in /usr/src *** Error code 1 make: stopped in /usr/src The diagnostic files are at http://www.zefox.net/~fbsd/rpi3/swaptests/r342987/ It's starting to look as if I've somehow corrupted my clang installation. Is it possible to download a precompiled binary, akin to a package, as a workaround? Failing that, a compilation sequence that more thoroughly sanitizes the buildworld process? The most careful sequence tried to date was kernel-toolchain, installkernel, reboot, then buildworld. Thanks for reading! bob prohaska From owner-freebsd-arm@freebsd.org Thu Jan 17 13:59:39 2019 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 0F89B1496F83 for ; Thu, 17 Jan 2019 13:59:39 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.ysv.freebsd.org (mxrelay.ysv.freebsd.org [IPv6:2001:1900:2254:206a::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.ysv.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 9EA4D8F498 for ; Thu, 17 Jan 2019 13:59:38 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.ysv.freebsd.org (Postfix) with ESMTPS id E0C9213292 for ; Thu, 17 Jan 2019 13:59:37 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id x0HDxb9H008031 for ; Thu, 17 Jan 2019 13:59:37 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id x0HDxbDM008030 for freebsd-arm@FreeBSD.org; Thu, 17 Jan 2019 13:59:37 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: freebsd-arm@FreeBSD.org Subject: [Bug 235024] [OPTIMISATION] compile ARM with -O2 ? Date: Thu, 17 Jan 2019 13:59:37 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: arm X-Bugzilla-Version: CURRENT X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: alexandre.martins@stormshield.eu X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: freebsd-arm@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 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: Thu, 17 Jan 2019 13:59:39 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D235024 Bug ID: 235024 Summary: [OPTIMISATION] compile ARM with -O2 ? Product: Base System Version: CURRENT Hardware: Any OS: Any Status: New Severity: Affects Only Me Priority: --- Component: arm Assignee: freebsd-arm@FreeBSD.org Reporter: alexandre.martins@stormshield.eu Hi all ! There is an very old workaround in share/mk/sys.mk for ARM target: https://svnweb.freebsd.org/base?view=3Drevision&revision=3D173375 That workaround make us compile ARM in "-O" optimisation level instead of "-O2". It's maybe time to remove that ? https://svnweb.freebsd.org/base/head/share/mk/sys.mk?view=3Dannotate#l170 Thank you --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-arm@freebsd.org Fri Jan 18 05:50:05 2019 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 51F841490712 for ; Fri, 18 Jan 2019 05:50:04 +0000 (UTC) (envelope-from audioone.official@gmail.com) Received: from mail-pf1-x443.google.com (mail-pf1-x443.google.com [IPv6:2607:f8b0:4864:20::443]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 6056B77449 for ; Fri, 18 Jan 2019 05:50:02 +0000 (UTC) (envelope-from audioone.official@gmail.com) Received: by mail-pf1-x443.google.com with SMTP id 64so6017111pfr.9 for ; Thu, 17 Jan 2019 21:50:02 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to; bh=gtI0i0b4K6hvFNgBplhSnjHbpltSnb3WRMAZF4ufYG4=; b=guNw2jNS3xMLG9b4RBUMX14N/kJ5vu9b9EfBoGcv27bImM18YC7RlhLZXbllHiIdfq FxxuqkllfCZdx9MHZXDAyvprgPLUaoIxsu7em5o0nqqHPG1+d/8bZC1nA6BeS/hFNgZi 0b0awjwaJl6sCn5bTbRotvg9qPcuL08tlIQklNnHzal3JFNb2vUgzceNFvKTt5rCkDds mmZ5c0jLE7rb5UIJX/uJK63n5NnIyx1Y7Pl07Mwct/TpnuizZNxHugSzFT+GtIVz4T/6 c9C2NbFq0D4XQEGuIW6DGrYUVAF96JOMHma95Rsnx9spNQgTUW/+G7iXmAc6VWBRbSXm ZELA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to; bh=gtI0i0b4K6hvFNgBplhSnjHbpltSnb3WRMAZF4ufYG4=; b=Jka2G8/xTUZCqU1I0NZt9/NDoWT9Dv6QDwfIvDE08wPmqbjDflUq3wBfxehcnaKEOl c0/qJPip4fNRg/Fc8IZ7XjI1LfJeTb9W6u/EqO/DjH8R+ZSuKWqJXhJAI5QbCsSq0NUV s4BZDa44svh/LiSQDQgg99g2q8KsyU1Kiq/lG0nZMceVXDoJnCMPqsYvcglRtoj/BY6s 9qSz0JNROLE5ax23WbmTQTD5u6CMU4hc/m+vBzVwSfeTnUf/vd0kX9d0YzsjYRCGbUKI C/PWzSIA3idVDiNZhLpQruo83TgKcxyYMkGiJEqqQ7dRV3bzLaAWRNDWUKDXqm+0o1vw h1RQ== X-Gm-Message-State: AJcUukc/lJiL9rVCRcCruufQypLJOaI9RKi1RbpIajNiyRNIkunkcnHz DzvHbZFrfG78UDdXUrxvAHQYco2pBcbhdC1LlJSUpp7e X-Google-Smtp-Source: ALg8bN5wFRSkbTdn1MTp4ZrjgNT8A5oqKiW8dZwQM5uVZjOWAH9baGZ2Czlwc2C27mdf3aYRd3XrlpRWpER27zmHl5g= X-Received: by 2002:a62:c683:: with SMTP id x3mr17723705pfk.10.1547790600575; Thu, 17 Jan 2019 21:50:00 -0800 (PST) MIME-Version: 1.0 References: In-Reply-To: From: AudioONE Date: Fri, 18 Jan 2019 13:49:54 +0800 Message-ID: Subject: Re: i.MX6 DualLite stuck at early boot To: freebsd-arm@freebsd.org X-Rspamd-Queue-Id: 6056B77449 X-Spamd-Bar: / Authentication-Results: mx1.freebsd.org; dkim=pass header.d=gmail.com header.s=20161025 header.b=guNw2jNS; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (mx1.freebsd.org: domain of audiooneofficial@gmail.com designates 2607:f8b0:4864:20::443 as permitted sender) smtp.mailfrom=audiooneofficial@gmail.com X-Spamd-Result: default: False [0.05 / 15.00]; R_SPF_ALLOW(-0.20)[+ip6:2607:f8b0:4000::/36]; FREEMAIL_FROM(0.00)[gmail.com]; TO_DN_NONE(0.00)[]; URI_COUNT_ODD(1.00)[13]; DKIM_TRACE(0.00)[gmail.com:+]; DMARC_POLICY_ALLOW(-0.50)[gmail.com,none]; MX_GOOD(-0.01)[cached: alt3.gmail-smtp-in.l.google.com]; FROM_EQ_ENVFROM(0.00)[]; RCVD_TLS_LAST(0.00)[]; MIME_TRACE(0.00)[0:+,1:+]; FREEMAIL_ENVFROM(0.00)[gmail.com]; ASN(0.00)[asn:15169, ipnet:2607:f8b0::/32, country:US]; TAGGED_FROM(0.00)[]; DWL_DNSWL_NONE(0.00)[gmail.com.dwl.dnswl.org : 127.0.5.0]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-0.87)[-0.872,0]; R_DKIM_ALLOW(-0.20)[gmail.com:s=20161025]; FROM_HAS_DN(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; NEURAL_HAM_LONG(-0.90)[-0.900,0]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-arm@freebsd.org]; RCPT_COUNT_ONE(0.00)[1]; IP_SCORE(0.08)[ip: (4.69), ipnet: 2607:f8b0::/32(-2.39), asn: 15169(-1.82), country: US(-0.08)]; NEURAL_SPAM_SHORT(0.75)[0.748,0]; RCVD_IN_DNSWL_NONE(0.00)[3.4.4.0.0.0.0.0.0.0.0.0.0.0.0.0.0.2.0.0.4.6.8.4.0.b.8.f.7.0.6.2.list.dnswl.org : 127.0.5.0]; HTTP_TO_IP(1.00)[]; RCVD_COUNT_TWO(0.00)[2] Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.29 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: Fri, 18 Jan 2019 05:50:05 -0000 hmmmm..... I can bring up technexion PICO-PI-IMX7 (lets say FBSD-Things) with single core mode, need to deal with imx7_mp.c because handling of imx7-MU is different with bcm2836-MAILBOX, still, kernel will stuck if don't comment D$-related function in reinit_mmu, maybe need some marco for Cortex-A7 platform. ================ bootlog U-Boot 2018.03 (Jan 15 2019 - 20:01:26 +0800) CPU: Freescale i.MX7D rev1.2 1000 MHz (running at 792 MHz) CPU: Commercial temperature grade (0C to 95C) at 46C Reset cause: POR Board: i.MX7D PICOSOM I2C: ready DRAM: 512 MiB WARNING: Caches not enabled PMIC: PFUZE3000 DEV_ID=0x30 REV_ID=0x11 MMC: FSL_SDHC: 0 Loading Environment from MMC... *** Warning - bad CRC, using default environment Failed (-5) In: serial Out: serial Err: serial Net: FEC0 Hit any key to stop autoboot: 0 Using FEC0 device Load address: 0x82000000 Loading: ################################################################# ################################################################# ################################################################# ################################################################# ################################################################# ################# 1.5 MiB/s done Bytes transferred = 5009252 (4c6f64 hex) ## Starting application at 0x82000000 ... Copyright (c) 1992-2016 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 11.0-RELEASE-p1 #70 r309528M: Fri Jan 18 05:28:11 HKT 2019 root@4160059805-freebsd-xeon:/mnt/dev/bsdbuild/arm.armv6/mnt/dev/11/sys/IMX7 arm FreeBSD clang version 3.8.0 (tags/RELEASE_380/final 262564) (based on LLVM 3.8.0) Preloaded elf kernel "kernel" at 0xc24f1700. CPU: Cortex A7 rev 5 (Cortex-A core) Supported features: ARM_ISA THUMB2 JAZELLE THUMBEE ARMv4 Security_Ext WB enabled LABT branch prediction disabled 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 = 536805376 (511 MB) avail memory = 517378048 (493 MB) Physical memory chunk(s): 0x80000000 - 0x9ffeffff, 511 MB ( 131056 pages) Excluded memory regions: 0x82000000 - 0x82666fff, 6 MB ( 1639 pages) NoAlloc Static device mappings: 0x30000000 - 0x303fffff mapped at VA 0xffb00000 0x30400000 - 0x307fffff mapped at VA 0xff700000 0x30800000 - 0x30a9ffff mapped at VA 0xff460000 0x30ac0000 - 0x30bfffff mapped at VA 0xff320000 ULE: setup cpu 0 random: entropy device external interface mem: nfslock: pseudo-device crypto: null: openfirm: random: harvesting attach, 8 bytes (4 bits) from nexus0 ofwbus0: simplebus0: on ofwbus0 simplebus1: mem 0x30000000-0x303fffff on simplebus0 imx7_anatop0: mem 0x30360000-0x3036ffff on simplebus1 random: harvesting attach, 8 bytes (4 bits) from imx7_anatop0 random: harvesting attach, 8 bytes (4 bits) from simplebus1 simplebus2: mem 0x30400000-0x307fffff on simplebus0 random: harvesting attach, 8 bytes (4 bits) from simplebus2 simplebus3: mem 0x30800000-0x30a9ffff on simplebus0 random: harvesting attach, 8 bytes (4 bits) from simplebus3 simplebus4: mem 0x30ac0000-0x30bfffff on simplebus0 random: harvesting attach, 8 bytes (4 bits) from simplebus4 random: harvesting attach, 8 bytes (4 bits) from simplebus0 random: harvesting attach, 8 bytes (4 bits) from ofwbus0 ocotp0: mem 0x30350000-0x3035ffff on simplebus1 random: harvesting attach, 8 bytes (4 bits) from ocotp0 ccm0: mem 0x30380000-0x3038ffff on simplebus1 random: harvesting attach, 8 bytes (4 bits) from ccm0 imx7_anatop0: CPU 792MHz @ 1150mV imx_iomux0: mem 0x30330000-0x3033ffff on simplebus1 random: harvesting attach, 8 bytes (4 bits) from imx_iomux0 gic0: mem 0x31001000-0x31001fff,0x31002000-0x31003fff,0x31004000-0x31005fff,0x31006000-0x31007fff on simplebus0 simplebus0: no default resources for rid = 0, type = 1 gic0: pn 0x10, arch 0x2, rev 0x1, implementer 0x43b irqs 160 random: harvesting attach, 8 bytes (4 bits) from gic0 imx_gpt0: mem 0x302d0000-0x302dffff on simplebus1 imx_gpt0: Running on 66000KHz clock, base freq 66000000Hz CR=0x0000027d, PR=0x00000000 Event timer "iMXGPT" frequency 66000000 Hz quality 800 Timecounter "iMXGPT" frequency 66000000 Hz quality 1000 random: harvesting attach, 8 bytes (4 bits) from imx_gpt0 cpulist0: on ofwbus0 cpu0: on cpulist0 random: harvesting attach, 8 bytes (4 bits) from cpu0 random: harvesting attach, 8 bytes (4 bits) from cpulist0 src0: mem 0x30390000-0x3039ffff on simplebus1 random: harvesting attach, 8 bytes (4 bits) from src0 imx_wdog0: mem 0x30280000-0x3028ffff on simplebus1 random: harvesting attach, 8 bytes (4 bits) from imx_wdog0 simplebus1: mem 0x30290000-0x3029ffff disabled compat fsl,imx7-wdt (no driver attached) simplebus1: mem 0x302e0000-0x302effff disabled compat fsl,imx6q-gpt (no driver attached) simplebus1: mem 0x302f0000-0x302fffff disabled compat fsl,imx6q-gpt (no driver attached) simplebus1: mem 0x30300000-0x3030ffff disabled compat fsl,imx6q-gpt (no driver attached) simplebus3: mem 0x30820000-0x3082ffff disabled compat fsl,imx7-ecspi (no driver attached) simplebus3: mem 0x30830000-0x3083ffff disabled compat fsl,imx7-ecspi (no driver attached) simplebus3: mem 0x30840000-0x3084ffff disabled compat fsl,imx7-ecspi (no driver attached) simplebus3: mem 0x30860000-0x3086ffff disabled compat fsl,imx7-uart (no driver attached) simplebus3: mem 0x30870000-0x3087ffff disabled compat fsl,imx7-uart (no driver attached) simplebus3: mem 0x308a0000-0x308affff disabled compat fsl,imx7-sai (no driver attached) simplebus3: mem 0x30a20000-0x30a2ffff disabled compat fsl,imx7-i2c (no driver attached) simplebus3: mem 0x30a30000-0x30a3ffff disabled compat fsl,imx7-i2c (no driver attached) simplebus3: mem 0x30a40000-0x30a4ffff disabled compat fsl,imx7-i2c (no driver attached) uart0: mem 0x30a70000-0x30a7ffff on simplebus3 uart0: console (380952,n,8,1) uart0: fast interrupt uart0: PPS capture mode: DCDinvalid random: harvesting attach, 8 bytes (4 bits) from uart0 simplebus4: mem 0x30bd0000-0x30bdffff disabled compat fsl,imx7-sdma (no driver attached) ffec0: mem 0x30be0000-0x30beffff on simplebus4 ffec0: MAC address 00:1f:7b:86:4d:c4: miibus0: on ffec0 atphy0: PHY 1 on miibus0 atphy0: OUI 0x00c82e, model 0x0007, rev. 2 atphy0: none, 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseSX-FDX, 1000baseT-FDX, 1000baseT-FDX-master, auto random: harvesting attach, 8 bytes (4 bits) from atphy0 random: harvesting attach, 8 bytes (4 bits) from miibus0 ffec0: bpf attached ffec0: Ethernet address: 00:1f:7b:86:4d:c4 random: harvesting attach, 8 bytes (4 bits) from ffec0 simplebus4: mem 0x30b40000-0x30b4ffff disabled compat fsl,imx7-usdhc (no driver attached) simplebus4: mem 0x30b50000-0x30b5ffff disabled compat fsl,imx7-usdhc (no driver attached) sdhci_imx0: mem 0x30b60000-0x30b6ffff on simplebus4 sdhci_imx0-slot0: 180MHz HS 8bits 3.3V 3.0V PIO sdhci_imx0-slot0: ============== REGISTER DUMP ============== sdhci_imx0-slot0: Sys addr: 0x00000000 | Version: 0x00000002 sdhci_imx0-slot0: Blk size: 0x00000200 | Blk cnt: 0x00000001 sdhci_imx0-slot0: Argument: 0x00000000 | Trn mode: 0x00000000 sdhci_imx0-slot0: Present: 0x00f90000 | Host ctl: 0x00000002 sdhci_imx0-slot0: Power: 0x0000000d | Blk gap: 0x00000080 sdhci_imx0-slot0: Wake-up: 0x00000000 | Clock: 0x00000007 sdhci_imx0-slot0: Timeout: 0x0000008c | Int stat: 0x00000000 sdhci_imx0-slot0: Int enab: 0x017f00fb | Sig enab: 0x017f00fb sdhci_imx0-slot0: AC12 err: 0x00000000 | Slot int: 0x00000000 sdhci_imx0-slot0: Caps: 0x0377b407 | Max curr: 0x00000000 sdhci_imx0-slot0: =========================================== random: harvesting attach, 8 bytes (4 bits) from sdhci_imx0 cryptosoft0: crypto: assign cryptosoft0 driver id 0, flags 100663296 crypto: cryptosoft0 registers alg 1 flags 0 maxoplen 0 crypto: cryptosoft0 registers alg 2 flags 0 maxoplen 0 crypto: cryptosoft0 registers alg 3 flags 0 maxoplen 0 crypto: cryptosoft0 registers alg 4 flags 0 maxoplen 0 crypto: cryptosoft0 registers alg 5 flags 0 maxoplen 0 crypto: cryptosoft0 registers alg 16 flags 0 maxoplen 0 crypto: cryptosoft0 registers alg 6 flags 0 maxoplen 0 crypto: cryptosoft0 registers alg 7 flags 0 maxoplen 0 crypto: cryptosoft0 registers alg 18 flags 0 maxoplen 0 crypto: cryptosoft0 registers alg 19 flags 0 maxoplen 0 crypto: cryptosoft0 registers alg 20 flags 0 maxoplen 0 crypto: cryptosoft0 registers alg 8 flags 0 maxoplen 0 crypto: cryptosoft0 registers alg 15 flags 0 maxoplen 0 crypto: cryptosoft0 registers alg 9 flags 0 maxoplen 0 crypto: cryptosoft0 registers alg 10 flags 0 maxoplen 0 crypto: cryptosoft0 registers alg 13 flags 0 maxoplen 0 crypto: cryptosoft0 registers alg 14 flags 0 maxoplen 0 crypto: cryptosoft0 registers alg 11 flags 0 maxoplen 0 crypto: cryptosoft0 registers alg 22 flags 0 maxoplen 0 crypto: cryptosoft0 registers alg 23 flags 0 maxoplen 0 crypto: cryptosoft0 registers alg 25 flags 0 maxoplen 0 crypto: cryptosoft0 registers alg 24 flags 0 maxoplen 0 crypto: cryptosoft0 registers alg 26 flags 0 maxoplen 0 crypto: cryptosoft0 registers alg 27 flags 0 maxoplen 0 crypto: cryptosoft0 registers alg 28 flags 0 maxoplen 0 crypto: cryptosoft0 registers alg 21 flags 0 maxoplen 0 crypto: cryptosoft0 registers alg 17 flags 0 maxoplen 0 random: harvesting attach, 8 bytes (4 bits) from cryptosoft0 Timecounters tick every 2.000 msec lo0: bpf attached tcp_init: net.inet.tcp.tcbhashsize auto tuned to 4096 IPsec: Initialized Security Association Processing. (noperiph:sdhci_imx0:0:-1:ffffffff): Set up the mmcprobe device... ================ well, finally, everything works as expected, it turns out wrong memory > setting in u-boot,the code of BSD-kernel is totoally fine, next step: > pico-iMX7d > > Kernel entry at 0x0x12200100... > Kernel args: (null) > Copyright (c) 1992-2016 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 11.0-RELEASE-p1 #0 r309528M: Mon Jan 7 03:48:21 HKT 2019 > root@4160059805-freebsd-xeon:/mnt/dev/bsdbuild/arm.armv6/mnt/dev/11/sys/IBOOK > arm > FreeBSD clang version 3.8.0 (tags/RELEASE_380/final 262564) (based on LLVM > 3.8.0) > Preloaded elf kernel "/boot/kernel/kernel" at 0xc4843000. > CPU: Cortex A9-r2 rev 10 (Cortex-A core) > Supported features: ARM_ISA THUMB2 JAZELLE THUMBEE ARMv4 Security_Ext > WB enabled LABT branch prediction disabled > LoUU:2 LoC:2 LoUIS:2 > Cache level 1: > 32KB/32B 4-way data cache WB Read-Alloc Write-Alloc > 32KB/32B 4-way instruction cache Read-Alloc > real memory = 1073676288 (1023 MB) > avail memory = 1006530560 (959 MB) > Physical memory chunk(s): > 0x10000000 - 0x4ffeffff, 1023 MB ( 262128 pages) > Excluded memory regions: > 0x12200000 - 0x14b73fff, 41 MB ( 10612 pages) NoAlloc > Static device mappings: > 0x00a00000 - 0x00afffff mapped at VA 0xffe00000 > 0x02000000 - 0x020fffff mapped at VA 0xffd00000 > 0x02100000 - 0x021fffff mapped at VA 0xffc00000 > FreeBSD/SMP: Multiprocessor System Detected: 2 CPUs > ULE: setup cpu 0 > ULE: setup cpu 1 > random: entropy device external interface > openfirm: > nfslock: pseudo-device > mem: > crypto: > null: > random: harvesting attach, 8 bytes (4 bits) from nexus0 > ofwbus0: > simplebus0: on ofwbus0 > simplebus1: mem 0x2000000-0x20fffff on > simplebus0 > imx6_anatop0: mem > 0x20c8000-0x20c8fff on simplebus1 > random: harvesting attach, 8 bytes (4 bits) from imx6_anatop0 > random: harvesting attach, 8 bytes (4 bits) from simplebus1 > simplebus2: mem 0x2100000-0x21fffff on > simplebus0 > random: harvesting attach, 8 bytes (4 bits) from simplebus2 > random: harvesting attach, 8 bytes (4 bits) from simplebus0 > random: harvesting attach, 8 bytes (4 bits) from ofwbus0 > ocotp0: mem > 0x21bc000-0x21bffff on simplebus2 > random: harvesting attach, 8 bytes (4 bits) from ocotp0 > ccm0: mem 0x20c4000-0x20c7fff on > simplebus1 > random: harvesting attach, 8 bytes (4 bits) from ccm0 > l2cache0: mem 0xa02000-0xa02fff on simplebus0 > simplebus0: no default resources for rid = 0, type = 1 > l2cache0: cannot allocate IRQ, not using interrupt > l2cache0: Part number: 0x3, release: 0x8 > l2cache0: L2 Cache enabled: 512KB/32B 16 ways > l2cache0: Early BRESP response: disabled > l2cache0: Instruction prefetch: disabled > l2cache0: Data prefetch: disabled > l2cache0: Non-secure interrupt control: disabled > l2cache0: Non-secure lockdown: disabled > l2cache0: Share override: disabled > l2cache0: Double linefill: disabled > l2cache0: Instruction prefetch: disabled > l2cache0: Data prefetch: disabled > l2cache0: Double linefill on WRAP request: disabled > l2cache0: Prefetch drop: disabled > l2cache0: Incr double Linefill: disabled > l2cache0: Not same ID on exclusive sequence: disabled > l2cache0: Prefetch offset: 0 > random: harvesting attach, 8 bytes (4 bits) from l2cache0 > imx6_anatop0: CPU 792MHz @ 1150mV > imx_iomux0: mem 0x20e0000-0x20e3fff on > simplebus1 > Processing 1 pin-config node(s) in pinctrl-0 for ecspi@0200C000 > spi2: muxreg 0x004c muxval 0x02 inpreg 0x07f8 inpval 0x00 > padreg 0x0360 padval 0x000130b0 > spi2: muxreg 0x0050 muxval 0x02 inpreg 0x0800 inpval 0x00 > padreg 0x0364 padval 0x000130b0 > spi2: muxreg 0x0084 muxval 0x02 inpreg 0x07f4 inpval 0x00 > padreg 0x0398 padval 0x000130b0 > spi2: muxreg 0x0088 muxval 0x02 inpreg 0x07fc inpval 0x00 > padreg 0x039c padval 0x000130b0 > random: harvesting attach, 8 bytes (4 bits) from imx_iomux0 > gic0: mem > 0xa01000-0xa01fff,0xa00100-0xa001ff on simplebus0 > simplebus0: no default resources for rid = 0, type = 1 > gic0: pn 0x390, arch 0x1, rev 0x2, implementer 0x43b irqs 160 > random: harvesting attach, 8 bytes (4 bits) from gic0 > imx_gpt0: mem 0x2098000-0x209bfff on simplebus1 > imx_gpt0: Running on 66000KHz clock, base freq 66000000Hz CR=0x0000027d, > PR=0x00000000 > Event timer "iMXGPT" frequency 66000000 Hz quality 800 > Timecounter "iMXGPT" frequency 66000000 Hz quality 1000 > random: harvesting attach, 8 bytes (4 bits) from imx_gpt0 > mp_tmr0: mem 0xa00200-0xa002ff,0xa00600-0xa006ff on > simplebus0 > mp_tmr0: not using variable-frequency device as timecounterEvent timer > "MPCore" frequency 396000000 Hz quality 1000 > random: harvesting attach, 8 bytes (4 bits) from mp_tmr0 > cpulist0: on ofwbus0 > cpu0: on cpulist0 > random: harvesting attach, 8 bytes (4 bits) from cpu0 > random: harvesting attach, 8 bytes (4 bits) from cpulist0 > simplebus0: mem 0x1ffc000-0x1ffffff,0x1f00000-0x1f7ffff > type pci compat imx,pcie (no driver attached) > src0: mem 0x20d8000-0x20d80ff on > simplebus1 > random: harvesting attach, 8 bytes (4 bits) from src0 > simplebus1: mem 0x20ec000-0x20effff disabled compat > fsl,imx6q-sdma (no driver attached) > simplebus1: mem 0x209c000-0x209ffff disabled compat > fsl,imx6q-gpio (no driver attached) > simplebus1: mem 0x20a0000-0x20a3fff disabled compat > fsl,imx6q-gpio (no driver attached) > simplebus1: mem 0x20a4000-0x20a7fff disabled compat > fsl,imx6q-gpio (no driver attached) > simplebus1: mem 0x20a8000-0x20abfff disabled compat > fsl,imx6q-gpio (no driver attached) > simplebus1: mem 0x20ac000-0x20affff disabled compat > fsl,imx6q-gpio (no driver attached) > simplebus1: mem 0x20b0000-0x20b3fff disabled compat > fsl,imx6q-gpio (no driver attached) > simplebus1: mem 0x20b4000-0x20b7fff disabled compat > fsl,imx6q-gpio (no driver attached) > imx_wdog0: mem 0x20bc000-0x20bffff on simplebus1 > random: harvesting attach, 8 bytes (4 bits) from imx_wdog0 > simplebus1: mem 0x2020000-0x2023fff disabled compat > fsl,imx6q-uart (no driver attached) > simplebus1: mem 0x20c9000-0x20c9fff disabled compat > fsl,imx6q-usbphy (no driver attached) > simplebus1: mem 0x20ca000-0x20cafff disabled compat > fsl,imx6q-usbphy (no driver attached) > simplebus1: mem 0x2008000-0x200bfff disabled compat > fsl,imx6q-ecspi (no driver attached) > simplebus1: mem 0x200c000-0x200ffff compat > fsl,imx6q-ecspi (no driver attached) > simplebus1: mem 0x2010000-0x2013fff disabled compat > fsl,imx6q-ecspi (no driver attached) > simplebus1: mem 0x2014000-0x2017fff disabled compat > fsl,imx6q-ecspi (no driver attached) > simplebus1: mem 0x2018000-0x201bfff disabled compat > fsl,imx6q-ecspi (no driver attached) > simplebus1: mem 0x2028000-0x202bfff disabled compat > fsl,imx6q-ssi (no driver attached) > simplebus1: mem 0x202c000-0x202ffff disabled compat > fsl,imx6q-ssi (no driver attached) > simplebus1: mem 0x2030000-0x2033fff disabled compat > fsl,imx6q-ssi (no driver attached) > simplebus2: mem 0x21a0000-0x21a3fff disabled compat > fsl,imx6q-i2c (no driver attached) > simplebus2: mem 0x21a4000-0x21a7fff disabled compat > fsl,imx6q-i2c (no driver attached) > simplebus2: mem 0x21a8000-0x21abfff disabled compat > fsl,imx6q-i2c (no driver attached) > ffec0: mem 0x2188000-0x218bfff on > simplebus2 > ffec0: MAC address 00:01:90:00:b2:4f: > ffec0: PHY preamble disabled > miibus0: on ffec0 > atphy0: PHY 1 on miibus0 > atphy0: OUI 0x00c82e, model 0x0007, rev. 4 > atphy0: none, 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, > 1000baseSX-FDX, 1000baseT-FDX, 1000baseT-FDX-master, auto > random: harvesting attach, 8 bytes (4 bits) from atphy0 > random: harvesting attach, 8 bytes (4 bits) from miibus0 > ffec0: bpf attached > ffec0: Ethernet address: 00:01:90:00:b2:4f > random: harvesting attach, 8 bytes (4 bits) from ffec0 > simplebus2: mem 0x2184000-0x21841ff disabled compat > fsl,imx6q-usb (no driver attached) > simplebus2: mem 0x2184200-0x21843ff disabled compat > fsl,imx6q-usb (no driver attached) > simplebus2: mem 0x2184400-0x21845ff disabled compat > fsl,imx6q-usb (no driver attached) > simplebus2: mem 0x2184600-0x21847ff disabled compat > fsl,imx6q-usb (no driver attached) > simplebus2: mem 0x2184800-0x21849ff compat > fsl,imx6q-usbmisc (no driver attached) > simplebus2: mem 0x2190000-0x2193fff disabled compat > fsl,imx6q-usdhc (no driver attached) > sdhci_imx0: mem 0x2194000-0x2197fff on > simplebus2 > sdhci_imx0-slot0: 200MHz HS 1bit 3.3V 3.0V PIO > sdhci_imx0-slot0: ============== REGISTER DUMP ============== > sdhci_imx0-slot0: Sys addr: 0x00000000 | Version: 0x00000002 > sdhci_imx0-slot0: Blk size: 0x00000200 | Blk cnt: 0x00000001 > sdhci_imx0-slot0: Argument: 0x00000000 | Trn mode: 0x00000000 > sdhci_imx0-slot0: Present: 0x00f90000 | Host ctl: 0x00000002 > sdhci_imx0-slot0: Power: 0x0000000d | Blk gap: 0x00000080 > sdhci_imx0-slot0: Wake-up: 0x00000000 | Clock: 0x00000007 > sdhci_imx0-slot0: Timeout: 0x0000008c | Int stat: 0x00000000 > sdhci_imx0-slot0: Int enab: 0x017f00fb | Sig enab: 0x017f00fb > sdhci_imx0-slot0: AC12 err: 0x00000000 | Slot int: 0x00000000 > sdhci_imx0-slot0: Caps: 0x03770000 | Max curr: 0x80000000 > sdhci_imx0-slot0: =========================================== > random: harvesting attach, 8 bytes (4 bits) from sdhci_imx0 > simplebus2: mem 0x2198000-0x219bfff disabled compat > fsl,imx6q-usdhc (no driver attached) > simplebus2: mem 0x219c000-0x219ffff disabled compat > fsl,imx6q-usdhc (no driver attached) > simplebus2: mem 0x21d8000-0x21dbfff disabled compat > fsl,imx6q-audmux (no driver attached) > simplebus2: mem 0x21e8000-0x21ebfff disabled compat > fsl,imx6q-uart (no driver attached) > uart0: mem 0x21ec000-0x21effff on simplebus2 > uart0: console (115200,n,8,1) > uart0: fast interrupt > uart0: PPS capture mode: DCDinvalid > random: harvesting attach, 8 bytes (4 bits) from uart0 > simplebus2: mem 0x21f0000-0x21f3fff disabled compat > fsl,imx6q-uart (no driver attached) > simplebus2: mem 0x21f4000-0x21f7fff disabled compat > fsl,imx6q-uart (no driver attached) > cryptosoft0: > crypto: assign cryptosoft0 driver id 0, flags 100663296 > random: harvesting attach, 8 bytes (4 bits) from cryptosoft0 > Timecounters tick every 2.000 msec > lo0: bpf attached > crypto: > IPsec: Initialized Security Association Processing. > tcp_init: net.inet.tcp.tcbhashsize auto tuned to 8192 > md0: Embedded image 35856384 bytes at 0xc2459476 > (noperiph:sdhci_imx0:0:-1:ffffffff): Set up the mmcprobe device... > sdhci_imx0-slot0: VDD => 21 > sdhci_imx0-slot0: Divider 250 for freq 400000 (base 200000000) > Release APs > mmc_probedone: remaining freezecnt 1 > Trying to mount root from ufs:md0 []... > mmc_probedone: remaining freezecnt 0 > mmc_probedone: remaining freezecnt 0 > warning: no time-of-day clock registered, system time will not be set > accurately > mmc_probedone: remaining freezecnt 0 > start_init: trying /sbin/init > mmc_probedone: remaining freezecnt 0 > mmc_probedone: remaining freezecnt 0 > mmc_probedone: remaining freezecnt 0 > mmc_probedone: remaining freezecnt 0 > mmc_probedone: remaining freezecnt 0 > mmc_probedone: remaining freezecnt 0 > mmc_probedone: remaining freezecnt 0 > mmc_probedone: remaining freezecnt 0 > mmc_probedone: remaining freezecnt 0 > mmc_probedone: remaining freezecnt 1 > Got AC_FOUND_DEVICE -- whatever... > pass0 at sdhci_imx0 bus 0 scbus0 target 0 lun 0 > pass0: Relative addr: 00000001 > Card features: > Card memory OCR: 40ff8000 > XPT info: CLK 001D, ... > sdda0 at sdhci_imx0 bus 0 scbus0 target 0 lun 0 > GEOM: new disk sdda0 > sdda0: Relative addr: 00000001 > Card features: > Card memory OCR: 40ff8000 > sdda0: Serial Number 000003E > XPT info: CLK 001D, ... > sdda0: SDHC SD16G 2.0 SN 000003E7 MFG 09/2018 by 65 42 > Acquired periph Ok > mmc_probedone: remaining freezecnt 0 > Bus width set to 4 bit > mmc_probedone: remaining freezecnt 0 > Starting file system checks: > /dev/md0: FILE SYSTEM CLEAN; SKIPPING CHECKS > /dev/md0: clean, 2085 free (29 frags, 257 blocks, f% fragmentation) > usage: sleep seconds > /etc/rc: WARNING: $nandinit_enable is not set properly - see rc.conf(5). > /etc/rc: WARNING: hostid: unable to figure out a UUID from DMI data, > generating a new one > usage: sleep seconds > Setting hostuuid: > Setting hostid: > Mounting local filesystems:. > ELF ldconfig path: /lib /usr/lib > random: unblocking device. > Soft Float compatibility ldconfig path: > Setting hostname: ibook. > Additional TCP/IP options: ipv4-mapped-ipv6=YES. > Setting up harvesting: > [UMA],[FS_ATIME],SWI,INTERRUPT,NET_NG,NET_ETHER,NET_TUN,MOUSE,KEYBOARD,ATTACH,CACHED > Feeding entropy: . > ifconfig: can't set link-level netmask or broadcast > ifconfig: can't set link-level netmask or broadcast > ifconfig: can't set link-level netmask or broadcast > ifconfig: ioctl (SIOCAIFADDR): Invalid argument > ffec0: link state changed to DOWN > usage: sleep seconds > usage: sleep seconds > Starting Network: lo0 ffec0. > lo0: flags=8049 metric 0 mtu 16384 > options=600003 > groups: lo > ffec0: flags=8843 metric 0 mtu 1500 > options=80008 > ether 00:01:90:00:b2:4f > media: Ethernet autoselect (none) > status: no carrier > Starting devd. > add host 127.0.0.1: gateway lo0 > add host ::1: gateway lo0 fib 0: route already in table > add net fe80::: gateway ::1 > add net ff02::: gateway ::1 > add net ::ffff:0.0.0.0: gateway ::1 > add net ::0.0.0.0: gateway ::1 > Generating host.conf. > Warning: unrecognized source [mdns] > Waiting 30s for the default route interface: usage: sleep seconds > .usage: sleep seconds > .usage: sleep seconds > .usage: sleep seconds > .usage: sleep seconds > Starting rpcbind. > Jan 6 19:47:39 rpcbind: cannot bind * on udp: Can't assign requested > address > Jan 6 19:47:39 rpcbind: cannot bind * on tcp: Can't assign requested > address > Clearing /tmp (X related). > Starting mountd. > Starting nfsuserd. > nfsuserd: svc_tli_create: could not bind to anonymous port > nfsuserd: Can't set up socket: Can't assign requested address > /etc/rc: WARNING: Unable to force nfsuserd. It may already be running. > /etc/rc: ERROR: Cannot run nfsuserd > Mounting late filesystems:. > Performing sanity check on sshd configuration. > Starting sshd. > Starting cron. > Starting background file system checks in 60 seconds. > > Sun Jan 6 19:47:53 UTC 2019 > > >> >> no luck to set sp_enabled = 0, any ideas? >> >> https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=208381 >> >> >>> okay....... after days and days mind storm(mind fuck), finally, I can >>> enter DDB, here is what I did in [reinit_mmu], maybe can help someone. >>> >>> >>> ============================== >>> >>> ASENTRY_NP(reinit_mmu) >>> push {r4-r11, lr} >>> mov r4, r0 >>> mov r5, r1 >>> mov r6, r2 >>> >>> + /* Only for Cortex-A9 Errdata Fix */ >>> + mrc p15, 0, r0, c15, c0, 1 @ read diagnostic register >>> + orr r0, r0, #1 << 4 @ set bit #4 >>> + orr r0, r0, #1 << 6 @ set bit #6 >>> + orr r0, r0, #1 << 11 @ set bit #11 >>> + orr r0, r0, #1 << 21 @ set bit #21 >>> + mcr p15, 0, r0, c15, c0, 1 @ write diagnostic register >>> + DSB >>> + ISB >>> >>> . >>> . >>> . >>> . >>> #else >>> bl dcache_inv_pou_all >>> #endif >>> mcr CP15_ICIALLU >>> + mcr CP15_TLBIALL /* Flush TLB */ >>> + mcr CP15_BPIALL /* Flush Branch predictor */ >>> DSB >>> ISB >>> >>> >>> /* Set auxiliary register */ >>> mrc CP15_ACTLR(r7) >>> . >>> . >>> . >>> >>> END(reinit_mmu) >>> ============================== >>> >>> my new problem is OS panic at same address "FAR=0000ec10"(after reset >>> the eval-board many times), what does it mean? something wrong with FDT? I >>> use wandboard-dual dts file(1 GB memory) >>> >>> >>> U-Boot 2016.05 (Dec 31 2018 - 22:57:28 +0800) >>> >>> CPU: Freescale i.MX6DL rev1.2 at 792 MHz >>> Reset cause: POR >>> Board: MX6DL-Armadillo2 >>> DRAM: 1 GiB >>> WARNING: Caches not enabled >>> MMC: FSL_SDHC: 0 >>> *** Warning - bad CRC, using default environment >>> >>> In: serial >>> Out: serial >>> Err: serial >>> Net: FEC >>> Error: FEC address not set. >>> >>> Hit any key to stop autoboot: 0 >>> reading tarker >>> ** Unable to read file tarker ** >>> reading tmpker >>> ** Unable to read file tmpker ** >>> Booting BSD loader >>> reading ubldr.bin >>> 185536 bytes read in 40 ms (4.4 MiB/s) >>> ## Starting application at 0x12000000 ... >>> Consoles: U-Boot console >>> Compatible U-Boot API signature found @0x4fd703e0 >>> >>> FreeBSD/armv6 U-Boot loader, Revision 1.2 >>> (root@freebsd-x250, Sat Dec 15 17:17:42 HKT 2018) >>> >>> DRAM: 1024MB >>> Number of U-Boot devices: 2 >>> U-Boot env: loaderdev not set, will probe all devices. >>> Found U-Boot device: disk >>> Probing all disk devices... >>> Checking unit=0 slice= partition=... good. >>> Booting from disk0s2: >>> / >>> /boot/kernel/kernel data=0x580b24+0xb74dc - >>> Hit [Enter] to boot immediately, or any other key for command prompt. >>> Booting [/boot/kernel/kernel]... >>> Kernel entry at 0x0x12200100... >>> Kernel args: (null) >>> initarm: console initialized >>> arg1 kmdp = 0xc2639000 >>> boothowto = 0x00000000 >>> dtbp = 0xc254af08 >>> lastaddr1: 0x1283a000 >>> loader passed (static) kenv: >>> loader_envp = 0xc2638000 >>> c2638000 LINES=24 >>> c2638009 console=uboot >>> c2638017 currdev=disk0s2: >>> c2638028 kerflag= >>> c2638031 kernelname=/boot/kernel/kernel >>> c2638050 loaddev=disk0s2: >>> c2638061 prompt=loader> >>> c2638070 twiddle_divisor=1 >>> imx_wdog_init_last_reset >>> ARM Debug Architecture v7 >>> 4 watchpoints and 6 breakpoints supported >>> KDB: debugger backends: ddb >>> KDB: current backend: ddb >>> Copyright (c) 1992-2016 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 11.0-RELEASE-p1 #180 r309528M: Thu Jan 3 10:42:45 HKT 2019 >>> root@4160059805-freebsd-xeon:/mnt/dev/bsdbuild/arm.armv6/mnt/dev/11/sys/IMX6 >>> arm >>> FreeBSD clang version 3.8.0 (tags/RELEASE_380/final 262564) (based on >>> LLVM 3.8.0) >>> WARNING: WITNESS option enabled, expect reduced performance. >>> WARNING: DIAGNOSTIC option enabled, expect reduced performance. >>> subsystem 1000000 >>> 0xc23e0b88(0)... Fatal kernel mode data abort: 'Translation Fault >>> (L1)' on read >>> trapframe: 0xc2713d18 >>> FSR=00000005, FAR=0000ec10, spsr=600000d3 >>> r0 =12998000, r1 =c2ffc010, r2 =00000001, r3 =c261c07c >>> r4 =00000006, r5 =c261c074, r6 =00000000, r7 =2a600000 >>> r8 =c2ffc059, r9 =00000000, r10=c260ba28, r11=c2713dd8 >>> r12=c2ffc014, ssp=c2713da8, slr=0000ec10, pc =c23fa450 >>> >>> [ thread pid 0 tid 0 ] >>> Stopped at 0xc23fa450 >>> db> bt >>> Tracing pid 0 tid 0 td 0xc2617190 >>> KDB: reentering >>> KDB: stack backtrace: >>> KDB: reentering >>> KDB: stack backtrace: >>> blahblahblah..... >>> blahblahblah..... >>> blahblahblah..... >>> blahblahblah..... >>> KDB: reentering >>> KDB: stack backtrace: >>> KDB: reentering >>> KDB: stack backtrace: >>> panic: pmap_fault: pm_pt1 abort >>> cpuid = 0 >>> Uptime: 1s >>> >>> >>> >>> > hi guys >>> > >>> > >>> I've got a small brand eval-board which built with MCIMX6U6AVM08AC and >>> running FreeBSD 11.0.1(I have tried HEAD version, 12.0-BETA3, it didn't >>> work too), ubldr stage is fine but it stucked at "reinit_mmu" >>> function(FreeBSD might be have assembly printf for debug environment, >>> because aseeembly code just like a blackbox when you without JTAG debugger >>> in hand ) >>> > >>> > ====================================== >>> > Booting from disk0s2: >>> > / >>> > /boot/kernel/kernel data=0x57b564+0x58a9c >>> syms=[0x4+0x6e9d0+0x4+0x77ada] >>> > Hit [Enter] to boot immediately, or any other key for command prompt. >>> > Booting [/boot/kernel/kernel]... >>> > Kernel entry at 0x0x12200100... >>> > Kernel args: (null) >>> > EARL_DEBUG: pmap_kern_ttb 0x1290004a, actlr_mask 0xc1, actlr_set 0x41 >>> > (nothing) >>> > ====================================== >>> > >>> > >>> > >>> > when I trace the code to "reinit_mmu" function, commented code like >>> this, kernel panic and reported "Asynchronous External Abort". Am I the >>> only one who meet this WEIRD case? I got AM3352/AM3354/Zynq7 platforms, >>> they works fine with kernel 11.0.1. Is it something different between i.MX6 >>> Dual(Wandboard) and i.MX6 DualLite? >>> > >>> > /* Enable caches. */ >>> > mrc CP15_SCTLR(r7) >>> > // it will be stucked if don't commented this code >>> > /* orr r7, #CPU_CONTROL_DC_ENABLE //DEBUG >>> > orr r7, #CPU_CONTROL_IC_ENABLE //DEBUG >>> > orr r7, #CPU_CONTROL_BPRD_ENABLE //DEBUG */ >>> > mcr CP15_SCTLR(r7) >>> > DSB >>> > >>> > mcr CP15_TTBR0(r4) /* Set new TTB */ >>> > DSB >>> > ISB >>> > >>> > // it will be stucked if don't commented this code >>> > /* mcr CP15_TLBIALL /// Flush TLB //DEBUG */ >>> > mcr CP15_BPIALL /* Flush Branch predictor */ >>> > DSB >>> > ISB >>> > >>> > >>> > >>> > >>> > U-Boot 2016.05 (Dec 16 2018 - 13:09:25 +0800) >>> > >>> > CPU: Freescale i.MX6DL rev1.2 at 792 MHz >>> > Reset cause: POR >>> > Board: MX6DL-Armadillo2 >>> > DRAM: 1 GiB >>> > WARNING: Caches not enabled >>> > MMC: FSL_SDHC: 0 >>> > *** Warning - bad CRC, using default environment >>> > >>> > In: serial >>> > Out: serial >>> > Err: serial >>> > Net: FEC >>> > Error: FEC address not set. >>> > >>> > Hit any key to stop autoboot: 0 >>> > reading ubldr.bin >>> > 185536 bytes read in 40 ms (4.4 MiB/s) >>> > ## Starting application at 0x12000000 ... >>> > Consoles: U-Boot console >>> > Compatible U-Boot API signature found @0x4fd703e0 >>> > >>> > FreeBSD/armv6 U-Boot loader, Revision 1.2 >>> > (root@freebsd-x250, Sat Dec 15 17:17:42 HKT 2018) >>> > >>> > DRAM: 1024MB >>> > Number of U-Boot devices: 2 >>> > U-Boot env: loaderdev not set, will probe all devices. >>> > Found U-Boot device: disk >>> > Probing all disk devices... >>> > Checking unit=0 slice= partition=... good. >>> > Booting from disk0s2: >>> > / >>> > /boot/kernel/kernel data=0x57b564+0x58a9c >>> syms=[0x4+0x6e9d0+0x4+0x77ada] >>> > Hit [Enter] to boot immediately, or any other key for command prompt. >>> > Booting [/boot/kernel/kernel]... >>> > Kernel entry at 0x0x12200100... >>> > Kernel args: (null) >>> > EARL_DEBUG: pmap_kern_ttb 0x1290004a, actlr_mask 0xc1, actlr_set 0x41 >>> > EARL_DEBUG: cpu_setup pass >>> > EARL_DEBUG: init_param1 pass >>> > initarm: console initialized >>> > arg1 kmdp = 0xc26bc000 >>> > boothowto = 0x00000000 >>> > dtbp = 0xc2547eb8 >>> > lastaddr1: 0x128bd000 >>> > loader passed (static) kenv: >>> > loader_envp = 0xc26bb000 >>> > c26bb000 LINES=24 >>> > c26bb009 console=uboot >>> > c26bb017 currdev=disk0s2: >>> > c26bb028 kerflag= >>> > c26bb031 kernelname=/boot/kernel/kernel >>> > c26bb050 loaddev=disk0s2: >>> > c26bb061 prompt=loader> >>> > c26bb070 twiddle_divisor=1 >>> > EARL_DEBUG: platform_late_init pass >>> > Fatal kernel mode data abort: 'Asynchronous External Abort' on write >>> > trapframe: 0xc257c688 >>> > FSR=00001c06, FAR=Invalid, spsr=600000d3 >>> > r0 =00000100, r1 =600001d3, r2 =600000d3, r3 =30c52079 >>> > r4 =00000000, r5 =c257c7e4, r6 =c25b3280, r7 =c25b3280 >>> > r8 =c2578058, r9 =00000000, r10=c25ce154, r11=c257c7d8 >>> > r12=c2577c24, ssp=c257c718, slr=c244b3c0, pc =c244b3d4 >>> > >>> > panic: Fatal abort >>> > cpuid = 0 >>> > Uptime: 1s >>> >>