From owner-freebsd-arm@freebsd.org Sun Oct 6 02:07:51 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 192511451CB for ; Sun, 6 Oct 2019 02:07:51 +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 46m6T16Szxz4Pcy for ; Sun, 6 Oct 2019 02:07:49 +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 x9627eKE037632 (version=TLSv1.2 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO); Sat, 5 Oct 2019 19:07:41 -0700 (PDT) (envelope-from fbsd@www.zefox.net) Received: (from fbsd@localhost) by www.zefox.net (8.15.2/8.15.2/Submit) id x9627dCL037631; Sat, 5 Oct 2019 19:07:39 -0700 (PDT) (envelope-from fbsd) Date: Sat, 5 Oct 2019 19:07:39 -0700 From: bob prohaska To: freebsd-arm@freebsd.org Subject: Dual cu sessions? Message-ID: <20191006020739.GB37414@www.zefox.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.5.24 (2015-08-30) X-Rspamd-Queue-Id: 46m6T16Szxz4Pcy X-Spamd-Bar: ++++ Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=none (mx1.freebsd.org: domain of fbsd@www.zefox.net has no SPF policy when checking 50.1.20.27) smtp.mailfrom=fbsd@www.zefox.net X-Spamd-Result: default: False [4.48 / 15.00]; ARC_NA(0.00)[]; WWW_DOT_DOMAIN(0.50)[]; RCVD_TLS_ALL(0.00)[]; FROM_HAS_DN(0.00)[]; TO_DN_SOME(0.00)[]; IP_SCORE(0.08)[ip: (0.33), ipnet: 50.1.16.0/20(0.17), asn: 7065(-0.04), country: US(-0.05)]; MIME_GOOD(-0.10)[text/plain]; MIME_TRACE(0.00)[0:+]; DMARC_NA(0.00)[zefox.net]; AUTH_NA(1.00)[]; NEURAL_SPAM_MEDIUM(0.96)[0.962,0]; TO_MATCH_ENVRCPT_SOME(0.00)[]; RCPT_COUNT_TWO(0.00)[2]; NEURAL_SPAM_LONG(0.54)[0.536,0]; R_SPF_NA(0.00)[]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; SUBJECT_ENDS_QUESTION(1.00)[]; ASN(0.00)[asn:7065, ipnet:50.1.16.0/20, country:US]; MID_RHS_MATCH_FROM(0.00)[]; MID_RHS_WWW(0.50)[]; 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: Sun, 06 Oct 2019 02:07:51 -0000 Is it normal to see two cu sessions running on the same device? I happened to run ps -aux on a Pi2 running stable/12 and noticed root 1343 0.0 0.1 4372 1408 3 I+ 16:19 0:00.02 cu -l cuaU0 -s 115200 root 1344 0.0 0.1 4372 1384 3 I+ 16:19 0:00.01 cu -l cuaU0 -s 115200 One session is intentional; it provides serial access to the console of a second machine in my Pi cluster. That I might mistakenly _start_ two sessions isn't a huge surprise, that it persists does seem a little odd. I'd expect "device busy". This is a stable/12 machine, updated yesterday. Thanks for reading and any insights.... bob prohaska From owner-freebsd-arm@freebsd.org Sun Oct 6 02:11:07 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 7EF7C145624 for ; Sun, 6 Oct 2019 02:11:07 +0000 (UTC) (envelope-from wlosh@bsdimp.com) Received: from mail-qt1-x836.google.com (mail-qt1-x836.google.com [IPv6:2607:f8b0:4864:20::836]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1O1" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 46m6Xp3775z4Q55 for ; Sun, 6 Oct 2019 02:11:06 +0000 (UTC) (envelope-from wlosh@bsdimp.com) Received: by mail-qt1-x836.google.com with SMTP id c21so14218963qtj.12 for ; Sat, 05 Oct 2019 19:11:06 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bsdimp-com.20150623.gappssmtp.com; s=20150623; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=/ywoJ1cEvpTcxQFsXcqi1jpLrq0ltJYUkTLP1wnnjtg=; b=MWhCTtO4t+k5839yGtCMa6Q3vAjqmh6Flaaq3qTbfBqithlroc87Hh0GUABC/o+F8C EltIfBAbl+JeVCacYDvurwrCHXyTp+PLF7WHHRYflFSOYzoJgOI7rfNii8bBsrK1j0gG N6w35SFknILRFaC78tpaFGxclIKwJP2xe9I9ngnDbDQpfjkb8tLkWgkIxv1SK2MWAljx KfThBkNtsRg3rDzGQkjnYEjtK88+iO13Y/ljCISJ22CDFHJmFK/VNVm/I9xY0N99Stq1 UpSJXF5ohF+9zeQgLHuVfnGvuqCh0VpRdv6FVzfzPH+UFuBFUvY0iWaQsOXcRHCFkYWL RO9w== 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:cc; bh=/ywoJ1cEvpTcxQFsXcqi1jpLrq0ltJYUkTLP1wnnjtg=; b=ivdYEcC4YoXVUggyYcsb/zVRfITFgDaxwBjvYcB+marQTaFfp5uMMyzvJAmpyY3OGa 6DAGtgznQxQolWJ/cNehbkHYjYrQXTHxE6UTEkEhGqyENTJLht82YDeRTpRSVNDXxxVZ Mve+Htf3Tg5I7l2rHW4oPIQBIfI9voRjew2BjoTiLopQYV/8HjaQcKzHIto+Bu3BCvky SWeLFHRg0gXzvhOgNKFBL3HxqbdkU7HvZ2Vtsr0OnHDOwq4ZbqDSClE34jLCOTvEMKvi YCq0Y0oObbtrev4KU9OS+VVXOgB5riyeXlurJj2blq20WwGq6KDHTL+W7WjvJjpNyZ6a w1dg== X-Gm-Message-State: APjAAAVfVqlyj8guDiTjauGwTXtlt//LFGpH3uQG4+tIf/jncnC+opaj LbHmh9pW60Q/WjfFNh3/wn3lgccA48ouiWbhGCuZK+bN X-Google-Smtp-Source: APXvYqwZLzkXoD/a1deW59zp8G/1QrOfTdApgaGkRdiycsR7iURbS8bENGd5BLyS7fWnTiw1lgG+fWgLpm2THJyQuz4= X-Received: by 2002:ac8:3564:: with SMTP id z33mr23797325qtb.291.1570327864811; Sat, 05 Oct 2019 19:11:04 -0700 (PDT) MIME-Version: 1.0 References: <20191006020739.GB37414@www.zefox.net> In-Reply-To: <20191006020739.GB37414@www.zefox.net> From: Warner Losh Date: Sat, 5 Oct 2019 20:10:53 -0600 Message-ID: Subject: Re: Dual cu sessions? To: bob prohaska Cc: freebsd-arm@freebsd.org X-Rspamd-Queue-Id: 46m6Xp3775z4Q55 X-Spamd-Bar: -- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=bsdimp-com.20150623.gappssmtp.com header.s=20150623 header.b=MWhCTtO4; dmarc=none; spf=none (mx1.freebsd.org: domain of wlosh@bsdimp.com has no SPF policy when checking 2607:f8b0:4864:20::836) smtp.mailfrom=wlosh@bsdimp.com X-Spamd-Result: default: False [-2.80 / 15.00]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-0.999,0]; R_DKIM_ALLOW(-0.20)[bsdimp-com.20150623.gappssmtp.com:s=20150623]; FROM_HAS_DN(0.00)[]; TO_DN_SOME(0.00)[]; IP_SCORE(-2.80)[ip: (-9.25), ipnet: 2607:f8b0::/32(-2.56), asn: 15169(-2.15), country: US(-0.05)]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-arm@freebsd.org]; DMARC_NA(0.00)[bsdimp.com]; URI_COUNT_ODD(1.00)[3]; NEURAL_HAM_LONG(-1.00)[-0.999,0]; TO_MATCH_ENVRCPT_SOME(0.00)[]; DKIM_TRACE(0.00)[bsdimp-com.20150623.gappssmtp.com:+]; RCPT_COUNT_TWO(0.00)[2]; RCVD_IN_DNSWL_NONE(0.00)[6.3.8.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]; R_SPF_NA(0.00)[]; FORGED_SENDER(0.30)[imp@bsdimp.com,wlosh@bsdimp.com]; SUBJECT_ENDS_QUESTION(1.00)[]; MIME_TRACE(0.00)[0:+,1:+,2:~]; ASN(0.00)[asn:15169, ipnet:2607:f8b0::/32, country:US]; FROM_NEQ_ENVFROM(0.00)[imp@bsdimp.com,wlosh@bsdimp.com]; RCVD_TLS_ALL(0.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: Sun, 06 Oct 2019 02:11:07 -0000 On Sat, Oct 5, 2019, 8:08 PM bob prohaska wrote: > Is it normal to see two cu sessions running on the same device? > > I happened to run ps -aux on a Pi2 running stable/12 and noticed > root 1343 0.0 0.1 4372 1408 3 I+ 16:19 0:00.02 cu -l > cuaU0 -s 115200 > root 1344 0.0 0.1 4372 1384 3 I+ 16:19 0:00.01 cu -l > cuaU0 -s 115200 > > One session is intentional; it provides serial access to the console of a > second > machine in my Pi cluster. That I might mistakenly _start_ two sessions > isn't a > huge surprise, that it persists does seem a little odd. I'd expect "device > busy". > This is a stable/12 machine, updated yesterday. > > Thanks for reading and any insights.... > Totally normal. Cu forks so that IO doesn't stall it. This was a standard plot before threads. Warner bob prohaska > > _______________________________________________ > freebsd-arm@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-arm > To unsubscribe, send any mail to "freebsd-arm-unsubscribe@freebsd.org" > From owner-freebsd-arm@freebsd.org Sun Oct 6 15:02:41 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 A7D8712CCB6 for ; Sun, 6 Oct 2019 15:02:41 +0000 (UTC) (envelope-from mike@karels.net) Received: from mail.karels.net (mail.karels.net [216.160.39.52]) by mx1.freebsd.org (Postfix) with ESMTP id 46mRg346Ykz4TLb for ; Sun, 6 Oct 2019 15:02:39 +0000 (UTC) (envelope-from mike@karels.net) Received: from mail.karels.net (localhost [127.0.0.1]) by mail.karels.net (8.15.2/8.15.2) with ESMTP id x96F2WkF040803 for ; Sun, 6 Oct 2019 10:02:32 -0500 (CDT) (envelope-from mike@karels.net) Message-Id: <201910061502.x96F2WkF040803@mail.karels.net> To: freebsd-arm@freebsd.org From: Mike Karels Reply-to: mike@karels.net Subject: FreeBSD 12.1-BETA3 won't boot on Beaglebone Black MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <40801.1570374152.1@mail.karels.net> Content-Transfer-Encoding: quoted-printable Date: Sun, 06 Oct 2019 10:02:32 -0500 X-Rspamd-Queue-Id: 46mRg346Ykz4TLb X-Spamd-Bar: --- Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=pass (mx1.freebsd.org: domain of mike@karels.net designates 216.160.39.52 as permitted sender) smtp.mailfrom=mike@karels.net X-Spamd-Result: default: False [-3.59 / 15.00]; ARC_NA(0.00)[]; HAS_REPLYTO(0.00)[mike@karels.net]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; FROM_HAS_DN(0.00)[]; SH_EMAIL_DBL_DONT_QUERY_IPS(0.00)[0.0.0.0,2.221.86.96]; R_SPF_ALLOW(-0.20)[+ip4:216.160.39.52]; TO_MATCH_ENVRCPT_ALL(0.00)[]; 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(-1.00)[-1.000,0]; DMARC_NA(0.00)[karels.net]; REPLYTO_ADDR_EQ_FROM(0.00)[]; IP_SCORE(-1.39)[ip: (-4.92), ipnet: 216.160.0.0/15(-1.87), asn: 209(-0.08), country: US(-0.05)]; RCVD_NO_TLS_LAST(0.10)[]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:209, ipnet:216.160.0.0/15, country:US]; RCVD_COUNT_TWO(0.00)[2]; SH_EMAIL_ZRD(0.00)[2.221.86.96,0.0.0.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: Sun, 06 Oct 2019 15:02:41 -0000 [bcc to freebsd-stable; followups to freebsd-arm] I am not subscribed to freebsd-arm, please cc me on responses. My Beaglebone Black does not boot FreeBSD 12.1-BETA3. It previously ran 11.3 and 12.0 without problems. The initial boot from micro SD gets to this point [with some preceding lines as well; note that the "support voltages" line does not appear on 12.0]: sdhci_ti1: mem 0-0xfff irq 48 on ti_sysc35 sdhci_ti1-slot0: Hardware doesn't report any support voltages. mmc1: on sdhci_ti1 ... mmcsd0: 16GB at mmc0 48= .0MHz/4bit/65535-block iicbus1: on iichb1 iic1: on iicbus1 icee1: at addr 0xa8 on iicbus1 icee2: at addr 0xaa on iicbus1 icee3: at addr 0xac on iicbus1 icee4: at addr 0xae on iicbus1 sdhci_ti1-slot0: Bus power failed to enable uhub0: 1 port with 1 removable, self powered uhub1: 1 port with 1 removable, self powered sdhci_ti1-slot0: Controller timeout sdhci_ti1-slot0: =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D REGISTER DUMP = =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D sdhci_ti1-slot0: Sys addr: 0x00000000 | Version: 0x00003101 sdhci_ti1-slot0: Blk size: 0x00000000 | Blk cnt: 0x00000000 sdhci_ti1-slot0: Argument: 0x00000000 | Trn mode: 0x00000000 sdhci_ti1-slot0: Present: 0x01f70000 | Host ctl: 0x00000000 sdhci_ti1-slot0: Power: 0x00000000 | Blk gap: 0x00000000 sdhci_ti1-slot0: Wake-up: 0x00000000 | Clock: 0x00008007 sdhci_ti1-slot0: Timeout: 0x00000000 | Int stat: 0x00000000 sdhci_ti1-slot0: Int enab: 0x017f00fb | Sig enab: 0x017f00fb sdhci_ti1-slot0: AC12 err: 0x00000000 | Host ctl2:0x00000000 sdhci_ti1-slot0: Caps: 0x04e10080 | Caps2: 0x00000000 sdhci_ti1-slot0: Max curr: 0x00000000 | ADMA err: 0x00000000 sdhci_ti1-slot0: ADMA addr:0x00000000 | Slot int: 0x00000000 sdhci_ti1-slot0: =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D and then the timeout and dumps repeat every few seconds. This board cannot boot from the on-board EMMC, which seems to be at issue here, but it can access it under FreeBSD. The full boot transcript follows. The "bad CRC" errors show up on 12.0 as well. Mike Script started on Sat Oct 5 14:30:03 2019 pughole% tip bbb connected U-Boot SPL 2019.07 (Oct 04 2019 - 02:06:48 +0000) Trying to boot from MMC1 U-Boot 2019.07 (Oct 04 2019 - 02:06:48 +0000) CPU : AM335X-GP rev 2.1 Model: TI AM335x BeagleBone Black DRAM: 512 MiB MMC: OMAP SD/MMC: 0, OMAP SD/MMC: 1 Loading Environment from FAT... *** Warning - bad CRC, using default envir= onment Loading Environment from MMC... *** Warning - bad CRC, using default envir= onment not set. Validating first E-fuse MAC Net: eth0: ethernet@4a100000 Warning: usb_ether MAC addresses don't match: Address in ROM is de:ad:be:ef:00:01 Address in environment is 1c:ba:8c:d5:7d:6d , eth1: usb_ether Hit any key to stop autoboot: 2 =08=08=08 1 =08=08=08 0 = switch to partitions #0, OK mmc0 is current device Scanning mmc 0:1... 83137 bytes read in 9 ms (8.8 MiB/s) Found EFI removable media binary efi/boot/bootarm.efi =1B7=1B[r=1B[999;999H=1B[6n=1B8Scanning disk mmc@48060000.blk... Scanning disk mmc@481d8000.blk... Found 6 disks BootOrder not defined EFI boot manager: Cannot load any image 582420 bytes read in 41 ms (13.5 MiB/s) =1B[?25hConsoles: EFI console =0D=0D =1B[?25h|=08/=08-=08\=08|=08FreeBSD/arm EFI loader, Revision 1.1=0D=0D =0D=0D Command line arguments: l=0D=0D EFI version: 2.70=0D=0D EFI Firmware: Das U-Boot (rev 8217.1792)=0D=0D Console: efi (0)=0D=0D Load Path: /efi\boot\bootarm.efi=0D=0D Load Device: /VenHw(e61d73b9-a384-4acc-aeab-82e828f3628b)/SD(0)/SD(0)/H= D(1,0x01,0,0x42f,0x18fa8)=0D=0D Trying ESP: /VenHw(e61d73b9-a384-4acc-aeab-82e828f3628b)/SD(0)/SD(0)/HD(1,= 0x01,0,0x42f,0x18fa8)=0D=0D Setting currdev to disk0p1:=0D=0D /=08-=08\=08|=08/=08-=08\=08|=08/=08-=08\=08|=08Trying: /VenHw(e61d73b9-a3= 84-4acc-aeab-82e828f3628b)/SD(0)/SD(0)/HD(2,0x01,0,0x193d7,0x5e6c11)=0D=0D Setting currdev to disk0p2:=0D=0D /=08-=08\=08|=08/=08-=08\=08|=08/=08-=08\=08|=08/=08-=08\=08|=08/=08-=08\=08= |=08/=08-=08\=08|=08/=08-=08\=08|=08/=08-=08\=08|=08/=08-=08\=08|=08/=08-=08= \=08|=08/=08-=08\=08|=08/=08-=08\=08|=08/=08-=08\=08|=08/=08-=08\=08|=08/=08= -=08\=08|=08/=08-=08\=08|=08/=08-=08\=08|=08/=08-=08\=08|=08/=08-=08\=08|=08= /=08-=08\=08|=08/=08-=08\=08|=08/=08-=08\=08|=08/=08-=08\=08|=08/=08-=08\=08= |=08/=08-=08\=08|=08/=08-=08\=08|=08/=08-=08\=08|=08/=08-=08\=08|=08/=08-=08= \=08|=08/=08-=08\=08|=08/=08-=08\=08|=08/=08-=08\=08|=08/=08-=08\=08|=08/=08= -=08\=08|=08/=08-=08\=08|=08/=08-=08\=08|=08/=08-=08\=08|=08/=08-=08\=08|=08= /=08-=08\=08|=08Loading /boot/defaults/loader.conf=0D=0D Loading /boot/device.hints=0D=0D /=08-=08\=08|=08/=08-=08\=08|=08/=08-=08\=08|=08/=08-=08\=08Loading /boot/= loader.conf=0D=0D |=08/=08-=08\=08|=08Loading /boot/loader.conf.local=0D=0D /=08-=08\=08|=08/=08-=08\=08|=08/=08-=08\=08|=08/=08-=08\=08|=08/=08-=08\=08= |=08/=08-=08\=08|=08=1B[2JLoading kernel...=0D=0D /=08-=08\=08|=08/=08-=08\=08|=08/=08-=08\=08|=08/=08-=08\=08|=08/=08-=08\=08= |=08/=08-=08\=08|=08/=08-=08\=08|=08/=08-=08\=08|=08/=08-=08\=08|=08/=08-=08= \=08|=08/=08-=08\=08|=08/=08/boot/kernel/kernel text=3D0x85caa8 -=08\=08|=08= /=08-=08\=08|=08/=08-=08\=08|=08/=08-=08\=08|=08/=08-=08\=08|=08/=08-=08\=08= |=08/=08-=08\=08|=08/=08-=08\=08|=08/=08-=08\=08|=08/=08-=08\=08|=08/=08-=08= \=08|=08/=08-=08\=08|=08/=08-=08\=08|=08/=08-=08\=08|=08/=08-=08\=08|=08/=08= -=08\=08|=08/=08-=08\=08|=08/=08data=3D0xb1968+0x1f4bd8 -=08\=08|=08/=08-=08= \=08syms=3D[0x4+0xa2aa0|=08/=08-=08\=08|=08/=08+0x4+0x104123-=08\=08|=08/=08= -=08\=08|=08/=08]=0D=0D Loading configured modules...=0D=0D -=08\=08|=08/=08-=08\=08|=08/=08-=08\=08|=08/=08-=08\=08|=08/=08-=08\=08|=08= /=08-=08/boot/kernel/umodem.ko text=3D0x1540 text=3D0xf00 data=3D0x1088+0x= f7c syms=3D[0x4+0xe70+0x4+0xa74]=0D=0D loading required module 'ucom'=0D=0D \=08|=08/=08-=08\=08|=08/=08-=08\=08|=08/=08-=08\=08|=08/=08/boot/kernel/u= com.ko text=3D0x1734 text=3D0x29b0 data=3D0x1088+0x17b0 -=08syms=3D[0x4+0x= 13e0+0x4+0xbac]=0D=0D \=08|=08/=08-=08\=08|=08/=08-=08\=08|=08/=08-=08can't find '/boot/entropy'= =0D=0D =0D=0D Hit [Enter] to boot immediately, or any other key for command prompt.=0D=0D Booting [/boot/kernel/kernel] in 9 seconds... =0DBooting [/boot/kernel/ker= nel] in 8 seconds... =0DBooting [/boot/kernel/kernel] in 7 seconds... =0DB= ooting [/boot/kernel/kernel] in 6 seconds... =0DBooting [/boot/kernel/kern= el] in 5 seconds... =0DBooting [/boot/kernel/kernel]... =0D=0D= =0D Using DTB provided by EFI at 0x87ee8000.=0D=0D \=08|=08/=08-=08Kernel entry at 0x95000180...=0D=0D Kernel args: (null)=0D=0D modulep: 0xc0cd2000=0D=0D relocation_offset 0=0D=0D ---<>--- 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 12.1-BETA3 r353073 GENERIC arm FreeBSD clang version 8.0.1 (tags/RELEASE_801/final 366581) (based on LLVM= 8.0.1) VT: init without driver. module_register: cannot register ofwbus/pcib from kernel; already loaded f= rom kernel Module ofwbus/pcib failed to register: 17 module_register: cannot register simplebus/pcib from kernel; already loade= d from kernel Module simplebus/pcib failed to register: 17 CPU: ARM Cortex-A8 r3p2 (ECO: 0x00000000) CPU Features: = Thumb2, Security, VMSAv7 Optional instructions: = UMULL, SMULL, SIMD(ext) LoUU:2 LoC:3 LoUIS:1 = Cache level 1: 32KB/64B 4-way data cache WT WB Read-Alloc 32KB/64B 4-way instruction cache Read-Alloc Cache level 2: 256KB/64B 8-way unified cache WT WB Read-Alloc Write-Alloc real memory =3D 536219648 (511 MB) avail memory =3D 509853696 (486 MB) No PSCI/SMCCC call function found Texas Instruments AM335x Processor, Revision ES2.1 arc4random: no preloaded entropy cache random: entropy device external interface kbd0 at kbdmux0 ofwbus0: simplebus0: on ofwbus0 simplebus1: mem 0x44c00000-0x44c007ff,0= x44c00800-0x44c00fff,0x44c01000-0x44c013ff,0x44c01400-0x44c017ff on simple= bus0 simplebus2: on simplebus1 simplebus3: on simplebus1 simplebus4: on simplebus1 ti_sysc0: mem 0-0x3 on simplebus4 am335x_prcm0: mem 0-0x1fff on ti_sysc0 ti_sysc1: mem 0x7000-0x7003,0x7010-0x7013,0x7114-0x= 7117 on simplebus4 ti_sysc2: mem 0x9050-0x9053,0x9054-0x9057,0x9058-0x= 905b on simplebus4 ti_sysc3: mem 0xb000-0xb007,0xb010-0xb017,0xb090-0x= b097 on simplebus4 ti_sysc4: mem 0xd000-0xd003,0xd010-0xd013 on simple= bus4 ti_sysc5: mem 0x10000-0x10003 on simplebus4 simplebus5: mem 0-0x1fff on ti_sysc5 ti_scm0: mem 0-0x7ff on simplebus5 ti_sysc6: mem 0x31000-0x31003,0x31010-0x31013,0x310= 14-0x31017 on simplebus4 ti_sysc7: mem 0x35000-0x35003,0x35010-0x35013,0x350= 14-0x35017 on simplebus4 ti_sysc8: mem 0x3e074-0x3e077,0x3e078-0x3e07b on si= mplebus4 simplebus6: mem 0x48000000-0x480007ff,0= x48000800-0x48000fff,0x48001000-0x480013ff,0x48001400-0x480017ff,0x4800180= 0-0x48001bff,0x48001c00-0x48001fff on simplebus0 simplebus7: on simplebus6 ti_sysc9: mem 0x22050-0x22053,0x22054-0x22057,0x220= 58-0x2205b on simplebus7 ti_sysc10: mem 0x24050-0x24053,0x24054-0x24057,0x24= 058-0x2405b on simplebus7 ti_sysc11: mem 0x2a000-0x2a007,0x2a010-0x2a017,0x2a= 090-0x2a097 on simplebus7 ti_sysc12: mem 0x30000-0x30003,0x30110-0x30113,0x30= 114-0x30117 on simplebus7 ti_sysc13: mem 0x38000-0x38003,0x38004-0x38007 on s= implebus7 ti_sysc14: mem 0x3c000-0x3c003,0x3c004-0x3c007 on s= implebus7 ti_sysc15: mem 0x40000-0x40003,0x40010-0x40013,0x40= 014-0x40017 on simplebus7 ti_sysc16: mem 0x42000-0x42003,0x42010-0x42013,0x42= 014-0x42017 on simplebus7 ti_sysc17: mem 0x44000-0x44003,0x44010-0x44013,0x44= 014-0x44017 on simplebus7 ti_sysc18: mem 0x46000-0x46003,0x46010-0x46013,0x46= 014-0x46017 on simplebus7 ti_sysc19: mem 0x48000-0x48003,0x48010-0x48013,0x48= 014-0x48017 on simplebus7 ti_sysc20: mem 0x4a000-0x4a003,0x4a010-0x4a013,0x4a= 014-0x4a017 on simplebus7 ti_sysc21: mem 0x4c000-0x4c003,0x4c010-0x4c013,0x4c= 114-0x4c117 on simplebus7 ti_sysc22: mem 0x602fc-0x602ff,0x60110-0x60113,0x60= 114-0x60117 on simplebus7 ti_sysc23: mem 0x80000-0x80003,0x80010-0x80013,0x80= 014-0x80017 on simplebus7 ti_sysc24: mem 0xc8000-0xc8003,0xc8010-0xc8013 on s= implebus7 ti_sysc25: mem 0xca000-0xca003,0xca010-0xca013,0xca= 014-0xca017 on simplebus7 simplebus8: on simplebus6 ti_sysc26: mem 0x9c000-0x9c007,0x9c010-0x9c017,0x9c= 090-0x9c097 on simplebus8 ti_sysc27: mem 0xa0000-0xa0003,0xa0110-0xa0113,0xa0= 114-0xa0117 on simplebus8 ti_sysc28: mem 0xa6050-0xa6053,0xa6054-0xa6057,0xa6= 058-0xa605b on simplebus8 ti_sysc29: mem 0xa8050-0xa8053,0xa8054-0xa8057,0xa8= 058-0xa805b on simplebus8 ti_sysc30: mem 0xaa050-0xaa053,0xaa054-0xaa057,0xaa= 058-0xaa05b on simplebus8 ti_sysc31: mem 0xac000-0xac003,0xac010-0xac013,0xac= 114-0xac117 on simplebus8 ti_sysc32: mem 0xae000-0xae003,0xae010-0xae013,0xae= 114-0xae117 on simplebus8 ti_sysc33: mem 0xcc000-0xcc003 on simplebus8 ti_sysc34: mem 0xd0000-0xd0003 on simplebus8 ti_sysc35: mem 0xd82fc-0xd82ff,0xd8110-0xd8113,0xd8= 114-0xd8117 on simplebus8 simplebus9: on simplebus6 ti_sysc36: mem 0-0x3,0x4-0x7 on simplebus9 ti_sysc37: mem 0x2000-0x2003,0x2004-0x2007 on simpl= ebus9 ti_sysc38: mem 0x4000-0x4003,0x4004-0x4007 on simpl= ebus9 ti_sysc39: mem 0xe000-0xe003,0xe054-0xe057 on simpl= ebus9 ti_sysc40: mem 0x11fe0-0x11fe3,0x11fe4-0x11fe7 on s= implebus9 simplebus10: mem 0x47c00000-0x47c007ff,= 0x47c00800-0x47c00fff,0x47c01000-0x47c013ff on simplebus0 simplebus11: on simplebus10 simplebus12: mem 0x4a000000-0x4a0007ff,= 0x4a000800-0x4a000fff,0x4a001000-0x4a0013ff on simplebus0 simplebus13: on simplebus12 ti_sysc41: mem 0x101200-0x101203,0x101208-0x10120b,= 0x101204-0x101207 on simplebus13 simplebus14: mem 0x4b144400-0x4b1444ff,= 0x4b144800-0x4b144bff on simplebus0 simplebus15: on simplebus14 regfix0: on ofwbus0 clk_fixed0: on ofwbus0 ti_aintc0: mem 0x48200000-0x48200fff on si= mplebus0 ti_aintc0: Revision 5.0 am335x_prcm0: Clocks: System 24.0 MHz, CPU 1000 MHz cpulist0: on ofwbus0 cpu0: on cpulist0 cpufreq_dt0: on cpu0 cpufreq_dt0: no regulator for cpu@0 device_attach: cpufreq_dt0 attach returned 6 pmu0: mem 0x4b000000-0x4bffffff irq 0 on ofw= bus0 gpio0: mem 0-0xfff irq 12 on ti_sys= c1 gpiobus0: on gpio0 gpioc0: on gpio0 uart0: mem 0-0xfff irq 13 on ti_sysc2uart0: c= onsole (115384,n,8,1)=0D iichb0: mem 0-0xfff irq 14 on ti_sysc3 iichb0: I2C revision 4.0 FIFO size: 32 bytes ti_adc0: mem 0-0xfff irq 15 disabled on ti_sysc4 ti_adc0: scheme: 0x1 func: 0x730 rtl: 0 rev: 0.1 custom rev: 0 ti_pinmux0: mem 0x800-0xa37 on simplebus5 am335x_scm0: on ti_scm0 ti_wdt0: mem 0-0xfff irq 18 on ti_sysc7 am335x_rtc0: mem 0-0xfff irq 19,20 on= ti_sysc8 am335x_rtc0: AM335X RTC v1.0.6 am335x_dmtimer0: mem 0-0x3ff irq 29 on ti_sysc15 Event timer "DMTimer2" frequency 24000000 Hz quality 500 am335x_dmtimer1: mem 0-0x3ff irq 30 on ti_sysc16 Timecounter "DMTimer3" frequency 24000000 Hz quality 500 gpio1: mem 0-0xfff irq 35 on ti_sys= c21 gpiobus1: on gpio1 gpioc1: on gpio1 sdhci_ti0: mem 0-0xfff irq 36 on ti_sysc22 mmc0: on sdhci_ti0 ti_mbox0: mem 0-0x1ff irq 38 on ti_sysc24 ti_mbox0: revision 4.0 iichb1: mem 0-0xfff irq 39 on ti_sysc26 iichb1: I2C revision 4.0 FIFO size: 32 bytes gpio2: mem 0-0xfff irq 44 on ti_sys= c31 gpiobus2: on gpio2 gpioc2: on gpio2 gpio3: mem 0-0xfff irq 45 on ti_sys= c32 gpiobus3: on gpio3 gpioc3: on gpio3 sdhci_ti1: mem 0-0xfff irq 48 on ti_sysc35 sdhci_ti1-slot0: Hardware doesn't report any support voltages. mmc1: on sdhci_ti1 fb0: mem 0-0xfff irq 49 on ti_sysc39 cpswss0: <3-port Switch Ethernet Subsystem> mem 0-0x7ff,0x1200-0x12ff irq = 51,52,53,54 on ti_sysc41 cpswss0: CPSW SS Version 1.12 (0) cpswss0: Initial queue size TX=3D128 RX=3D384 cpsw0: on cpswss0 cpsw0: Failed to read from PHY. cpsw0: attaching PHYs failed device_attach: cpsw0 attach returned 6 usbss0: mem 0x47400000-0x47400ff= f on simplebus0 usbss0: TI AM335X USBSS v0.0.13 musbotg0: mem 0x47401400-0x47401= 7ff,0x47401000-0x474011ff irq 56 on usbss0 usbus0: Dynamic FIFO sizing detected, assuming 16Kbytes of FIFO RAM usbus0 on musbotg0 musbotg1: mem 0x47401c00-0x47401= fff,0x47401800-0x474019ff irq 57 on usbss0 usbus1: Dynamic FIFO sizing detected, assuming 16Kbytes of FIFO RAM usbus1 on musbotg1 gpioled0: on ofwbus0 cryptosoft0: Timecounters tick every 1.000 msec iicbus0: on iichb0 iic0: on iicbus0 am335x_pmic0: at addr 0x48 irq 59 on iic= bus0 usbus0: 480Mbps High Speed USB v2.0 usbus1: 480Mbps High Speed USB v2.0 am335x_pmic0: TPS65217C ver 1.2 powered by AC icee0: at addr 0xa0 on iicbus0 tda0 at addr 0xe0 irq 60 on iicbus0 ugen1.1: at usbus1 uhub0: on= usbus1 ugen0.1: at usbus0 uhub1: on= usbus0 tda0: TDA19988 tda0: failed to read EDID mmcsd0: 16GB at mmc0 48= .0MHz/4bit/65535-block iicbus1: on iichb1 iic1: on iicbus1 icee1: at addr 0xa8 on iicbus1 icee2: at addr 0xaa on iicbus1 icee3: at addr 0xac on iicbus1 icee4: at addr 0xae on iicbus1 sdhci_ti1-slot0: Bus power failed to enable uhub0: 1 port with 1 removable, self powered uhub1: 1 port with 1 removable, self powered sdhci_ti1-slot0: Controller timeout sdhci_ti1-slot0: =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D REGISTER DUMP = =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D sdhci_ti1-slot0: Sys addr: 0x00000000 | Version: 0x00003101 sdhci_ti1-slot0: Blk size: 0x00000000 | Blk cnt: 0x00000000 sdhci_ti1-slot0: Argument: 0x00000000 | Trn mode: 0x00000000 sdhci_ti1-slot0: Present: 0x01f70000 | Host ctl: 0x00000000 sdhci_ti1-slot0: Power: 0x00000000 | Blk gap: 0x00000000 sdhci_ti1-slot0: Wake-up: 0x00000000 | Clock: 0x00008007 sdhci_ti1-slot0: Timeout: 0x00000000 | Int stat: 0x00000000 sdhci_ti1-slot0: Int enab: 0x017f00fb | Sig enab: 0x017f00fb sdhci_ti1-slot0: AC12 err: 0x00000000 | Host ctl2:0x00000000 sdhci_ti1-slot0: Caps: 0x04e10080 | Caps2: 0x00000000 sdhci_ti1-slot0: Max curr: 0x00000000 | ADMA err: 0x00000000 sdhci_ti1-slot0: ADMA addr:0x00000000 | Slot int: 0x00000000 sdhci_ti1-slot0: =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D sdhci_ti1-slot0: Controller timeout sdhci_ti1-slot0: =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D REGISTER DUMP = =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D sdhci_ti1-slot0: Sys addr: 0x00000000 | Version: 0x00003101 sdhci_ti1-slot0: Blk size: 0x00000000 | Blk cnt: 0x00000000 sdhci_ti1-slot0: Argument: 0x00000000 | Trn mode: 0x00000000 sdhci_ti1-slot0: Present: 0x01f70000 | Host ctl: 0x00000000 sdhci_ti1-slot0: Power: 0x00000000 | Blk gap: 0x00000000 sdhci_ti1-slot0: Wake-up: 0x00000000 | Clock: 0x00008007 sdhci_ti1-slot0: Timeout: 0x00000000 | Int stat: 0x00000000 sdhci_ti1-slot0: Int enab: 0x017f00fb | Sig enab: 0x017f00fb sdhci_ti1-slot0: AC12 err: 0x00000000 | Host ctl2:0x00000000 sdhci_ti1-slot0: Caps: 0x04e10080 | Caps2: 0x00000000 sdhci_ti1-slot0: Max curr: 0x00000000 | ADMA err: 0x00000000 sdhci_ti1-slot0: ADMA addr:0x00000000 | Slot int: 0x00000000 sdhci_ti1-slot0: =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D sdhci_ti1-slot0: Controller timeout sdhci_ti1-slot0: =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D REGISTER DUMP = =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D sdhci_ti1-slot0: Sys addr: 0x00000000 | Version: 0x00003101 sdhci_ti1-slot0: Blk size: 0x00000000 | Blk cnt: 0x00000000 sdhci_ti1-slot0: Argument: 0x00000000 | Trn mode: 0x00000000 sdhci_ti1-slot0: Present: 0x01f70000 | Host ctl: 0x00000000 sdhci_ti1-slot0: Power: 0x00000000 | Blk gap: 0x00000000 sdhci_ti1-slot0: Wake-up: 0x00000000 | Clock: 0x00008007 sdhci_ti1-slot0: Timeout: 0x00000000 | Int stat: 0x00000000 sdhci_ti1-slot0: Int enab: 0x017f00fb | Sig enab: 0x017f00fb sdhci_ti1-slot0: AC12 err: 0x00000000 | Host ctl2:0x00000000 sdhci_ti1-slot0: Caps: 0x04e10080 | Caps2: 0x00000000 sdhci_ti1-slot0: Max curr: 0x00000000 | ADMA err: 0x00000000 sdhci_ti1-slot0: ADMA addr:0x00000000 | Slot int: 0x00000000 sdhci_ti1-slot0: =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D sdhci_ti1-slot0: Controller timeout sdhci_ti1-slot0: =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D REGISTER DUMP = =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D sdhci_ti1-slot0: Sys addr: 0x00000000 | Version: 0x00003101 sdhci_ti1-slot0: Blk size: 0x00000000 | Blk cnt: 0x00000000 sdhci_ti1-slot0: Argument: 0x00000000 | Trn mode: 0x00000000 sdhci_ti1-slot0: Present: 0x01f70000 | Host ctl: 0x00000000 sdhci_ti1-slot0: Power: 0x00000000 | Blk gap: 0x00000000 sdhci_ti1-slot0: Wake-up: 0x00000000 | Clock: 0x00008007 sdhci_ti1-slot0: Timeout: 0x00000000 | Int stat: 0x00000000 sdhci_ti1-slot0: Int enab: 0x017f00fb | Sig enab: 0x017f00fb sdhci_ti1-slot0: AC12 err: 0x00000000 | Host ctl2:0x00000000 sdhci_ti1-slot0: Caps: 0x04e10080 | Caps2: 0x00000000 sdhci_ti1-slot0: Max curr: 0x00000000 | ADMA err: 0x00000000 sdhci_ti1-slot0: ADMA addr:0x00000000 | Slot int: 0x00000000 sdhci_ti1-slot0: =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D sdhci_ti1-slot0: Controller timeout sdhci_ti1-slot0: =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D REGISTER DUMP = =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D sdhci_ti1-slot0: Sys addr: 0x00000000 | Version: 0x00003101 sdhci_ti1-slot0: Blk size: 0x00000000 | Blk cnt: 0x00000000 sdhci_ti1-slot0: Argument: 0x000001aa | Trn mode: 0x0000081a sdhci_ti1-slot0: Present: 0x01f70000 | Host ctl: 0x00000000 sdhci_ti1-slot0: Power: 0x00000000 | Blk gap: 0x00000000 sdhci_ti1-slot0: Wake-up: 0x00000000 | Clock: 0x00008007 sdhci_ti1-slot0: Timeout: 0x00000000 | Int stat: 0x00000000 sdhci_ti1-slot0: Int enab: 0x017f00fb | Sig enab: 0x017f00fb sdhci_ti1-slot0: AC12 err: 0x00000000 | Host ctl2:0x00000000 sdhci_ti1-slot0: Caps: 0x04e10080 | Caps2: 0x00000000 sdhci_ti1-slot0: Max curr: 0x00000000 | ADMA err: 0x00000000 sdhci_ti1-slot0: ADMA addr:0x00000000 | Slot int: 0x00000000 sdhci_ti1-slot0: =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D sdhci_ti1-slot0: Controller timeout sdhci_ti1-slot0: =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D REGISTER DUMP = =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D sdhci_ti1-slot0: Sys addr: 0x00000000 | Version: 0x00003101 sdhci_ti1-slot0: Blk size: 0x00000000 | Blk cnt: 0x00000000 sdhci_ti1-slot0: Argument: 0x000001aa | Trn mode: 0x0000081a sdhci_ti1-slot0: Present: 0x01f70000 | Host ctl: 0x00000000 sdhci_ti1-slot0: Power: 0x00000000 | Blk gap: 0x00000000 sdhci_ti1-slot0: Wake-up: 0x00000000 | Clock: 0x00008007 sdhci_ti1-slot0: Timeout: 0x00000000 | Int stat: 0x00000000 sdhci_ti1-slot0: Int enab: 0x017f00fb | Sig enab: 0x017f00fb sdhci_ti1-slot0: AC12 err: 0x00000000 | Host ctl2:0x00000000 sdhci_ti1-slot0: Caps: 0x04e10080 | Caps2: 0x00000000 sdhci_ti1-slot0: Max curr: 0x00000000 | ADMA err: 0x00000000 sdhci_ti1-slot0: ADMA addr:0x00000000 | Slot int: 0x00000000 sdhci_ti1-slot0: =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D sdhci_ti1-slot0: Controller timeout sdhci_ti1-slot0: =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D REGISTER DUMP = =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D sdhci_ti1-slot0: Sys addr: 0x00000000 | Version: 0x00003101 sdhci_ti1-slot0: Blk size: 0x00000000 | Blk cnt: 0x00000000 sdhci_ti1-slot0: Argument: 0x000001aa | Trn mode: 0x0000081a sdhci_ti1-slot0: Present: 0x01f70000 | Host ctl: 0x00000000 sdhci_ti1-slot0: Power: 0x00000000 | Blk gap: 0x00000000 sdhci_ti1-slot0: Wake-up: 0x00000000 | Clock: 0x00008007 sdhci_ti1-slot0: Timeout: 0x00000000 | Int stat: 0x00000000 sdhci_ti1-slot0: Int enab: 0x017f00fb | Sig enab: 0x017f00fb sdhci_ti1-slot0: AC12 err: 0x00000000 | Host ctl2:0x00000000 sdhci_ti1-slot0: Caps: 0x04e10080 | Caps2: 0x00000000 sdhci_ti1-slot0: Max curr: 0x00000000 | ADMA err: 0x00000000 sdhci_ti1-slot0: ADMA addr:0x00000000 | Slot int: 0x00000000 sdhci_ti1-slot0: =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D sdhci_ti1-slot0: Controller timeout sdhci_ti1-slot0: =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D REGISTER DUMP = =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D sdhci_ti1-slot0: Sys addr: 0x00000000 | Version: 0x00003101 sdhci_ti1-slot0: Blk size: 0x00000000 | Blk cnt: 0x00000000 sdhci_ti1-slot0: Argument: 0x000001aa | Trn mode: 0x0000081a sdhci_ti1-slot0: Present: 0x01f70000 | Host ctl: 0x00000000 sdhci_ti1-slot0: Power: 0x00000000 | Blk gap: 0x00000000 sdhci_ti1-slot0: Wake-up: 0x00000000 | Clock: 0x00008007 sdhci_ti1-slot0: Timeout: 0x00000000 | Int stat: 0x00000000 sdhci_ti1-slot0: Int enab: 0x017f00fb | Sig enab: 0x017f00fb sdhci_ti1-slot0: AC12 err: 0x00000000 | Host ctl2:0x00000000 sdhci_ti1-slot0: Caps: 0x04e10080 | Caps2: 0x00000000 sdhci_ti1-slot0: Max curr: 0x00000000 | ADMA err: 0x00000000 sdhci_ti1-slot0: ADMA addr:0x00000000 | Slot int: 0x00000000 sdhci_ti1-slot0: =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D sdhci_ti1-slot0: Controller timeout sdhci_ti1-slot0: =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D REGISTER DUMP = =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D sdhci_ti1-slot0: Sys addr: 0x00000000 | Version: 0x00003101 sdhci_ti1-slot0: Blk size: 0x00000000 | Blk cnt: 0x00000000 sdhci_ti1-slot0: Argument: 0x00000000 | Trn mode: 0x0000371a sdhci_ti1-slot0: Present: 0x01f70000 | Host ctl: 0x00000000 sdhci_ti1-slot0: Power: 0x00000000 | Blk gap: 0x00000000 sdhci_ti1-slot0: Wake-up: 0x00000000 | Clock: 0x00008007 sdhci_ti1-slot0: Timeout: 0x00000000 | Int stat: 0x00000000 sdhci_ti1-slot0: Int enab: 0x017f00fb | Sig enab: 0x017f00fb sdhci_ti1-slot0: AC12 err: 0x00000000 | Host ctl2:0x00000000 sdhci_ti1-slot0: Caps: 0x04e10080 | Caps2: 0x00000000 sdhci_ti1-slot0: Max curr: 0x00000000 | ADMA err: 0x00000000 sdhci_ti1-slot0: ADMA addr:0x00000000 | Slot int: 0x00000000 sdhci_ti1-slot0: =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D sdhci_ti1-slot0: Controller timeout sdhci_ti1-slot0: =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D REGISTER DUMP = =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D sdhci_ti1-slot0: Sys addr: 0x00000000 | Version: 0x00003101 sdhci_ti1-slot0: Blk size: 0x00000000 | Blk cnt: 0x00000000 sdhci_ti1-slot0: Argument: 0x00000000 | Trn mode: 0x0000371a sdhci_ti1-slot0: Present: 0x01f70000 | Host ctl: 0x00000000 sdhci_ti1-slot0: Power: 0x00000000 | Blk gap: 0x00000000 sdhci_ti1-slot0: Wake-up: 0x00000000 | Clock: 0x00008007 sdhci_ti1-slot0: Timeout: 0x00000000 | Int stat: 0x00000000 sdhci_ti1-slot0: Int enab: 0x017f00fb | Sig enab: 0x017f00fb sdhci_ti1-slot0: AC12 err: 0x00000000 | Host ctl2:0x00000000 sdhci_ti1-slot0: Caps: 0x04e10080 | Caps2: 0x00000000 sdhci_ti1-slot0: Max curr: 0x00000000 | ADMA err: 0x00000000 sdhci_ti1-slot0: ADMA addr:0x00000000 | Slot int: 0x00000000 sdhci_ti1-slot0: =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D sdhci_ti1-slot0: Controller timeout sdhci_ti1-slot0: =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D REGISTER DUMP = =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D sdhci_ti1-slot0: Sys addr: 0x00000000 | Version: 0x00003101 sdhci_ti1-slot0: Blk size: 0x00000000 | Blk cnt: 0x00000000 sdhci_ti1-slot0: Argument: 0x00000000 | Trn mode: 0x0000371a sdhci_ti1-slot0: Present: 0x01f70000 | Host ctl: 0x00000000 sdhci_ti1-slot0: Power: 0x00000000 | Blk gap: 0x00000000 sdhci_ti1-slot0: Wake-up: 0x00000000 | Clock: 0x00008007 sdhci_ti1-slot0: Timeout: 0x00000000 | Int stat: 0x00000000 sdhci_ti1-slot0: Int enab: 0x017f00fb | Sig enab: 0x017f00fb sdhci_ti1-slot0: AC12 err: 0x00000000 | Host ctl2:0x00000000 sdhci_ti1-slot0: Caps: 0x04e10080 | Caps2: 0x00000000 sdhci_ti1-slot0: Max curr: 0x00000000 | ADMA err: 0x00000000 sdhci_ti1-slot0: ADMA addr:0x00000000 | Slot int: 0x00000000 sdhci_ti1-slot0: =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D sdhci_ti1-slot0: Controller timeout sdhci_ti1-slot0: =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D REGISTER DUMP = =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D sdhci_ti1-slot0: Sys addr: 0x00000000 | Version: 0x00003101 sdhci_ti1-slot0: Blk size: 0x00000000 | Blk cnt: 0x00000000 sdhci_ti1-slot0: Argument: 0x00000000 | Trn mode: 0x0000371a sdhci_ti1-slot0: Present: 0x01f70000 | Host ctl: 0x00000000 sdhci_ti1-slot0: Power: 0x00000000 | Blk gap: 0x00000000 sdhci_ti1-slot0: Wake-up: 0x00000000 | Clock: 0x00008007 sdhci_ti1-slot0: Timeout: 0x00000000 | Int stat: 0x00000000 sdhci_ti1-slot0: Int enab: 0x017f00fb | Sig enab: 0x017f00fb sdhci_ti1-slot0: AC12 err: 0x00000000 | Host ctl2:0x00000000 sdhci_ti1-slot0: Caps: 0x04e10080 | Caps2: 0x00000000 sdhci_ti1-slot0: Max curr: 0x00000000 | ADMA err: 0x00000000 sdhci_ti1-slot0: ADMA addr:0x00000000 | Slot int: 0x00000000 sdhci_ti1-slot0: =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D sdhci_ti1-slot0: Controller timeout sdhci_ti1-slot0: =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D REGISTER DUMP = =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D sdhci_ti1-slot0: Sys addr: 0x00000000 | Version: 0x00003101 sdhci_ti1-slot0: Blk size: 0x00000000 | Blk cnt: 0x00000000 sdhci_ti1-slot0: Argument: 0x00000000 | Trn mode: 0x00000102 sdhci_ti1-slot0: Present: 0x01f70000 | Host ctl: 0x00000000 sdhci_ti1-slot0: Power: 0x00000000 | Blk gap: 0x00000000 sdhci_ti1-slot0: Wake-up: 0x00000000 | Clock: 0x00008007 sdhci_ti1-slot0: Timeout: 0x00000000 | Int stat: 0x00000000 sdhci_ti1-slot0: Int enab: 0x017f00fb | Sig enab: 0x017f00fb sdhci_ti1-slot0: AC12 err: 0x00000000 | Host ctl2:0x00000000 sdhci_ti1-slot0: Caps: 0x04e10080 | Caps2: 0x00000000 sdhci_ti1-slot0: Max curr: 0x00000000 | ADMA err: 0x00000000 sdhci_ti1-slot0: ADMA addr:0x00000000 | Slot int: 0x00000000 sdhci_ti1-slot0: =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D sdhci_ti1-slot0: Controller timeout sdhci_ti1-slot0: =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D REGISTER DUMP = =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D sdhci_ti1-slot0: Sys addr: 0x00000000 | Version: 0x00003101 sdhci_ti1-slot0: Blk size: 0x00000000 | Blk cnt: 0x00000000 sdhci_ti1-slot0: Argument: 0x00000000 | Trn mode: 0x00000102 sdhci_ti1-slot0: Present: 0x01f70000 | Host ctl: 0x00000000 sdhci_ti1-slot0: Power: 0x00000000 | Blk gap: 0x00000000 sdhci_ti1-slot0: Wake-up: 0x00000000 | Clock: 0x00008007 sdhci_ti1-slot0: Timeout: 0x00000000 | Int stat: 0x00000000 sdhci_ti1-slot0: Int enab: 0x017f00fb | Sig enab: 0x017f00fb sdhci_ti1-slot0: AC12 err: 0x00000000 | Host ctl2:0x00000000 sdhci_ti1-slot0: Caps: 0x04e10080 | Caps2: 0x00000000 sdhci_ti1-slot0: Max curr: 0x00000000 | ADMA err: 0x00000000 sdhci_ti1-slot0: ADMA addr:0x00000000 | Slot int: 0x00000000 sdhci_ti1-slot0: =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D sdhci_ti1-slot0: Controller timeout sdhci_ti1-slot0: =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D REGISTER DUMP = =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D sdhci_ti1-slot0: Sys addr: 0x00000000 | Version: 0x00003101 sdhci_ti1-slot0: Blk size: 0x00000000 | Blk cnt: 0x00000000 sdhci_ti1-slot0: Argument: 0x00000000 | Trn mode: 0x00000102 sdhci_ti1-slot0: Present: 0x01f70000 | Host ctl: 0x00000000 sdhci_ti1-slot0: Power: 0x00000000 | Blk gap: 0x00000000 sdhci_ti1-slot0: Wake-up: 0x00000000 | Clock: 0x00008007 sdhci_ti1-slot0: Timeout: 0x00000000 | Int stat: 0x00000000 sdhci_ti1-slot0: Int enab: 0x017f00fb | Sig enab: 0x017f00fb sdhci_ti1-slot0: AC12 err: 0x00000000 | Host ctl2:0x00000000 sdhci_ti1-slot0: Caps: 0x04e10080 | Caps2: 0x00000000 sdhci_ti1-slot0: Max curr: 0x00000000 | ADMA err: 0x00000000 sdhci_ti1-slot0: ADMA addr:0x00000000 | Slot int: 0x00000000 sdhci_ti1-slot0: =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D ~ [EOT] pughole% ^D=08=08exit Script done on Sat Oct 5 14:33:23 2019 From owner-freebsd-arm@freebsd.org Sun Oct 6 17:10:46 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 5253F12F725 for ; Sun, 6 Oct 2019 17:10:46 +0000 (UTC) (envelope-from bostwick.brian@gmail.com) Received: from mail-io1-xd42.google.com (mail-io1-xd42.google.com [IPv6:2607:f8b0:4864:20::d42]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1O1" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 46mVVs34xgz4c0G for ; Sun, 6 Oct 2019 17:10:45 +0000 (UTC) (envelope-from bostwick.brian@gmail.com) Received: by mail-io1-xd42.google.com with SMTP id c6so23589962ioo.13 for ; Sun, 06 Oct 2019 10:10:45 -0700 (PDT) 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 :cc; bh=3dA1AK/KdGYigaEuYYYN5QqlQP6FSAujbckQc+bEJYA=; b=igUOgL7nVWDkq6uPm5B8cuJD+kqccGyDT7n9ORrTo9uGxCQczJPA4NaYrO8tWqozs4 ZiG48zh81GDTLBDg/OIFL3Ae2k+F7KyhyV8vv6qel//Xz4L676g0tkkmxJKQDAE29YFp fIXgDLMzVcwvrtQn85pG6Dyu9/ID+2cqATrRDMttc/8S7RiVpcV5dzAxC7UUy0lMkPcf hsWmd1upjv46RQFW/duVBLNoQiE9G9sltaoYkLOHmU9lxa8+bOnfCxOEwdEliIAbDlqq OMTcQaXSJU0ATJWlo4uQ8SHUfP6CimYTycL8NdbyA99bNOFx55diLutrzlpSbj+A8rD2 q5VA== 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:cc; bh=3dA1AK/KdGYigaEuYYYN5QqlQP6FSAujbckQc+bEJYA=; b=L2zYxgQ79QZ/rFUcK6RB3lU/aQiz6K+xk0zqFrrVdMoTBbgDqoM9Aoi1YpMFc5kzm5 rCv9OXLOt54fG9g5FU+LZPhBAd1/LIzVh6vHv+kk9m4hnbn2zmX/eE8FBN1snc/zmvCB ZfXFe+1+va9ngqhjn/aAjzriblk7F9fwk3u6h7vkXwLXcRzbL36OOBiXqy4DK+N9CWVh lQy9w7ZGfCHzd4NWB09o8wk+kXMgFb3op41HJ4sZdgpJ2vmTZZUcFCOBrgIMz6iWK66N kg1PHezX8Je87gsecJj8zA4HfMykKOp8EXmb3hi7w+svGd970tXVhTjHgkurkNuqI6Y8 WD/Q== X-Gm-Message-State: APjAAAU7rLp/UVQ+Zd8iYROt7S1Rp4oMUGOKL/p1aX7JwyRQhvAXm5TA vpeeSmjaUFEYEfbqKX9p5YkZNruYVCnyyJBtWzI= X-Google-Smtp-Source: APXvYqwYug5ksAYyBTbgO44CFqQV6xZ98CRwl8JB2R3ToC7v+9dCJ29KeAQNPUvE1jKC3vjpPlHxIktL+AeTYImCraA= X-Received: by 2002:a92:6a0c:: with SMTP id f12mr24999120ilc.64.1570381844178; Sun, 06 Oct 2019 10:10:44 -0700 (PDT) MIME-Version: 1.0 References: <20190929141211.GA96467@phouka1.phouka.net> <20190929164654.GB77308@phouka1.phouka.net> <20191001010347.GB88930@phouka1.phouka.net> In-Reply-To: <20191001010347.GB88930@phouka1.phouka.net> From: Brian Bostwick Date: Sun, 6 Oct 2019 13:10:33 -0400 Message-ID: Subject: Re: Building world and kernel on RPI3 B+ compilation failure, unwind-dw2.c. To: John Kennedy Cc: freebsd-arm@freebsd.org X-Rspamd-Queue-Id: 46mVVs34xgz4c0G X-Spamd-Bar: - Authentication-Results: mx1.freebsd.org; dkim=pass header.d=gmail.com header.s=20161025 header.b=igUOgL7n; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (mx1.freebsd.org: domain of bostwickbrian@gmail.com designates 2607:f8b0:4864:20::d42 as permitted sender) smtp.mailfrom=bostwickbrian@gmail.com X-Spamd-Result: default: False [-2.00 / 15.00]; TO_DN_SOME(0.00)[]; R_SPF_ALLOW(-0.20)[+ip6:2607:f8b0:4000::/36:c]; FREEMAIL_FROM(0.00)[gmail.com]; URI_COUNT_ODD(1.00)[3]; DKIM_TRACE(0.00)[gmail.com:+]; RCPT_COUNT_TWO(0.00)[2]; DMARC_POLICY_ALLOW(-0.50)[gmail.com,none]; FROM_EQ_ENVFROM(0.00)[]; IP_SCORE(0.00)[ip: (2.11), ipnet: 2607:f8b0::/32(-2.56), asn: 15169(-2.15), country: US(-0.05)]; MIME_TRACE(0.00)[0:+,1:+,2:~]; 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(-1.00)[-1.000,0]; R_DKIM_ALLOW(-0.20)[gmail.com:s=20161025]; FROM_HAS_DN(0.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-arm@freebsd.org]; IP_SCORE_FREEMAIL(0.00)[]; TO_MATCH_ENVRCPT_SOME(0.00)[]; RCVD_IN_DNSWL_NONE(0.00)[2.4.d.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]; RCVD_COUNT_TWO(0.00)[2]; RCVD_TLS_ALL(0.00)[] 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: Sun, 06 Oct 2019 17:10:46 -0000 So, to be consistent, I am now using two 12 release images and I am hitting the same error. Compiling between two images being emulated under QEMU. I don't have a src.conf file and I am not sure how to set one up. Is there one specifically for building on the ARM architecture and can you provide the one you are using? Thanks! On Mon, Sep 30, 2019 at 9:05 PM John Kennedy wrote: > On Sun, Sep 29, 2019 at 09:46:54AM -0700, John Kennedy wrote: > > Well, It's a RPI3B+, so I'll let you know in ~28-31 hours, give or take > what > > point in the compile that fragment lands in. > > I had no problems crunching BETA2 from BETA1. > > FreeBSD 12.1-BETA2 #41 r352780+b78e5b46c44c(releng/12.1)-dirty: > Mon Sep 30 11:10:03 PDT 2019 > > What does your src.conf look like? WITHOUT_LLVM_LIBUNWIND set? Maybe > anti-LLVM/pro-GCC in some other way? > > From src.conf(5): > WITHOUT_LLVM_LIBUNWIND > Set to use GCC's stack unwinder (instead of LLVM's libunwind). > > This is a default setting on arm/arm, arm/armv6, arm/armv7, > powerpc/powerpc, powerpc/powerpc64, powerpc/powerpcspe and > sparc64/sparc64. > > You had problems in /usr/src/gnu/lib/libgcc, which seems to be triggered > on > something like that (I really haven't tried to delve that deep into the > FreeBSD > source Makefiles). Maybe copied configuration settings over from a > previous > RPI? Your RPI3B+ is arm64, so if you had that set you might want to yank > it. > > [/usr/src/gnu/lib/Makefile] > .if ${MK_LLVM_LIBUNWIND} == "no" > SUBDIR+= libgcc > .endif > > My build didn't go down into that directory at all. > _______________________________________________ > freebsd-arm@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-arm > To unsubscribe, send any mail to "freebsd-arm-unsubscribe@freebsd.org" > From owner-freebsd-arm@freebsd.org Sun Oct 6 21:00: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 9405D133ABF for ; Sun, 6 Oct 2019 21:00:20 +0000 (UTC) (envelope-from bugzilla-noreply@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::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.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 46mbbm3QhSz3KZf for ; Sun, 6 Oct 2019 21:00:20 +0000 (UTC) (envelope-from bugzilla-noreply@FreeBSD.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 5A41A4102 for ; Sun, 6 Oct 2019 21:00:20 +0000 (UTC) (envelope-from bugzilla-noreply@FreeBSD.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id x96L0K2l044425 for ; Sun, 6 Oct 2019 21:00:20 GMT (envelope-from bugzilla-noreply@FreeBSD.org) Received: (from bugzilla@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id x96L0KJX044424 for freebsd-arm@FreeBSD.org; Sun, 6 Oct 2019 21:00:20 GMT (envelope-from bugzilla-noreply@FreeBSD.org) Message-Id: <201910062100.x96L0KJX044424@kenobi.freebsd.org> X-Authentication-Warning: kenobi.freebsd.org: bugzilla set sender to bugzilla-noreply@FreeBSD.org using -f From: bugzilla-noreply@FreeBSD.org To: freebsd-arm@FreeBSD.org Subject: Problem reports for freebsd-arm@FreeBSD.org that need special attention Date: Sun, 6 Oct 2019 21:00:20 +0000 MIME-Version: 1.0 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: Sun, 06 Oct 2019 21:00:20 -0000 To view an individual PR, use: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=(Bug Id). The following is a listing of current problems submitted by FreeBSD users, which need special attention. These represent problem reports covering all versions including experimental development code and obsolete releases. Status | Bug Id | Description ------------+-----------+--------------------------------------------------- Open | 238576 | Raspberry Pi 3B+ "shutdown -p" does not shut off Open | 239673 | Spurious Interrupt message from /dev/led/led1 2 problems total for which you should take action. From owner-freebsd-arm@freebsd.org Mon Oct 7 05:28:12 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 0A8BC13EF98 for ; Mon, 7 Oct 2019 05:28:12 +0000 (UTC) (envelope-from warlock@phouka1.phouka.net) Received: from phouka1.phouka.net (phouka1.phouka.net [107.170.196.116]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "phouka.net", Issuer "Go Daddy Secure Certificate Authority - G2" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 46mpsh3CrYz4Hwf for ; Mon, 7 Oct 2019 05:28:08 +0000 (UTC) (envelope-from warlock@phouka1.phouka.net) Received: from phouka1.phouka.net (localhost [127.0.0.1]) by phouka1.phouka.net (8.15.2/8.15.2) with ESMTPS id x975QjeC084159 (version=TLSv1.3 cipher=TLS_AES_256_GCM_SHA384 bits=256 verify=NO); Sun, 6 Oct 2019 22:26:45 -0700 (PDT) (envelope-from warlock@phouka1.phouka.net) Received: (from warlock@localhost) by phouka1.phouka.net (8.15.2/8.15.2/Submit) id x975Qjob084158; Sun, 6 Oct 2019 22:26:45 -0700 (PDT) (envelope-from warlock) Date: Sun, 6 Oct 2019 22:26:45 -0700 From: John Kennedy To: Brian Bostwick Cc: freebsd-arm@freebsd.org Subject: Re: Building world and kernel on RPI3 B+ compilation failure, unwind-dw2.c. Message-ID: <20191007052645.GA84115@phouka1.phouka.net> References: <20190929141211.GA96467@phouka1.phouka.net> <20190929164654.GB77308@phouka1.phouka.net> <20191001010347.GB88930@phouka1.phouka.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.12.2 (2019-09-21) X-Rspamd-Queue-Id: 46mpsh3CrYz4Hwf X-Spamd-Bar: +++ Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=none (mx1.freebsd.org: domain of warlock@phouka1.phouka.net has no SPF policy when checking 107.170.196.116) smtp.mailfrom=warlock@phouka1.phouka.net X-Spamd-Result: default: False [3.09 / 15.00]; ARC_NA(0.00)[]; FROM_HAS_DN(0.00)[]; TO_DN_SOME(0.00)[]; IP_SCORE(0.37)[ipnet: 107.170.192.0/18(0.17), asn: 14061(1.71), country: US(-0.05)]; TAGGED_RCPT(0.00)[]; MIME_GOOD(-0.10)[text/plain]; DMARC_NA(0.00)[phouka.net]; AUTH_NA(1.00)[]; NEURAL_SPAM_MEDIUM(0.95)[0.954,0]; TO_MATCH_ENVRCPT_SOME(0.00)[]; RCPT_COUNT_TWO(0.00)[2]; NEURAL_SPAM_LONG(0.57)[0.571,0]; R_SPF_NA(0.00)[]; FORGED_SENDER(0.30)[warlock@phouka.net,warlock@phouka1.phouka.net]; FREEMAIL_TO(0.00)[gmail.com]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:14061, ipnet:107.170.192.0/18, country:US]; FROM_NEQ_ENVFROM(0.00)[warlock@phouka.net,warlock@phouka1.phouka.net]; RCVD_TLS_ALL(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: Mon, 07 Oct 2019 05:28:12 -0000 On Sun, Oct 06, 2019 at 01:10:33PM -0400, Brian Bostwick wrote: > ... I don't have a src.conf file and I am not sure how to set one up. Is > there one specifically for building on the ARM architecture and can you > provide the one you are using? Thanks! My /etc/src.conf just has this: WITHOUT_REPRODUCIBLE_BUILD=YES It's covered by the src.conf(5) man pages, and the defaults are all sane. In other words, if you don't have one, you are fine. > So, to be consistent, I am now using two 12 release images and I am hitting > the same error. Compiling between two images being emulated under QEMU. ... I'm trying to parse that sentence. It sounds like you're compiling both images under QEMU (vs one native, one via QEMU like I thought you were). If so, I guess you need to find someone who is cross-compiling like you are to see what their building environment/setup is like. As I said, my build didn't go down into that directory (gnu/lib/libgcc), so I'm at a loss to figure out why yours would. From owner-freebsd-arm@freebsd.org Mon Oct 7 07:39:57 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 2F5ACF99EB for ; Mon, 7 Oct 2019 07:39:57 +0000 (UTC) (envelope-from manu@bidouilliste.com) Received: from mail.blih.net (mail.blih.net [212.83.177.182]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mail.blih.net", Issuer "mail.blih.net" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 46msnl5xngz4Nsp for ; Mon, 7 Oct 2019 07:39:55 +0000 (UTC) (envelope-from manu@bidouilliste.com) Received: from mail.blih.net (mail.blih.net [212.83.177.182]) by mail.blih.net (OpenSMTPD) with ESMTP id b702a17a; Mon, 7 Oct 2019 09:39:47 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=bidouilliste.com; h=date :from:to:cc:subject:message-id:in-reply-to:references :mime-version:content-type:content-transfer-encoding; s=mail; bh=XZTUwidrvEYbwXTQHKF4p9PrkuI=; b=Z4Nhw/Ifh2k91XQBYfNHKr+u/srF f6b6ulAeetCN7wneqYQk8We9r88hM36EB/H1crzuQSSGzHu/iYQG9DNy7gqcETvZ F1HgQDawI8EsF3WR8TsV4qu47nKq9sQ+NHr61/CuEqvoG5XhYCSu5mJqN1O4nzs1 UwECz2oaGtMands= DomainKey-Signature: a=rsa-sha1; c=nofws; d=bidouilliste.com; h=date :from:to:cc:subject:message-id:in-reply-to:references :mime-version:content-type:content-transfer-encoding; q=dns; s= mail; b=VqmS9PNIlRbc9kkYzX5fKHpWSzaZmy7+XXNZPL78m0klT6LEtRxW8hsJ H5/crKpj0rxthzhgg5wdo764skolYo86A3tu0AE+zf/hie5nSNzqrkSVKI79XM/0 LewIJw1CuJgMeMswL9GTZMFHOQrnoV+c8p4LZHGjveO/dBqqYOU= Received: from skull.home.blih.net (ip-9.net-89-3-105.rev.numericable.fr [89.3.105.9]) by mail.blih.net (OpenSMTPD) with ESMTPSA id f0871878 TLS version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO; Mon, 7 Oct 2019 09:39:47 +0200 (CEST) Date: Mon, 7 Oct 2019 09:39:47 +0200 From: Emmanuel Vadot To: mike@karels.net Cc: freebsd-arm@freebsd.org Subject: Re: FreeBSD 12.1-BETA3 won't boot on Beaglebone Black Message-Id: <20191007093947.69ae5d772ebedfc1e1c98328@bidouilliste.com> In-Reply-To: <201910061502.x96F2WkF040803@mail.karels.net> References: <201910061502.x96F2WkF040803@mail.karels.net> X-Mailer: Sylpheed 3.7.0 (GTK+ 2.24.32; amd64-portbld-freebsd13.0) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Rspamd-Queue-Id: 46msnl5xngz4Nsp X-Spamd-Bar: - Authentication-Results: mx1.freebsd.org; dkim=pass header.d=bidouilliste.com header.s=mail header.b=Z4Nhw/If; dmarc=none; spf=pass (mx1.freebsd.org: domain of manu@bidouilliste.com designates 212.83.177.182 as permitted sender) smtp.mailfrom=manu@bidouilliste.com X-Spamd-Result: default: False [-1.47 / 15.00]; ARC_NA(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; R_DKIM_ALLOW(-0.20)[bidouilliste.com:s=mail]; NEURAL_HAM_MEDIUM(-0.94)[-0.938,0]; FROM_HAS_DN(0.00)[]; R_SPF_ALLOW(-0.20)[+ip4:212.83.177.182/32]; MV_CASE(0.50)[]; MIME_GOOD(-0.10)[text/plain]; TO_DN_NONE(0.00)[]; DMARC_NA(0.00)[bidouilliste.com]; NEURAL_HAM_LONG(-1.00)[-0.997,0]; TO_MATCH_ENVRCPT_SOME(0.00)[]; DKIM_TRACE(0.00)[bidouilliste.com:+]; RCPT_COUNT_TWO(0.00)[2]; RCVD_NO_TLS_LAST(0.10)[]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; IP_SCORE(0.37)[ip: (-0.76), ipnet: 212.83.160.0/19(2.49), asn: 12876(0.11), country: FR(-0.00)]; ASN(0.00)[asn:12876, ipnet:212.83.160.0/19, country:FR]; 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: Mon, 07 Oct 2019 07:39:57 -0000 Hi, On Sun, 06 Oct 2019 10:02:32 -0500 Mike Karels wrote: > [bcc to freebsd-stable; followups to freebsd-arm] > I am not subscribed to freebsd-arm, please cc me on responses. > > My Beaglebone Black does not boot FreeBSD 12.1-BETA3. It previously ran > 11.3 and 12.0 without problems. The initial boot from micro SD gets to > this point [with some preceding lines as well; note that the "support > voltages" line does not appear on 12.0]: > > sdhci_ti1: mem 0-0xfff irq 48 on ti_sysc35 > sdhci_ti1-slot0: Hardware doesn't report any support voltages. > mmc1: on sdhci_ti1 > ... > mmcsd0: 16GB at mmc0 48.0MHz/4bit/65535-block > iicbus1: on iichb1 > iic1: on iicbus1 > icee1: at addr 0xa8 on iicbus1 > icee2: at addr 0xaa on iicbus1 > icee3: at addr 0xac on iicbus1 > icee4: at addr 0xae on iicbus1 > sdhci_ti1-slot0: Bus power failed to enable > uhub0: 1 port with 1 removable, self powered > uhub1: 1 port with 1 removable, self powered > sdhci_ti1-slot0: Controller timeout > sdhci_ti1-slot0: ============== REGISTER DUMP ============== > sdhci_ti1-slot0: Sys addr: 0x00000000 | Version: 0x00003101 > sdhci_ti1-slot0: Blk size: 0x00000000 | Blk cnt: 0x00000000 > sdhci_ti1-slot0: Argument: 0x00000000 | Trn mode: 0x00000000 > sdhci_ti1-slot0: Present: 0x01f70000 | Host ctl: 0x00000000 > sdhci_ti1-slot0: Power: 0x00000000 | Blk gap: 0x00000000 > sdhci_ti1-slot0: Wake-up: 0x00000000 | Clock: 0x00008007 > sdhci_ti1-slot0: Timeout: 0x00000000 | Int stat: 0x00000000 > sdhci_ti1-slot0: Int enab: 0x017f00fb | Sig enab: 0x017f00fb > sdhci_ti1-slot0: AC12 err: 0x00000000 | Host ctl2:0x00000000 > sdhci_ti1-slot0: Caps: 0x04e10080 | Caps2: 0x00000000 > sdhci_ti1-slot0: Max curr: 0x00000000 | ADMA err: 0x00000000 > sdhci_ti1-slot0: ADMA addr:0x00000000 | Slot int: 0x00000000 > sdhci_ti1-slot0: =========================================== > > and then the timeout and dumps repeat every few seconds. > > This board cannot boot from the on-board EMMC, which seems to be at issue > here, but it can access it under FreeBSD. > > The full boot transcript follows. The "bad CRC" errors show up on 12.0 > as well. > > Mike > I thought that the issue was solved but it seems that there is still some weird shit happening. Here's what's working : - Booting from SDcard with eMMC formated - Booting from eMMC without an sdcard inserted - Booting from eMMC with an sdcard inserted (no sdcard-boot button press) What's not working is booting from SDcard by pressing the button (to force sdcard boot). To me it's clearly some u-boot or bootrom problem but maybe I'm wrong. So if you boot from the sdcard but have u-boot on the eMMC so can do : 1) First confirmed that you booted off the SDCard, you should see U-Boot SPL 2019.07 (Sep 27 2019 - 15:17:40 +0000) Trying to boot from MMC1 MMC1 is the sdcard while MMC2 is the eMMC 2) Interrupt u-boot autoboot by pressing any key 3) Confirm that you have u-boot files on the eMMC by doing => fatls mmc 1 EFI/ 106148 MLO dtb/ 700756 u-boot.img 364264 ubldr.bin MLO is the file that we want to delete. 4) Delete MLO file => fatrm mmc 1 MLO 5) Confirm that it was deleted => fatls mmc 1 EFI/ dtb/ 700756 u-boot.img 364264 ubldr.bin Power cycle the board so you can boot from 12.1 sdcard image and update your eMMC (or whatever you want to do). -- Emmanuel Vadot From owner-freebsd-arm@freebsd.org Mon Oct 7 08:17:11 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 9FBA1FC234 for ; Mon, 7 Oct 2019 08:17:11 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::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.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 46mtcl3pJQz4Sxj for ; Mon, 7 Oct 2019 08:17:11 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 62ADCBA78 for ; Mon, 7 Oct 2019 08:17:11 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id x978HBBU068554 for ; Mon, 7 Oct 2019 08:17:11 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id x978HBhg068552 for freebsd-arm@FreeBSD.org; Mon, 7 Oct 2019 08:17:11 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 241089] BEAGLEBONE-20191004-r353072 panics Date: Mon, 07 Oct 2019 08:17:11 +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 Only Me X-Bugzilla-Who: manu@freebsd.org X-Bugzilla-Status: Closed X-Bugzilla-Resolution: FIXED X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: freebsd-arm@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: resolution bug_status 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: Mon, 07 Oct 2019 08:17:11 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D241089 Emmanuel Vadot changed: What |Removed |Added ---------------------------------------------------------------------------- Resolution|--- |FIXED Status|New |Closed CC| |manu@freebsd.org --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-arm@freebsd.org Tue Oct 8 01:02:19 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 CDDFE13DF18 for ; Tue, 8 Oct 2019 01:02:19 +0000 (UTC) (envelope-from mike@karels.net) Received: from mail.karels.net (mail.karels.net [216.160.39.52]) by mx1.freebsd.org (Postfix) with ESMTP id 46nJwV0xGJz3JPv for ; Tue, 8 Oct 2019 01:02:17 +0000 (UTC) (envelope-from mike@karels.net) Received: from mail.karels.net (localhost [127.0.0.1]) by mail.karels.net (8.15.2/8.15.2) with ESMTP id x98127Jk048407; Mon, 7 Oct 2019 20:02:07 -0500 (CDT) (envelope-from mike@karels.net) Message-Id: <201910080102.x98127Jk048407@mail.karels.net> To: Emmanuel Vadot cc: freebsd-arm@freebsd.org From: Mike Karels Reply-to: mike@karels.net Subject: Re: FreeBSD 12.1-BETA3 won't boot on Beaglebone Black In-reply-to: Your message of Mon, 07 Oct 2019 09:39:47 +0200. <20191007093947.69ae5d772ebedfc1e1c98328@bidouilliste.com> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <48405.1570496527.1@mail.karels.net> Content-Transfer-Encoding: quoted-printable Date: Mon, 07 Oct 2019 20:02:07 -0500 X-Rspamd-Queue-Id: 46nJwV0xGJz3JPv X-Spamd-Bar: --- Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=pass (mx1.freebsd.org: domain of mike@karels.net designates 216.160.39.52 as permitted sender) smtp.mailfrom=mike@karels.net X-Spamd-Result: default: False [-3.55 / 15.00]; ARC_NA(0.00)[]; HAS_REPLYTO(0.00)[mike@karels.net]; NEURAL_HAM_MEDIUM(-1.00)[-0.999,0]; FROM_HAS_DN(0.00)[]; TO_DN_SOME(0.00)[]; R_SPF_ALLOW(-0.20)[+ip4:216.160.39.52]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; MIME_GOOD(-0.10)[text/plain]; DMARC_NA(0.00)[karels.net]; REPLYTO_ADDR_EQ_FROM(0.00)[]; SH_EMAIL_DBL_DONT_QUERY_IPS(0.00)[2.221.86.96,0.0.0.0]; TO_MATCH_ENVRCPT_SOME(0.00)[]; RCPT_COUNT_TWO(0.00)[2]; IP_SCORE(-1.35)[ip: (-4.81), ipnet: 216.160.0.0/15(-1.80), asn: 209(-0.08), country: US(-0.05)]; RCVD_NO_TLS_LAST(0.10)[]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:209, ipnet:216.160.0.0/15, country:US]; RCVD_COUNT_TWO(0.00)[2]; SH_EMAIL_ZRD(0.00)[2.221.86.96,0.0.0.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: Tue, 08 Oct 2019 01:02:19 -0000 > Hi, > On Sun, 06 Oct 2019 10:02:32 -0500 > Mike Karels wrote: > > [bcc to freebsd-stable; followups to freebsd-arm] > > I am not subscribed to freebsd-arm, please cc me on responses. > > = > > My Beaglebone Black does not boot FreeBSD 12.1-BETA3. It previously r= an > > 11.3 and 12.0 without problems. The initial boot from micro SD gets t= o > > this point [with some preceding lines as well; note that the "support > > voltages" line does not appear on 12.0]: > > = > > sdhci_ti1: mem 0-0xfff irq 48 on ti_sysc35 > > sdhci_ti1-slot0: Hardware doesn't report any support voltages. > > mmc1: on sdhci_ti1 > > ... > > mmcsd0: 16GB at mmc= 0 48.0MHz/4bit/65535-block > > iicbus1: on iichb1 > > iic1: on iicbus1 > > icee1: at addr 0xa8 on iicbus1 > > icee2: at addr 0xaa on iicbus1 > > icee3: at addr 0xac on iicbus1 > > icee4: at addr 0xae on iicbus1 > > sdhci_ti1-slot0: Bus power failed to enable > > uhub0: 1 port with 1 removable, self powered > > uhub1: 1 port with 1 removable, self powered > > sdhci_ti1-slot0: Controller timeout > > sdhci_ti1-slot0: =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D REGISTER D= UMP =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D > > sdhci_ti1-slot0: Sys addr: 0x00000000 | Version: 0x00003101 > > sdhci_ti1-slot0: Blk size: 0x00000000 | Blk cnt: 0x00000000 > > sdhci_ti1-slot0: Argument: 0x00000000 | Trn mode: 0x00000000 > > sdhci_ti1-slot0: Present: 0x01f70000 | Host ctl: 0x00000000 > > sdhci_ti1-slot0: Power: 0x00000000 | Blk gap: 0x00000000 > > sdhci_ti1-slot0: Wake-up: 0x00000000 | Clock: 0x00008007 > > sdhci_ti1-slot0: Timeout: 0x00000000 | Int stat: 0x00000000 > > sdhci_ti1-slot0: Int enab: 0x017f00fb | Sig enab: 0x017f00fb > > sdhci_ti1-slot0: AC12 err: 0x00000000 | Host ctl2:0x00000000 > > sdhci_ti1-slot0: Caps: 0x04e10080 | Caps2: 0x00000000 > > sdhci_ti1-slot0: Max curr: 0x00000000 | ADMA err: 0x00000000 > > sdhci_ti1-slot0: ADMA addr:0x00000000 | Slot int: 0x00000000 > > sdhci_ti1-slot0: =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D > > = > > and then the timeout and dumps repeat every few seconds. > > = > > This board cannot boot from the on-board EMMC, which seems to be at is= sue > > here, but it can access it under FreeBSD. > > = > > The full boot transcript follows. The "bad CRC" errors show up on 12.= 0 > > as well. > > = > > Mike > > = > I thought that the issue was solved but it seems that there is still > some weird shit happening. Here's what's working : > - Booting from SDcard with eMMC formated > - Booting from eMMC without an sdcard inserted > - Booting from eMMC with an sdcard inserted (no sdcard-boot button > press) > What's not working is booting from SDcard by pressing the button (to > force sdcard boot). = > To me it's clearly some u-boot or bootrom problem > but maybe I'm wrong. = > So if you boot from the sdcard but have u-boot on the eMMC so can do : > 1) First confirmed that you booted off the SDCard, you should see = > U-Boot SPL 2019.07 (Sep 27 2019 - 15:17:40 +0000) > Trying to boot from MMC1 > MMC1 is the sdcard while MMC2 is the eMMC > 2) Interrupt u-boot autoboot by pressing any key > 3) Confirm that you have u-boot files on the eMMC by doing > =3D> fatls mmc 1 > EFI/ > 106148 MLO > dtb/ > 700756 u-boot.img > 364264 ubldr.bin > MLO is the file that we want to delete. > 4) Delete MLO file = > =3D> fatrm mmc 1 MLO > 5) Confirm that it was deleted > =3D> fatls mmc 1 = > EFI/ > dtb/ > 700756 u-boot.img > 364264 ubldr.bin > Power cycle the board so you can boot from 12.1 sdcard image and update > your eMMC (or whatever you want to do). Thanks. I tried that, and the results are still the same. I verified after booting 12.0 again that the eMMC's MLO is gone. The ufs filesystem on the eMMC had been reused as swap for an experiment, and I restored a valid filesystem just in case; unsurprisingly, that didn't matter. The console output is appended again. Any suggestions? I see that there was a DTS fix, but I have no idea if that could be related. Thanks, Mike Script started on Mon Oct 7 18:12:43 2019 pughole% tip bbb =07connected U-Boot SPL 2019.07 (Oct 04 2019 - 02:06:48 +0000) Trying to boot from MMC1 U-Boot 2019.07 (Oct 04 2019 - 02:06:48 +0000) CPU : AM335X-GP rev 2.1 Model: TI AM335x BeagleBone Black DRAM: 512 MiB MMC: OMAP SD/MMC: 0, OMAP SD/MMC: 1 Loading Environment from FAT... *** Warning - bad CRC, using default envir= onment Loading Environment from MMC... *** Warning - bad CRC, using default envir= onment not set. Validating first E-fuse MAC Net: eth0: ethernet@4a100000 Warning: usb_ether MAC addresses don't match: Address in ROM is de:ad:be:ef:00:01 Address in environment is 1c:ba:8c:d5:7d:6d , eth1: usb_ether Hit any key to stop autoboot: 2 =08=08=08 1 =08=08=08 0 = switch to partitions #0, OK mmc0 is current device Scanning mmc 0:1... 83137 bytes read in 9 ms (8.8 MiB/s) Found EFI removable media binary efi/boot/bootarm.efi =1B7=1B[r=1B[999;999H=1B[6n=1B8Scanning disk mmc@48060000.blk... Scanning disk mmc@481d8000.blk... Found 6 disks BootOrder not defined EFI boot manager: Cannot load any image 582420 bytes read in 42 ms (13.2 MiB/s) =1B[?25hConsoles: EFI console =0D=0D =1B[?25h|=08/=08-=08\=08|=08FreeBSD/arm EFI loader, Revision 1.1=0D=0D =0D=0D Command line arguments: l=0D=0D EFI version: 2.70=0D=0D EFI Firmware: Das U-Boot (rev 8217.1792)=0D=0D Console: efi (0)=0D=0D Load Path: /efi\boot\bootarm.efi=0D=0D Load Device: /VenHw(e61d73b9-a384-4acc-aeab-82e828f3628b)/SD(0)/SD(0)/H= D(1,0x01,0,0x42f,0x18fa8)=0D=0D Trying ESP: /VenHw(e61d73b9-a384-4acc-aeab-82e828f3628b)/SD(0)/SD(0)/HD(1,= 0x01,0,0x42f,0x18fa8)=0D=0D Setting currdev to disk0p1:=0D=0D /=08-=08\=08|=08/=08-=08\=08|=08/=08-=08\=08|=08Trying: /VenHw(e61d73b9-a3= 84-4acc-aeab-82e828f3628b)/SD(0)/SD(0)/HD(2,0x01,0,0x193d7,0x5e6c11)=0D=0D Setting currdev to disk0p2:=0D=0D /=08-=08\=08|=08/=08-=08\=08|=08/=08-=08\=08|=08/=08-=08\=08|=08/=08-=08\=08= |=08/=08-=08\=08|=08/=08-=08\=08|=08/=08-=08\=08|=08/=08-=08\=08|=08/=08-=08= \=08|=08/=08-=08\=08|=08/=08-=08\=08|=08/=08-=08\=08|=08/=08-=08\=08|=08/=08= -=08\=08|=08/=08-=08\=08|=08/=08-=08\=08|=08/=08-=08\=08|=08/=08-=08\=08|=08= /=08-=08\=08|=08/=08-=08\=08|=08/=08-=08\=08|=08/=08-=08\=08|=08/=08-=08\=08= |=08/=08-=08\=08|=08/=08-=08\=08|=08/=08-=08\=08|=08/=08-=08\=08|=08/=08-=08= \=08|=08/=08-=08\=08|=08/=08-=08\=08|=08/=08-=08\=08|=08/=08-=08\=08|=08/=08= -=08\=08|=08/=08-=08\=08|=08/=08-=08\=08|=08/=08-=08\=08|=08/=08-=08\=08|=08= /=08-=08\=08|=08Loading /boot/defaults/loader.conf=0D=0D Loading /boot/device.hints=0D=0D /=08-=08\=08|=08/=08-=08\=08|=08/=08-=08\=08|=08/=08-=08\=08Loading /boot/= loader.conf=0D=0D |=08/=08-=08\=08|=08Loading /boot/loader.conf.local=0D=0D /=08-=08\=08|=08/=08-=08\=08|=08/=08-=08\=08|=08/=08-=08\=08|=08/=08-=08\=08= |=08/=08-=08\=08|=08=1B[2JLoading kernel...=0D=0D /=08-=08\=08|=08/=08-=08\=08|=08/=08-=08\=08|=08/=08-=08\=08|=08/=08-=08\=08= |=08/=08-=08\=08|=08/=08-=08\=08|=08/=08-=08\=08|=08/=08-=08\=08|=08/=08-=08= \=08|=08/=08-=08\=08|=08/=08/boot/kernel/kernel text=3D0x85caa8 -=08\=08|=08= /=08-=08\=08|=08/=08-=08\=08|=08/=08-=08\=08|=08/=08-=08\=08|=08/=08-=08\=08= |=08/=08-=08\=08|=08/=08-=08\=08|=08/=08-=08\=08|=08/=08-=08\=08|=08/=08-=08= \=08|=08/=08-=08\=08|=08/=08-=08\=08|=08/=08-=08\=08|=08/=08-=08\=08|=08/=08= -=08\=08|=08/=08-=08\=08|=08/=08data=3D0xb1968+0x1f4bd8 -=08\=08|=08/=08-=08= \=08syms=3D[0x4+0xa2aa0|=08/=08-=08\=08|=08/=08+0x4+0x104123-=08\=08|=08/=08= -=08\=08|=08/=08]=0D=0D Loading configured modules...=0D=0D -=08\=08|=08/=08-=08\=08|=08/=08-=08\=08|=08/=08-=08\=08|=08/=08-=08\=08|=08= /=08-=08/boot/kernel/umodem.ko text=3D0x1540 text=3D0xf00 data=3D0x1088+0x= f7c syms=3D[0x4+0xe70+0x4+0xa74]=0D=0D loading required module 'ucom'=0D=0D \=08|=08/=08-=08\=08|=08/=08-=08\=08|=08/=08-=08\=08|=08/=08/boot/kernel/u= com.ko text=3D0x1734 text=3D0x29b0 data=3D0x1088+0x17b0 -=08syms=3D[0x4+0x= 13e0+0x4+0xbac]=0D=0D \=08|=08/=08-=08\=08|=08/=08-=08\=08|=08/=08-=08can't find '/boot/entropy'= =0D=0D =0D=0D Hit [Enter] to boot immediately, or any other key for command prompt.=0D=0D =0DBooting [/boot/kernel/kernel] in 9 seconds... =0DBooting [/boot/kernel/= kernel] in 8 seconds... =0DBooting [/boot/kernel/kernel] in 7 seconds... =0D= Booting [/boot/kernel/kernel] in 6 seconds... =0DBooting [/boot/kernel/ker= nel] in 5 seconds... =0DBooting [/boot/kernel/kernel] in 4 seconds... =0DB= ooting [/boot/kernel/kernel] in 3 seconds... =0DBooting [/boot/kernel/kern= el] in 2 seconds... =0DBooting [/boot/kernel/kernel] in 1 second... =0DBoo= ting [/boot/kernel/kernel]... =0D=0D Using DTB provided by EFI at 0x87ee8000.=0D=0D \=08|=08/=08-=08Kernel entry at 0x95000180...=0D=0D Kernel args: (null)=0D=0D modulep: 0xc0cd2000=0D=0D relocation_offset 0=0D=0D ---<>--- 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 12.1-BETA3 r353073 GENERIC arm FreeBSD clang version 8.0.1 (tags/RELEASE_801/final 366581) (based on LLVM= 8.0.1) VT: init without driver. module_register: cannot register ofwbus/pcib from kernel; already loaded f= rom kernel Module ofwbus/pcib failed to register: 17 module_register: cannot register simplebus/pcib from kernel; already loade= d from kernel Module simplebus/pcib failed to register: 17 CPU: ARM Cortex-A8 r3p2 (ECO: 0x00000000) CPU Features: = Thumb2, Security, VMSAv7 Optional instructions: = UMULL, SMULL, SIMD(ext) LoUU:2 LoC:3 LoUIS:1 = Cache level 1: 32KB/64B 4-way data cache WT WB Read-Alloc 32KB/64B 4-way instruction cache Read-Alloc Cache level 2: 256KB/64B 8-way unified cache WT WB Read-Alloc Write-Alloc real memory =3D 536219648 (511 MB) avail memory =3D 509853696 (486 MB) No PSCI/SMCCC call function found Texas Instruments AM335x Processor, Revision ES2.1 arc4random: no preloaded entropy cache random: entropy device external interface kbd0 at kbdmux0 ofwbus0: simplebus0: on ofwbus0 simplebus1: mem 0x44c00000-0x44c007ff,0= x44c00800-0x44c00fff,0x44c01000-0x44c013ff,0x44c01400-0x44c017ff on simple= bus0 simplebus2: on simplebus1 simplebus3: on simplebus1 simplebus4: on simplebus1 ti_sysc0: mem 0-0x3 on simplebus4 am335x_prcm0: mem 0-0x1fff on ti_sysc0 ti_sysc1: mem 0x7000-0x7003,0x7010-0x7013,0x7114-0x= 7117 on simplebus4 ti_sysc2: mem 0x9050-0x9053,0x9054-0x9057,0x9058-0x= 905b on simplebus4 ti_sysc3: mem 0xb000-0xb007,0xb010-0xb017,0xb090-0x= b097 on simplebus4 ti_sysc4: mem 0xd000-0xd003,0xd010-0xd013 on simple= bus4 ti_sysc5: mem 0x10000-0x10003 on simplebus4 simplebus5: mem 0-0x1fff on ti_sysc5 ti_scm0: mem 0-0x7ff on simplebus5 ti_sysc6: mem 0x31000-0x31003,0x31010-0x31013,0x310= 14-0x31017 on simplebus4 ti_sysc7: mem 0x35000-0x35003,0x35010-0x35013,0x350= 14-0x35017 on simplebus4 ti_sysc8: mem 0x3e074-0x3e077,0x3e078-0x3e07b on si= mplebus4 simplebus6: mem 0x48000000-0x480007ff,0= x48000800-0x48000fff,0x48001000-0x480013ff,0x48001400-0x480017ff,0x4800180= 0-0x48001bff,0x48001c00-0x48001fff on simplebus0 simplebus7: on simplebus6 ti_sysc9: mem 0x22050-0x22053,0x22054-0x22057,0x220= 58-0x2205b on simplebus7 ti_sysc10: mem 0x24050-0x24053,0x24054-0x24057,0x24= 058-0x2405b on simplebus7 ti_sysc11: mem 0x2a000-0x2a007,0x2a010-0x2a017,0x2a= 090-0x2a097 on simplebus7 ti_sysc12: mem 0x30000-0x30003,0x30110-0x30113,0x30= 114-0x30117 on simplebus7 ti_sysc13: mem 0x38000-0x38003,0x38004-0x38007 on s= implebus7 ti_sysc14: mem 0x3c000-0x3c003,0x3c004-0x3c007 on s= implebus7 ti_sysc15: mem 0x40000-0x40003,0x40010-0x40013,0x40= 014-0x40017 on simplebus7 ti_sysc16: mem 0x42000-0x42003,0x42010-0x42013,0x42= 014-0x42017 on simplebus7 ti_sysc17: mem 0x44000-0x44003,0x44010-0x44013,0x44= 014-0x44017 on simplebus7 ti_sysc18: mem 0x46000-0x46003,0x46010-0x46013,0x46= 014-0x46017 on simplebus7 ti_sysc19: mem 0x48000-0x48003,0x48010-0x48013,0x48= 014-0x48017 on simplebus7 ti_sysc20: mem 0x4a000-0x4a003,0x4a010-0x4a013,0x4a= 014-0x4a017 on simplebus7 ti_sysc21: mem 0x4c000-0x4c003,0x4c010-0x4c013,0x4c= 114-0x4c117 on simplebus7 ti_sysc22: mem 0x602fc-0x602ff,0x60110-0x60113,0x60= 114-0x60117 on simplebus7 ti_sysc23: mem 0x80000-0x80003,0x80010-0x80013,0x80= 014-0x80017 on simplebus7 ti_sysc24: mem 0xc8000-0xc8003,0xc8010-0xc8013 on s= implebus7 ti_sysc25: mem 0xca000-0xca003,0xca010-0xca013,0xca= 014-0xca017 on simplebus7 simplebus8: on simplebus6 ti_sysc26: mem 0x9c000-0x9c007,0x9c010-0x9c017,0x9c= 090-0x9c097 on simplebus8 ti_sysc27: mem 0xa0000-0xa0003,0xa0110-0xa0113,0xa0= 114-0xa0117 on simplebus8 ti_sysc28: mem 0xa6050-0xa6053,0xa6054-0xa6057,0xa6= 058-0xa605b on simplebus8 ti_sysc29: mem 0xa8050-0xa8053,0xa8054-0xa8057,0xa8= 058-0xa805b on simplebus8 ti_sysc30: mem 0xaa050-0xaa053,0xaa054-0xaa057,0xaa= 058-0xaa05b on simplebus8 ti_sysc31: mem 0xac000-0xac003,0xac010-0xac013,0xac= 114-0xac117 on simplebus8 ti_sysc32: mem 0xae000-0xae003,0xae010-0xae013,0xae= 114-0xae117 on simplebus8 ti_sysc33: mem 0xcc000-0xcc003 on simplebus8 ti_sysc34: mem 0xd0000-0xd0003 on simplebus8 ti_sysc35: mem 0xd82fc-0xd82ff,0xd8110-0xd8113,0xd8= 114-0xd8117 on simplebus8 simplebus9: on simplebus6 ti_sysc36: mem 0-0x3,0x4-0x7 on simplebus9 ti_sysc37: mem 0x2000-0x2003,0x2004-0x2007 on simpl= ebus9 ti_sysc38: mem 0x4000-0x4003,0x4004-0x4007 on simpl= ebus9 ti_sysc39: mem 0xe000-0xe003,0xe054-0xe057 on simpl= ebus9 ti_sysc40: mem 0x11fe0-0x11fe3,0x11fe4-0x11fe7 on s= implebus9 simplebus10: mem 0x47c00000-0x47c007ff,= 0x47c00800-0x47c00fff,0x47c01000-0x47c013ff on simplebus0 simplebus11: on simplebus10 simplebus12: mem 0x4a000000-0x4a0007ff,= 0x4a000800-0x4a000fff,0x4a001000-0x4a0013ff on simplebus0 simplebus13: on simplebus12 ti_sysc41: mem 0x101200-0x101203,0x101208-0x10120b,= 0x101204-0x101207 on simplebus13 simplebus14: mem 0x4b144400-0x4b1444ff,= 0x4b144800-0x4b144bff on simplebus0 simplebus15: on simplebus14 regfix0: on ofwbus0 clk_fixed0: on ofwbus0 ti_aintc0: mem 0x48200000-0x48200fff on si= mplebus0 ti_aintc0: Revision 5.0 am335x_prcm0: Clocks: System 24.0 MHz, CPU 1000 MHz cpulist0: on ofwbus0 cpu0: on cpulist0 cpufreq_dt0: on cpu0 cpufreq_dt0: no regulator for cpu@0 device_attach: cpufreq_dt0 attach returned 6 pmu0: mem 0x4b000000-0x4bffffff irq 0 on ofw= bus0 gpio0: mem 0-0xfff irq 12 on ti_sys= c1 gpiobus0: on gpio0 gpioc0: on gpio0 uart0: mem 0-0xfff irq 13 on ti_sysc2=0Duart0= : console (115384,n,8,1) iichb0: mem 0-0xfff irq 14 on ti_sysc3 iichb0: I2C revision 4.0 FIFO size: 32 bytes ti_adc0: mem 0-0xfff irq 15 disabled on ti_sysc4 ti_adc0: scheme: 0x1 func: 0x730 rtl: 0 rev: 0.1 custom rev: 0 ti_pinmux0: mem 0x800-0xa37 on simplebus5 am335x_scm0: on ti_scm0 ti_wdt0: mem 0-0xfff irq 18 on ti_sysc7 am335x_rtc0: mem 0-0xfff irq 19,20 on= ti_sysc8 am335x_rtc0: AM335X RTC v1.0.6 am335x_dmtimer0: mem 0-0x3ff irq 29 on ti_sysc15 Event timer "DMTimer2" frequency 24000000 Hz quality 500 am335x_dmtimer1: mem 0-0x3ff irq 30 on ti_sysc16 Timecounter "DMTimer3" frequency 24000000 Hz quality 500 gpio1: mem 0-0xfff irq 35 on ti_sys= c21 gpiobus1: on gpio1 gpioc1: on gpio1 sdhci_ti0: mem 0-0xfff irq 36 on ti_sysc22 mmc0: on sdhci_ti0 ti_mbox0: mem 0-0x1ff irq 38 on ti_sysc24 ti_mbox0: revision 4.0 iichb1: mem 0-0xfff irq 39 on ti_sysc26 iichb1: I2C revision 4.0 FIFO size: 32 bytes gpio2: mem 0-0xfff irq 44 on ti_sys= c31 gpiobus2: on gpio2 gpioc2: on gpio2 gpio3: mem 0-0xfff irq 45 on ti_sys= c32 gpiobus3: on gpio3 gpioc3: on gpio3 sdhci_ti1: mem 0-0xfff irq 48 on ti_sysc35 sdhci_ti1-slot0: Hardware doesn't report any support voltages. mmc1: on sdhci_ti1 fb0: mem 0-0xfff irq 49 on ti_sysc39 cpswss0: <3-port Switch Ethernet Subsystem> mem 0-0x7ff,0x1200-0x12ff irq = 51,52,53,54 on ti_sysc41 cpswss0: CPSW SS Version 1.12 (0) cpswss0: Initial queue size TX=3D128 RX=3D384 cpsw0: on cpswss0 miibus0: on cpsw0 smscphy0: PHY 0 on miibus0 smscphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto cpsw0: Ethernet address: 1c:ba:8c:d5:7d:6b usbss0: mem 0x47400000-0x47400ff= f on simplebus0 usbss0: TI AM335X USBSS v0.0.13 musbotg0: mem 0x47401400-0x47401= 7ff,0x47401000-0x474011ff irq 56 on usbss0 usbus0: Dynamic FIFO sizing detected, assuming 16Kbytes of FIFO RAM usbus0 on musbotg0 musbotg1: mem 0x47401c00-0x47401= fff,0x47401800-0x474019ff irq 57 on usbss0 usbus1: Dynamic FIFO sizing detected, assuming 16Kbytes of FIFO RAM usbus1 on musbotg1 gpioled0: on ofwbus0 cryptosoft0: Timecounters tick every 1.000 msec iicbus0: on iichb0 iic0: on iicbus0 am335x_pmic0: at addr 0x48 irq 59 on iic= bus0 usbus0: 480Mbps High Speed USB v2.0 usbus1: 480Mbps High Speed USB v2.0 am335x_pmic0: TPS65217C ver 1.2 powered by AC icee0: at addr 0xa0 on iicbus0 tda0 at addr 0xe0 irq 60 on iicbus0 ugen1.1: at usbus1 uhub0: on= usbus1 ugen0.1: at usbus0 uhub1: on= usbus0 tda0: TDA19988 tda0: failed to read EDID mmcsd0: 31GB at mmc0 48.= 0MHz/4bit/65535-block iicbus1: on iichb1 iic1: on iicbus1 icee1: at addr 0xa8 on iicbus1 icee2: at addr 0xaa on iicbus1 icee3: at addr 0xac on iicbus1 icee4: at addr 0xae on iicbus1 sdhci_ti1-slot0: Bus power failed to enable uhub0: 1 port with 1 removable, self powered uhub1: 1 port with 1 removable, self powered sdhci_ti1-slot0: Controller timeout sdhci_ti1-slot0: =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D REGISTER DUMP = =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D sdhci_ti1-slot0: Sys addr: 0x00000000 | Version: 0x00003101 sdhci_ti1-slot0: Blk size: 0x00000000 | Blk cnt: 0x00000000 sdhci_ti1-slot0: Argument: 0x00000000 | Trn mode: 0x00000000 sdhci_ti1-slot0: Present: 0x01f70000 | Host ctl: 0x00000000 sdhci_ti1-slot0: Power: 0x00000000 | Blk gap: 0x00000000 sdhci_ti1-slot0: Wake-up: 0x00000000 | Clock: 0x00008007 sdhci_ti1-slot0: Timeout: 0x00000000 | Int stat: 0x00000000 sdhci_ti1-slot0: Int enab: 0x017f00fb | Sig enab: 0x017f00fb sdhci_ti1-slot0: AC12 err: 0x00000000 | Host ctl2:0x00000000 sdhci_ti1-slot0: Caps: 0x04e10080 | Caps2: 0x00000000 sdhci_ti1-slot0: Max curr: 0x00000000 | ADMA err: 0x00000000 sdhci_ti1-slot0: ADMA addr:0x00000000 | Slot int: 0x00000000 sdhci_ti1-slot0: =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D sdhci_ti1-slot0: Controller timeout sdhci_ti1-slot0: =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D REGISTER DUMP = =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D sdhci_ti1-slot0: Sys addr: 0x00000000 | Version: 0x00003101 sdhci_ti1-slot0: Blk size: 0x00000000 | Blk cnt: 0x00000000 sdhci_ti1-slot0: Argument: 0x00000000 | Trn mode: 0x00000000 sdhci_ti1-slot0: Present: 0x01f70000 | Host ctl: 0x00000000 sdhci_ti1-slot0: Power: 0x00000000 | Blk gap: 0x00000000 sdhci_ti1-slot0: Wake-up: 0x00000000 | Clock: 0x00008007 sdhci_ti1-slot0: Timeout: 0x00000000 | Int stat: 0x00000000 sdhci_ti1-slot0: Int enab: 0x017f00fb | Sig enab: 0x017f00fb sdhci_ti1-slot0: AC12 err: 0x00000000 | Host ctl2:0x00000000 sdhci_ti1-slot0: Caps: 0x04e10080 | Caps2: 0x00000000 sdhci_ti1-slot0: Max curr: 0x00000000 | ADMA err: 0x00000000 sdhci_ti1-slot0: ADMA addr:0x00000000 | Slot int: 0x00000000 sdhci_ti1-slot0: =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D sdhci_ti1-slot0: Controller timeout sdhci_ti1-slot0: =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D REGISTER DUMP = =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D sdhci_ti1-slot0: Sys addr: 0x00000000 | Version: 0x00003101 sdhci_ti1-slot0: Blk size: 0x00000000 | Blk cnt: 0x00000000 sdhci_ti1-slot0: Argument: 0x00000000 | Trn mode: 0x00000000 sdhci_ti1-slot0: Present: 0x01f70000 | Host ctl: 0x00000000 sdhci_ti1-slot0: Power: 0x00000000 | Blk gap: 0x00000000 sdhci_ti1-slot0: Wake-up: 0x00000000 | Clock: 0x00008007 sdhci_ti1-slot0: Timeout: 0x00000000 | Int stat: 0x00000000 sdhci_ti1-slot0: Int enab: 0x017f00fb | Sig enab: 0x017f00fb sdhci_ti1-slot0: AC12 err: 0x00000000 | Host ctl2:0x00000000 sdhci_ti1-slot0: Caps: 0x04e10080 | Caps2: 0x00000000 sdhci_ti1-slot0: Max curr: 0x00000000 | ADMA err: 0x00000000 sdhci_ti1-slot0: ADMA addr:0x00000000 | Slot int: 0x00000000 sdhci_ti1-slot0: =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D sdhci_ti1-slot0: Controller timeout sdhci_ti1-slot0: =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D REGISTER DUMP = =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D sdhci_ti1-slot0: Sys addr: 0x00000000 | Version: 0x00003101 sdhci_ti1-slot0: Blk size: 0x00000000 | Blk cnt: 0x00000000 sdhci_ti1-slot0: Argument: 0x00000000 | Trn mode: 0x00000000 sdhci_ti1-slot0: Present: 0x01f70000 | Host ctl: 0x00000000 sdhci_ti1-slot0: Power: 0x00000000 | Blk gap: 0x00000000 sdhci_ti1-slot0: Wake-up: 0x00000000 | Clock: 0x00008007 sdhci_ti1-slot0: Timeout: 0x00000000 | Int stat: 0x00000000 sdhci_ti1-slot0: Int enab: 0x017f00fb | Sig enab: 0x017f00fb sdhci_ti1-slot0: AC12 err: 0x00000000 | Host ctl2:0x00000000 sdhci_ti1-slot0: Caps: 0x04e10080 | Caps2: 0x00000000 sdhci_ti1-slot0: Max curr: 0x00000000 | ADMA err: 0x00000000 sdhci_ti1-slot0: ADMA addr:0x00000000 | Slot int: 0x00000000 sdhci_ti1-slot0: =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D sdhci_ti1-slot0: Controller timeout sdhci_ti1-slot0: =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D REGISTER DUMP = =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D sdhci_ti1-slot0: Sys addr: 0x00000000 | Version: 0x00003101 sdhci_ti1-slot0: Blk size: 0x00000000 | Blk cnt: 0x00000000 sdhci_ti1-slot0: Argument: 0x000001aa | Trn mode: 0x0000081a sdhci_ti1-slot0: Present: 0x01f70000 | Host ctl: 0x00000000 sdhci_ti1-slot0: Power: 0x00000000 | Blk gap: 0x00000000 sdhci_ti1-slot0: Wake-up: 0x00000000 | Clock: 0x00008007 sdhci_ti1-slot0: Timeout: 0x00000000 | Int stat: 0x00000000 sdhci_ti1-slot0: Int enab: 0x017f00fb | Sig enab: 0x017f00fb sdhci_ti1-slot0: AC12 err: 0x00000000 | Host ctl2:0x00000000 sdhci_ti1-slot0: Caps: 0x04e10080 | Caps2: 0x00000000 sdhci_ti1-slot0: Max curr: 0x00000000 | ADMA err: 0x00000000 sdhci_ti1-slot0: ADMA addr:0x00000000 | Slot int: 0x00000000 sdhci_ti1-slot0: =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D ~ [EOT] pughole% ^D=08=08exit Script done on Mon Oct 7 18:14:23 2019 From owner-freebsd-arm@freebsd.org Tue Oct 8 09:28:12 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 5E00F1413B8 for ; Tue, 8 Oct 2019 09:28:12 +0000 (UTC) (envelope-from 0102016daab282d0-2c32d24b-13c7-459a-ab9c-879fa05bcb9a-000000@eu-west-1.amazonses.com) Received: from b230-172.smtp-out.eu-west-1.amazonses.com (b230-172.smtp-out.eu-west-1.amazonses.com [69.169.230.172]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-SHA256 (128/128 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 46nX8B5XDrz4fDJ for ; Tue, 8 Oct 2019 09:28:10 +0000 (UTC) (envelope-from 0102016daab282d0-2c32d24b-13c7-459a-ab9c-879fa05bcb9a-000000@eu-west-1.amazonses.com) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/simple; s=3cplnviw2evbq5mtsigkvse7zwbsh5h3; d=yuman.us; t=1570526889; h=Message-ID:Date:Subject:From:To:MIME-Version:Content-Type:List-Unsubscribe; bh=AZ5XsxR5ciOMqcQ9yHzGvFqURYpK/kIXRcn04yHVJoQ=; b=Q0QDcWNfyemAFCjxc+5X75LexxUXq58ZojE2ZHnA/OdBbdXB1zGWSmtKXF+8AqGw mrCvNvWfXfzDVUA1b9saOQ+NFvxPC1bz7ZRo6JHV0B61Xo39Q23xGFvgESEQGuDXGeY WvsXeGxL47XF5PbvQ85nQDCRYvfyEQZ+P+6PyhDo= DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/simple; s=ihchhvubuqgjsxyuhssfvqohv7z3u4hn; d=amazonses.com; t=1570526889; h=Message-ID:Date:Subject:From:To:MIME-Version:Content-Type:List-Unsubscribe:Feedback-ID; bh=AZ5XsxR5ciOMqcQ9yHzGvFqURYpK/kIXRcn04yHVJoQ=; b=GyKAd06M6YQ8BmOoBpQ1mXeSjVe5vCJn3MNLxlaNnPQyAZpTK6zauKz0xjVD5ePS Tc91NtnYWeOuTclMBNbow3KHS0knrAOTaWliyFsGZffDfo1OFZ/T3dpLrWUucDdcuMk FutBTnUXa0HenVVLFO4RvCDXoY8UYRa7paqnanAk= Message-ID: <0102016daab282d0-2c32d24b-13c7-459a-ab9c-879fa05bcb9a-000000@eu-west-1.amazonses.com> Date: Tue, 8 Oct 2019 09:28:08 +0000 Subject: Invitation for YUMAN From: Vincent To: freebsd-arm@freebsd.org MIME-Version: 1.0 X-EmailOctopus-Version: 3 X-EmailOctopus-Started-Preparing-At: 2019-10-08T09:27:04+00:00 X-EmailOctopus-Ses-Configuration-Set-Name: emailoctopus-92ac08625b86fcb74e8dc6e633188d55 X-EmailOctopus-Sent-At: 2019-10-08T09:28:08+00:00 X-EmailOctopus-Parent-Type-Id: campaign X-EmailOctopus-Parent-Id: c20dc832-e9ad-11e9-be00-06b4694bee2a X-EmailOctopus-List-Id: 7f1bc218-e9ad-11e9-be00-06b4694bee2a X-EmailOctopus-List-Contact-Id: 88374eae-e9ad-11e9-be00-06b4694bee2a X-SES-Outgoing: 2019.10.08-69.169.230.172 Feedback-ID: 1.eu-west-1.JI6BXWUnqSuL5cSR/HsaAGkJDrJ+yb1niJ5h//2yBCc=:AmazonSES X-Rspamd-Queue-Id: 46nX8B5XDrz4fDJ X-Spamd-Bar: / Authentication-Results: mx1.freebsd.org; dkim=pass header.d=yuman.us header.s=3cplnviw2evbq5mtsigkvse7zwbsh5h3 header.b=Q0QDcWNf; dkim=pass header.d=amazonses.com header.s=ihchhvubuqgjsxyuhssfvqohv7z3u4hn header.b=GyKAd06M; dmarc=pass (policy=none) header.from=yuman.us; spf=pass (mx1.freebsd.org: domain of 0102016daab282d0-2c32d24b-13c7-459a-ab9c-879fa05bcb9a-000000@eu-west-1.amazonses.com designates 69.169.230.172 as permitted sender) smtp.mailfrom=0102016daab282d0-2c32d24b-13c7-459a-ab9c-879fa05bcb9a-000000@eu-west-1.amazonses.com X-Spamd-Result: default: False [0.62 / 15.00]; ARC_NA(0.00)[]; R_DKIM_ALLOW(-0.20)[yuman.us:s=3cplnviw2evbq5mtsigkvse7zwbsh5h3,amazonses.com:s=ihchhvubuqgjsxyuhssfvqohv7z3u4hn]; FROM_HAS_DN(0.00)[]; R_SPF_ALLOW(-0.20)[+ip4:69.169.224.0/20:c]; TO_MATCH_ENVRCPT_ALL(0.00)[]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; TO_DN_NONE(0.00)[]; HTML_SHORT_LINK_IMG_1(2.00)[]; HAS_LIST_UNSUB(-0.01)[]; RCPT_COUNT_ONE(0.00)[1]; NEURAL_HAM_LONG(-0.94)[-0.935,0]; MANY_INVISIBLE_PARTS(0.10)[2]; DKIM_TRACE(0.00)[yuman.us:+,amazonses.com:+]; DMARC_POLICY_ALLOW(-0.50)[yuman.us,none]; RCVD_IN_DNSWL_NONE(0.00)[172.230.169.69.list.dnswl.org : 127.0.15.0]; NEURAL_SPAM_MEDIUM(0.46)[0.459,0]; FORGED_SENDER(0.30)[vincent@yuman.us,0102016daab282d0-2c32d24b-13c7-459a-ab9c-879fa05bcb9a-000000@eu-west-1.amazonses.com]; RCVD_COUNT_ZERO(0.00)[0]; MIME_TRACE(0.00)[0:+,1:+,2:~]; IP_SCORE(-0.29)[asn: 16509(-1.40), country: US(-0.05)]; ASN(0.00)[asn:16509, ipnet:69.169.230.0/23, country:US]; FROM_NEQ_ENVFROM(0.00)[vincent@yuman.us, 0102016daab282d0-2c32d24b-13c7-459a-ab9c-879fa05bcb9a-000000@eu-west-1.amazonses.com] Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable 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: Tue, 08 Oct 2019 09:28:12 -0000 [https://www.yuman.io/?mail=3Dfreebsd-arm@freebsd.org]=20 Yuman redefines what a CMMS should be=E2=80=8B =09=09 Start Free Trial [https://www.yuman.io/pricing?trial=3Dtrue?mail=3Dfreebsd-arm@freebsd.org] _Invitation to Yuman Advanced for 60 days _ =09=09 [https://www.yuman.io?mail=3Dfreebsd-arm@freebsd.org]=20 Plan your interventions, manage your maintenance! Mobile First, YUMAN allows managers to instantly communicate with technicians on the field and, technical teams to better deal with urgent problems, solve complex cases, collect information and share it directly. Our platform integrates PREDICTIVE, PREVENTIVE AND CURATIVE TOOLS to fully deliver the value promised by the digitalization of maintenance operations=C2=A0=E2=80=8B =09=09 [https://www.yuman.io/planning_interventions?mail=3Dfreebsd-arm@freebsd.org= ] Planning & Cartography =09=09 [https://www.yuman.io/technician_interventions?mail=3Dfreebsd-arm@freebsd.o= rg] Curative, Preventive, Predictive Operations =09=09 [https://www.yuman.io/maintenance_management?mail=3Dfreebsd-arm@freebsd.org= ] Maintenance & Contracts=20 _100% of Yuman customers have increased their turnover in less than 6 months=20 _ =09=09 Book a Demo [https://www.yuman.io?contact&mail=3Dfreebsd-arm@freebsd.org]=20 =09=09 [https://www.facebook.com/yuman.io/]=20 =09=09 [https://twitter.com/HelloYuman]=20 =09=09 [https://www.linkedin.com/company/yuman-io/]=20 Questions before starting ? Don't hesitate to answer to this email or contact us on=C2=A0hello@yuman.io Unsubscribe [https://arborescens.eomail1.com/unsubscribe?l=3D7f1bc218-e9ad-11e9-be00-06= b4694bee2a&lc=3D88374eae-e9ad-11e9-be00-06b4694bee2a&p=3Dc20dc832-e9ad-11e9= -be00-06b4694bee2a&pt=3Dcampaign&spa=3D1570526824&t=3D1570526888&s=3D9a45b5= ce2e2da72b63164bd01096e934c730c7c44055d71b1cd36f2efd1061b5]. From owner-freebsd-arm@freebsd.org Tue Oct 8 15:34:33 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 C180E12DBE3 for ; Tue, 8 Oct 2019 15:34:33 +0000 (UTC) (envelope-from gjb@freebsd.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2610:1c1:1:6074::16:84]) (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 "freefall.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 46nhGx4Hvrz47ZH; Tue, 8 Oct 2019 15:34:33 +0000 (UTC) (envelope-from gjb@freebsd.org) Received: from FreeBSD.org (freefall.freebsd.org [IPv6:2610:1c1:1:6074::16:84]) (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by freefall.freebsd.org (Postfix) with ESMTPS id 075C321B2; Tue, 8 Oct 2019 15:34:28 +0000 (UTC) (envelope-from gjb@freebsd.org) Date: Tue, 8 Oct 2019 15:34:17 +0000 From: Glen Barber To: Mike Karels Cc: Emmanuel Vadot , freebsd-arm@freebsd.org Subject: Re: FreeBSD 12.1-BETA3 won't boot on Beaglebone Black Message-ID: <20191008153417.GQ27491@FreeBSD.org> References: <20191007093947.69ae5d772ebedfc1e1c98328@bidouilliste.com> <201910080102.x98127Jk048407@mail.karels.net> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="6ys2uLYBf50XP5fk" Content-Disposition: inline In-Reply-To: <201910080102.x98127Jk048407@mail.karels.net> User-Agent: Mutt/1.12.1 (2019-06-15) 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: Tue, 08 Oct 2019 15:34:33 -0000 --6ys2uLYBf50XP5fk Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Mon, Oct 07, 2019 at 08:02:07PM -0500, Mike Karels wrote: > > Hi, >=20 > > On Sun, 06 Oct 2019 10:02:32 -0500 > > Mike Karels wrote: >=20 > > > [bcc to freebsd-stable; followups to freebsd-arm] > > > I am not subscribed to freebsd-arm, please cc me on responses. > > >=20 > > > My Beaglebone Black does not boot FreeBSD 12.1-BETA3. It previously = ran > > > 11.3 and 12.0 without problems. The initial boot from micro SD gets = to > > > this point [with some preceding lines as well; note that the "support > > > voltages" line does not appear on 12.0]: > > >=20 > > > sdhci_ti1: mem 0-0xfff irq 48 on ti_sysc35 > > > sdhci_ti1-slot0: Hardware doesn't report any support voltages. > > > mmc1: on sdhci_ti1 > > > ... > > > mmcsd0: 16GB at mm= c0 48.0MHz/4bit/65535-block > > > iicbus1: on iichb1 > > > iic1: on iicbus1 > > > icee1: at addr 0xa8 on iicbus1 > > > icee2: at addr 0xaa on iicbus1 > > > icee3: at addr 0xac on iicbus1 > > > icee4: at addr 0xae on iicbus1 > > > sdhci_ti1-slot0: Bus power failed to enable > > > uhub0: 1 port with 1 removable, self powered > > > uhub1: 1 port with 1 removable, self powered > > > sdhci_ti1-slot0: Controller timeout > > > sdhci_ti1-slot0: =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D REGISTER = DUMP =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D > > > sdhci_ti1-slot0: Sys addr: 0x00000000 | Version: 0x00003101 > > > sdhci_ti1-slot0: Blk size: 0x00000000 | Blk cnt: 0x00000000 > > > sdhci_ti1-slot0: Argument: 0x00000000 | Trn mode: 0x00000000 > > > sdhci_ti1-slot0: Present: 0x01f70000 | Host ctl: 0x00000000 > > > sdhci_ti1-slot0: Power: 0x00000000 | Blk gap: 0x00000000 > > > sdhci_ti1-slot0: Wake-up: 0x00000000 | Clock: 0x00008007 > > > sdhci_ti1-slot0: Timeout: 0x00000000 | Int stat: 0x00000000 > > > sdhci_ti1-slot0: Int enab: 0x017f00fb | Sig enab: 0x017f00fb > > > sdhci_ti1-slot0: AC12 err: 0x00000000 | Host ctl2:0x00000000 > > > sdhci_ti1-slot0: Caps: 0x04e10080 | Caps2: 0x00000000 > > > sdhci_ti1-slot0: Max curr: 0x00000000 | ADMA err: 0x00000000 > > > sdhci_ti1-slot0: ADMA addr:0x00000000 | Slot int: 0x00000000 > > > sdhci_ti1-slot0: =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D > > >=20 > > > and then the timeout and dumps repeat every few seconds. > > >=20 > > > This board cannot boot from the on-board EMMC, which seems to be at i= ssue > > > here, but it can access it under FreeBSD. > > >=20 > > > The full boot transcript follows. The "bad CRC" errors show up on 12= =2E0 > > > as well. > > >=20 > > > Mike > > >=20 >=20 > > I thought that the issue was solved but it seems that there is still > > some weird shit happening. Here's what's working : >=20 > > - Booting from SDcard with eMMC formated > > - Booting from eMMC without an sdcard inserted > > - Booting from eMMC with an sdcard inserted (no sdcard-boot button > > press) >=20 > > What's not working is booting from SDcard by pressing the button (to > > force sdcard boot).=20 > > To me it's clearly some u-boot or bootrom problem > > but maybe I'm wrong.=20 >=20 > > So if you boot from the sdcard but have u-boot on the eMMC so can do : >=20 > > 1) First confirmed that you booted off the SDCard, you should see=20 > > U-Boot SPL 2019.07 (Sep 27 2019 - 15:17:40 +0000) > > Trying to boot from MMC1 >=20 > > MMC1 is the sdcard while MMC2 is the eMMC >=20 > > 2) Interrupt u-boot autoboot by pressing any key > > 3) Confirm that you have u-boot files on the eMMC by doing > > =3D> fatls mmc 1 > > EFI/ > > 106148 MLO > > dtb/ > > 700756 u-boot.img > > 364264 ubldr.bin > > MLO is the file that we want to delete. > > 4) Delete MLO file=20 > > =3D> fatrm mmc 1 MLO > > 5) Confirm that it was deleted > > =3D> fatls mmc 1 =20 > > EFI/ > > dtb/ > > 700756 u-boot.img > > 364264 ubldr.bin >=20 > > Power cycle the board so you can boot from 12.1 sdcard image and update > > your eMMC (or whatever you want to do). >=20 > Thanks. I tried that, and the results are still the same. I verified > after booting 12.0 again that the eMMC's MLO is gone. The ufs filesystem > on the eMMC had been reused as swap for an experiment, and I restored a > valid filesystem just in case; unsurprisingly, that didn't matter. > The console output is appended again. >=20 > Any suggestions? I see that there was a DTS fix, but I have no idea > if that could be related. >=20 I don't recall seeing an issue so far with 12.1, but I'll double check that I tested the right card. In the meantime, what class is your SD card? I have seen issues with some SD cards on a few different SoCs where certain classes (i.e., 4) are too slow for some boards, and higher classes (i.e., 10) are too fast for others. Glen --6ys2uLYBf50XP5fk Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAEBCAAdFiEEjRJAPC5sqwhs9k2jAxRYpUeP4pMFAl2crHQACgkQAxRYpUeP 4pPpWhAAlaiBCoMatD1HLZur0QL/3zgcKEvCJGxXYEJVBnX+qTJWn2k14kNU04YZ HM4X6BsoDFo1gJHiEWWsCJ0sXtre3TPsg9Vxq4PsWaVotXJN2v/lhTtZg0TvfYXE GoBN1ZbRbdHFcLQbKXz/RkggYEh52wjqTlE8ORKYuHXgvZm/DBo3FqhRbbMs9gUw 7yCvcwJ7Hdrg93SH/e2Qti90och70JIlPNkZ6+1UdpDcmJpPHbzJ4v9jQ92a2LWi /vOQHx+AG9+qQip+VcmOn+1I1D5YvV3jpxhJZDv/9S2SrxZuYQHnTjOhwcF4/PFu 9HFXkw4Qf0O5ZG6mcG7tlDahaZBBDKaiHE/8ztN9hjGRR/hX7bxK3F1yjcrkd+es U4YrJe5i+PdPjXcFVjEH7jZO6038u0giJct6FE19TUp0zIJYHh9f7LCUtaA37ise AtqFQF2lTYI5F5crChwI5Kt3RFDCGvYcUEA/Kv3mPEiCI3Glv+JIUt+ODjEdkaeF Dmbg7R8zBUe+rT2YXbWVrY3quVx5JH2Ej1127O4frTcNqcnSrvk2Hwh4a5pZNZxf m4YvdYhoJCEfxS6xpEGRJ+TA8iZBVhoCP6BtMqdazaH0mBpQG3sMG8jc1PkUQJu5 Umzq0x+s7Ra09TOYEgdooOW2NApzf65tQrQ3wMI3uLeHLPTgl8s= =S6e0 -----END PGP SIGNATURE----- --6ys2uLYBf50XP5fk-- From owner-freebsd-arm@freebsd.org Tue Oct 8 15:54:18 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 19EB712E9B1 for ; Tue, 8 Oct 2019 15:54:18 +0000 (UTC) (envelope-from gjb@freebsd.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2610:1c1:1:6074::16:84]) (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 "freefall.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 46nhjj72sMz49bF; Tue, 8 Oct 2019 15:54:17 +0000 (UTC) (envelope-from gjb@freebsd.org) Received: from FreeBSD.org (freefall.freebsd.org [IPv6:2610:1c1:1:6074::16:84]) (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by freefall.freebsd.org (Postfix) with ESMTPS id 9D8AF2D7F; Tue, 8 Oct 2019 15:54:14 +0000 (UTC) (envelope-from gjb@freebsd.org) Date: Tue, 8 Oct 2019 15:54:04 +0000 From: Glen Barber To: Mike Karels Cc: Emmanuel Vadot , freebsd-arm@freebsd.org Subject: Re: FreeBSD 12.1-BETA3 won't boot on Beaglebone Black Message-ID: <20191008155404.GU27491@FreeBSD.org> References: <20191007093947.69ae5d772ebedfc1e1c98328@bidouilliste.com> <201910080102.x98127Jk048407@mail.karels.net> <20191008153417.GQ27491@FreeBSD.org> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="tpcaav3s83TeuU58" Content-Disposition: inline In-Reply-To: <20191008153417.GQ27491@FreeBSD.org> User-Agent: Mutt/1.12.1 (2019-06-15) 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: Tue, 08 Oct 2019 15:54:18 -0000 --tpcaav3s83TeuU58 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Tue, Oct 08, 2019 at 03:34:17PM +0000, Glen Barber wrote: > On Mon, Oct 07, 2019 at 08:02:07PM -0500, Mike Karels wrote: > > > Hi, > >=20 > > > On Sun, 06 Oct 2019 10:02:32 -0500 > > > Mike Karels wrote: > >=20 > > > > [bcc to freebsd-stable; followups to freebsd-arm] > > > > I am not subscribed to freebsd-arm, please cc me on responses. > > > >=20 > > > > My Beaglebone Black does not boot FreeBSD 12.1-BETA3. It previousl= y ran > > > > 11.3 and 12.0 without problems. The initial boot from micro SD get= s to > > > > this point [with some preceding lines as well; note that the "suppo= rt > > > > voltages" line does not appear on 12.0]: > > > >=20 > > > > sdhci_ti1: mem 0-0xfff irq 48 on ti_sysc35 > > > > sdhci_ti1-slot0: Hardware doesn't report any support voltages. > > > > mmc1: on sdhci_ti1 > > > > ... > > > > mmcsd0: 16GB at = mmc0 48.0MHz/4bit/65535-block > > > > iicbus1: on iichb1 > > > > iic1: on iicbus1 > > > > icee1: at addr 0xa8 on iicbus1 > > > > icee2: at addr 0xaa on iicbus1 > > > > icee3: at addr 0xac on iicbus1 > > > > icee4: at addr 0xae on iicbus1 > > > > sdhci_ti1-slot0: Bus power failed to enable > > > > uhub0: 1 port with 1 removable, self powered > > > > uhub1: 1 port with 1 removable, self powered > > > > sdhci_ti1-slot0: Controller timeout > > > > sdhci_ti1-slot0: =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D REGISTE= R DUMP =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D > > > > sdhci_ti1-slot0: Sys addr: 0x00000000 | Version: 0x00003101 > > > > sdhci_ti1-slot0: Blk size: 0x00000000 | Blk cnt: 0x00000000 > > > > sdhci_ti1-slot0: Argument: 0x00000000 | Trn mode: 0x00000000 > > > > sdhci_ti1-slot0: Present: 0x01f70000 | Host ctl: 0x00000000 > > > > sdhci_ti1-slot0: Power: 0x00000000 | Blk gap: 0x00000000 > > > > sdhci_ti1-slot0: Wake-up: 0x00000000 | Clock: 0x00008007 > > > > sdhci_ti1-slot0: Timeout: 0x00000000 | Int stat: 0x00000000 > > > > sdhci_ti1-slot0: Int enab: 0x017f00fb | Sig enab: 0x017f00fb > > > > sdhci_ti1-slot0: AC12 err: 0x00000000 | Host ctl2:0x00000000 > > > > sdhci_ti1-slot0: Caps: 0x04e10080 | Caps2: 0x00000000 > > > > sdhci_ti1-slot0: Max curr: 0x00000000 | ADMA err: 0x00000000 > > > > sdhci_ti1-slot0: ADMA addr:0x00000000 | Slot int: 0x00000000 > > > > sdhci_ti1-slot0: =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D > > > >=20 > > > > and then the timeout and dumps repeat every few seconds. > > > >=20 > > > > This board cannot boot from the on-board EMMC, which seems to be at= issue > > > > here, but it can access it under FreeBSD. > > > >=20 > > > > The full boot transcript follows. The "bad CRC" errors show up on = 12.0 > > > > as well. > > > >=20 > > > > Mike > > > >=20 > >=20 > > > I thought that the issue was solved but it seems that there is still > > > some weird shit happening. Here's what's working : > >=20 > > > - Booting from SDcard with eMMC formated > > > - Booting from eMMC without an sdcard inserted > > > - Booting from eMMC with an sdcard inserted (no sdcard-boot button > > > press) > >=20 > > > What's not working is booting from SDcard by pressing the button (to > > > force sdcard boot).=20 > > > To me it's clearly some u-boot or bootrom problem > > > but maybe I'm wrong.=20 > >=20 > > > So if you boot from the sdcard but have u-boot on the eMMC so can do : > >=20 > > > 1) First confirmed that you booted off the SDCard, you should see=20 > > > U-Boot SPL 2019.07 (Sep 27 2019 - 15:17:40 +0000) > > > Trying to boot from MMC1 > >=20 > > > MMC1 is the sdcard while MMC2 is the eMMC > >=20 > > > 2) Interrupt u-boot autoboot by pressing any key > > > 3) Confirm that you have u-boot files on the eMMC by doing > > > =3D> fatls mmc 1 > > > EFI/ > > > 106148 MLO > > > dtb/ > > > 700756 u-boot.img > > > 364264 ubldr.bin > > > MLO is the file that we want to delete. > > > 4) Delete MLO file=20 > > > =3D> fatrm mmc 1 MLO > > > 5) Confirm that it was deleted > > > =3D> fatls mmc 1 =20 > > > EFI/ > > > dtb/ > > > 700756 u-boot.img > > > 364264 ubldr.bin > >=20 > > > Power cycle the board so you can boot from 12.1 sdcard image and upd= ate > > > your eMMC (or whatever you want to do). > >=20 > > Thanks. I tried that, and the results are still the same. I verified > > after booting 12.0 again that the eMMC's MLO is gone. The ufs filesyst= em > > on the eMMC had been reused as swap for an experiment, and I restored a > > valid filesystem just in case; unsurprisingly, that didn't matter. > > The console output is appended again. > >=20 > > Any suggestions? I see that there was a DTS fix, but I have no idea > > if that could be related. > >=20 >=20 > I don't recall seeing an issue so far with 12.1, but I'll double check > that I tested the right card. In the meantime, what class is your SD > card? I have seen issues with some SD cards on a few different SoCs > where certain classes (i.e., 4) are too slow for some boards, and higher > classes (i.e., 10) are too fast for others. >=20 I re-tested 12.1-BETA3 on my BeagleBone Black, and do not see any boot failures. This is with a class 10 SD card. Glen --tpcaav3s83TeuU58 Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAEBCAAdFiEEjRJAPC5sqwhs9k2jAxRYpUeP4pMFAl2csRwACgkQAxRYpUeP 4pNFag/9Ec1fraEy7bMr1cJ0PlURtUTzehIv5gzHqIhIsFlyp2A9468dX0FTvqjz iyVeaBfRLnVifp6DCqSNytkc9pA9OJIdWwSJv5YdvdK/O2h+QXwxXlVLFtqBuLNQ qrzu/jujmG0ddIoqw/G6KFCcmhX+xG7nLrNdu0ZVEnBQGMSx/AcMfNB34iolrpNS jxuh4qA2FO8LMV4TLJUNXIWn6z1euRvPJZRB/2zDxWtKvict8lpcdI+pHLvAKfGD IMVtZTslkacfSIExybbmHI0O+/Ok2/4yW4fxIqiH3+pdZZiaJwthmutEVv8V9IGO 8Hkir2WSzfvayiwjKOfA7x6NRHLYoLoyhdtdekLrodhSipQRV1+hE025ahWFYhBr 6wgmWetBl3927AkqnOpRLnaR2fP3wNAdOE+fdIwVoMfv5Mc2gkfpmBfLtxLIMQod POHXQBoLQUAkysors3fAjsiQJBgCjM/vgRoLSQB3BEEBCdCla3khMXEtCn44eFjl l7esCCNHAEx/GrO+FqaqDf2HrIeRnV2j5RzNqmAlZNbz8rGfaMGYpXu0sECp9t0D Y3VeYPwf5P/jw1dOIMEKjeIOtUFleMs3oGshihdYSBFuE5s3i31Uaq6f/V3U0n5n 1IhSgjPBYvzaKaRo+yYplg3L9yJZ8x6ummBhuv2Y+kj+SJ9KKzU= =Hdly -----END PGP SIGNATURE----- --tpcaav3s83TeuU58-- From owner-freebsd-arm@freebsd.org Tue Oct 8 17:04:09 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 255F1130DD2 for ; Tue, 8 Oct 2019 17:04:09 +0000 (UTC) (envelope-from linimon@lonesome.com) Received: from mail.soaustin.net (mail.soaustin.net [18.222.6.11]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mail.soaustin.net", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 46nkGJ47C5z4GHc; Tue, 8 Oct 2019 17:04:08 +0000 (UTC) (envelope-from linimon@lonesome.com) Received: from lonesome.com (unknown [18.188.142.31]) by mail.soaustin.net (Postfix) with ESMTPSA id AEEB52A7C7; Tue, 8 Oct 2019 17:04:07 +0000 (UTC) Date: Tue, 8 Oct 2019 17:04:06 +0000 From: Mark Linimon To: Glen Barber Cc: Mike Karels , freebsd-arm@freebsd.org Subject: Re: FreeBSD 12.1-BETA3 won't boot on Beaglebone Black Message-ID: <20191008170405.GA18428@lonesome.com> References: <20191007093947.69ae5d772ebedfc1e1c98328@bidouilliste.com> <201910080102.x98127Jk048407@mail.karels.net> <20191008153417.GQ27491@FreeBSD.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20191008153417.GQ27491@FreeBSD.org> User-Agent: Mutt/1.5.21 (2010-09-15) X-Rspamd-Queue-Id: 46nkGJ47C5z4GHc X-Spamd-Bar: - Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=none (mx1.freebsd.org: domain of linimon@lonesome.com has no SPF policy when checking 18.222.6.11) smtp.mailfrom=linimon@lonesome.com X-Spamd-Result: default: False [-1.55 / 15.00]; ARC_NA(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; NEURAL_HAM_MEDIUM(-0.99)[-0.988,0]; FROM_HAS_DN(0.00)[]; RCPT_COUNT_THREE(0.00)[3]; TO_DN_SOME(0.00)[]; IP_SCORE(-0.26)[ip: (0.03), ipnet: 18.220.0.0/14(0.13), asn: 16509(-1.40), country: US(-0.05)]; MIME_GOOD(-0.10)[text/plain]; DMARC_NA(0.00)[lonesome.com]; AUTH_NA(1.00)[]; NEURAL_HAM_LONG(-1.00)[-0.998,0]; TO_MATCH_ENVRCPT_SOME(0.00)[]; RCVD_IN_DNSWL_MED(-0.20)[11.6.222.18.list.dnswl.org : 127.0.5.2]; R_SPF_NA(0.00)[]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:16509, ipnet:18.220.0.0/14, country:US]; MID_RHS_MATCH_FROM(0.00)[]; RCVD_TLS_ALL(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: Tue, 08 Oct 2019 17:04:09 -0000 On Tue, Oct 08, 2019 at 03:34:17PM +0000, Glen Barber wrote: > I have seen issues with some SD cards on a few different SoCs where > certain classes (i.e., 4) are too slow for some boards, and higher > classes (i.e., 10) are too fast for others. ew. We should document this somewhere. The potential for users shooting themselves in the feet is too high. mcl From owner-freebsd-arm@freebsd.org Tue Oct 8 17:12:28 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 933921310EC for ; Tue, 8 Oct 2019 17:12:28 +0000 (UTC) (envelope-from gjb@freebsd.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2610:1c1:1:6074::16:84]) (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 "freefall.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 46nkRw3G7vz4Glj; Tue, 8 Oct 2019 17:12:28 +0000 (UTC) (envelope-from gjb@freebsd.org) Received: from FreeBSD.org (freefall.freebsd.org [IPv6:2610:1c1:1:6074::16:84]) (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by freefall.freebsd.org (Postfix) with ESMTPS id 1A35045C4; Tue, 8 Oct 2019 17:12:28 +0000 (UTC) (envelope-from gjb@freebsd.org) Date: Tue, 8 Oct 2019 17:12:25 +0000 From: Glen Barber To: Mark Linimon Cc: Mike Karels , freebsd-arm@freebsd.org Subject: Re: FreeBSD 12.1-BETA3 won't boot on Beaglebone Black Message-ID: <20191008171225.GW27491@FreeBSD.org> References: <20191007093947.69ae5d772ebedfc1e1c98328@bidouilliste.com> <201910080102.x98127Jk048407@mail.karels.net> <20191008153417.GQ27491@FreeBSD.org> <20191008170405.GA18428@lonesome.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="+l3g4Y4ANQ+hgh+q" Content-Disposition: inline In-Reply-To: <20191008170405.GA18428@lonesome.com> User-Agent: Mutt/1.12.1 (2019-06-15) 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: Tue, 08 Oct 2019 17:12:28 -0000 --+l3g4Y4ANQ+hgh+q Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Tue, Oct 08, 2019 at 05:04:06PM +0000, Mark Linimon wrote: > On Tue, Oct 08, 2019 at 03:34:17PM +0000, Glen Barber wrote: > > I have seen issues with some SD cards on a few different SoCs where > > certain classes (i.e., 4) are too slow for some boards, and higher > > classes (i.e., 10) are too fast for others. >=20 > ew. We should document this somewhere. The potential for users > shooting themselves in the feet is too high. >=20 The "problem" with documenting this (or, at least me documenting it) is I have seen very inconsistent behavior. But if someone(tm) can reliably reproduce test cases with various SD card classes, yes, I agree it is something that would be highly beneficial to have documented. Glen --+l3g4Y4ANQ+hgh+q Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIyBAEBCAAdFiEEjRJAPC5sqwhs9k2jAxRYpUeP4pMFAl2cw3kACgkQAxRYpUeP 4pOIvg/1F6H4/2/KsaE/Y53qRPeWPjUnAz9YjvKZ1qAqEMCmRRMz+t1qp0ZvZ26W wG1teQGpCzl7lnygrcUHXq7qhxKhzklHPnDogrhAc72B5Dk88VpIFwvG9vkMKdZQ 2j4EskzZdBuLHnG0J8H+DecPFiVUl+ty3h5w1ReIzauOvzJ5SDpNXJrAr0yyCiEH nZjDvcifTnCUhZeCbCsc7yakuXOXytH+tYtn2LeDAUkr6OcTjFUtM8pNy5X1Ph9M 8HtORaQhRoDgPToWZh+IsMaEZzYWEs+h0cFjnC4HEXWFsY14c0ICpSKMrlO/89Cb umTiFOiBkUQLBz1P5UMnGMXlFDMXKngPxXTbAAAZ3M3l4y7Nw1lNaZVVmDCQzG1T 99+xzNDns0jWJUUlfD9KOf/r1HdCS29IGkz2G+KKOLduGzvMW2b/B3qk2MoTyg8h mzAYUV9xQgOo8WrrZke2OfK0v5j33L5hbZU4MRA8nwQ5Mcz0ZJHjQvsXnkB+bEJL 7Az7OI5iimclrvVoo596oNjon3emuwXRVhe0j9y4zOtRmLCFiN12NEbS/ILAVUhn IRSxBurJCve2SAXS2RbOLHI9W+CpeFmI3lxf5JU1clyZ5+8Bgh2/DQCH/9j5aW4W dPNfpoXtCr9IjhqQ2vHXMp0WvrnozTo8kPjF71AvWq6PGM/Mlw== =0CTN -----END PGP SIGNATURE----- --+l3g4Y4ANQ+hgh+q-- From owner-freebsd-arm@freebsd.org Tue Oct 8 17:21:26 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 78B0F131355 for ; Tue, 8 Oct 2019 17:21:26 +0000 (UTC) (envelope-from manu@bidouilliste.com) Received: from mail.blih.net (mail.blih.net [212.83.177.182]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mail.blih.net", Issuer "mail.blih.net" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 46nkfF2vLDz4HM3; Tue, 8 Oct 2019 17:21:24 +0000 (UTC) (envelope-from manu@bidouilliste.com) Received: from mail.blih.net (mail.blih.net [212.83.177.182]) by mail.blih.net (OpenSMTPD) with ESMTP id 205951ed; Tue, 8 Oct 2019 19:21:23 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=bidouilliste.com; h=date :from:to:cc:subject:message-id:in-reply-to:references :mime-version:content-type:content-transfer-encoding; s=mail; bh=vvYi00zHlZBkw+aFI94/BiOoRFg=; b=tsug9nu8uCnHFTOSghHHe4cr6A1d aIib5IGJ8mPE1BwNkg9sxOgOiI1HphvDJgdVLYHyKwO0pTEFxG9FAeGE0FrGUV3o +uA2SXqxGGHYTvr0qiTWodGP3NmwlyaIK40831cwHHorPsiUdIlCjNp8qjk4oKfz cU7btU6KUXfyM/Q= DomainKey-Signature: a=rsa-sha1; c=nofws; d=bidouilliste.com; h=date :from:to:cc:subject:message-id:in-reply-to:references :mime-version:content-type:content-transfer-encoding; q=dns; s= mail; b=Gd4VCJG72Qx1LZFVmzjFxOeyNwry8Az/cyQMed2pqda/kSi9HoVab8Lr F270o8LK6ouyPwGaqAHyKICjfk0cj0xZc1zx3iaiKFX6ViNmhy9sXpGH8CvJCkJq S2Dfsmzm1O/L5A3Fa4ydUNjr5byzkcz+t+2GK7Qi8O3mUSgL5Pw= Received: from skull.home.blih.net (ip-9.net-89-3-105.rev.numericable.fr [89.3.105.9]) by mail.blih.net (OpenSMTPD) with ESMTPSA id fe1c7f4e TLS version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO; Tue, 8 Oct 2019 19:21:23 +0200 (CEST) Date: Tue, 8 Oct 2019 19:21:23 +0200 From: Emmanuel Vadot To: Glen Barber Cc: Mike Karels , freebsd-arm@freebsd.org Subject: Re: FreeBSD 12.1-BETA3 won't boot on Beaglebone Black Message-Id: <20191008192123.f62ef00d8760a68cfc4006a6@bidouilliste.com> In-Reply-To: <20191008155404.GU27491@FreeBSD.org> References: <20191007093947.69ae5d772ebedfc1e1c98328@bidouilliste.com> <201910080102.x98127Jk048407@mail.karels.net> <20191008153417.GQ27491@FreeBSD.org> <20191008155404.GU27491@FreeBSD.org> X-Mailer: Sylpheed 3.7.0 (GTK+ 2.24.32; amd64-portbld-freebsd13.0) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Rspamd-Queue-Id: 46nkfF2vLDz4HM3 X-Spamd-Bar: - Authentication-Results: mx1.freebsd.org; dkim=pass header.d=bidouilliste.com header.s=mail header.b=tsug9nu8; dmarc=none; spf=pass (mx1.freebsd.org: domain of manu@bidouilliste.com designates 212.83.177.182 as permitted sender) smtp.mailfrom=manu@bidouilliste.com X-Spamd-Result: default: False [-1.49 / 15.00]; ARC_NA(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; R_DKIM_ALLOW(-0.20)[bidouilliste.com:s=mail]; NEURAL_HAM_MEDIUM(-0.97)[-0.969,0]; FROM_HAS_DN(0.00)[]; RCPT_COUNT_THREE(0.00)[3]; R_SPF_ALLOW(-0.20)[+ip4:212.83.177.182/32:c]; MV_CASE(0.50)[]; MIME_GOOD(-0.10)[text/plain]; DMARC_NA(0.00)[bidouilliste.com]; NEURAL_HAM_LONG(-0.99)[-0.995,0]; TO_DN_SOME(0.00)[]; TO_MATCH_ENVRCPT_SOME(0.00)[]; DKIM_TRACE(0.00)[bidouilliste.com:+]; RCVD_NO_TLS_LAST(0.10)[]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; IP_SCORE(0.37)[ip: (-0.73), ipnet: 212.83.160.0/19(2.48), asn: 12876(0.11), country: FR(-0.00)]; ASN(0.00)[asn:12876, ipnet:212.83.160.0/19, country:FR]; 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: Tue, 08 Oct 2019 17:21:26 -0000 On Tue, 8 Oct 2019 15:54:04 +0000 Glen Barber wrote: > On Tue, Oct 08, 2019 at 03:34:17PM +0000, Glen Barber wrote: > > On Mon, Oct 07, 2019 at 08:02:07PM -0500, Mike Karels wrote: > > > > Hi, > > > > > > > On Sun, 06 Oct 2019 10:02:32 -0500 > > > > Mike Karels wrote: > > > > > > > > [bcc to freebsd-stable; followups to freebsd-arm] > > > > > I am not subscribed to freebsd-arm, please cc me on responses. > > > > > > > > > > My Beaglebone Black does not boot FreeBSD 12.1-BETA3. It previously ran > > > > > 11.3 and 12.0 without problems. The initial boot from micro SD gets to > > > > > this point [with some preceding lines as well; note that the "support > > > > > voltages" line does not appear on 12.0]: > > > > > > > > > > sdhci_ti1: mem 0-0xfff irq 48 on ti_sysc35 > > > > > sdhci_ti1-slot0: Hardware doesn't report any support voltages. > > > > > mmc1: on sdhci_ti1 > > > > > ... > > > > > mmcsd0: 16GB at mmc0 48.0MHz/4bit/65535-block > > > > > iicbus1: on iichb1 > > > > > iic1: on iicbus1 > > > > > icee1: at addr 0xa8 on iicbus1 > > > > > icee2: at addr 0xaa on iicbus1 > > > > > icee3: at addr 0xac on iicbus1 > > > > > icee4: at addr 0xae on iicbus1 > > > > > sdhci_ti1-slot0: Bus power failed to enable > > > > > uhub0: 1 port with 1 removable, self powered > > > > > uhub1: 1 port with 1 removable, self powered > > > > > sdhci_ti1-slot0: Controller timeout > > > > > sdhci_ti1-slot0: ============== REGISTER DUMP ============== > > > > > sdhci_ti1-slot0: Sys addr: 0x00000000 | Version: 0x00003101 > > > > > sdhci_ti1-slot0: Blk size: 0x00000000 | Blk cnt: 0x00000000 > > > > > sdhci_ti1-slot0: Argument: 0x00000000 | Trn mode: 0x00000000 > > > > > sdhci_ti1-slot0: Present: 0x01f70000 | Host ctl: 0x00000000 > > > > > sdhci_ti1-slot0: Power: 0x00000000 | Blk gap: 0x00000000 > > > > > sdhci_ti1-slot0: Wake-up: 0x00000000 | Clock: 0x00008007 > > > > > sdhci_ti1-slot0: Timeout: 0x00000000 | Int stat: 0x00000000 > > > > > sdhci_ti1-slot0: Int enab: 0x017f00fb | Sig enab: 0x017f00fb > > > > > sdhci_ti1-slot0: AC12 err: 0x00000000 | Host ctl2:0x00000000 > > > > > sdhci_ti1-slot0: Caps: 0x04e10080 | Caps2: 0x00000000 > > > > > sdhci_ti1-slot0: Max curr: 0x00000000 | ADMA err: 0x00000000 > > > > > sdhci_ti1-slot0: ADMA addr:0x00000000 | Slot int: 0x00000000 > > > > > sdhci_ti1-slot0: =========================================== > > > > > > > > > > and then the timeout and dumps repeat every few seconds. > > > > > > > > > > This board cannot boot from the on-board EMMC, which seems to be at issue > > > > > here, but it can access it under FreeBSD. > > > > > > > > > > The full boot transcript follows. The "bad CRC" errors show up on 12.0 > > > > > as well. > > > > > > > > > > Mike > > > > > > > > > > > > I thought that the issue was solved but it seems that there is still > > > > some weird shit happening. Here's what's working : > > > > > > > - Booting from SDcard with eMMC formated > > > > - Booting from eMMC without an sdcard inserted > > > > - Booting from eMMC with an sdcard inserted (no sdcard-boot button > > > > press) > > > > > > > What's not working is booting from SDcard by pressing the button (to > > > > force sdcard boot). > > > > To me it's clearly some u-boot or bootrom problem > > > > but maybe I'm wrong. > > > > > > > So if you boot from the sdcard but have u-boot on the eMMC so can do : > > > > > > > 1) First confirmed that you booted off the SDCard, you should see > > > > U-Boot SPL 2019.07 (Sep 27 2019 - 15:17:40 +0000) > > > > Trying to boot from MMC1 > > > > > > > MMC1 is the sdcard while MMC2 is the eMMC > > > > > > > 2) Interrupt u-boot autoboot by pressing any key > > > > 3) Confirm that you have u-boot files on the eMMC by doing > > > > => fatls mmc 1 > > > > EFI/ > > > > 106148 MLO > > > > dtb/ > > > > 700756 u-boot.img > > > > 364264 ubldr.bin > > > > MLO is the file that we want to delete. > > > > 4) Delete MLO file > > > > => fatrm mmc 1 MLO > > > > 5) Confirm that it was deleted > > > > => fatls mmc 1 > > > > EFI/ > > > > dtb/ > > > > 700756 u-boot.img > > > > 364264 ubldr.bin > > > > > > > Power cycle the board so you can boot from 12.1 sdcard image and update > > > > your eMMC (or whatever you want to do). > > > > > > Thanks. I tried that, and the results are still the same. I verified > > > after booting 12.0 again that the eMMC's MLO is gone. The ufs filesystem > > > on the eMMC had been reused as swap for an experiment, and I restored a > > > valid filesystem just in case; unsurprisingly, that didn't matter. > > > The console output is appended again. > > > > > > Any suggestions? I see that there was a DTS fix, but I have no idea > > > if that could be related. > > > > > > > I don't recall seeing an issue so far with 12.1, but I'll double check > > that I tested the right card. In the meantime, what class is your SD > > card? I have seen issues with some SD cards on a few different SoCs > > where certain classes (i.e., 4) are too slow for some boards, and higher > > classes (i.e., 10) are too fast for others. > > > > I re-tested 12.1-BETA3 on my BeagleBone Black, and do not see any boot > failures. This is with a class 10 SD card. > > Glen > Even when using the button to force booting from sdcard ? -- Emmanuel Vadot From owner-freebsd-arm@freebsd.org Tue Oct 8 17:29:08 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 3D428131617 for ; Tue, 8 Oct 2019 17:29:08 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::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.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 46nkq80xHRz4HYd for ; Tue, 8 Oct 2019 17:29:08 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 00DFE36CC for ; Tue, 8 Oct 2019 17:29:08 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id x98HT73G025124 for ; Tue, 8 Oct 2019 17:29:07 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id x98HT7dD025123 for freebsd-arm@FreeBSD.org; Tue, 8 Oct 2019 17:29:07 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 241089] BEAGLEBONE-20191004-r353072 panics Date: Tue, 08 Oct 2019 17:29:07 +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 Only Me X-Bugzilla-Who: manu@freebsd.org X-Bugzilla-Status: Open X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: freebsd-arm@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: 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: Tue, 08 Oct 2019 17:29:08 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D241089 Emmanuel Vadot changed: What |Removed |Added ---------------------------------------------------------------------------- Status|Closed |Open Resolution|FIXED |--- --- Comment #3 from Emmanuel Vadot --- Re-opening this bug as Linux will likely won't apply my patch. TI have differents view on DTS than others. Also the real bug is that we probably don't handle the clock for mmc3 correctly. I won't work on this problem. ian@ suggested an dtb overlay auto-loading features if we have a -freebsd.dtbo where we would put things like that when they aren't accepted upstream, I'll likely more work on this. --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-arm@freebsd.org Tue Oct 8 17:36:37 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 54042131A1C for ; Tue, 8 Oct 2019 17:36:37 +0000 (UTC) (envelope-from ian@freebsd.org) Received: from outbound3d.ore.mailhop.org (outbound3d.ore.mailhop.org [54.186.57.195]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 46nkzm6cRZz4J5b for ; Tue, 8 Oct 2019 17:36:36 +0000 (UTC) (envelope-from ian@freebsd.org) ARC-Seal: i=1; a=rsa-sha256; t=1570556195; cv=none; d=outbound.mailhop.org; s=arc-outbound20181012; b=UWJPOneFSMONbD4mmsFfg61IDfx/uIUjkYYKnbm9rOaTNVSYQr1C9n4zlZxfcGb+pS1eDrmEEZ4fO Dg80KGcr9r1ol9Hstio3jiZZLX/P/TR29ZUU4KAe3/A8EDugAnqYM2vRCRSTU2T4eBf8cnWdipUVtK K/NFE9mvtKMW6DaKFGXE7IhnaBm71+2p7DUJ6DqVvNr6/g9TuafSW5cVbwRjCEXUoZVrjff3DjyhCm 06TJ42qeZhPVlg29Btw6oAZgy09D3k+iduS74zYedMbYBBJ8Y+Efx05Z2tATWNew8BOHdzdud0NAnF bENP+wr3Nl4s6zuYvbMFhqT+d7YE9jg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=outbound.mailhop.org; s=arc-outbound20181012; h=content-transfer-encoding:mime-version:content-type:references:in-reply-to: date:to:from:subject:message-id:dkim-signature:from; bh=tESPiNW1yVOTI3RLJYgQfYXXy4c59ivP67V2j1UPLnE=; b=Vhncr0znlgNTDLHi+KrjD1pcBk3s1ji2x/I04QeIJMcl4dxN1+WzLwh1dLpwTpv0e1JS0hdktVmft DzXsORAv8vvof6x28QsioVdjjRn3q875M6CyYy1z7FtED8rWYn4oJm03ht9Qbe6bir0txGr5xQ+ZGp 2/4KhuD9wGfgqBywYh2yhdhCju+J4I21xgHXK+aiBtIdOLIQ2KHEt5/687zS6aGYmFBOQWw+yPmjer Q1EqFqcJ3m+zFCzIVN95a8EdRf7AZZ8GmON9qeEtamccFrEVM53TjF6+NVuE9tLGawJBOQjKmk5DNR zRxa73wRfSUbcwNeRbNVfhQcUaBajRw== ARC-Authentication-Results: i=1; outbound3.ore.mailhop.org; spf=softfail smtp.mailfrom=freebsd.org smtp.remote-ip=67.177.211.60; dmarc=none header.from=freebsd.org; arc=none header.oldest-pass=0; DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=outbound.mailhop.org; s=dkim-high; h=content-transfer-encoding:mime-version:content-type:references:in-reply-to: date:to:from:subject:message-id:from; bh=tESPiNW1yVOTI3RLJYgQfYXXy4c59ivP67V2j1UPLnE=; b=kgFjWbb08omEA2NZ8tmrNLgFY1DTxFjL6ScOKgQwxbGDr21LkuP45WLWsm3x3hZy4orAG0SOlfqMe JnoZSbONjzNEXZxhzHSXz9n1RCEnLR09QybBxnwDGYQwFrrWUsrdYCrQbpndj9FrZo3yJ2Z6LiHM0i 76Jt8kV5pCrEx9fd/dUeNHXoqUsVTEYv99lXKDS9Bh6bSWIrMpVG6RdTcPl6E80Wr8xcKod0Cd/1K4 dTmfoKmsMUySAJgOVSDjZpGhpclc6Baz4HyIQ9cQozmK/W67AETYlagr8HkIrUZu/pwHl2CY7nIaTY uIvPephDYr3qw4jTjYasAEdoZmnMvrQ== X-MHO-RoutePath: aGlwcGll X-MHO-User: 2b16bef0-e9f2-11e9-955f-dfabc1efb494 X-Report-Abuse-To: https://support.duocircle.com/support/solutions/articles/5000540958-duocircle-standard-smtp-abuse-information X-Originating-IP: 67.177.211.60 X-Mail-Handler: DuoCircle Outbound SMTP Received: from ilsoft.org (unknown [67.177.211.60]) by outbound3.ore.mailhop.org (Halon) with ESMTPSA id 2b16bef0-e9f2-11e9-955f-dfabc1efb494; Tue, 08 Oct 2019 17:36:34 +0000 (UTC) Received: from rev (rev [172.22.42.240]) by ilsoft.org (8.15.2/8.15.2) with ESMTP id x98HaWSU083303; Tue, 8 Oct 2019 11:36:32 -0600 (MDT) (envelope-from ian@freebsd.org) Message-ID: Subject: Re: FreeBSD 12.1-BETA3 won't boot on Beaglebone Black From: Ian Lepore To: freebsd-arm@freebsd.org, Mike Karels Date: Tue, 08 Oct 2019 11:36:32 -0600 In-Reply-To: <20191008171225.GW27491@FreeBSD.org> References: <20191007093947.69ae5d772ebedfc1e1c98328@bidouilliste.com> <201910080102.x98127Jk048407@mail.karels.net> <20191008153417.GQ27491@FreeBSD.org> <20191008170405.GA18428@lonesome.com> <20191008171225.GW27491@FreeBSD.org> Content-Type: text/plain; charset="UTF-8" X-Mailer: Evolution 3.28.5 FreeBSD GNOME Team Mime-Version: 1.0 Content-Transfer-Encoding: 7bit X-Rspamd-Queue-Id: 46nkzm6cRZz4J5b X-Spamd-Bar: - Authentication-Results: mx1.freebsd.org; none X-Spamd-Result: default: False [-1.89 / 15.00]; local_wl_from(0.00)[freebsd.org]; NEURAL_HAM_MEDIUM(-0.89)[-0.887,0]; NEURAL_HAM_LONG(-1.00)[-0.999,0]; ASN(0.00)[asn:16509, ipnet:54.186.0.0/15, country:US] 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: Tue, 08 Oct 2019 17:36:37 -0000 On Tue, 2019-10-08 at 17:12 +0000, Glen Barber wrote: > On Tue, Oct 08, 2019 at 05:04:06PM +0000, Mark Linimon wrote: > > On Tue, Oct 08, 2019 at 03:34:17PM +0000, Glen Barber wrote: > > > I have seen issues with some SD cards on a few different SoCs > > > where > > > certain classes (i.e., 4) are too slow for some boards, and > > > higher > > > classes (i.e., 10) are too fast for others. > > > > ew. We should document this somewhere. The potential for users > > shooting themselves in the feet is too high. > > > > The "problem" with documenting this (or, at least me documenting it) > is > I have seen very inconsistent behavior. But if someone(tm) can > reliably > reproduce test cases with various SD card classes, yes, I agree it is > something that would be highly beneficial to have documented. > > Glen > The problem this mail thread is talking about has nothing to do with sd cards, sd card classes or anything vaguely related to that, because it's about the eMMC on the board, not sd cards. I personally believe this whole sd card classes thing is a red herring. Some cards work better than others in noisy-signal environments. That has nothing to do with card classes. I also see people blame manufacturers or brands inappropriately. When there is a reproducible problem at all, it tends to be with a specific model of card, but in my experience, even that is very rare. -- Ian From owner-freebsd-arm@freebsd.org Tue Oct 8 17:53:39 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 94B441321DF for ; Tue, 8 Oct 2019 17:53:39 +0000 (UTC) (envelope-from gjb@freebsd.org) Received: from freefall.freebsd.org (freefall.freebsd.org [96.47.72.132]) (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 "freefall.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 46nlMR3JLyz4K8x; Tue, 8 Oct 2019 17:53:39 +0000 (UTC) (envelope-from gjb@freebsd.org) Received: from FreeBSD.org (freefall.freebsd.org [IPv6:2610:1c1:1:6074::16:84]) (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by freefall.freebsd.org (Postfix) with ESMTPS id 220C6510B; Tue, 8 Oct 2019 17:53:39 +0000 (UTC) (envelope-from gjb@freebsd.org) Date: Tue, 8 Oct 2019 17:53:37 +0000 From: Glen Barber To: Emmanuel Vadot Cc: Mike Karels , freebsd-arm@freebsd.org Subject: Re: FreeBSD 12.1-BETA3 won't boot on Beaglebone Black Message-ID: <20191008175337.GX27491@FreeBSD.org> References: <20191007093947.69ae5d772ebedfc1e1c98328@bidouilliste.com> <201910080102.x98127Jk048407@mail.karels.net> <20191008153417.GQ27491@FreeBSD.org> <20191008155404.GU27491@FreeBSD.org> <20191008192123.f62ef00d8760a68cfc4006a6@bidouilliste.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="u4YTXYx8N/vaYnQM" Content-Disposition: inline In-Reply-To: <20191008192123.f62ef00d8760a68cfc4006a6@bidouilliste.com> User-Agent: Mutt/1.12.1 (2019-06-15) 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: Tue, 08 Oct 2019 17:53:39 -0000 --u4YTXYx8N/vaYnQM Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Tue, Oct 08, 2019 at 07:21:23PM +0200, Emmanuel Vadot wrote: > On Tue, 8 Oct 2019 15:54:04 +0000 > Glen Barber wrote: >=20 > > On Tue, Oct 08, 2019 at 03:34:17PM +0000, Glen Barber wrote: > > > On Mon, Oct 07, 2019 at 08:02:07PM -0500, Mike Karels wrote: > > > > > Hi, > > > >=20 > > > > > On Sun, 06 Oct 2019 10:02:32 -0500 > > > > > Mike Karels wrote: > > > >=20 > > > > > > [bcc to freebsd-stable; followups to freebsd-arm] > > > > > > I am not subscribed to freebsd-arm, please cc me on responses. > > > > > >=20 > > > > > > My Beaglebone Black does not boot FreeBSD 12.1-BETA3. It previ= ously ran > > > > > > 11.3 and 12.0 without problems. The initial boot from micro SD= gets to > > > > > > this point [with some preceding lines as well; note that the "s= upport > > > > > > voltages" line does not appear on 12.0]: > > > > > >=20 > > > > > > sdhci_ti1: mem 0-0xfff irq 48 on ti_sysc= 35 > > > > > > sdhci_ti1-slot0: Hardware doesn't report any support voltages. > > > > > > mmc1: on sdhci_ti1 > > > > > > ... > > > > > > mmcsd0: 16GB = at mmc0 48.0MHz/4bit/65535-block > > > > > > iicbus1: on iichb1 > > > > > > iic1: on iicbus1 > > > > > > icee1: at addr 0xa8 on iicbus1 > > > > > > icee2: at addr 0xaa on iicbus1 > > > > > > icee3: at addr 0xac on iicbus1 > > > > > > icee4: at addr 0xae on iicbus1 > > > > > > sdhci_ti1-slot0: Bus power failed to enable > > > > > > uhub0: 1 port with 1 removable, self powered > > > > > > uhub1: 1 port with 1 removable, self powered > > > > > > sdhci_ti1-slot0: Controller timeout > > > > > > sdhci_ti1-slot0: =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D REG= ISTER DUMP =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D > > > > > > sdhci_ti1-slot0: Sys addr: 0x00000000 | Version: 0x00003101 > > > > > > sdhci_ti1-slot0: Blk size: 0x00000000 | Blk cnt: 0x00000000 > > > > > > sdhci_ti1-slot0: Argument: 0x00000000 | Trn mode: 0x00000000 > > > > > > sdhci_ti1-slot0: Present: 0x01f70000 | Host ctl: 0x00000000 > > > > > > sdhci_ti1-slot0: Power: 0x00000000 | Blk gap: 0x00000000 > > > > > > sdhci_ti1-slot0: Wake-up: 0x00000000 | Clock: 0x00008007 > > > > > > sdhci_ti1-slot0: Timeout: 0x00000000 | Int stat: 0x00000000 > > > > > > sdhci_ti1-slot0: Int enab: 0x017f00fb | Sig enab: 0x017f00fb > > > > > > sdhci_ti1-slot0: AC12 err: 0x00000000 | Host ctl2:0x00000000 > > > > > > sdhci_ti1-slot0: Caps: 0x04e10080 | Caps2: 0x00000000 > > > > > > sdhci_ti1-slot0: Max curr: 0x00000000 | ADMA err: 0x00000000 > > > > > > sdhci_ti1-slot0: ADMA addr:0x00000000 | Slot int: 0x00000000 > > > > > > sdhci_ti1-slot0: =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D > > > > > >=20 > > > > > > and then the timeout and dumps repeat every few seconds. > > > > > >=20 > > > > > > This board cannot boot from the on-board EMMC, which seems to b= e at issue > > > > > > here, but it can access it under FreeBSD. > > > > > >=20 > > > > > > The full boot transcript follows. The "bad CRC" errors show up= on 12.0 > > > > > > as well. > > > > > >=20 > > > > > > Mike > > > > > >=20 > > > >=20 > > > > > I thought that the issue was solved but it seems that there is s= till > > > > > some weird shit happening. Here's what's working : > > > >=20 > > > > > - Booting from SDcard with eMMC formated > > > > > - Booting from eMMC without an sdcard inserted > > > > > - Booting from eMMC with an sdcard inserted (no sdcard-boot butt= on > > > > > press) > > > >=20 > > > > > What's not working is booting from SDcard by pressing the button= (to > > > > > force sdcard boot).=20 > > > > > To me it's clearly some u-boot or bootrom problem > > > > > but maybe I'm wrong.=20 > > > >=20 > > > > > So if you boot from the sdcard but have u-boot on the eMMC so can= do : > > > >=20 > > > > > 1) First confirmed that you booted off the SDCard, you should se= e=20 > > > > > U-Boot SPL 2019.07 (Sep 27 2019 - 15:17:40 +0000) > > > > > Trying to boot from MMC1 > > > >=20 > > > > > MMC1 is the sdcard while MMC2 is the eMMC > > > >=20 > > > > > 2) Interrupt u-boot autoboot by pressing any key > > > > > 3) Confirm that you have u-boot files on the eMMC by doing > > > > > =3D> fatls mmc 1 > > > > > EFI/ > > > > > 106148 MLO > > > > > dtb/ > > > > > 700756 u-boot.img > > > > > 364264 ubldr.bin > > > > > MLO is the file that we want to delete. > > > > > 4) Delete MLO file=20 > > > > > =3D> fatrm mmc 1 MLO > > > > > 5) Confirm that it was deleted > > > > > =3D> fatls mmc 1 =20 > > > > > EFI/ > > > > > dtb/ > > > > > 700756 u-boot.img > > > > > 364264 ubldr.bin > > > >=20 > > > > > Power cycle the board so you can boot from 12.1 sdcard image and= update > > > > > your eMMC (or whatever you want to do). > > > >=20 > > > > Thanks. I tried that, and the results are still the same. I verif= ied > > > > after booting 12.0 again that the eMMC's MLO is gone. The ufs file= system > > > > on the eMMC had been reused as swap for an experiment, and I restor= ed a > > > > valid filesystem just in case; unsurprisingly, that didn't matter. > > > > The console output is appended again. > > > >=20 > > > > Any suggestions? I see that there was a DTS fix, but I have no idea > > > > if that could be related. > > > >=20 > > >=20 > > > I don't recall seeing an issue so far with 12.1, but I'll double check > > > that I tested the right card. In the meantime, what class is your SD > > > card? I have seen issues with some SD cards on a few different SoCs > > > where certain classes (i.e., 4) are too slow for some boards, and hig= her > > > classes (i.e., 10) are too fast for others. > > >=20 > >=20 > > I re-tested 12.1-BETA3 on my BeagleBone Black, and do not see any boot > > failures. This is with a class 10 SD card. > >=20 > > Glen > >=20 >=20 > Even when using the button to force booting from sdcard ? >=20 Huh. Yeah, I do see 'sdhci_ti1-slot0: Controller timeout' when using the button. Glen --u4YTXYx8N/vaYnQM Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAEBCAAdFiEEjRJAPC5sqwhs9k2jAxRYpUeP4pMFAl2czR0ACgkQAxRYpUeP 4pNnwA//b1QK3Th4J8EzgOxTwRUlZiUAqCjnagMUnKUznLMK6QltTGq98cvTAjBW Lpf3Wjs7BjA+iLT9eHrnB86NMsAUtpo3Afykbhr9C3B15Pzr38tnuU6uei+xrKXE giH7da7da5JwjZZc7qBEtca2KLuQb8TNJeATyq4vISZZndRFgwGESqTVWoLUit74 3sAbN4tDUtmnt54R3KIF02puCRg798IwZkh64YD+Q88FefpImXVgGLBIfnqRauNY x0yWe8/iHI3NjfAohTrYb4lQyb8ERr9TH0u63LNB4cTal+b0aQVg4VgKvVNiPiGC /e64f1dcv0AT+Vbjc3SHjlJeKUuV/+rVB6VuRUhK69r410bRIfN3gnykzdCUR266 8XNMoUxQU7zFKGW+LWXJTDoxYGv30FQKgWca/iFo6ke7RlnGskPMmXg6GOAVyXhd biX8RbXTdvGK1Jh6W/0CwBwkWC0tAaQE28ImVQWRrIfX3wtJnBZWVtT87QF1+fV9 OSvEXtWT82TGXcIV9k6Qv9q2BxvDxfJMMvwBh0xqK6+pKVKbcz6U+tj/07M2MUMl Rs3PTYG4CaIQ5jWThYnSZsb0I9W/Sfs2qzrcT/g4BNhYbAsozkPRwvH1dBGhDs5U tpsq/OKcx+cKe5PsFh86O4nw70FkNdMx451R6/DihxjB1oeG2HQ= =S8VB -----END PGP SIGNATURE----- --u4YTXYx8N/vaYnQM-- From owner-freebsd-arm@freebsd.org Tue Oct 8 18:32:40 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 047451331CA for ; Tue, 8 Oct 2019 18:32:40 +0000 (UTC) (envelope-from ian@freebsd.org) Received: from outbound3d.ore.mailhop.org (outbound3d.ore.mailhop.org [54.186.57.195]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 46nmDR5pg8z4MhW for ; Tue, 8 Oct 2019 18:32:39 +0000 (UTC) (envelope-from ian@freebsd.org) ARC-Seal: i=1; a=rsa-sha256; t=1570559558; cv=none; d=outbound.mailhop.org; s=arc-outbound20181012; b=TKtdO8JjhXBJroym67xmnSOt1ktQOd8w4iTDMVXPrUfZWP0pPXUXevonobyd2E+LDIJF+2blRFaSe KExL/757LUjU3LB02lN4p4X43Mgm3UL8h8t1zTQrc5HIXru6/fGb3lzfJHi2TivHJgXzmnqC6wWXLL 3ZyuIhLQaEoqNzBqJVKPr6HPGtaUR0Sj3dqWgA21XwVUpZsX8Y7G3yKgjjGwy2pwcXMAUDTE5m2LbQ zDTaesPEhtEfqEWUwEDa7uN+OaQM8u4UgwjZSvQvg6qtuf0DDVcPX8yD0sH79vpTazc+97w6o5kIR+ 08qxv9X5/VfP7AzgeBKcdiNmvs8Ek2g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=outbound.mailhop.org; s=arc-outbound20181012; h=content-transfer-encoding:mime-version:content-type:references:in-reply-to: date:cc:to:from:subject:message-id:dkim-signature:from; bh=5E77HXNflTGnWJ5zmcg3B2i9X+rXMy65fQAU7dwjTKA=; b=Yc2kc8tg95BCZW6CvE8YlyED0fpSAPHIvo61LHYJUMpYB/HayfzgVcihkGaSVUXJbIG96Oa0oIHTY /SWWoFj9M8E0eZa68HfZNKC5sNeID6KXsXJti+pW3wksRvq8OhqjjR4ux3prZKsb1SjZaurCJAuCSM 9nI/km0Vwx40uc3F5t8G/OmVAjB+2CoRab6jZJDNPAVOrygZ7uyFaSUExGslnTn+dYjtVkmnCSVhcJ 0GwhsIOWnKwsYnNUmn1MACoza1BAfwS71M8DssfvXwldJgbKIGvE298uWVbKAsCg2wgIbbgeV8KMl3 f/nHsp0of4C835kXY2Gia4IynU2/HUA== ARC-Authentication-Results: i=1; outbound3.ore.mailhop.org; spf=softfail smtp.mailfrom=freebsd.org smtp.remote-ip=67.177.211.60; dmarc=none header.from=freebsd.org; arc=none header.oldest-pass=0; DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=outbound.mailhop.org; s=dkim-high; h=content-transfer-encoding:mime-version:content-type:references:in-reply-to: date:cc:to:from:subject:message-id:from; bh=5E77HXNflTGnWJ5zmcg3B2i9X+rXMy65fQAU7dwjTKA=; b=OfTnhUMH7o0Krs+KhALRwfysp+Pj3DAmZ2ipIRQk8Z1WydDoS6B7jas3FZGq0zaRj0Yqhl83oemGP dSdyUkqydGlREKHCqnaiOT3hWjSogXlSVePCYg58WN8g3VeyKqaDSp6yLkXPe1mIB8lprHS4WZDmQ4 U1oIPMuFHwmlRF/+X4Tx5tXKoYTi5j+itPoPaFlrYlpkxAHWG2FPwkleZwxV7F1BJ35u/pC3qty7jv 3gaDtFSsDRt35ZVTVQQY1dmJWe0mXHsqcF2ueSfRGD8fAbKD4l2zXgEmhdwhqUNxewAu3nSuxsa2D0 zELFR02hLWbpfaW+zVUEaiEylfB5WrQ== X-MHO-RoutePath: aGlwcGll X-MHO-User: fd58c0c1-e9f9-11e9-955f-dfabc1efb494 X-Report-Abuse-To: https://support.duocircle.com/support/solutions/articles/5000540958-duocircle-standard-smtp-abuse-information X-Originating-IP: 67.177.211.60 X-Mail-Handler: DuoCircle Outbound SMTP Received: from ilsoft.org (unknown [67.177.211.60]) by outbound3.ore.mailhop.org (Halon) with ESMTPSA id fd58c0c1-e9f9-11e9-955f-dfabc1efb494; Tue, 08 Oct 2019 18:32:37 +0000 (UTC) Received: from rev (rev [172.22.42.240]) by ilsoft.org (8.15.2/8.15.2) with ESMTP id x98IWUSl083483; Tue, 8 Oct 2019 12:32:30 -0600 (MDT) (envelope-from ian@freebsd.org) Message-ID: Subject: Re: FreeBSD 12.1-BETA3 won't boot on Beaglebone Black From: Ian Lepore To: Glen Barber , Emmanuel Vadot Cc: freebsd-arm@freebsd.org, Mike Karels Date: Tue, 08 Oct 2019 12:32:30 -0600 In-Reply-To: <20191008175337.GX27491@FreeBSD.org> References: <20191007093947.69ae5d772ebedfc1e1c98328@bidouilliste.com> <201910080102.x98127Jk048407@mail.karels.net> <20191008153417.GQ27491@FreeBSD.org> <20191008155404.GU27491@FreeBSD.org> <20191008192123.f62ef00d8760a68cfc4006a6@bidouilliste.com> <20191008175337.GX27491@FreeBSD.org> Content-Type: text/plain; charset="UTF-8" X-Mailer: Evolution 3.28.5 FreeBSD GNOME Team Mime-Version: 1.0 Content-Transfer-Encoding: 7bit X-Rspamd-Queue-Id: 46nmDR5pg8z4MhW X-Spamd-Bar: - Authentication-Results: mx1.freebsd.org; none X-Spamd-Result: default: False [-1.94 / 15.00]; local_wl_from(0.00)[freebsd.org]; NEURAL_HAM_MEDIUM(-0.94)[-0.944,0]; NEURAL_HAM_LONG(-1.00)[-0.999,0]; ASN(0.00)[asn:16509, ipnet:54.186.0.0/15, country:US] 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: Tue, 08 Oct 2019 18:32:40 -0000 On Tue, 2019-10-08 at 17:53 +0000, Glen Barber wrote: > On Tue, Oct 08, 2019 at 07:21:23PM +0200, Emmanuel Vadot wrote: > > On Tue, 8 Oct 2019 15:54:04 +0000 > > Glen Barber wrote: > > > > > On Tue, Oct 08, 2019 at 03:34:17PM +0000, Glen Barber wrote: > > > > On Mon, Oct 07, 2019 at 08:02:07PM -0500, Mike Karels wrote: > > > > > > Hi, > > > > > > On Sun, 06 Oct 2019 10:02:32 -0500 > > > > > > Mike Karels wrote: > > > > > > > [bcc to freebsd-stable; followups to freebsd-arm] > > > > > > > I am not subscribed to freebsd-arm, please cc me on > > > > > > > responses. > > > > > > > > > > > > > > My Beaglebone Black does not boot FreeBSD 12.1-BETA3. It > > > > > > > previously ran > > > > > > > 11.3 and 12.0 without problems. The initial boot from > > > > > > > micro SD gets to > > > > > > > this point [with some preceding lines as well; note that > > > > > > > the "support > > > > > > > voltages" line does not appear on 12.0]: > > > > > > > > > > > > > > sdhci_ti1: mem 0-0xfff irq 48 on > > > > > > > ti_sysc35 > > > > > > > sdhci_ti1-slot0: Hardware doesn't report any support > > > > > > > voltages. > > > > > > > mmc1: on sdhci_ti1 > > > > > > > ... > > > > > > > mmcsd0: 16GB > > > > > > 116 J`> at mmc0 48.0MHz/4bit/65535-block > > > > > > > iicbus1: on iichb1 > > > > > > > iic1: on iicbus1 > > > > > > > icee1: at addr 0xa8 on iicbus1 > > > > > > > icee2: at addr 0xaa on iicbus1 > > > > > > > icee3: at addr 0xac on iicbus1 > > > > > > > icee4: at addr 0xae on iicbus1 > > > > > > > sdhci_ti1-slot0: Bus power failed to enable > > > > > > > uhub0: 1 port with 1 removable, self powered > > > > > > > uhub1: 1 port with 1 removable, self powered > > > > > > > sdhci_ti1-slot0: Controller timeout > > > > > > > sdhci_ti1-slot0: ============== REGISTER DUMP > > > > > > > ============== > > > > > > > sdhci_ti1-slot0: Sys addr: 0x00000000 | > > > > > > > Version: 0x00003101 > > > > > > > sdhci_ti1-slot0: Blk size: 0x00000000 | Blk > > > > > > > cnt: 0x00000000 > > > > > > > sdhci_ti1-slot0: Argument: 0x00000000 | Trn mode: > > > > > > > 0x00000000 > > > > > > > sdhci_ti1-slot0: Present: 0x01f70000 | Host ctl: > > > > > > > 0x00000000 > > > > > > > sdhci_ti1-slot0: Power: 0x00000000 | Blk > > > > > > > gap: 0x00000000 > > > > > > > sdhci_ti1-slot0: Wake-up: 0x00000000 | > > > > > > > Clock: 0x00008007 > > > > > > > sdhci_ti1-slot0: Timeout: 0x00000000 | Int stat: > > > > > > > 0x00000000 > > > > > > > sdhci_ti1-slot0: Int enab: 0x017f00fb | Sig enab: > > > > > > > 0x017f00fb > > > > > > > sdhci_ti1-slot0: AC12 err: 0x00000000 | Host > > > > > > > ctl2:0x00000000 > > > > > > > sdhci_ti1-slot0: Caps: 0x04e10080 | > > > > > > > Caps2: 0x00000000 > > > > > > > sdhci_ti1-slot0: Max curr: 0x00000000 | ADMA err: > > > > > > > 0x00000000 > > > > > > > sdhci_ti1-slot0: ADMA addr:0x00000000 | Slot int: > > > > > > > 0x00000000 > > > > > > > sdhci_ti1-slot0: > > > > > > > =========================================== > > > > > > > > > > > > > > and then the timeout and dumps repeat every few seconds. > > > > > > > > > > > > > > This board cannot boot from the on-board EMMC, which > > > > > > > seems to be at issue > > > > > > > here, but it can access it under FreeBSD. > > > > > > > > > > > > > > The full boot transcript follows. The "bad CRC" errors > > > > > > > show up on 12.0 > > > > > > > as well. > > > > > > > > > > > > > > Mike > > > > > > > > > > > > > I thought that the issue was solved but it seems that > > > > > > there is still > > > > > > some weird shit happening. Here's what's working : > > > > > > - Booting from SDcard with eMMC formated > > > > > > - Booting from eMMC without an sdcard inserted > > > > > > - Booting from eMMC with an sdcard inserted (no sdcard- > > > > > > boot button > > > > > > press) > > > > > > What's not working is booting from SDcard by pressing the > > > > > > button (to > > > > > > force sdcard boot). > > > > > > To me it's clearly some u-boot or bootrom problem > > > > > > but maybe I'm wrong. > > > > > > So if you boot from the sdcard but have u-boot on the eMMC > > > > > > so can do : > > > > > > 1) First confirmed that you booted off the SDCard, you > > > > > > should see > > > > > > U-Boot SPL 2019.07 (Sep 27 2019 - 15:17:40 +0000) > > > > > > Trying to boot from MMC1 > > > > > > MMC1 is the sdcard while MMC2 is the eMMC > > > > > > 2) Interrupt u-boot autoboot by pressing any key > > > > > > 3) Confirm that you have u-boot files on the eMMC by doing > > > > > > => fatls mmc 1 > > > > > > EFI/ > > > > > > 106148 MLO > > > > > > dtb/ > > > > > > 700756 u-boot.img > > > > > > 364264 ubldr.bin > > > > > > MLO is the file that we want to delete. > > > > > > 4) Delete MLO file > > > > > > => fatrm mmc 1 MLO > > > > > > 5) Confirm that it was deleted > > > > > > => fatls mmc 1 > > > > > > EFI/ > > > > > > dtb/ > > > > > > 700756 u-boot.img > > > > > > 364264 ubldr.bin > > > > > > Power cycle the board so you can boot from 12.1 sdcard > > > > > > image and update > > > > > > your eMMC (or whatever you want to do). > > > > > > > > > > Thanks. I tried that, and the results are still the same. I > > > > > verified > > > > > after booting 12.0 again that the eMMC's MLO is gone. The > > > > > ufs filesystem > > > > > on the eMMC had been reused as swap for an experiment, and I > > > > > restored a > > > > > valid filesystem just in case; unsurprisingly, that didn't > > > > > matter. > > > > > The console output is appended again. > > > > > > > > > > Any suggestions? I see that there was a DTS fix, but I have > > > > > no idea > > > > > if that could be related. > > > > > > > > > > > > > I don't recall seeing an issue so far with 12.1, but I'll > > > > double check > > > > that I tested the right card. In the meantime, what class is > > > > your SD > > > > card? I have seen issues with some SD cards on a few different > > > > SoCs > > > > where certain classes (i.e., 4) are too slow for some boards, > > > > and higher > > > > classes (i.e., 10) are too fast for others. > > > > > > > > > > I re-tested 12.1-BETA3 on my BeagleBone Black, and do not see any > > > boot > > > failures. This is with a class 10 SD card. > > > > > > Glen > > > > > > > Even when using the button to force booting from sdcard ? > > > > Huh. Yeah, I do see 'sdhci_ti1-slot0: Controller timeout' when using > the button. > > Glen > BTW, those controller timeouts are non-fatal. If you let it keep trying, eventually the board finishes booting (it takes over 2 minutes). But you can't access the emmc. If you want a workaround for faster booting until the problem is fixed, add dev.sdhci_ti.1.timeout=1 to /boot/loader.conf. -- Ian From owner-freebsd-arm@freebsd.org Wed Oct 9 00:18:29 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 C350813B69E for ; Wed, 9 Oct 2019 00:18:29 +0000 (UTC) (envelope-from mike@karels.net) Received: from mail.karels.net (mail.karels.net [216.160.39.52]) by mx1.freebsd.org (Postfix) with ESMTP id 46nvvS5HMpz3DL6; Wed, 9 Oct 2019 00:18:28 +0000 (UTC) (envelope-from mike@karels.net) Received: from mail.karels.net (localhost [127.0.0.1]) by mail.karels.net (8.15.2/8.15.2) with ESMTP id x990IPAK053189; Tue, 8 Oct 2019 19:18:25 -0500 (CDT) (envelope-from mike@karels.net) Message-Id: <201910090018.x990IPAK053189@mail.karels.net> To: Ian Lepore cc: Glen Barber , Emmanuel Vadot , freebsd-arm@freebsd.org From: Mike Karels Reply-to: mike@karels.net Subject: Re: FreeBSD 12.1-BETA3 won't boot on Beaglebone Black In-reply-to: Your message of Tue, 08 Oct 2019 12:32:30 -0600. MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <53187.1570580305.1@mail.karels.net> Date: Tue, 08 Oct 2019 19:18:25 -0500 X-Rspamd-Queue-Id: 46nvvS5HMpz3DL6 X-Spamd-Bar: --- Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=pass (mx1.freebsd.org: domain of mike@karels.net designates 216.160.39.52 as permitted sender) smtp.mailfrom=mike@karels.net X-Spamd-Result: default: False [-3.61 / 15.00]; ARC_NA(0.00)[]; HAS_REPLYTO(0.00)[mike@karels.net]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; RCPT_COUNT_THREE(0.00)[4]; TO_DN_SOME(0.00)[]; R_SPF_ALLOW(-0.20)[+ip4:216.160.39.52]; FROM_HAS_DN(0.00)[]; MIME_GOOD(-0.10)[text/plain]; DMARC_NA(0.00)[karels.net]; REPLYTO_ADDR_EQ_FROM(0.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; TO_MATCH_ENVRCPT_SOME(0.00)[]; IP_SCORE(-1.41)[ip: (-4.98), ipnet: 216.160.0.0/15(-1.96), asn: 209(-0.07), country: US(-0.05)]; RCVD_NO_TLS_LAST(0.10)[]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:209, ipnet:216.160.0.0/15, country:US]; 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: Wed, 09 Oct 2019 00:18:29 -0000 I trimmed most of the context, the quoting was getting rather deep. Responding to multiple messages... > > > > I re-tested 12.1-BETA3 on my BeagleBone Black, and do not see any > > > > boot > > > > failures. This is with a class 10 SD card. > > > > > > > > Glen > > > > > > > > > > Even when using the button to force booting from sdcard ? > > > > > > > Huh. Yeah, I do see 'sdhci_ti1-slot0: Controller timeout' when using > > the button. > > > > Glen > > > BTW, those controller timeouts are non-fatal. If you let it keep > trying, eventually the board finishes booting (it takes over 2 > minutes). But you can't access the emmc. If you want a workaround for > faster booting until the problem is fixed, add dev.sdhci_ti.1.timeout=1 > to /boot/loader.conf. > -- Ian - I have tried multiple SD cards, and they boot other releases; as noted, they are not the problem. - I hadn't waited long enough / for enough repeats of the timeout. Looks like it takes 16 failures, but it does in fact boot. It then prints mmc1: No compatible cards found on bus and there is no mmcsd1 in /dev. - Setting the timeout to 1 makes booting tolerable. I'll keep BETA3 running now. Thanks, Mike From owner-freebsd-arm@freebsd.org Wed Oct 9 09:22:12 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 2D548146585 for ; Wed, 9 Oct 2019 09:22:12 +0000 (UTC) (envelope-from yamori813@yahoo.co.jp) Received: from nh602-vm9.bullet.mail.ssk.yahoo.co.jp (nh602-vm9.bullet.mail.ssk.yahoo.co.jp [182.22.90.34]) by mx1.freebsd.org (Postfix) with SMTP id 46p7ym5rgzz49J9 for ; Wed, 9 Oct 2019 09:22:08 +0000 (UTC) (envelope-from yamori813@yahoo.co.jp) Received: from [182.22.66.105] by nh602.bullet.mail.ssk.yahoo.co.jp with NNFMP; 09 Oct 2019 09:22:03 -0000 Received: from [182.22.91.206] by t603.bullet.mail.ssk.yahoo.co.jp with NNFMP; 09 Oct 2019 09:22:03 -0000 Received: from [127.0.0.1] by omp609.mail.ssk.yahoo.co.jp with NNFMP; 09 Oct 2019 09:22:03 -0000 X-Yahoo-Newman-Property: ymail-3 X-Yahoo-Newman-Id: 101207.75100.bm@omp609.mail.ssk.yahoo.co.jp X-YMail-OSG: qUDUeXMVM1maDrcI7WegI5sEE0pyHwDja3nOx6qbAoMZKPDR9JCI1hmUzaFjeqy E.C0BSqZ7vXQ2lA69h2dZdg7dzSKzsWznkbXPTdRH7AeGUdnB1rbkcyRnGXysDDK.tKIUriAaCew a7bBBry5bDF2zFsjVMn7i5lAhWJacpxmY1eST_h8_jB61ClpxQZwFdwnx6bC6OyrO2h6_MVMCSPG F_mMi9EiEapqSpXEjTZ2VGxWgtVKKQjArLBR6_eiBib1mViy8FpgA02jMRAE1769_3i5RCvzZwRx OFlQ1LXGtV19v0e2.O9bxL3cFPQg2xPL4Xyu3cNtOKuz.PfK0hEB.sAysvAwydRdlhutkWtvokcN yeNfRHdWi02QcMjA1Rpt7LqZ3mthMO_HIEd982jQ6.J7gCLA6kH3T6s2anWIL.5HG0R.7TkgtE4A qLEZPaff8fC_nCoTzZV7tYyxezcfoYKhrXpiNN4ADZhkdlG6tnlcLrmBLyGuuoIVlrbeZ7vTv4vv 0tlUzC8tRLbdljjf5HeUOFyWHZM883lW5Zb6SaYoa1EtviOXdlSGi6qMaRkWKmGw__TW4OPz8vA4 xz1CPG_tbRl4AIw86ufU9tb.7YVgHurYQsedjK2keMKKOgPLo1h0RALscYuBONgx6GNzQ7igGrsa ATwDTMqEG2FX8KJcocL9ptp1mdBMQKg8vstKulXb3rA-- Received: from jws701102.mail.ssk.yahoo.co.jp by sendmailws606.mail.ssk.yahoo.co.jp; Wed, 09 Oct 2019 18:22:02 +0000; 1570612922.602 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; t=1570612923; s=yj20110701; d=yahoo.co.jp; h=Date:From:Reply-To:To:Message-ID:Subject:MIME-Version:Content-Type:Content-Transfer-Encoding:References; bh=zJBFLoQDbExLtW+i/a+6S9XKH9fuDdXV60p2ZWhnZss=; b=BmWaz/bBJXIdGpFRGgriL3KWnwTEgyLP9hudbEQ1sKXia5stGbB7Nsj5FuFizNSt Yi7tNl2TP7/hjgT9s2YH4BX/i2PiytjKTZ+HK2rZIdQ0XbO9GSg3SHqYHxtrY6e7zUh WW/kISzLgMeMSm56biulSKhZ29vThYro5HNjw24g= DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=yj20110701; d=yahoo.co.jp; h=Date:From:Reply-To:Message-ID:MIME-Version:Content-Type:Content-Transfer-Encoding:References; b=LLhF18vkDgkJqPkOmXILqtf30cW5ftgV+9eHXav7Z2oUir81OyvL5UdB/RyQukPX LeGZtOsIhOyXAtuK/FCRvwWu/tBWqccJgb66Kc0sF72KGiJPCEupEg88XW7xe0nclXc MVnzmvF9GEN22lE/Jtsjxn8SFb96FndSEEvD4pAQ=; Date: Wed, 9 Oct 2019 18:22:01 +0900 (JST) From: Mori Hiroki Reply-To: Mori Hiroki To: "freebsd-arm@freebsd.org" Message-ID: <256784304.3333098.1570612921981.JavaMail.yahoo@jws701102.mail.ssk.yahoo.co.jp> Subject: arm1136 support on CURRENT MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable References: <256784304.3333098.1570612921981.JavaMail.yahoo.ref@jws701102.mail.ssk.yahoo.co.jp> X-Rspamd-Queue-Id: 46p7ym5rgzz49J9 X-Spamd-Bar: -- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=yahoo.co.jp header.s=yj20110701 header.b=BmWaz/bB; dmarc=pass (policy=none) header.from=yahoo.co.jp; spf=pass (mx1.freebsd.org: domain of yamori813@yahoo.co.jp designates 182.22.90.34 as permitted sender) smtp.mailfrom=yamori813@yahoo.co.jp X-Spamd-Result: default: False [-2.09 / 15.00]; HAS_REPLYTO(0.00)[yamori813@yahoo.co.jp]; R_SPF_ALLOW(-0.20)[+ip4:182.22.90.0/23]; FREEMAIL_FROM(0.00)[yahoo.co.jp]; DKIM_TRACE(0.00)[yahoo.co.jp:+]; DMARC_POLICY_ALLOW(-0.50)[yahoo.co.jp,none]; RCVD_NO_TLS_LAST(0.10)[]; FROM_EQ_ENVFROM(0.00)[]; IP_SCORE(0.00)[ip: (6.48), ipnet: 182.22.0.0/17(1.41), asn: 23816(1.13), country: JP(-0.01)]; FREEMAIL_ENVFROM(0.00)[yahoo.co.jp]; ASN(0.00)[asn:23816, ipnet:182.22.0.0/17, country:JP]; MIME_TRACE(0.00)[0:+]; DWL_DNSWL_NONE(0.00)[yahoo.co.jp.dwl.dnswl.org : 127.0.5.0]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-0.26)[-0.258,0]; R_DKIM_ALLOW(-0.20)[yahoo.co.jp:s=yj20110701]; RCVD_COUNT_FIVE(0.00)[5]; FROM_HAS_DN(0.00)[]; REPLYTO_EQ_FROM(0.00)[]; NEURAL_HAM_LONG(-0.93)[-0.929,0]; MIME_GOOD(-0.10)[text/plain]; FREEMAIL_REPLYTO(0.00)[yahoo.co.jp]; IP_SCORE_FREEMAIL(0.00)[]; RCPT_COUNT_ONE(0.00)[1]; TO_MATCH_ENVRCPT_ALL(0.00)[]; RCVD_IN_DNSWL_NONE(0.00)[34.90.22.182.list.dnswl.org : 127.0.5.0]; TO_DN_EQ_ADDR_ALL(0.00)[]; RWL_MAILSPIKE_POSSIBLE(0.00)[34.90.22.182.rep.mailspike.net : 127.0.0.17] 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, 09 Oct 2019 09:22:12 -0000 Hi I try to Mindspeed=C2=A0Comcerto 1000 on CURRENT. Comcerto 1000 is arm1136. I write timer and pic code in kernel. http://dmesgd.nycbug.org/index.cgi?do=3Dview&id=3D5136 Now single user sh is crash. arm.armv6 clang default is 1176. But I want comple on 1136. How to comple on 1136 on arm.armv6 ? Regards Hiroki Mori From owner-freebsd-arm@freebsd.org Wed Oct 9 12:02:18 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 C161414A61E for ; Wed, 9 Oct 2019 12:02:18 +0000 (UTC) (envelope-from s199p.wa1k9r@gmail.com) Received: from mail-lj1-x244.google.com (mail-lj1-x244.google.com [IPv6:2a00:1450:4864:20::244]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1O1" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 46pCWY518sz4LP4 for ; Wed, 9 Oct 2019 12:02:17 +0000 (UTC) (envelope-from s199p.wa1k9r@gmail.com) Received: by mail-lj1-x244.google.com with SMTP id f5so2190678ljg.8 for ; Wed, 09 Oct 2019 05:02:17 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:from:date:message-id:subject:to; bh=eQgSBlOSO7nRd2NBdMvdegeyolmQgLR7YW0p9C1NyBM=; b=GaWS7Q+euHLTww1l5Jvi7JFu3AdUYYVln8ujeMSnmioZL+fjUDfHxYOP8BTN1C5RCB B3yPmZ7MiEht7VFdMAx95fHJwQQUFAik5j8aRrYdzJ6VGOfcMnB9Wv7lNLkQY+ANs4n0 UmLPf7S8MjWWcCy7VGfgETF4aCsynXHwvKxSwr33RMDd0VVAgWA46T17MQaks2RUE8I8 wXPqY8uf8fdeprRkVE3obb6ouWe0bhkG37/ed4pcPwcUVtrJ7WkUxdz1cJeuJ9/mTYzv 6bP3flH8pz6o+cGrxrsT8wlhhwup4Y0QeTvZ+CDMxJHkPHWzcr/1KeCZ4ytVnOf1jWDG 4wiA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=eQgSBlOSO7nRd2NBdMvdegeyolmQgLR7YW0p9C1NyBM=; b=cwL3dZc3ajew+z4rqZOYi0VgeYr3kiI1l8b77pTSCJsXkfhKfSUTtwdoZVYxDPv+Tv ZsB9a5AyhHKe7LrC3lvQcLXBZhtGHuW7jleg+C9Ek1/bl5iWE37Ow4UjbVJ2Q2qQ4HRS YRFR2lIy3LVZjfR1sZ+gcuxqmOcS5NvJ0HqVJS5bQ48dL3PrXITk1p5YYJGXi03TNPj4 C/vFeM5az+9RpeVH21UiGZcQG9k9Trt3SpNtoTqo8T8mQhjSnb0ad95VVYxdIBheBhHy L/3ZKHg5Wp2opv/bYQcoaa+XDtCXYFr1irsQ2Hplde0sJExzWL3mJ+A00RXSvYYIYgOg B/Zw== X-Gm-Message-State: APjAAAVlEvKirJUf1s+XywD+0GezrQRtYUrF0i0rvQrtS2seaVdeVZNz D+FswJsmB7w2GFwdkzqiC24qzyjC38qyDacBgLfsj4D2 X-Google-Smtp-Source: APXvYqzvC0Rs9A2wQ5lZp/c08BaPXP6BPbTwWR0Co+0RKoE9DS/MChVX7IYso86PEz1vFKjOn8UNJ2TW19wRU3+aeuc= X-Received: by 2002:a2e:207:: with SMTP id 7mr2060245ljc.198.1570622535343; Wed, 09 Oct 2019 05:02:15 -0700 (PDT) MIME-Version: 1.0 From: Sleep Walker Date: Wed, 9 Oct 2019 15:02:04 +0300 Message-ID: Subject: FreeBSD 13-CURRENT on Khadas-EDGE-V RK3399 To: freebsd-arm@freebsd.org X-Rspamd-Queue-Id: 46pCWY518sz4LP4 X-Spamd-Bar: - Authentication-Results: mx1.freebsd.org; dkim=pass header.d=gmail.com header.s=20161025 header.b=GaWS7Q+e; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (mx1.freebsd.org: domain of s199pwa1k9r@gmail.com designates 2a00:1450:4864:20::244 as permitted sender) smtp.mailfrom=s199pwa1k9r@gmail.com X-Spamd-Result: default: False [-2.00 / 15.00]; R_SPF_ALLOW(-0.20)[+ip6:2a00:1450:4000::/36]; FREEMAIL_FROM(0.00)[gmail.com]; TO_DN_NONE(0.00)[]; URI_COUNT_ODD(1.00)[3]; DKIM_TRACE(0.00)[gmail.com:+]; DMARC_POLICY_ALLOW(-0.50)[gmail.com,none]; FROM_EQ_ENVFROM(0.00)[]; IP_SCORE(0.00)[ip: (3.14), ipnet: 2a00:1450::/32(-2.88), asn: 15169(-2.14), country: US(-0.05)]; MIME_TRACE(0.00)[0:+,1:+,2:~]; FREEMAIL_ENVFROM(0.00)[gmail.com]; ASN(0.00)[asn:15169, ipnet:2a00:1450::/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(-1.00)[-0.998,0]; R_DKIM_ALLOW(-0.20)[gmail.com:s=20161025]; FROM_HAS_DN(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-arm@freebsd.org]; IP_SCORE_FREEMAIL(0.00)[]; RCPT_COUNT_ONE(0.00)[1]; RCVD_IN_DNSWL_NONE(0.00)[4.4.2.0.0.0.0.0.0.0.0.0.0.0.0.0.0.2.0.0.4.6.8.4.0.5.4.1.0.0.a.2.list.dnswl.org : 127.0.5.0]; RCVD_COUNT_TWO(0.00)[2]; RCVD_TLS_ALL(0.00)[] 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: Wed, 09 Oct 2019 12:02:18 -0000 Hi ! I try to load FreeBSD 13-CURRENT on Khadas-EDGE-V RK3399 https://dmesgd.nycbug.org/index.cgi?do=view&id=5138 The output stops at a function call rk3399_clk_pll_register. Any ideas, what could be the problem? Regards Sergey Tyuryukanv From owner-freebsd-arm@freebsd.org Wed Oct 9 12:11:11 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 5057914A90E for ; Wed, 9 Oct 2019 12:11:11 +0000 (UTC) (envelope-from s199p.wa1k9r@gmail.com) Received: from mail-lf1-x143.google.com (mail-lf1-x143.google.com [IPv6:2a00:1450:4864:20::143]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1O1" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 46pCjp4QGzz4LnD for ; Wed, 9 Oct 2019 12:11:10 +0000 (UTC) (envelope-from s199p.wa1k9r@gmail.com) Received: by mail-lf1-x143.google.com with SMTP id d17so1465219lfa.7 for ; Wed, 09 Oct 2019 05:11:10 -0700 (PDT) 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 :cc; bh=B5sNIwcSe2bQIaqTIBvAKgfJhs3BKkiH1B9QoUKiwK0=; b=GpZZqJfBi0OE7SaWNfNm+vDXDBLNX58lavQqmUfyfXV96aV9fkSSEbHm4EJyO5qWqP VR7dmeTWU7zYcq43GMFzTSahLaZPjiiurEw0prSbP+dHWoYrAWLlrQy4wAY/+c2ZKO74 o/u30q53FD9h3Sr4eO9vV0OfZiZMoNo3FJCcl23HvZ/9Vt6BS1dd5qdU1ZjhsEfqD6za Ja6xqScYpcwFFzXoqqzoF+MCZjw5SF8hVxhvSWBGq4lZY8o3O8L3/a2KHcueyciF+s7m RyqnkkxFbGivlj8rvyuSKp3NW2RAgRkcTrZhkOpTBkvPxCyZLbvfBGcyHjsk8SHBTWo9 c13A== 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:cc; bh=B5sNIwcSe2bQIaqTIBvAKgfJhs3BKkiH1B9QoUKiwK0=; b=FdCfGgqg14aZWx9xO8s2nkbEHbmqGAy5VBtMeF6KaMDufYBvxuUTHBF2MGvzynZGw+ xMrhVIITVblbrnEZ69AV/U8I1e//BneXtAQLRb3zg19wnh465yidvo1gU6567CNqhqi1 24XbALDxB5k+tNAvk2SBLSmwetoaVkqJJFgA3Irlc5Qs+TKMhO64BrpSEGf4XLM7Tb1N oI8KbfHn3cDPl0Mq/dlRw0iF20orUpcn1AdN/xoSOKVoGv6PS+xDeUa1E55NQ1W6NeY+ KIvu5QSINcDlwwzlXXGa9hNoOQUBtQShpa/nwJv7rEqbhautZSO+2Z5CScUZbLpHOUd9 rgfw== X-Gm-Message-State: APjAAAXQ+9UExVH+rfHzCHcE+JDpED4qENDISZDzgWeObMArB9egzBqx gKYCBa5JaKXhNVLWzPtPv7M8NNkAX27FKxIXNPsUZw== X-Google-Smtp-Source: APXvYqxNwrF8NvS8zo3YtczB96c8Ih0rT0idA6I9JtQdIAsUKFQFDlKZ4J4eBsWaLGeNjl408G/zrMwj4F+sIqHRZNM= X-Received: by 2002:ac2:533c:: with SMTP id f28mr1943089lfh.0.1570623068955; Wed, 09 Oct 2019 05:11:08 -0700 (PDT) MIME-Version: 1.0 References: <32AFF04E-1068-45C5-A7A5-A7797ACCE193@mko.io> In-Reply-To: <32AFF04E-1068-45C5-A7A5-A7797ACCE193@mko.io> From: Sleep Walker Date: Wed, 9 Oct 2019 15:10:57 +0300 Message-ID: Subject: Re: FreeBSD 13-CURRENT on Khadas-EDGE-V RK3399 To: mko Cc: freebsd-arm@freebsd.org X-Rspamd-Queue-Id: 46pCjp4QGzz4LnD X-Spamd-Bar: -- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=gmail.com header.s=20161025 header.b=GpZZqJfB; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (mx1.freebsd.org: domain of s199pwa1k9r@gmail.com designates 2a00:1450:4864:20::143 as permitted sender) smtp.mailfrom=s199pwa1k9r@gmail.com X-Spamd-Result: default: False [-3.00 / 15.00]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; R_DKIM_ALLOW(-0.20)[gmail.com:s=20161025]; FROM_HAS_DN(0.00)[]; TO_DN_SOME(0.00)[]; R_SPF_ALLOW(-0.20)[+ip6:2a00:1450:4000::/36]; FREEMAIL_FROM(0.00)[gmail.com]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-arm@freebsd.org]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; RCVD_COUNT_TWO(0.00)[2]; IP_SCORE_FREEMAIL(0.00)[]; TO_MATCH_ENVRCPT_SOME(0.00)[]; DKIM_TRACE(0.00)[gmail.com:+]; RCPT_COUNT_TWO(0.00)[2]; RCVD_IN_DNSWL_NONE(0.00)[3.4.1.0.0.0.0.0.0.0.0.0.0.0.0.0.0.2.0.0.4.6.8.4.0.5.4.1.0.0.a.2.list.dnswl.org : 127.0.5.0]; DMARC_POLICY_ALLOW(-0.50)[gmail.com,none]; IP_SCORE(0.00)[ip: (2.87), ipnet: 2a00:1450::/32(-2.88), asn: 15169(-2.14), country: US(-0.05)]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+,1:+,2:~]; FREEMAIL_ENVFROM(0.00)[gmail.com]; ASN(0.00)[asn:15169, ipnet:2a00:1450::/32, country:US]; TAGGED_FROM(0.00)[]; RCVD_TLS_ALL(0.00)[]; DWL_DNSWL_NONE(0.00)[gmail.com.dwl.dnswl.org : 127.0.5.0] Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable 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: Wed, 09 Oct 2019 12:11:11 -0000 Hi mko. U-boot work fine U-Boot TPL 2019.10-rc3 (Sep 26 2019 - 12:14:50) Trying to boot from BOOTROM Returning to boot ROM... U-Boot SPL 2019.10-rc3 (Sep 26 2019 - 12:14:50 +0300) Trying to boot from MMC1 U-Boot 2019.10-rc3 (Sep 26 2019 - 12:14:50 +0300) Reading loader env vars from /efi/freebsd/loader.env Setting currdev to disk0p2: FreeBSD/arm64 EFI loader, Revision 1.1 (Tu Oct 8 21:18:57 MSK 2019 ro t@dev.kubsu.ru) Command line arguments: loader.efi EFI versio : 2.80 Fi mware: Das U-Boot (rev 8217.4096) Console: efi (0) L ad D vice: /VenHw(e61d73b9-a384-4acc-aeab-82e828f3628b)/SD(1)/SD(1)/HD(2,0x 01,0,0x8c00,0x233400) Trying ESP: /VenHw(e61d73b9-a384-4acc-aeab-82e828f3628b)/SD(1)/SD(1)/HD(2,0x01,0 ,0x8c00,0x233400) Setting currdev to disk0p2: Load /boot/default /loader.conf Kernel and Modu es (Ctrl-C to Abort) .................................................................... /boot/kernel/kernel text=3D0x89fb64 data=3D0x17b3a0+0x777f44 syms=3D[0x8+0x121398+0x8+ 0x112066] /boot/dtb/rk3399-khadas-edge-v.dtb size=3D0x123bd Hit [Enter] to boot immediately, or any other key for command prompt. Booting [/boot/kernel/kernel]... Using DTB from loaded file '/boot/dtb/rk3399-khadas-edge-v.dtb'. =D1=81=D1=80, 9 =D0=BE=D0=BA=D1=82. 2019 =D0=B3. =D0=B2 15:05, mko : > Hi Sergey, > I think the problem is still on the u-boot side, need to wait for u-boot > 2019.10 comes out. > > mko > > > On 10/10/2019, at 1:02 AM, Sleep Walker wrote: > > > > Hi ! > > > > I try to load FreeBSD 13-CURRENT on Khadas-EDGE-V RK3399 > > > > https://dmesgd.nycbug.org/index.cgi?do=3Dview&id=3D5138 > > > > The output stops at a function call rk3399_clk_pll_register. > > > > Any ideas, what could be the problem? > > > > Regards > > > > Sergey Tyuryukanv > > _______________________________________________ > > freebsd-arm@freebsd.org mailing list > > https://lists.freebsd.org/mailman/listinfo/freebsd-arm > > To unsubscribe, send any mail to "freebsd-arm-unsubscribe@freebsd.org" > > > From owner-freebsd-arm@freebsd.org Wed Oct 9 12:13:10 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 1BCA314AA9E for ; Wed, 9 Oct 2019 12:13:10 +0000 (UTC) (envelope-from manu@bidouilliste.com) Received: from mail.blih.net (mail.blih.net [212.83.177.182]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mail.blih.net", Issuer "mail.blih.net" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 46pCm45tXqz4M2Y for ; Wed, 9 Oct 2019 12:13:08 +0000 (UTC) (envelope-from manu@bidouilliste.com) Received: from mail.blih.net (mail.blih.net [212.83.177.182]) by mail.blih.net (OpenSMTPD) with ESMTP id 9199cf99; Wed, 9 Oct 2019 14:13:01 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=bidouilliste.com; h=date :from:to:cc:subject:message-id:in-reply-to:references :mime-version:content-type:content-transfer-encoding; s=mail; bh=9eg9u7wfHVys/hGE2OyX1VqjKMc=; b=n7yicB6/aIi1NbtwZkcm1VlTJNju D7NX1RNP0JaRigziWJI3JMFU/jHoyB9dImj1NoxGMFVMEKjZQHmhVqXxJhWRW29B QS/J1Vol6IFFa872ZmSf4FVhIy4kEQfPk2SwOM79MPhR6kNhaLPQqu4DmLaBuxHJ JdvbvMpR9LAnxRs= DomainKey-Signature: a=rsa-sha1; c=nofws; d=bidouilliste.com; h=date :from:to:cc:subject:message-id:in-reply-to:references :mime-version:content-type:content-transfer-encoding; q=dns; s= mail; b=Z3+RRZNntqwoNEtM+8UHxRhPTCTmiGg4+nIA/ACcQ15zVZdvcuNd2kzH L7I0igzSgkevfNK/tDZ80MuuwBaTYnr1PrULhOU/PlQtIl+uP23kk/815Oyyt0ix eWzM/oUfkIc4LocF/GOwtVeC4nOjtnRWbCLacGzoeJ55Wnk88cU= Received: from sonic.home.blih.net (ip-9.net-89-3-105.rev.numericable.fr [89.3.105.9]) by mail.blih.net (OpenSMTPD) with ESMTPSA id 5f8bf8d2 TLS version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO; Wed, 9 Oct 2019 14:13:00 +0200 (CEST) Date: Wed, 9 Oct 2019 14:13:00 +0200 From: Emmanuel Vadot To: Sleep Walker Cc: freebsd-arm@freebsd.org Subject: Re: FreeBSD 13-CURRENT on Khadas-EDGE-V RK3399 Message-Id: <20191009141300.28f36634fa14b5d8b5c2b936@bidouilliste.com> In-Reply-To: References: X-Mailer: Sylpheed 3.7.0 (GTK+ 2.24.32; amd64-portbld-freebsd13.0) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Rspamd-Queue-Id: 46pCm45tXqz4M2Y X-Spamd-Bar: - Authentication-Results: mx1.freebsd.org; dkim=pass header.d=bidouilliste.com header.s=mail header.b=n7yicB6/; dmarc=none; spf=pass (mx1.freebsd.org: domain of manu@bidouilliste.com designates 212.83.177.182 as permitted sender) smtp.mailfrom=manu@bidouilliste.com X-Spamd-Result: default: False [-1.47 / 15.00]; ARC_NA(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; R_DKIM_ALLOW(-0.20)[bidouilliste.com:s=mail]; NEURAL_HAM_MEDIUM(-0.96)[-0.964,0]; FROM_HAS_DN(0.00)[]; TO_DN_SOME(0.00)[]; R_SPF_ALLOW(-0.20)[+ip4:212.83.177.182/32]; MV_CASE(0.50)[]; TAGGED_RCPT(0.00)[]; MIME_GOOD(-0.10)[text/plain]; DMARC_NA(0.00)[bidouilliste.com]; NEURAL_HAM_LONG(-0.98)[-0.980,0]; TO_MATCH_ENVRCPT_SOME(0.00)[]; DKIM_TRACE(0.00)[bidouilliste.com:+]; RCPT_COUNT_TWO(0.00)[2]; FREEMAIL_TO(0.00)[gmail.com]; RCVD_NO_TLS_LAST(0.10)[]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; IP_SCORE(0.37)[ip: (-0.72), ipnet: 212.83.160.0/19(2.48), asn: 12876(0.11), country: FR(-0.00)]; ASN(0.00)[asn:12876, ipnet:212.83.160.0/19, country:FR]; 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: Wed, 09 Oct 2019 12:13:10 -0000 Hi Sergey, On Wed, 9 Oct 2019 15:02:04 +0300 Sleep Walker wrote: > Hi ! > > I try to load FreeBSD 13-CURRENT on Khadas-EDGE-V RK3399 > > https://dmesgd.nycbug.org/index.cgi?do=view&id=5138 > > The output stops at a function call rk3399_clk_pll_register. > > Any ideas, what could be the problem? > > Regards > > Sergey Tyuryukanv > _______________________________________________ > freebsd-arm@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-arm > To unsubscribe, send any mail to "freebsd-arm-unsubscribe@freebsd.org" I guess that it hang when we set the lpll to normal mode in rk3399_clk_pll_init as it will be the first function called after the clock is registered. You could try removing the block that set it to normal mode and also printing all the clock registers (just look at the recalc function below and read and print con1 to con4). -- Emmanuel Vadot From owner-freebsd-arm@freebsd.org Wed Oct 9 13:25:49 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 5496E14BE9B for ; Wed, 9 Oct 2019 13:25:49 +0000 (UTC) (envelope-from s199p.wa1k9r@gmail.com) Received: from mail-lj1-x22b.google.com (mail-lj1-x22b.google.com [IPv6:2a00:1450:4864:20::22b]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1O1" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 46pFMw1pmQz4QH0 for ; Wed, 9 Oct 2019 13:25:47 +0000 (UTC) (envelope-from s199p.wa1k9r@gmail.com) Received: by mail-lj1-x22b.google.com with SMTP id d1so2442167ljl.13 for ; Wed, 09 Oct 2019 06:25:47 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:from:date:message-id:subject:to; bh=iy9ZoDSV3fL5rnJn5uRAAat1Cfx7t/TO4SxTjJqRDlY=; b=j8wJA3pBXINTcoBErEeGRWYGg4s82Qg8zqfG/WuAgg58P8xy6ZNFc0tcs6d+J0yWfZ X7YYZxcBOtTNN1UnmuVnG83jSigIfCKRillmYwQEH7pPiDXh6C0DMuFsZut2fzhHozUC dKrlXp7dSttfiAAJysNl/h7MkoqtEY1ENse9YnCGmJ72uFPsDvdwWHgZrJU6mzwPaWk+ sq6DRCsYRrkVeoBTyiMF4vy0CzeZOCNk5GumoasCqRGfg1f4PBiljn6lcXSYVnABsoPZ 9gXUbzzxUv7OOMpJ1zS7KVyUi54L6nl84we8l11T0meMosDx1Ge0WTgdpUeKL/sWRPqU 5mDw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=iy9ZoDSV3fL5rnJn5uRAAat1Cfx7t/TO4SxTjJqRDlY=; b=pDPqdT3oxk6EERrhMOwI4RiQP1yD7xrZHxt2Ha5icaV75NhgbtFE/aotC5I3b8o785 oj3ErtHGLbQEYjy37sWdR+BVT4n5kRZ/+Yfb2qWa5yCgqnAFUXNbogcSmTm5eMAfmdjW KKrW6709SekJBs+DugFmdARDcAQUVzM6Po2l1i3Eqd8fPoBzDmHG2S1B+LIfuR1ZyPkk UDYpKbTJrDVUUZ94Dp9Z7JcDnHJm6K/J9WBAZMBUf+PNmsYunTrEVmF7ytv1iImE24lv OgkmDTrGV2zIc6gSxw//LfIvj1R8m9HmbrF76NijCLYVMrmTERo9QrhU7aZcNG4uQzCd mr7Q== X-Gm-Message-State: APjAAAWLBEjF44apM/nwdtLl2VNxilAAlW5uAwrc4tGtuF8szBDpFlU9 1L5ICaEomC98Cr9M6WGxR1BvPUnX3DuoQu83YIER4Wi5 X-Google-Smtp-Source: APXvYqxZyrvSRKwprWXFDN1QpkppvLnJmvoAOm9CGVDeeuokjexjsQMX2/FHT8QBYU/a9r82YczQhn8dnhgX3bqUVBI= X-Received: by 2002:a2e:9919:: with SMTP id v25mr2229369lji.124.1570627545861; Wed, 09 Oct 2019 06:25:45 -0700 (PDT) MIME-Version: 1.0 From: Sleep Walker Date: Wed, 9 Oct 2019 16:25:34 +0300 Message-ID: Subject: Re: FreeBSD 13-CURRENT on Khadas-EDGE-V RK3399 To: freebsd-arm@freebsd.org X-Rspamd-Queue-Id: 46pFMw1pmQz4QH0 X-Spamd-Bar: - Authentication-Results: mx1.freebsd.org; dkim=pass header.d=gmail.com header.s=20161025 header.b=j8wJA3pB; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (mx1.freebsd.org: domain of s199pwa1k9r@gmail.com designates 2a00:1450:4864:20::22b as permitted sender) smtp.mailfrom=s199pwa1k9r@gmail.com X-Spamd-Result: default: False [-2.00 / 15.00]; R_SPF_ALLOW(-0.20)[+ip6:2a00:1450:4000::/36:c]; FREEMAIL_FROM(0.00)[gmail.com]; TO_DN_NONE(0.00)[]; DKIM_TRACE(0.00)[gmail.com:+]; DMARC_POLICY_ALLOW(-0.50)[gmail.com,none]; FROM_EQ_ENVFROM(0.00)[]; IP_SCORE(0.00)[ip: (-9.30), ipnet: 2a00:1450::/32(-2.88), asn: 15169(-2.14), country: US(-0.05)]; MIME_TRACE(0.00)[0:+,1:+,2:~]; FREEMAIL_ENVFROM(0.00)[gmail.com]; ASN(0.00)[asn:15169, ipnet:2a00:1450::/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)[]; FAKE_REPLY(1.00)[]; R_DKIM_ALLOW(-0.20)[gmail.com:s=20161025]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; FROM_HAS_DN(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-arm@freebsd.org]; IP_SCORE_FREEMAIL(0.00)[]; RCPT_COUNT_ONE(0.00)[1]; RCVD_IN_DNSWL_NONE(0.00)[b.2.2.0.0.0.0.0.0.0.0.0.0.0.0.0.0.2.0.0.4.6.8.4.0.5.4.1.0.0.a.2.list.dnswl.org : 127.0.5.0]; RCVD_COUNT_TWO(0.00)[2]; RCVD_TLS_ALL(0.00)[] 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: Wed, 09 Oct 2019 13:25:49 -0000 Hi Emmanuel. > > Hi Sergey, > > I guess that it hang when we set the lpll to normal mode in >rk3399_clk_pll_init as it will be the first function called after the >clock is registered. > You could try removing the block that set it to normal mode and also >printing all the clock registers (just look at the recalc function >below and read and print con1 to con4). > >-- >Emmanuel Vadot Thanks for the advice, I will try, I will write -- Sergey Tyuryukanov. From owner-freebsd-arm@freebsd.org Wed Oct 9 14:43:12 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 D2AEB14DDF8 for ; Wed, 9 Oct 2019 14:43:12 +0000 (UTC) (envelope-from ian@freebsd.org) Received: from outbound2m.ore.mailhop.org (outbound2m.ore.mailhop.org [54.149.155.156]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 46pH5D1Xk3z4WsQ for ; Wed, 9 Oct 2019 14:43:12 +0000 (UTC) (envelope-from ian@freebsd.org) ARC-Seal: i=1; a=rsa-sha256; t=1570632190; cv=none; d=outbound.mailhop.org; s=arc-outbound20181012; b=pZqQMLkwxy9Bo3n4TUppU3kEcJL/ZSYnf5hldkxt2XfRkrQSIZgurXf0lBOTHRLWqkkB6sxlH6oDi DGT7TUcxOl9ho8jbTl6EZRmCWpZYDXAMQy796fWRfYIvEa05WJF4r8sArvm6nkmmnP8GbRDgoeoIkH RuCSzvpCUViPfg1D6cftV8REPj0qfFxFnTaBIcL28+dbar2KKPabmWam5HpaNr+eHMVMrPdo4y7XMq IfG6JkSkMvOt7yiiPrbqR640fE76Plh/ROHu1gGvyA+MxFOR2ttwtRRMZjeX40hfr8tn5rHgq1B3Qw 3/PRY4SLGLWLgC4pCDvA8EMza2vZ3fA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=outbound.mailhop.org; s=arc-outbound20181012; h=content-transfer-encoding:mime-version:content-type:references:in-reply-to: date:to:from:subject:message-id:dkim-signature:from; bh=kDetYBZBO+Lst/1KTix12seM97/mE68ZvtlhpKf9yoM=; b=SuW1qkERD9rs+mCbCeIFqFGU3ycov2FAjUNpf6ihgjw5DOcRiuUPegF6gtDpCVEVWI+v55yhRJOc6 jbOGLYt7hXQM6k2Z/VKBSS9CMVfTjYgo6tel3Lkvz4dWO+qLXN0uolSMJn+/HEXix7ffqna4UV3bMK WSLT7yAOW9Ul8pMpoS4xy3QZhBOjANDaRAm3/5+ZjDcg4qk73fxJYyJs9LSe3AIMG2Fb9T2Xxi3Tlx vMUtrvpOUx+ReleWPnX7OQovckJK9J3pYb/R9i7Ej4Bxf7JI+rQwyt+OG7YOHCSC2v5UnOAx4UfeXS KQuKNaHtg7f9l/ddscO/9gsOasVCOBg== ARC-Authentication-Results: i=1; outbound4.ore.mailhop.org; spf=softfail smtp.mailfrom=freebsd.org smtp.remote-ip=67.177.211.60; dmarc=none header.from=freebsd.org; arc=none header.oldest-pass=0; DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=outbound.mailhop.org; s=dkim-high; h=content-transfer-encoding:mime-version:content-type:references:in-reply-to: date:to:from:subject:message-id:from; bh=kDetYBZBO+Lst/1KTix12seM97/mE68ZvtlhpKf9yoM=; b=blk42qXDhyXS4kTX2fnYDIG86JhfqiMbMDAlLy9uvupJuf8124zqBYt81fsOB+utEPO0LQ49eaFuJ rT0m5jxTI+Cr2LdslfTrU1BVvFiitKfdFsPaoo4A8M9OZDgVCvjABw0z065xXq0ZRWhFfAaYzhRCG7 wdonJy/VuAXDUV5t1xOJkdh+Vm/ZqJBmoBrB5eGsWWpMXTmUk76qsfPGzhurbORQ07BHkRo4skd0rM PlLMVNhJrHmlropmUxJ++UWMJCIOdloeH9PduCYWP+BTKcQKD5vMwCiXiXMaxcVzsv/lk3gWdLM0/x iNEr+Hyc/E+CTbHtr0LJ9c6pmsuWwFQ== X-MHO-RoutePath: aGlwcGll X-MHO-User: 1bfe2234-eaa3-11e9-85ed-13b9aae3a1d2 X-Report-Abuse-To: https://support.duocircle.com/support/solutions/articles/5000540958-duocircle-standard-smtp-abuse-information X-Originating-IP: 67.177.211.60 X-Mail-Handler: DuoCircle Outbound SMTP Received: from ilsoft.org (unknown [67.177.211.60]) by outbound4.ore.mailhop.org (Halon) with ESMTPSA id 1bfe2234-eaa3-11e9-85ed-13b9aae3a1d2; Wed, 09 Oct 2019 14:43:09 +0000 (UTC) Received: from rev (rev [172.22.42.240]) by ilsoft.org (8.15.2/8.15.2) with ESMTP id x99Eh8Mg086871; Wed, 9 Oct 2019 08:43:08 -0600 (MDT) (envelope-from ian@freebsd.org) Message-ID: <4f2516e031ce09d161afc63986b54237b5f6d3a6.camel@freebsd.org> Subject: Re: arm1136 support on CURRENT From: Ian Lepore To: Mori Hiroki , "freebsd-arm@freebsd.org" Date: Wed, 09 Oct 2019 08:43:07 -0600 In-Reply-To: <256784304.3333098.1570612921981.JavaMail.yahoo@jws701102.mail.ssk.yahoo.co.jp> References: <256784304.3333098.1570612921981.JavaMail.yahoo.ref@jws701102.mail.ssk.yahoo.co.jp> <256784304.3333098.1570612921981.JavaMail.yahoo@jws701102.mail.ssk.yahoo.co.jp> Content-Type: text/plain; charset="UTF-8" X-Mailer: Evolution 3.28.5 FreeBSD GNOME Team Mime-Version: 1.0 Content-Transfer-Encoding: 7bit X-Rspamd-Queue-Id: 46pH5D1Xk3z4WsQ X-Spamd-Bar: - Authentication-Results: mx1.freebsd.org; none X-Spamd-Result: default: False [-1.89 / 15.00]; local_wl_from(0.00)[freebsd.org]; NEURAL_HAM_MEDIUM(-0.90)[-0.895,0]; ASN(0.00)[asn:16509, ipnet:54.148.0.0/15, country:US]; NEURAL_HAM_LONG(-1.00)[-0.998,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, 09 Oct 2019 14:43:12 -0000 On Wed, 2019-10-09 at 18:22 +0900, Mori Hiroki wrote: > Hi > > I try to Mindspeed Comcerto 1000 on CURRENT. > > Comcerto 1000 is arm1136. > > I write timer and pic code in kernel. > > http://dmesgd.nycbug.org/index.cgi?do=view&id=5136 > > > Now single user sh is crash. > > arm.armv6 clang default is 1176. But I want > comple on 1136. > > How to comple on 1136 on arm.armv6 ? > > Regards > > I don't speak officially for the freebsd project when saying this, but I don't believe we will ever support compiling for the 1136 or any other armv6 platform besides the original RPi. There have been increasing calls for dropping current support for armv6 and the 1176 chip completely. (Full disclosure: I am one of the people constantly pushing to drop armv6 support.) As a practical matter: Already, nobody is willing to work on continuing support for armv6 and the 1176 chip, so it's almost certain that nobody is going to put any effort into supporting different v6 chips. -- Ian From owner-freebsd-arm@freebsd.org Wed Oct 9 14:57:06 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 F21D214E42E for ; Wed, 9 Oct 2019 14:57:06 +0000 (UTC) (envelope-from wlosh@bsdimp.com) Received: from mail-qk1-x733.google.com (mail-qk1-x733.google.com [IPv6:2607:f8b0:4864:20::733]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1O1" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 46pHPG0PzZz4XYv for ; Wed, 9 Oct 2019 14:57:05 +0000 (UTC) (envelope-from wlosh@bsdimp.com) Received: by mail-qk1-x733.google.com with SMTP id z67so2440418qkb.12 for ; Wed, 09 Oct 2019 07:57:05 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bsdimp-com.20150623.gappssmtp.com; s=20150623; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=B/jbQP+kLYGazjlgwSUZA1wR6XSHYXKU4K7CGavJ3NY=; b=k7Eit9fw6q8mcrrue1zPqByCOa//6FNRRHF9Cw+xcM6PZpxd5NGUIDDUhKYLknwtSM QYLCMCQZ5HzbBwcvzFKthTu4i3XSUZlC9wbFPbiVQzstrfuvwi+5Q1X2aHm4mnutkWYg jN6IcGcLVkNpc9S00YlmT5QhDltyy/voCcOtddOhnXl5QEuvOGANGABe0HiKxNcKaVof WzPLxNw8SPash0dSWAcTHFeA5H++qd5CqWZYknwVLfn4q30qpZbrhezytynstJa+cYE1 Faia2f20Sxd5qGquaaBGNigT5Vmo8wTG6l7r2r7hZNxlPgSU8qtPU2UGSFmJUyoPVHrK +fuQ== 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:cc; bh=B/jbQP+kLYGazjlgwSUZA1wR6XSHYXKU4K7CGavJ3NY=; b=dZWsG3xDkZ08Mcym16whc6nSBjVbWLqPNPJQPWdMJ9N8+iWsfllcTsjQIQvj+lvVAW dUpOoSUok1fg3oQzTfAltzsT79CpC3xFxis48AEPV6DlhWxTyZUN5eoQ2KwmHYsU3KCw x7H3/1mfhDeYysI8rR/vyJtlm/+33ffISGhyWTGhPO3cfyXhsWKbw7UiyZQb9mX8LJMZ 6hfyiIuHTkirB+jurDaxd0Ywsn8X5Aiwp5+DTCCJw/LjPDa3DbJcsZuuwqukb6u03rkR TRtCZkSSWtJ/ww42h7WDc8evP+hujMcRU6bpoRdgEeD/hVtyB0dJRONsadDj6nxl5MQR 5miw== X-Gm-Message-State: APjAAAXV5QhRTtek0s2K7aKKBH/reQQ/+0TISE62SonjQyXSTzfRb50h wxR97JS6gGq2/Wx0/JVqyEiHTAzszNHbxhmseCY6hQ== X-Google-Smtp-Source: APXvYqzhkHuvglJAx5qwieV5RPdEnRS6od48jj/KWnBSd7crlPMzC8ihvVc/Ct5VcDTX53p0M1iFyC8gvZodT6Qc/pE= X-Received: by 2002:a37:a5d3:: with SMTP id o202mr3748205qke.240.1570633024348; Wed, 09 Oct 2019 07:57:04 -0700 (PDT) MIME-Version: 1.0 References: <256784304.3333098.1570612921981.JavaMail.yahoo.ref@jws701102.mail.ssk.yahoo.co.jp> <256784304.3333098.1570612921981.JavaMail.yahoo@jws701102.mail.ssk.yahoo.co.jp> In-Reply-To: <256784304.3333098.1570612921981.JavaMail.yahoo@jws701102.mail.ssk.yahoo.co.jp> From: Warner Losh Date: Wed, 9 Oct 2019 08:56:53 -0600 Message-ID: Subject: Re: arm1136 support on CURRENT To: Mori Hiroki Cc: "freebsd-arm@freebsd.org" X-Rspamd-Queue-Id: 46pHPG0PzZz4XYv X-Spamd-Bar: --- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=bsdimp-com.20150623.gappssmtp.com header.s=20150623 header.b=k7Eit9fw; dmarc=none; spf=none (mx1.freebsd.org: domain of wlosh@bsdimp.com has no SPF policy when checking 2607:f8b0:4864:20::733) smtp.mailfrom=wlosh@bsdimp.com X-Spamd-Result: default: False [-3.80 / 15.00]; ARC_NA(0.00)[]; TO_DN_EQ_ADDR_SOME(0.00)[]; R_DKIM_ALLOW(-0.20)[bsdimp-com.20150623.gappssmtp.com:s=20150623]; NEURAL_HAM_MEDIUM(-1.00)[-0.999,0]; FROM_HAS_DN(0.00)[]; TO_DN_SOME(0.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-arm@freebsd.org]; DMARC_NA(0.00)[bsdimp.com]; URI_COUNT_ODD(1.00)[3]; TO_MATCH_ENVRCPT_SOME(0.00)[]; DKIM_TRACE(0.00)[bsdimp-com.20150623.gappssmtp.com:+]; RCPT_COUNT_TWO(0.00)[2]; RCVD_IN_DNSWL_NONE(0.00)[3.3.7.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]; R_SPF_NA(0.00)[]; FORGED_SENDER(0.30)[imp@bsdimp.com,wlosh@bsdimp.com]; FREEMAIL_TO(0.00)[yahoo.co.jp]; MIME_TRACE(0.00)[0:+,1:+,2:~]; IP_SCORE(-2.80)[ip: (-9.30), ipnet: 2607:f8b0::/32(-2.53), asn: 15169(-2.14), country: US(-0.05)]; ASN(0.00)[asn:15169, ipnet:2607:f8b0::/32, country:US]; FROM_NEQ_ENVFROM(0.00)[imp@bsdimp.com,wlosh@bsdimp.com]; RCVD_TLS_ALL(0.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: Wed, 09 Oct 2019 14:57:07 -0000 On Wed, Oct 9, 2019 at 3:22 AM Mori Hiroki wrote: > Hi > > I try to Mindspeed Comcerto 1000 on CURRENT. > > Comcerto 1000 is arm1136. > > I write timer and pic code in kernel. > > http://dmesgd.nycbug.org/index.cgi?do=view&id=5136 > > > Now single user sh is crash. > > arm.armv6 clang default is 1176. But I want > comple on 1136. > > How to comple on 1136 on arm.armv6 ? > You'll run into five different issues. First issue is that clang's code generator is ill-tested for the 1136, so you are likely to find bugs there. Your program died with SIGILL, so this is likely. Second issue is that we turn on bits in the CP of the 1176 that may not be on the 1136. This is relevant because these bits control unaligned access. Third issue is lld. It generates instructions that might not exist on the 1136. I know that's the issue for armv5. Forth, our atomics assume at least a 1176. There was a discussion in one of the code reviews, I think for atomics but may be wrong, about how the code in question wouldn't work generically on armv6, but will on the 1176. Finally, cache stuff is different between the 1176 and the Cortex v7 chips. I recall other discussions that highlighted that the 1176 was different than earlier armv6 processors wrt caches, but can't find them quickly nor do I know if the 1136 is affected. You may be able to get farther with an external gcc, but there's been a long-term assumption that the 1176 is the minimum FreeBSD will run on, and there will be significant resistance to changing that if the changes aren't trivial tweaks in a couple of places. There's also a long-term pressure to raise the minimum FreeBSD will run on (In FreeBSD 13 we plant to remove the last bit of arm support < v6, for example). Were it not for the RPi0, we'd also be looking at trimming the 1176 support as well due to lack of relevance. Bringing FreeBSD up on the 1136 runs counter to these trends. Warner From owner-freebsd-arm@freebsd.org Wed Oct 9 21:41:11 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 5D0C8130427 for ; Wed, 9 Oct 2019 21:41:11 +0000 (UTC) (envelope-from wlosh@bsdimp.com) Received: from mail-qt1-x834.google.com (mail-qt1-x834.google.com [IPv6:2607:f8b0:4864:20::834]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1O1" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 46pSMT6HmVz43rw for ; Wed, 9 Oct 2019 21:41:09 +0000 (UTC) (envelope-from wlosh@bsdimp.com) Received: by mail-qt1-x834.google.com with SMTP id m15so5679279qtq.2 for ; Wed, 09 Oct 2019 14:41:09 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bsdimp-com.20150623.gappssmtp.com; s=20150623; h=mime-version:from:date:message-id:subject:to; bh=5/IBr8w4V17J1GhLx73XvQiUjPh5he3Wk5cJ9l9Lsyk=; b=biC6ABHYjdWC+fnkHgOlqZMITxTnuGWn9t2NJvknC5UufsgeHuFFfXNAnfVPQ/6zTR CRu1CweTsWophIArYoQaYyg9cUycgotkI3sij9ZB2sk4AWVMhR6LWL64lkfBzQnDwNEw TW9C5UrwMpG/kQ+ZGekXNIzOP6Cs+oKsqrn9X3DqHaivzZNH+e5CDnQbEPw35Ivj18g0 DbNS5VxrzeiKuiuLq9GnfiZJreVPteuDZpdwz0j7tEnaPFi3taDmEDnMEgTSClGk99eE buJcdf/eFv3fCl3tJkB/orf2FV7gs9cj3kZb9qexJzn1Yjhnp4qj0vFzUFWQIGV2D77Q inqw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=5/IBr8w4V17J1GhLx73XvQiUjPh5he3Wk5cJ9l9Lsyk=; b=A2E11a/byDoC7oBznha9w3af/rcQ7K4RAvP195hn0B+ITs3j3KWd+eJMfRMUfmYfZC IjrMBmEKezDTOVkto3EAj1YBXRHmid3kGojP8B5fuVZgxEY7vUKUPebgnAxikIg+U3YF ivxV2goLTZohC9twEB/wZO3oJYLo3K5QFggI3djGWZYocYrwG/Gb021I3vkpcmKo6hlN FfpwQAPXqAabUzUX0osFzkEZ6pOH01X4NTWdF6u6eLFn0/rbSDAm93APAri9I+3igv8Z kCg6vzLvf5M5jjN+FmHBTX4YQZJFfFKiv/qDDZgz3xoJICLktQNRHNHLEde8Ds/ypmp8 qoNA== X-Gm-Message-State: APjAAAVA6w9uF6olqgKZDp07d3aJo5hHbaI0337JtjRYd27TDcs3dW41 2F6vSFh577ESa7kYDynHNwR/ASqsYe8NllBss4jlqg== X-Google-Smtp-Source: APXvYqx9UuIAGLINItxKqwMbwLLBVX6wsr0wTy/Rx0YKve4/6KH/xs7a6WI+CtlixblvFS5axm8Oi38QCfYk64jsQ5A= X-Received: by 2002:ac8:29c8:: with SMTP id 8mr5976070qtt.32.1570657268290; Wed, 09 Oct 2019 14:41:08 -0700 (PDT) MIME-Version: 1.0 From: Warner Losh Date: Wed, 9 Oct 2019 15:40:57 -0600 Message-ID: Subject: firm date: armv5 support removal scheduled for 2019-12-31 To: "freebsd-arch@freebsd.org" , "freebsd-arm@freebsd.org" X-Rspamd-Queue-Id: 46pSMT6HmVz43rw X-Spamd-Bar: ---- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=bsdimp-com.20150623.gappssmtp.com header.s=20150623 header.b=biC6ABHY; dmarc=none; spf=none (mx1.freebsd.org: domain of wlosh@bsdimp.com has no SPF policy when checking 2607:f8b0:4864:20::834) smtp.mailfrom=wlosh@bsdimp.com X-Spamd-Result: default: False [-4.83 / 15.00]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; R_DKIM_ALLOW(-0.20)[bsdimp-com.20150623.gappssmtp.com:s=20150623]; FROM_HAS_DN(0.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-arm@freebsd.org]; DMARC_NA(0.00)[bsdimp.com]; TO_MATCH_ENVRCPT_SOME(0.00)[]; DKIM_TRACE(0.00)[bsdimp-com.20150623.gappssmtp.com:+]; RCPT_COUNT_TWO(0.00)[2]; RCVD_IN_DNSWL_NONE(0.00)[4.3.8.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]; TO_DN_EQ_ADDR_ALL(0.00)[]; R_SPF_NA(0.00)[]; FORGED_SENDER(0.30)[imp@bsdimp.com,wlosh@bsdimp.com]; MIME_TRACE(0.00)[0:+,1:+,2:~]; IP_SCORE(-2.83)[ip: (-9.41), ipnet: 2607:f8b0::/32(-2.53), asn: 15169(-2.14), country: US(-0.05)]; ASN(0.00)[asn:15169, ipnet:2607:f8b0::/32, country:US]; FROM_NEQ_ENVFROM(0.00)[imp@bsdimp.com,wlosh@bsdimp.com]; RCVD_TLS_ALL(0.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: Wed, 09 Oct 2019 21:41:11 -0000 Greetings, There's been much talk of removing armv5 support from FreeBSD in FreeBSD 13. This talk has been ongoing since before 12 was branched among the key arm developers. The compromise for the FreeBSD 12 was to have one final FreeBSD armv5 release for a few straggling users that needed (or think they needed) this release and it would be removed before FreeBSD 13. The reason to remove this is due to the increased burden armv5 has presented on the system. We have a separate pmap for v5 which has known or suspected bugs relating to unaligned I/O. No developers have the armv5 boards in service anymore. They have ceased being relevant to FreeBSD's success with the plethera of armv7 boards that are on the market. No new armv5 boards have been made in a long time. The FreeBSD project hasn't produce armv5 binaries for 12.x at all (the binaries produced earlier could not have possibly booted, though the userland binaries worked if you could otherwise install the system). Finally, llvm's lld doesn't support armv5. It would ease integration if we didn't have to worry about a fallback for armv5. It would be one fewer dependency on the old binutils toolchain in the tree. So, taking all these things together, the time has come to schedule removal of armv5 support from FreeBSD. The end of the year seems like a good date to select for planning this removal, getting whatever notices should be put into place and warning people about the next release in the most formal way possible (more informal warnings have been going on for over a year, starting with armv4 support removal in 12). I'm posting this now to gather feedback and, if necessary, create a checklist of things to do before removal. Warner From owner-freebsd-arm@freebsd.org Thu Oct 10 10:35:30 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 67A2612CB71 for ; Thu, 10 Oct 2019 10:35:30 +0000 (UTC) (envelope-from yamori813@yahoo.co.jp) Received: from nh605-vm11.bullet.mail.ssk.yahoo.co.jp (nh605-vm11.bullet.mail.ssk.yahoo.co.jp [182.22.90.84]) by mx1.freebsd.org (Postfix) with SMTP id 46pnXv4kChz3D6H for ; Thu, 10 Oct 2019 10:35:27 +0000 (UTC) (envelope-from yamori813@yahoo.co.jp) Received: from [182.22.66.104] by nh605.bullet.mail.ssk.yahoo.co.jp with NNFMP; 10 Oct 2019 10:35:23 -0000 Received: from [182.22.91.205] by t602.bullet.mail.ssk.yahoo.co.jp with NNFMP; 10 Oct 2019 10:35:23 -0000 Received: from [127.0.0.1] by omp608.mail.ssk.yahoo.co.jp with NNFMP; 10 Oct 2019 10:35:23 -0000 X-Yahoo-Newman-Property: ymail-3 X-Yahoo-Newman-Id: 189505.62941.bm@omp608.mail.ssk.yahoo.co.jp X-YMail-OSG: lLeurSMVM1lf9Pz6gFFzfIVAlGUpS_qctCmvs__n59uFNaRIC6urG80DQTfLFud IRRxkhYNi2fyCAjL5_xNgsuuB38CmAJWRyhYWYp7DYlbN92skGpgXEToJE7vdFygamFnf5M1rxZN HkU5cIt_NDg9.EwbTscRcBlFABPG2YTrYNExKpaJ0AqhaLzMXSPaY0f3_uJmiY.HvJkYQTncqE_n 7urinwbtIUEj_LI47jCSaTRmX7SNtICZc0_67U39wCNnosXZd7h2eHIL4qvMMgXnYFj2CdzgnJ9l svxU3b3u2FLkJDEOUFQhjw6K1vEE27zZjY7lif2TjRVv6MuS9JkmMlxBY5pjrgX4JHqAb9h5tUG9 RMGFtThnxEgXhY6yCFAouUo.rEs51uyyDtHOe4vD1hv_KPqRqssR0UitAlfQreNNET9qY2gMblwP dJeh1RAEXJWHdk3n_GBMiFTMEyG7E2xnt2w07BoTS6ymwTnILfSxr7qtIzyoHtb3ZMXz8VYYhuEZ s2IWM9pWSbFjSJlmjKmlqdhcnaU9NEbY.D2EoqgN8HGzI8Y6BZ6SALxl4mesKszCyoqFJ.OdQln0 J7lHpLzBCNs32P7DyBbTYJ0rbCIZbm69Jt6cdaCHKrDlD31cDqXn2Gg5_rtYoI_RA7NCEl4grpDD 2OvM7QytxfTV8cgBanOPhQvi2CxBtJlJB0vjF95QYtzvL Received: from jws700103.mail.ssk.yahoo.co.jp by sendmailws615.mail.ssk.yahoo.co.jp; Thu, 10 Oct 2019 19:35:22 +0000; 1570703722.696 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; t=1570703723; s=yj20110701; d=yahoo.co.jp; h=Date:From:Reply-To:To:Message-ID:In-Reply-To:References:Subject:MIME-Version:Content-Type:Content-Transfer-Encoding; bh=1ZLU/+dqfyZv5OFhZA5YWkZZ/2hdBupfrg83pJFe6D8=; b=hQFoF3qGO02E7Ja0P1EmNugPDA4Ccd4x5IccGdIeq+razGZpRlPwBDYvGgxGjTDX MikGdmh/UTVPS/IdRj+dDbjuk/fYmDRJQDOfn7gUcCkstshxE9jbCnjcdlehhwIKC/z WUU0Bwtx+aOP03UBNkk3NUWMS4QTT0k3aV0dFEY4= DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=yj20110701; d=yahoo.co.jp; h=Date:From:Reply-To:Message-ID:In-Reply-To:References:MIME-Version:Content-Type:Content-Transfer-Encoding; b=phlq4Q0jntbyfUicSPb0B3LEGDRZwTuOsS+RfQWvd22HcdnU4aubb+yS0LPcz9qF BGWwlezPNmv3VhObTGGbszQadH5qjpw6aLMB58kqA1P39b4rULFr5Ae8nceJDnCJ3Is kR3FpcAqfPBl8IFmaF77N+9QEz0i9tPYUqrRPRA8=; Date: Thu, 10 Oct 2019 19:35:22 +0900 (JST) From: Mori Hiroki Reply-To: Mori Hiroki To: Warner Losh , "freebsd-arch@freebsd.org" , "freebsd-arm@freebsd.org" Message-ID: <1818196815.3441463.1570703722086.JavaMail.yahoo@jws700103.mail.ssk.yahoo.co.jp> In-Reply-To: References: Subject: Re: firm date: armv5 support removal scheduled for 2019-12-31 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Rspamd-Queue-Id: 46pnXv4kChz3D6H X-Spamd-Bar: -- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=yahoo.co.jp header.s=yj20110701 header.b=hQFoF3qG; dmarc=pass (policy=none) header.from=yahoo.co.jp; spf=pass (mx1.freebsd.org: domain of yamori813@yahoo.co.jp designates 182.22.90.84 as permitted sender) smtp.mailfrom=yamori813@yahoo.co.jp X-Spamd-Result: default: False [-2.82 / 15.00]; TO_DN_EQ_ADDR_SOME(0.00)[]; HAS_REPLYTO(0.00)[yamori813@yahoo.co.jp]; TO_DN_SOME(0.00)[]; R_SPF_ALLOW(-0.20)[+ip4:182.22.90.0/23]; FREEMAIL_FROM(0.00)[yahoo.co.jp]; DKIM_TRACE(0.00)[yahoo.co.jp:+]; DMARC_POLICY_ALLOW(-0.50)[yahoo.co.jp,none]; RCVD_NO_TLS_LAST(0.10)[]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; FREEMAIL_ENVFROM(0.00)[yahoo.co.jp]; ASN(0.00)[asn:23816, ipnet:182.22.0.0/17, country:JP]; IP_SCORE(0.00)[ip: (0.96), ipnet: 182.22.0.0/17(1.41), asn: 23816(1.13), country: JP(-0.01)]; DWL_DNSWL_NONE(0.00)[yahoo.co.jp.dwl.dnswl.org : 127.0.5.0]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-0.93)[-0.925,0]; R_DKIM_ALLOW(-0.20)[yahoo.co.jp:s=yj20110701]; RCVD_COUNT_FIVE(0.00)[5]; FROM_HAS_DN(0.00)[]; RCPT_COUNT_THREE(0.00)[3]; REPLYTO_EQ_FROM(0.00)[]; NEURAL_HAM_LONG(-0.99)[-0.993,0]; MIME_GOOD(-0.10)[text/plain]; FREEMAIL_REPLYTO(0.00)[yahoo.co.jp]; IP_SCORE_FREEMAIL(0.00)[]; TO_MATCH_ENVRCPT_SOME(0.00)[]; RCVD_IN_DNSWL_NONE(0.00)[84.90.22.182.list.dnswl.org : 127.0.5.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, 10 Oct 2019 10:35:30 -0000 Hi I have very angry. Because of this. One is Maverl soc is not right performance on FreeBSD now. Maverl FreeBSD is 10-30 times slow from Linux. I think armv5t support is not complete on FreeBSD. You say armv5t pmap have bug. But my RT1310(armv5t) work well half of year. I try ldd on armv5t one month ago. That is support for armv4 because of that don't know armv4t instruction by default. Hiroki Mori ----- Original Message ----- > From: Warner Losh > To: "freebsd-arch@freebsd.org" ; "freebsd-arm@freebsd.org" > Cc: > Date: 2019/10/10, Thu 06:40 > Subject: firm date: armv5 support removal scheduled for 2019-12-31 > >G reetings, > > There's been much talk of removing armv5 support from FreeBSD in FreeBSD > 13. This talk has been ongoing since before 12 was branched among the key > arm developers. The compromise for the FreeBSD 12 was to have one final > FreeBSD armv5 release for a few straggling users that needed (or think they > needed) this release and it would be removed before FreeBSD 13. > > The reason to remove this is due to the increased burden armv5 has > presented on the system. We have a separate pmap for v5 which has known or > suspected bugs relating to unaligned I/O. No developers have the armv5 > boards in service anymore. They have ceased being relevant to FreeBSD's > success with the plethera of armv7 boards that are on the market. No new > armv5 boards have been made in a long time. The FreeBSD project hasn't > produce armv5 binaries for 12.x at all (the binaries produced earlier could > not have possibly booted, though the userland binaries worked if you could > otherwise install the system). Finally, llvm's lld doesn't support > armv5. > It would ease integration if we didn't have to worry about a fallback for > armv5. It would be one fewer dependency on the old binutils toolchain in > the tree. > > So, taking all these things together, the time has come to schedule removal > of armv5 support from FreeBSD. The end of the year seems like a good date > to select for planning this removal, getting whatever notices should be put > into place and warning people about the next release in the most formal way > possible (more informal warnings have been going on for over a year, > starting with armv4 support removal in 12). > > I'm posting this now to gather feedback and, if necessary, create a > checklist of things to do before removal. > > Warner > _______________________________________________ > freebsd-arm@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-arm > To unsubscribe, send any mail to "freebsd-arm-unsubscribe@freebsd.org" > From owner-freebsd-arm@freebsd.org Thu Oct 10 11:36:35 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 ED6481303E5; Thu, 10 Oct 2019 11:36:35 +0000 (UTC) (envelope-from ronald-lists@klop.ws) Received: from smtp-relay-int.realworks.nl (smtp-relay-int.realworks.nl [194.109.157.24]) (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 46ppvQ411Vz3JLl; Thu, 10 Oct 2019 11:36:34 +0000 (UTC) (envelope-from ronald-lists@klop.ws) Date: Thu, 10 Oct 2019 13:36:31 +0200 (CEST) From: Ronald Klop To: Warner Losh Cc: "freebsd-arm@freebsd.org" , "freebsd-arch@freebsd.org" Message-ID: <829263445.69.1570707391813@localhost> In-Reply-To: References: Subject: Re: firm date: armv5 support removal scheduled for 2019-12-31 MIME-Version: 1.0 X-Mailer: Realworks (479.1333.8d416e802c4) Importance: Normal X-Priority: 3 (Normal) X-Rspamd-Queue-Id: 46ppvQ411Vz3JLl X-Spamd-Bar: / Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=pass (mx1.freebsd.org: domain of ronald-lists@klop.ws designates 194.109.157.24 as permitted sender) smtp.mailfrom=ronald-lists@klop.ws X-Spamd-Result: default: False [-0.30 / 15.00]; ARC_NA(0.00)[]; TO_DN_EQ_ADDR_SOME(0.00)[]; NEURAL_HAM_MEDIUM(-0.50)[-0.503,0]; FROM_HAS_DN(0.00)[]; RCPT_COUNT_THREE(0.00)[3]; R_SPF_ALLOW(-0.20)[+ip4:194.109.157.0/24]; NEURAL_HAM_LONG(-0.95)[-0.953,0]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; DMARC_NA(0.00)[klop.ws]; TO_DN_SOME(0.00)[]; URI_COUNT_ODD(1.00)[3]; TO_MATCH_ENVRCPT_SOME(0.00)[]; RCVD_IN_DNSWL_NONE(0.00)[24.157.109.194.list.dnswl.org : 127.0.15.0]; HAS_X_PRIO_THREE(0.00)[3]; IP_SCORE(-0.05)[ipnet: 194.109.0.0/16(-0.16), asn: 3265(-0.09), country: NL(0.02)]; RCVD_COUNT_ZERO(0.00)[0]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; MID_RHS_NOT_FQDN(0.50)[]; ASN(0.00)[asn:3265, ipnet:194.109.0.0/16, country:NL]; MIME_TRACE(0.00)[0:+,1:+,2:~] Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit 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: Thu, 10 Oct 2019 11:36:36 -0000 Axe it! See mails from may/june "boot 11.3-BETA1 hangs om armv5". This did not boot on my Sheevaplug. I stopped trying. A new RPI is cheaper than one hour of work on armv5. But it was fun while it worked. :-) Thanks. Regards, Ronald. Van: Warner Losh Datum: woensdag, 9 oktober 2019 23:40 Aan: "freebsd-arch@freebsd.org" , "freebsd-arm@freebsd.org" Onderwerp: firm date: armv5 support removal scheduled for 2019-12-31 > > Greetings, > > There's been much talk of removing armv5 support from FreeBSD in FreeBSD > 13. This talk has been ongoing since before 12 was branched among the key > arm developers. The compromise for the FreeBSD 12 was to have one final > FreeBSD armv5 release for a few straggling users that needed (or think they > needed) this release and it would be removed before FreeBSD 13. > > The reason to remove this is due to the increased burden armv5 has > presented on the system. We have a separate pmap for v5 which has known or > suspected bugs relating to unaligned I/O. No developers have the armv5 > boards in service anymore. They have ceased being relevant to FreeBSD's > success with the plethera of armv7 boards that are on the market. No new > armv5 boards have been made in a long time. The FreeBSD project hasn't > produce armv5 binaries for 12.x at all (the binaries produced earlier could > not have possibly booted, though the userland binaries worked if you could > otherwise install the system). Finally, llvm's lld doesn't support armv5. > It would ease integration if we didn't have to worry about a fallback for > armv5. It would be one fewer dependency on the old binutils toolchain in > the tree. > > So, taking all these things together, the time has come to schedule removal > of armv5 support from FreeBSD. The end of the year seems like a good date > to select for planning this removal, getting whatever notices should be put > into place and warning people about the next release in the most formal way > possible (more informal warnings have been going on for over a year, > starting with armv4 support removal in 12). > > I'm posting this now to gather feedback and, if necessary, create a > checklist of things to do before removal. > > Warner > _______________________________________________ > freebsd-arm@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-arm > To unsubscribe, send any mail to "freebsd-arm-unsubscribe@freebsd.org" > > > From owner-freebsd-arm@freebsd.org Fri Oct 11 10:50:57 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 7234B147D12 for ; Fri, 11 Oct 2019 10:50:57 +0000 (UTC) (envelope-from maciphone2@googlemail.com) Received: from n6.nabble.com (n6.nabble.com [162.255.23.37]) by mx1.freebsd.org (Postfix) with ESMTP id 46qPrJ5Bm0z4Lsy for ; Fri, 11 Oct 2019 10:50:56 +0000 (UTC) (envelope-from maciphone2@googlemail.com) Received: from n6.nabble.com (localhost [127.0.0.1]) by n6.nabble.com (Postfix) with ESMTP id 6629F11C82212 for ; Fri, 11 Oct 2019 03:45:20 -0700 (MST) Date: Fri, 11 Oct 2019 03:45:20 -0700 (MST) From: =?UTF-8?Q?Klaus_K=C3=BCchemann?= To: freebsd-arm@freebsd.org Message-ID: <1570790720416-0.post@n6.nabble.com> In-Reply-To: <20190925124305.3ada7b327cf73dcb611ec074@bidouilliste.com> References: <20190916064640.GN96402@funkthat.com> <20190924221308.GX96402@funkthat.com> <20190925124305.3ada7b327cf73dcb611ec074@bidouilliste.com> Subject: Re: RockPro64 booting w/ u-boot v2019-rc3 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Rspamd-Queue-Id: 46qPrJ5Bm0z4Lsy X-Spamd-Bar: ++++++ X-Spamd-Result: default: False [7.00 / 15.00]; ARC_NA(0.00)[]; GREYLIST(0.00)[pass,body]; FROM_HAS_DN(0.00)[]; DMARC_POLICY_QUARANTINE(1.50)[googlemail.com : No valid SPF, No valid DKIM,quarantine]; FREEMAIL_FROM(0.00)[googlemail.com]; TO_MATCH_ENVRCPT_ALL(0.00)[]; MIME_GOOD(-0.10)[text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-arm@freebsd.org]; TO_DN_NONE(0.00)[]; R_SPF_SOFTFAIL(0.00)[~all]; RCPT_COUNT_ONE(0.00)[1]; NEURAL_SPAM_MEDIUM(1.00)[0.998,0]; IP_SCORE(0.00)[ip: (0.66), ipnet: 162.255.20.0/22(0.23), asn: 21624(0.04), country: US(-0.05)]; VIOLATED_DIRECT_SPF(3.50)[]; NEURAL_SPAM_LONG(1.00)[1.000,0]; RCVD_IN_DNSWL_NONE(0.00)[37.23.255.162.list.dnswl.org : 127.0.10.0]; IP_SCORE_FREEMAIL(0.00)[]; RCVD_NO_TLS_LAST(0.10)[]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:21624, ipnet:162.255.20.0/22, country:US]; RCVD_COUNT_TWO(0.00)[2]; FREEMAIL_ENVFROM(0.00)[googlemail.com] X-Spam: Yes 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, 11 Oct 2019 10:50:57 -0000 Hi, FreeBSD-13.0-CURRENT-arm64-aarch64-20191004-r353072-memstick.img -- U-Boot TPL 2019.10 (Oct 08 2019 - 07:58:06) Trying to boot from BOOTROM Returning to boot ROM... U-Boot SPL 2019.10 (Oct 08 2019 - 07:58:06 +0000) Trying to boot from MMC1 U-Boot 2019.10 (Oct 08 2019 - 07:58:06 +0000) Model: Pine64 RockPro64 DRAM: 2 GiB << error/it`s the 4GB-model !!!>>>>>>> MMC: dwmmc@fe320000: 1, sdhci@fe330000: 0 Loading Environment from MMC... Card did not respond to voltage select! *** Warning - No block device, using default environment = =20 Consoles: EFI console = =20 Reading loader env vars from /efi/freebsd/loader.env = =20 Setting currdev to disk0p1: = =20 FreeBSD/arm64 EFI loader, Revision 1.1 = =20 (Fri Oct 4 02:56:02 UTC 2019 root@releng1.nyi.freebsd.org) = =20 rockchip_dnl_key_pressed: adc_channel_single_shot fail! = =20 Command line arguments: loader.efi = =20 EFI version: 2.80autoboot: 0 = =20 EFI Firmware: Das U-Boot (rev 8217.4096) = =20 Console: efi (0)s #0, OK = =20 Load Path: /efi\boot\bootaa64.efi = =20 Load Device: /VenHw(e61d73b9-a384-4acc-aeab-82e828f3628b)/SD(1)/SD(0)/HD(1,GP T,ddd7d28e-e677-11e9-a9eb-002590ec5bf2,0x3,0x10418)efi = =20 Trying ESP: /VenHw(e61d73b9-a384-4acc-aeab-82e828f3628b)/SD(1)/SD(0)/HD(1,GPT,dd d7d28e-e677-11e9-a9eb-002590ec5bf2,0x3,0x10418) = =20 Setting currdev to disk0p1:tage select! = =20 Trying: /VenHw(e61d73b9-a384-4acc-aeab-82e828f3628b)/SD(1)/SD(0)/HD(2,GPT,ddd7d2 8e-e677-11e9-a9eb-002590ec5bf2,0x1041b,0x1ebe80) = =20 Setting currdev to disk0p2: = =20 Loading /boot/defaults/loader.conf = =20 Loading /boot/device.hintsoad any image = =20 Loading /boot/loader.confs (18.9 MiB/s) = =20 Loading /boot/loader.conf.localERR_BADMAGIC = =20 \ |_| |_| \___|\___||____/|_____/|_____/ = =20 ``` = =20 ` =20 =C3=A2=C3=A2=C3=A2=C3=A2=C3=A2=C3=A2=C3=A2=C3=A2=C3=A2=C3=A2=C3=A2=C3=A2We= lcome to FreeBSD=C3=A2=C3=A2=C3=A2=C3=A2=C3=A2=C3=A2=C3=A2=C3=A2=C3=A2=C3= =A2=C3=A2=C3=A2=C3=A2? s` `.....---.......--.``` =20 -/ =20 =C3=A2 =C3=A2? +o .--` = /y:` =20 +. =20 =C3=A2 1. Boot Multi user [Enter] =C3=A2? yo`:. = :o =20 `+- =20 =C3=A2 2. Boot Single user =C3=A2? y/ = -/` -o/ =20 =C3=A2 3. Escape to loader prompt =C3=A2? .- = =20 ::/sy+:. =20 =C3=A2 4. Reboot =C3=A2? / = `--=20 / =20 =C3=A2 =C3=A2? `: = =20 :` =20 =C3=A2? Options: =C3=A2? `: = =20 :` =20 =C3=A2? 5. Kernel: default/kernel (1 of 1) =C3=A2? / = =20 / =20 =C3=A2? 6. Boot Options =C3=A2? .- = =20 -. =20 =C3=A2? =C3=A2? -- = -. =20 =C3=A2? =C3=A2? `:` = `:` =20 =C3=A2? =C3=A2? .-- = `--. =20 =C3=A2=C3=A2=C3=A2=C3=A2=C3=A2=C3=A2=C3=A2=C3=A2=C3=A2=C3=A2=C3=A2=C3=A2= =C3=A2=C3=A2=C3=A2=C3=A2=C3=A2=C3=A2=C3=A2=C3=A2=C3=A2=C3=A2=C3=A2=C3=A2=C3= =A2=C3=A2=C3=A2=C3=A2=C3=A2=C3=A2=C3=A2=C3=A2=C3=A2=C3=A2=C3=A2=C3=A2=C3=A2= =C3=A2=C3=A2=C3=A2=C3=A2=C3=A2=C3=A2? .---.....----. =20 Autoboot in 0 seconds, hit [Enter] to boot or any other key to stop = =20 Loading kernel... = =20 /boot/kernel/kernel text=3D0x958e8c data=3D0x196020+0x7785c4 syms=3D[0x8+0x13d3d0+0x8+ 0x129037] = =20 Loading configured modules... = =20 can't find '/boot/entropy' = =20 Using DTB provided by EFI at 0x80ec000. = =20 ---<>--- = =20 KDB: debugger backends: ddb = =20 KDB: current backend: ddb = =20 Copyright (c) 1992-2019 The FreeBSD Project. = =20 Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994 = =20 The Regents of the University of California. All rights reserved. = =20 FreeBSD is a registered trademark of The FreeBSD Foundation. = =20 FreeBSD 13.0-CURRENT #0 r353072: Fri Oct 4 03:32:10 UTC 2019 = =20 root@releng1.nyi.freebsd.org:/usr/obj/usr/src/arm64.aarch64/sys/GENERIC arm4 FreeBSD clang version 8.0.1 (tags/RELEASE_801/final 366581) (based on LLVM 8.0.) WARNING: WITNESS option enabled, expect reduced performance. = =20 VT: init without driver. = =20 module firmware already present! = =20 Starting CPU 1 (1) = =20 Starting CPU 2 (2) = =20 Starting CPU 3 (3) = =20 Starting CPU 4 (100) = =20 Starting CPU 5 (101) = =20 FreeBSD/SMP: Multiprocessor System Detected: 6 CPUs = =20 arc4random: WARNING: initial seeding bypassed the cryptographic random device b. random: entropy device external interface = =20 MAP 7cf1d000 mode 2 pages 1 = =20 MAP 7cf26000 mode 2 pages 1 = =20 MAP 7ff40000 mode 2 pages 16 = =20 kbd0 at kbdmux0 = =20 ofwbus0: = =20 clk_fixed0: on ofwbus0 = =20 simplebus0: on ofwbus0 = =20 rk_grf0: mem 0xff320000-0xff320fff on ofwbus0=20 rk3399_pmucru0: mem 0xff750000-0xff70 rk3399_cru0: mem 0xff760000-0xff760fff o0 rk_grf1: mem 0xff770000-0xff77ffff on ofwbus0=20 clk_fixed1: on ofwbus0 = =20 regfix0: on ofwbus0 = =20 regfix1: on ofwbus0 = =20 regfix2: on ofwbus0 = =20 regfix3: on ofwbus0 = =20 regfix4: on ofwbus0 = =20 regfix5: on ofwbus0 = =20 regfix6: on ofwbus0 = =20 regfix7: on ofwbus0 = =20 simple_mfd0: mem 0xff310000-0xff310ff= f on0 psci0: on ofwbus0 = =20 gic0: mem 0xfee00000-0xfee0ffff,0xfef000 its0: mem 0xfee20000-0xfee3ffff on gic0=20 rk_pinctrl0: on ofwbus0 = =20 gpio0: mem 0xff720000-0xff7200ff irq 65 on rk_p0 gpiobus0: on gpio0 = =20 gpio1: mem 0xff730000-0xff7300ff irq 66 on rk_p0 gpiobus1: on gpio1 = =20 gpio2: mem 0xff780000-0xff7800ff irq 67 on rk_p0 gpiobus2: on gpio2 = =20 gpio3: mem 0xff788000-0xff7880ff irq 68 on rk_p0 gpiobus3: on gpio3 = =20 gpio4: mem 0xff790000-0xff7900ff irq 69 on rk_p0 gpiobus4: on gpio4 = =20 rk_i2c0: mem 0xff110000-0xff110fff irq 20 on ofwbus0 = =20 iicbus0: on rk_i2c0 = =20 rk_i2c1: mem 0xff130000-0xff130fff irq 22 on ofwbus0 = =20 iicbus1: on rk_i2c1 = =20 rk_i2c2: mem 0xff3c0000-0xff3c0fff irq 38 on ofwbus0 = =20 iicbus2: on rk_i2c2 = =20 syr8270: at addr 0x80 on iicbus2 = =20 rk_i2c3: mem 0xff3d0000-0xff3d0fff irq 39 on ofwbus0 = =20 iicbus3: on rk_i2c3 = =20 rk805_pmu0: at addr 0x36 irq 70 on iicbus2 = =20 generic_timer0: irq 2,3,4,5 on ofwbus0 = =20 Timecounter "ARM MPCore Timecounter" frequency 24000000 Hz quality 1000 = =20 Event timer "ARM MPCore Eventtimer" frequency 24000000 Hz quality 1000 = =20 rk_usb2phy0: mem 0-0xff76ffff,0-0xffff on rk_grf1= =20 rk_usb2phy1: mem 0-0xff76ffff,0-0xffff on rk_grf1= =20 rk_emmcphy0: mem 0-0xff76ffff,0-0xffff on rk_grf= 1 =20 cpulist0: on ofwbus0 = =20 cpu0: on cpulist0 = =20 cpufreq_dt0: on cpu0 = =20 cpu1: on cpulist0 = =20 cpufreq_dt1: on cpu1 = =20 cpu2: on cpulist0 = =20 cpufreq_dt2: on cpu2 = =20 cpu3: on cpulist0 = =20 cpufreq_dt3: on cpu3 = =20 cpu4: on cpulist0 = =20 cpufreq_dt4: on cpu4 = =20 cpu5: on cpulist0 = =20 cpufreq_dt5: on cpu5 = =20 dwc0: mem 0xfe300000-0xfe30ffff irq = 9 on0 miibus0: on dwc0 = =20 rgephy0: PHY 0 on miibus0 = =20 rgephy0: none, 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseT-FDX, o rgephy1: PHY 1 on miibus0 = =20 rgephy1: none, 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseT-FDX, o dwc0: Ethernet address: 3e:e5:c3:24:6e:90 = =20 rockchip_dwmmc0: on rockchip_dwmmc0 = =20 sdhci_fdt0: mem 0xfe330000-0xfe33fff= f ir0 rk_emmcphy0: got emmcclk clock = =20 sdhci_fdt0-slot0: Hardware doesn't specify timeout clock frequency, setting BRO. sdhci_fdt0: 1 slot(s) allocated = =20 mmc1: on sdhci_fdt0 = =20 ehci0: mem 0xfe380000-0xfe39ffff irq 13 on ofwbus= 0 =20 ehci0: Could not set phy to host mode = =20 panic: lock 0xffff0000413bb140 is not initialized = =20 cpuid =3D 0 = =20 time =3D 1 = =20 KDB: stack backtrace: = =20 db_trace_self() at db_trace_self_wrapper+0x28 = =20 pc =3D 0xffff00000071e7b8 lr =3D 0xffff000000106224 = =20 sp =3D 0xffff000000010530 fp =3D 0xffff000000010740 = =20 = =20 db_trace_self_wrapper() at vpanic+0x18c = =20 pc =3D 0xffff000000106224 lr =3D 0xffff0000003ff2bc = =20 sp =3D 0xffff000000010750 fp =3D 0xffff000000010800 = =20 = =20 vpanic() at panic+0x44 = =20 pc =3D 0xffff0000003ff2bc lr =3D 0xffff0000003ff06c = =20 sp =3D 0xffff000000010810 fp =3D 0xffff000000010890 = =20 = =20 panic() at lock_destroy+0x44 = =20 pc =3D 0xffff0000003ff06c lr =3D 0xffff000000447ffc = =20 sp =3D 0xffff0000000108a0 fp =3D 0xffff0000000108b0 = =20 = =20 lock_destroy() at usb_bus_mem_free_all+0x34 = =20 pc =3D 0xffff000000447ffc lr =3D 0xffff000000288314 = =20 sp =3D 0xffff0000000108c0 fp =3D 0xffff0000000108d0 = =20 = =20 usb_bus_mem_free_all() at generic_ehci_detach+0xb8 = =20 pc =3D 0xffff000000288314 lr =3D 0xffff00000075f418 = =20 sp =3D 0xffff0000000108e0 fp =3D 0xffff000000010900 = =20 = =20 generic_ehci_detach() at generic_ehci_fdt_detach+0x1c = =20 pc =3D 0xffff00000075f418 lr =3D 0xffff00000075f800 = =20 sp =3D 0xffff000000010910 fp =3D 0xffff000000010950 = =20 = =20 generic_ehci_fdt_detach() at generic_ehci_fdt_attach+0x26c = =20 pc =3D 0xffff00000075f800 lr =3D 0xffff00000075f7a0 = =20 sp =3D 0xffff000000010960 fp =3D 0xffff0000000109b0 = =20 = =20 generic_ehci_fdt_attach() at device_attach+0x3ec = =20 pc =3D 0xffff00000075f7a0 lr =3D 0xffff000000434d2c = =20 sp =3D 0xffff0000000109c0 fp =3D 0xffff000000010a10 = =20 = =20 device_attach() at device_probe_and_attach+0x7c = =20 pc =3D 0xffff000000434d2c lr =3D 0xffff0000004348a8 = =20 sp =3D 0xffff000000010a20 fp =3D 0xffff000000010a40 = =20 = =20 device_probe_and_attach() at bus_generic_new_pass+0xec = =20 pc =3D 0xffff0000004348a8 lr =3D 0xffff000000436930 = =20 sp =3D 0xffff000000010a50 fp =3D 0xffff000000010a80 = =20 = =20 bus_generic_new_pass() at bus_generic_new_pass+0xd0 = =20 pc =3D 0xffff000000436930 lr =3D 0xffff000000436914 = =20 sp =3D 0xffff000000010a90 fp =3D 0xffff000000010ac0 = =20 = =20 bus_generic_new_pass() at bus_generic_new_pass+0xd0 = =20 pc =3D 0xffff000000436914 lr =3D 0xffff000000436914 = =20 sp =3D 0xffff000000010ad0 fp =3D 0xffff000000010b00 = =20 = =20 bus_generic_new_pass() at bus_set_pass+0x8c = =20 pc =3D 0xffff000000436914 lr =3D 0xffff000000432408 = =20 sp =3D 0xffff000000010b10 fp =3D 0xffff000000010b40 = =20 = =20 bus_set_pass() at mi_startup+0x238 = =20 pc =3D 0xffff000000432408 lr =3D 0xffff000000398ad4 = =20 sp =3D 0xffff000000010b50 fp =3D 0xffff000000010bb0 = =20 = =20 mi_startup() at virtdone+0x54 = =20 pc =3D 0xffff000000398ad4 lr =3D 0xffff000000001084 = =20 sp =3D 0xffff000000010bc0 fp =3D 0x0000000000000000 = =20 = =20 KDB: enter: panic = =20 [ thread pid 0 tid 100000 ] = =20 Stopped at 0 = =20 db> help = =20 This is ddb(4), the kernel debugger; see https://man.FreeBSD.org/ddb/4 for help. Use "bt" for backtrace, "dump" for kernel core dump, "reset" to reboot. = =20 Available commands: = =20 acttrace alltrace b break = =20 bt c call capture = =20 continue countfreebufs d delete = =20 dhwatch dump dwatch examine = =20 findstack gdb halt hwatch = =20 kill kldstat match next = =20 p panic pci_clearerr print = =20 ps reboot reset run = =20 s script scripts search = =20 set show step sysctl = =20 t textdump thread trace = =20 unscript until w watch = =20 watchdog where write x = =20 = =20 The following have subcommands; append "help" to list (e.g. "show help"): = =20 show = =20 db>=20 ----- Regards=20 Klaus -- Sent from: http://freebsd.1045724.x6.nabble.com/freebsd-arm-f4199244.html From owner-freebsd-arm@freebsd.org Fri Oct 11 10:56:08 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 B36E914804C for ; Fri, 11 Oct 2019 10:56:08 +0000 (UTC) (envelope-from manu@bidouilliste.com) Received: from mail.blih.net (mail.blih.net [212.83.177.182]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mail.blih.net", Issuer "mail.blih.net" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 46qPyH0N1jz4MFC for ; Fri, 11 Oct 2019 10:56:06 +0000 (UTC) (envelope-from manu@bidouilliste.com) Received: from mail.blih.net (mail.blih.net [212.83.177.182]) by mail.blih.net (OpenSMTPD) with ESMTP id d467f1d3; Fri, 11 Oct 2019 12:55:58 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=bidouilliste.com; h=date :from:to:cc:subject:message-id:in-reply-to:references :mime-version:content-type:content-transfer-encoding; s=mail; bh=ExdFs9h3rrz8tdt4t0Q4ChezzUo=; b=W74Df44omACq+mnZwBo7pbGADAhZ GxQdyYhz8DaWMXi6ApESnh1LhKf1Z103AW4qsGdw5EqLVs+WoLUaVcBYlVGUJtCA R1+TXBxvbxPHyMCzZQekr5D+WViLql/F++K4KaFypec3bwTkE55+5LlElqy+NYN2 VD0v6lBCWiBzxCs= DomainKey-Signature: a=rsa-sha1; c=nofws; d=bidouilliste.com; h=date :from:to:cc:subject:message-id:in-reply-to:references :mime-version:content-type:content-transfer-encoding; q=dns; s= mail; b=WkfRfmlkicmDsQ0MAjf+3vRjQEIgukDYhsG47d3FHtJfEzUeq1fO+0X1 psCpu3QR3chmPh4sJCjPosVcqWW6dDEWJdYveQcl66q2NUZU4ZwNZKDJXejHXViN GLB0LItOwiH7JXxlwKMPZrKUPmV3LkQFpkrlonPNQl//3vWbjRo= Received: from skull.home.blih.net (ip-9.net-89-3-105.rev.numericable.fr [89.3.105.9]) by mail.blih.net (OpenSMTPD) with ESMTPSA id ea685243 TLS version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO; Fri, 11 Oct 2019 12:55:58 +0200 (CEST) Date: Fri, 11 Oct 2019 12:55:58 +0200 From: Emmanuel Vadot To: Klaus =?ISO-8859-1?Q?K=FCchemann?= Cc: Klaus =?ISO-8859-1?Q?K=FCchemann?= via freebsd-arm Subject: Re: RockPro64 booting w/ u-boot v2019-rc3 Message-Id: <20191011125558.00bf845d71c27954d220edf0@bidouilliste.com> In-Reply-To: <1570790720416-0.post@n6.nabble.com> References: <20190916064640.GN96402@funkthat.com> <20190924221308.GX96402@funkthat.com> <20190925124305.3ada7b327cf73dcb611ec074@bidouilliste.com> <1570790720416-0.post@n6.nabble.com> X-Mailer: Sylpheed 3.7.0 (GTK+ 2.24.32; amd64-portbld-freebsd13.0) Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Rspamd-Queue-Id: 46qPyH0N1jz4MFC X-Spamd-Bar: - Authentication-Results: mx1.freebsd.org; dkim=pass header.d=bidouilliste.com header.s=mail header.b=W74Df44o; dmarc=none; spf=pass (mx1.freebsd.org: domain of manu@bidouilliste.com designates 212.83.177.182 as permitted sender) smtp.mailfrom=manu@bidouilliste.com X-Spamd-Result: default: False [-1.19 / 15.00]; ARC_NA(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; R_DKIM_ALLOW(-0.20)[bidouilliste.com:s=mail]; NEURAL_HAM_MEDIUM(-0.68)[-0.682,0]; FROM_HAS_DN(0.00)[]; R_SPF_ALLOW(-0.20)[+ip4:212.83.177.182/32]; MV_CASE(0.50)[]; MIME_GOOD(-0.10)[text/plain]; DMARC_NA(0.00)[bidouilliste.com]; NEURAL_HAM_LONG(-0.99)[-0.987,0]; TO_MATCH_ENVRCPT_SOME(0.00)[]; TO_DN_ALL(0.00)[]; DKIM_TRACE(0.00)[bidouilliste.com:+]; RCPT_COUNT_TWO(0.00)[2]; FREEMAIL_TO(0.00)[googlemail.com]; RCVD_NO_TLS_LAST(0.10)[]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; IP_SCORE(0.37)[ip: (-0.72), ipnet: 212.83.160.0/19(2.48), asn: 12876(0.11), country: FR(-0.00)]; ASN(0.00)[asn:12876, ipnet:212.83.160.0/19, country:FR]; 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: Fri, 11 Oct 2019 10:56:08 -0000 Hi, On Fri, 11 Oct 2019 03:45:20 -0700 (MST) Klaus K=FCchemann via freebsd-arm wrote: > Hi, >=20 > FreeBSD-13.0-CURRENT-arm64-aarch64-20191004-r353072-memstick.img When you have some problems with a week old snapshot it's better to test with latest head. This was fixed in r353125. Cheers, > -- >=20 > U-Boot TPL 2019.10 (Oct 08 2019 - 07:58:06) > Trying to boot from BOOTROM > Returning to boot ROM... >=20 > U-Boot SPL 2019.10 (Oct 08 2019 - 07:58:06 +0000) > Trying to boot from MMC1 >=20 >=20 > U-Boot 2019.10 (Oct 08 2019 - 07:58:06 +0000) >=20 > Model: Pine64 RockPro64 > DRAM: 2 GiB << error/it`s the 4GB-model !!!>>>>>>> > MMC: dwmmc@fe320000: 1, sdhci@fe330000: 0 > Loading Environment from MMC... Card did not respond to voltage select! > *** Warning - No block device, using default environment = =20 > Consoles: EFI console = =20 > Reading loader env vars from /efi/freebsd/loader.env = =20 > Setting currdev to disk0p1: = =20 > FreeBSD/arm64 EFI loader, Revision 1.1 = =20 > (Fri Oct 4 02:56:02 UTC 2019 root@releng1.nyi.freebsd.org) = =20 > rockchip_dnl_key_pressed: adc_channel_single_shot fail! = =20 > Command line arguments: loader.efi = =20 > EFI version: 2.80autoboot: 0 = =20 > EFI Firmware: Das U-Boot (rev 8217.4096) = =20 > Console: efi (0)s #0, OK = =20 > Load Path: /efi\boot\bootaa64.efi = =20 > Load Device: > /VenHw(e61d73b9-a384-4acc-aeab-82e828f3628b)/SD(1)/SD(0)/HD(1,GP > T,ddd7d28e-e677-11e9-a9eb-002590ec5bf2,0x3,0x10418)efi = =20 > Trying ESP: > /VenHw(e61d73b9-a384-4acc-aeab-82e828f3628b)/SD(1)/SD(0)/HD(1,GPT,dd > d7d28e-e677-11e9-a9eb-002590ec5bf2,0x3,0x10418) = =20 > Setting currdev to disk0p1:tage select! = =20 > Trying: > /VenHw(e61d73b9-a384-4acc-aeab-82e828f3628b)/SD(1)/SD(0)/HD(2,GPT,ddd7d2 > 8e-e677-11e9-a9eb-002590ec5bf2,0x1041b,0x1ebe80) = =20 > Setting currdev to disk0p2: = =20 > Loading /boot/defaults/loader.conf = =20 > Loading /boot/device.hintsoad any image = =20 > Loading /boot/loader.confs (18.9 MiB/s) = =20 > Loading /boot/loader.conf.localERR_BADMAGIC = =20 > \ > |_| |_| \___|\___||____/|_____/|_____/ = =20 > ``` = =20 > ` =20 > =E2=E2=E2=E2=E2=E2=E2=E2=E2=E2=E2=E2Welcome to FreeBSD=E2=E2=E2=E2=E2=E2= =E2=E2=E2=E2=E2=E2=E2? s` `.....---.......--.``` =20 > -/ =20 > =E2 =E2? +o .--` /y:= ` =20 > +. =20 > =E2 1. Boot Multi user [Enter] =E2? yo`:. :o = =20 > `+- =20 > =E2 2. Boot Single user =E2? y/ -/= ` -o/ =20 > =E2 3. Escape to loader prompt =E2? .- =20 > ::/sy+:. =20 > =E2 4. Reboot =E2? / = `--=20 > / =20 > =E2 =E2? `: = =20 > :` =20 > =E2? Options: =E2? `: = =20 > :` =20 > =E2? 5. Kernel: default/kernel (1 of 1) =E2? / = =20 > / =20 > =E2? 6. Boot Options =E2? .- = =20 > -. =20 > =E2? =E2? -- = -. =20 > =E2? =E2? `:` = `:` =20 > =E2? =E2? .-- = `--. =20 > =E2=E2=E2=E2=E2=E2=E2=E2=E2=E2=E2=E2=E2=E2=E2=E2=E2=E2=E2=E2=E2=E2=E2=E2= =E2=E2=E2=E2=E2=E2=E2=E2=E2=E2=E2=E2=E2=E2=E2=E2=E2=E2=E2? .---..= ...----. =20 > Autoboot in 0 seconds, hit [Enter] to boot or any other key to stop = =20 > Loading kernel... = =20 > /boot/kernel/kernel text=3D0x958e8c data=3D0x196020+0x7785c4 > syms=3D[0x8+0x13d3d0+0x8+ > 0x129037] = =20 > Loading configured modules... = =20 > can't find '/boot/entropy' = =20 > Using DTB provided by EFI at 0x80ec000. = =20 > ---<>--- = =20 > KDB: debugger backends: ddb = =20 > KDB: current backend: ddb = =20 > Copyright (c) 1992-2019 The FreeBSD Project. = =20 > Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994 = =20 > The Regents of the University of California. All rights reserved.= =20 > FreeBSD is a registered trademark of The FreeBSD Foundation. = =20 > FreeBSD 13.0-CURRENT #0 r353072: Fri Oct 4 03:32:10 UTC 2019 = =20 > root@releng1.nyi.freebsd.org:/usr/obj/usr/src/arm64.aarch64/sys/GENER= IC > arm4 > FreeBSD clang version 8.0.1 (tags/RELEASE_801/final 366581) (based on LLVM > 8.0.) > WARNING: WITNESS option enabled, expect reduced performance. = =20 > VT: init without driver. = =20 > module firmware already present! = =20 > Starting CPU 1 (1) = =20 > Starting CPU 2 (2) = =20 > Starting CPU 3 (3) = =20 > Starting CPU 4 (100) = =20 > Starting CPU 5 (101) = =20 > FreeBSD/SMP: Multiprocessor System Detected: 6 CPUs = =20 > arc4random: WARNING: initial seeding bypassed the cryptographic random > device b. > random: entropy device external interface = =20 > MAP 7cf1d000 mode 2 pages 1 = =20 > MAP 7cf26000 mode 2 pages 1 = =20 > MAP 7ff40000 mode 2 pages 16 = =20 > kbd0 at kbdmux0 = =20 > ofwbus0: = =20 > clk_fixed0: on ofwbus0 = =20 > simplebus0: on ofwbus0 = =20 > rk_grf0: mem 0xff320000-0xff320fff on > ofwbus0=20 > rk3399_pmucru0: mem > 0xff750000-0xff70 > rk3399_cru0: mem > 0xff760000-0xff760fff o0 > rk_grf1: mem 0xff770000-0xff77ffff on > ofwbus0=20 > clk_fixed1: on ofwbus0 = =20 > regfix0: on ofwbus0 = =20 > regfix1: on ofwbus0 = =20 > regfix2: on ofwbus0 = =20 > regfix3: on ofwbus0 = =20 > regfix4: on ofwbus0 = =20 > regfix5: on ofwbus0 = =20 > regfix6: on ofwbus0 = =20 > regfix7: on ofwbus0 = =20 > simple_mfd0: mem 0xff310000-0xff310= fff > on0 > psci0: on ofwbus0 = =20 > gic0: mem > 0xfee00000-0xfee0ffff,0xfef000 > its0: mem 0xfee20000-0xfee3ffff on > gic0=20 > rk_pinctrl0: on ofwbus0 = =20 > gpio0: mem 0xff720000-0xff7200ff irq 65 on > rk_p0 > gpiobus0: on gpio0 = =20 > gpio1: mem 0xff730000-0xff7300ff irq 66 on > rk_p0 > gpiobus1: on gpio1 = =20 > gpio2: mem 0xff780000-0xff7800ff irq 67 on > rk_p0 > gpiobus2: on gpio2 = =20 > gpio3: mem 0xff788000-0xff7880ff irq 68 on > rk_p0 > gpiobus3: on gpio3 = =20 > gpio4: mem 0xff790000-0xff7900ff irq 69 on > rk_p0 > gpiobus4: on gpio4 = =20 > rk_i2c0: mem 0xff110000-0xff110fff irq 20 on ofwbus0 = =20 > iicbus0: on rk_i2c0 = =20 > rk_i2c1: mem 0xff130000-0xff130fff irq 22 on ofwbus0 = =20 > iicbus1: on rk_i2c1 = =20 > rk_i2c2: mem 0xff3c0000-0xff3c0fff irq 38 on ofwbus0 = =20 > iicbus2: on rk_i2c2 = =20 > syr8270: at addr 0x80 on iicbus2 = =20 > rk_i2c3: mem 0xff3d0000-0xff3d0fff irq 39 on ofwbus0 = =20 > iicbus3: on rk_i2c3 = =20 > rk805_pmu0: at addr 0x36 irq 70 on iicbus2 = =20 > generic_timer0: irq 2,3,4,5 on ofwbus0 = =20 > Timecounter "ARM MPCore Timecounter" frequency 24000000 Hz quality 1000 = =20 > Event timer "ARM MPCore Eventtimer" frequency 24000000 Hz quality 1000 = =20 > rk_usb2phy0: mem 0-0xff76ffff,0-0xffff on rk_gr= f1 =20 > rk_usb2phy1: mem 0-0xff76ffff,0-0xffff on rk_gr= f1 =20 > rk_emmcphy0: mem 0-0xff76ffff,0-0xffff on rk_g= rf1 =20 > cpulist0: on ofwbus0 = =20 > cpu0: on cpulist0 = =20 > cpufreq_dt0: on cpu0 = =20 > cpu1: on cpulist0 = =20 > cpufreq_dt1: on cpu1 = =20 > cpu2: on cpulist0 = =20 > cpufreq_dt2: on cpu2 = =20 > cpu3: on cpulist0 = =20 > cpufreq_dt3: on cpu3 = =20 > cpu4: on cpulist0 = =20 > cpufreq_dt4: on cpu4 = =20 > cpu5: on cpulist0 = =20 > cpufreq_dt5: on cpu5 = =20 > dwc0: mem 0xfe300000-0xfe30ffff ir= q 9 > on0 > miibus0: on dwc0 = =20 > rgephy0: PHY 0 on miibus= 0 =20 > rgephy0: none, 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, > 1000baseT-FDX, o > rgephy1: PHY 1 on miibus= 0 =20 > rgephy1: none, 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, > 1000baseT-FDX, o > dwc0: Ethernet address: 3e:e5:c3:24:6e:90 = =20 > rockchip_dwmmc0: (RockChip)0 > rockchip_dwmmc0: Hardware version ID is 270a = =20 > mmc0: on rockchip_dwmmc0 = =20 > sdhci_fdt0: mem 0xfe330000-0xfe33f= fff > ir0 > rk_emmcphy0: got emmcclk clock = =20 > sdhci_fdt0-slot0: Hardware doesn't specify timeout clock frequency, setti= ng > BRO. > sdhci_fdt0: 1 slot(s) allocated = =20 > mmc1: on sdhci_fdt0 = =20 > ehci0: mem 0xfe380000-0xfe39ffff irq 13 on ofwb= us0 =20 > ehci0: Could not set phy to host mode = =20 > panic: lock 0xffff0000413bb140 is not initialized = =20 > cpuid =3D 0 = =20 > time =3D 1 = =20 > KDB: stack backtrace: = =20 > db_trace_self() at db_trace_self_wrapper+0x28 = =20 > pc =3D 0xffff00000071e7b8 lr =3D 0xffff000000106224 = =20 > sp =3D 0xffff000000010530 fp =3D 0xffff000000010740 = =20 > = =20 > db_trace_self_wrapper() at vpanic+0x18c = =20 > pc =3D 0xffff000000106224 lr =3D 0xffff0000003ff2bc = =20 > sp =3D 0xffff000000010750 fp =3D 0xffff000000010800 = =20 > = =20 > vpanic() at panic+0x44 = =20 > pc =3D 0xffff0000003ff2bc lr =3D 0xffff0000003ff06c = =20 > sp =3D 0xffff000000010810 fp =3D 0xffff000000010890 = =20 > = =20 > panic() at lock_destroy+0x44 = =20 > pc =3D 0xffff0000003ff06c lr =3D 0xffff000000447ffc = =20 > sp =3D 0xffff0000000108a0 fp =3D 0xffff0000000108b0 = =20 > = =20 > lock_destroy() at usb_bus_mem_free_all+0x34 = =20 > pc =3D 0xffff000000447ffc lr =3D 0xffff000000288314 = =20 > sp =3D 0xffff0000000108c0 fp =3D 0xffff0000000108d0 = =20 > = =20 > usb_bus_mem_free_all() at generic_ehci_detach+0xb8 = =20 > pc =3D 0xffff000000288314 lr =3D 0xffff00000075f418 = =20 > sp =3D 0xffff0000000108e0 fp =3D 0xffff000000010900 = =20 > = =20 > generic_ehci_detach() at generic_ehci_fdt_detach+0x1c = =20 > pc =3D 0xffff00000075f418 lr =3D 0xffff00000075f800 = =20 > sp =3D 0xffff000000010910 fp =3D 0xffff000000010950 = =20 > = =20 > generic_ehci_fdt_detach() at generic_ehci_fdt_attach+0x26c = =20 > pc =3D 0xffff00000075f800 lr =3D 0xffff00000075f7a0 = =20 > sp =3D 0xffff000000010960 fp =3D 0xffff0000000109b0 = =20 > = =20 > generic_ehci_fdt_attach() at device_attach+0x3ec = =20 > pc =3D 0xffff00000075f7a0 lr =3D 0xffff000000434d2c = =20 > sp =3D 0xffff0000000109c0 fp =3D 0xffff000000010a10 = =20 > = =20 > device_attach() at device_probe_and_attach+0x7c = =20 > pc =3D 0xffff000000434d2c lr =3D 0xffff0000004348a8 = =20 > sp =3D 0xffff000000010a20 fp =3D 0xffff000000010a40 = =20 > = =20 > device_probe_and_attach() at bus_generic_new_pass+0xec = =20 > pc =3D 0xffff0000004348a8 lr =3D 0xffff000000436930 = =20 > sp =3D 0xffff000000010a50 fp =3D 0xffff000000010a80 = =20 > = =20 > bus_generic_new_pass() at bus_generic_new_pass+0xd0 = =20 > pc =3D 0xffff000000436930 lr =3D 0xffff000000436914 = =20 > sp =3D 0xffff000000010a90 fp =3D 0xffff000000010ac0 = =20 > = =20 > bus_generic_new_pass() at bus_generic_new_pass+0xd0 = =20 > pc =3D 0xffff000000436914 lr =3D 0xffff000000436914 = =20 > sp =3D 0xffff000000010ad0 fp =3D 0xffff000000010b00 = =20 > = =20 > bus_generic_new_pass() at bus_set_pass+0x8c = =20 > pc =3D 0xffff000000436914 lr =3D 0xffff000000432408 = =20 > sp =3D 0xffff000000010b10 fp =3D 0xffff000000010b40 = =20 > = =20 > bus_set_pass() at mi_startup+0x238 = =20 > pc =3D 0xffff000000432408 lr =3D 0xffff000000398ad4 = =20 > sp =3D 0xffff000000010b50 fp =3D 0xffff000000010bb0 = =20 > = =20 > mi_startup() at virtdone+0x54 = =20 > pc =3D 0xffff000000398ad4 lr =3D 0xffff000000001084 = =20 > sp =3D 0xffff000000010bc0 fp =3D 0x0000000000000000 = =20 > = =20 > KDB: enter: panic = =20 > [ thread pid 0 tid 100000 ] = =20 > Stopped at 0 = =20 > db> help = =20 > This is ddb(4), the kernel debugger; see https://man.FreeBSD.org/ddb/4 for > help. > Use "bt" for backtrace, "dump" for kernel core dump, "reset" to reboot. = =20 > Available commands: = =20 > acttrace alltrace b break = =20 > bt c call capture = =20 > continue countfreebufs d delete = =20 > dhwatch dump dwatch examine = =20 > findstack gdb halt hwatch = =20 > kill kldstat match next = =20 > p panic pci_clearerr print = =20 > ps reboot reset run = =20 > s script scripts search = =20 > set show step sysctl = =20 > t textdump thread trace = =20 > unscript until w watch = =20 > watchdog where write x = =20 > = =20 > The following have subcommands; append "help" to list (e.g. "show help"):= =20 > show = =20 > db>=20 > ----- >=20 > Regards=20 > Klaus >=20 >=20 >=20 > -- > Sent from: http://freebsd.1045724.x6.nabble.com/freebsd-arm-f4199244.html > _______________________________________________ > freebsd-arm@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-arm > To unsubscribe, send any mail to "freebsd-arm-unsubscribe@freebsd.org" --=20 Emmanuel Vadot From owner-freebsd-arm@freebsd.org Fri Oct 11 11:01:34 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 61DC9148457 for ; Fri, 11 Oct 2019 11:01:34 +0000 (UTC) (envelope-from maciphone2@googlemail.com) Received: from n6.nabble.com (n6.nabble.com [162.255.23.37]) by mx1.freebsd.org (Postfix) with ESMTP id 46qQ4Y5pHpz4McT for ; Fri, 11 Oct 2019 11:01:33 +0000 (UTC) (envelope-from maciphone2@googlemail.com) Received: from n6.nabble.com (localhost [127.0.0.1]) by n6.nabble.com (Postfix) with ESMTP id 7D84011C838FA for ; Fri, 11 Oct 2019 04:01:32 -0700 (MST) Date: Fri, 11 Oct 2019 04:01:32 -0700 (MST) From: =?UTF-8?Q?Klaus_K=C3=BCchemann?= To: freebsd-arm@freebsd.org Message-ID: <1570791692512-0.post@n6.nabble.com> In-Reply-To: <20191011125558.00bf845d71c27954d220edf0@bidouilliste.com> References: <20190916064640.GN96402@funkthat.com> <20190924221308.GX96402@funkthat.com> <20190925124305.3ada7b327cf73dcb611ec074@bidouilliste.com> <1570790720416-0.post@n6.nabble.com> <20191011125558.00bf845d71c27954d220edf0@bidouilliste.com> Subject: Re: RockPro64 booting w/ u-boot v2019-rc3 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Rspamd-Queue-Id: 46qQ4Y5pHpz4McT X-Spamd-Bar: ++++++ X-Spamd-Result: default: False [7.00 / 15.00]; ARC_NA(0.00)[]; GREYLIST(0.00)[pass,meta]; FROM_HAS_DN(0.00)[]; DMARC_POLICY_QUARANTINE(1.50)[googlemail.com : No valid SPF, No valid DKIM,quarantine]; FREEMAIL_FROM(0.00)[googlemail.com]; TO_MATCH_ENVRCPT_ALL(0.00)[]; MIME_GOOD(-0.10)[text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-arm@freebsd.org]; TO_DN_NONE(0.00)[]; R_SPF_SOFTFAIL(0.00)[~all]; RCPT_COUNT_ONE(0.00)[1]; NEURAL_SPAM_MEDIUM(1.00)[0.998,0]; IP_SCORE(0.00)[ip: (0.65), ipnet: 162.255.20.0/22(0.23), asn: 21624(0.04), country: US(-0.05)]; VIOLATED_DIRECT_SPF(3.50)[]; NEURAL_SPAM_LONG(1.00)[1.000,0]; RCVD_IN_DNSWL_NONE(0.00)[37.23.255.162.list.dnswl.org : 127.0.10.0]; IP_SCORE_FREEMAIL(0.00)[]; RCVD_NO_TLS_LAST(0.10)[]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:21624, ipnet:162.255.20.0/22, country:US]; RCVD_COUNT_TWO(0.00)[2]; FREEMAIL_ENVFROM(0.00)[googlemail.com] X-Spam: Yes 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, 11 Oct 2019 11:01:34 -0000 thank you ! Regards Klaus -- Sent from: http://freebsd.1045724.x6.nabble.com/freebsd-arm-f4199244.html From owner-freebsd-arm@freebsd.org Fri Oct 11 11:36:30 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 5209C149FB4 for ; Fri, 11 Oct 2019 11:36:30 +0000 (UTC) (envelope-from hlh@restart.be) Received: from tignes.restart.be (tignes.restart.be [37.187.123.11]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (1024 bits) client-digest SHA256) (Client CN "tignes.restart.be", Issuer "CA master" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 46qQrs54ncz4Q2x for ; Fri, 11 Oct 2019 11:36:29 +0000 (UTC) (envelope-from hlh@restart.be) X-Comment: SPF check N/A for local connections - client-ip=192.168.25.127; helo=restart.be; envelope-from=hlh@restart.be; receiver= DKIM-Filter: OpenDKIM Filter v2.10.3 tignes.restart.be 46qQrr2h5nzJj Received: from restart.be (norquay.tunnel.bel [192.168.25.127]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (1024 bits) server-digest SHA256 client-signature RSA-PSS (1024 bits) client-digest SHA256) (Client CN "smtp.restart.be", Issuer "CA master" (verified OK)) by tignes.restart.be (Postfix) with ESMTPS id 46qQrr2h5nzJj for ; Fri, 11 Oct 2019 13:36:27 +0200 (CEST) Received: from morzine.restart.bel (morzine.restart.be [IPv6:2001:41d0:a:f40b:1:1:0:1]) (authenticated bits=0) by restart.be (8.15.2/8.15.2) with ESMTPSA id x9BBaQ58086328 (version=TLSv1.3 cipher=TLS_AES_128_GCM_SHA256 bits=128 verify=NO) for ; Fri, 11 Oct 2019 13:36:26 +0200 (CEST) (envelope-from hlh@restart.be) X-Authentication-Warning: norquay.restart.bel: Host morzine.restart.be [IPv6:2001:41d0:a:f40b:1:1:0:1] claimed to be morzine.restart.bel From: Henri Hennebert Subject: PINE64+ 2GB - with U-Boot SPL 2019.10 - bootaa64.efi do not find UFS partition To: freebsd-arm@freebsd.org Message-ID: <73fd9b73-e8a8-cd0d-1ff6-92b602d2dbb3@restart.be> Date: Fri, 11 Oct 2019 13:36:26 +0200 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:68.0) Gecko/20100101 Thunderbird/68.1.2 MIME-Version: 1.0 Content-Type: text/plain; charset=windows-1252; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit X-Rspamd-Queue-Id: 46qQrs54ncz4Q2x X-Spamd-Bar: -- X-Spamd-Result: default: False [-2.58 / 15.00]; ARC_NA(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; R_DKIM_ALLOW(-0.20)[restart.be:s=tignes]; NEURAL_HAM_MEDIUM(-0.98)[-0.975,0]; FROM_HAS_DN(0.00)[]; R_SPF_ALLOW(-0.20)[+ip4:37.187.123.11/32:c]; TO_MATCH_ENVRCPT_ALL(0.00)[]; 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(-1.00)[-0.999,0]; RCVD_COUNT_THREE(0.00)[3]; HAS_XAW(0.00)[]; DKIM_TRACE(0.00)[restart.be:+]; DMARC_POLICY_ALLOW(-0.50)[restart.be,reject]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; IP_SCORE(0.40)[ipnet: 37.187.0.0/16(0.45), asn: 16276(1.55), country: FR(-0.00)]; ASN(0.00)[asn:16276, ipnet:37.187.0.0/16, country:FR]; MID_RHS_MATCH_FROM(0.00)[]; RCVD_TLS_ALL(0.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: Fri, 11 Oct 2019 11:36:30 -0000 U-Boot SPL 2019.10 (Oct 10 2019 - 18:05:29 +0200) DRAM: 2048 MiB Trying to boot from MMC1 NOTICE: BL31: v2.0(release): >> FreeBSD EFI boot block Loader path: /boot/loader.efi Initializing modules: ZFS UFS Load Path: /efi\boot\bootaa64.efi Load Device: /VenHw(e61d73b9-a384-4acc-aeab-82e828f3628b)/SD(0)/SD(0)/HD(1,0x01,0,0x403b,0x20000) Probing 3 block devices...... done ZFS found no pools UFS found no partitions Failed to load '/boot/loader.efi' panic: No bootable partitions found! ## Application terminated, r = 1 Revert to U-Boot SPL 2019.07 with the same bootaa64.efi boot OK Henri From owner-freebsd-arm@freebsd.org Fri Oct 11 11:50:51 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 A0A7C14A6C1 for ; Fri, 11 Oct 2019 11:50:51 +0000 (UTC) (envelope-from manu@bidouilliste.com) Received: from mail.blih.net (mail.blih.net [212.83.177.182]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mail.blih.net", Issuer "mail.blih.net" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 46qR9Q1sMlz4QcM for ; Fri, 11 Oct 2019 11:50:49 +0000 (UTC) (envelope-from manu@bidouilliste.com) Received: from mail.blih.net (mail.blih.net [212.83.177.182]) by mail.blih.net (OpenSMTPD) with ESMTP id c81c1cac; Fri, 11 Oct 2019 13:50:48 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=bidouilliste.com; h=date :from:to:cc:subject:message-id:in-reply-to:references :mime-version:content-type:content-transfer-encoding; s=mail; bh=Hf3YuPmMT4fT97KcnNIkGhDskhQ=; b=joKDG19OFH13fcLg9sx8aeViUelT EX2xvonSsS8Ks6r61mn4Te0HTnr6mzMz6M/BhXbZUa+v0I7+U2swWnMAPaglVWrE x7W5SVeYeVKUKFcMggoetvdE09xu2i5fUDxoIVJCTA5s7yPdANJY9aCnIbfePaKG ObYWElwdKP0G5lw= DomainKey-Signature: a=rsa-sha1; c=nofws; d=bidouilliste.com; h=date :from:to:cc:subject:message-id:in-reply-to:references :mime-version:content-type:content-transfer-encoding; q=dns; s= mail; b=p1jW0J9kE84kfDWqkoTf7DggYwnCk9ybp8eIo7GVE/tM1IToa3u9Y3ey DQcDNxx8ESecroNQ/k+skfPTCkgj2EPpOEIlmH9RA3AneUHT6t7xKWIN7zO2nFoS Rx8YN+OhNupgaewvAPSdys9Ag9VaWNv0Jk0xrjxrhdCXmEg4BAE= Received: from skull.home.blih.net (ip-9.net-89-3-105.rev.numericable.fr [89.3.105.9]) by mail.blih.net (OpenSMTPD) with ESMTPSA id addf2d77 TLS version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO; Fri, 11 Oct 2019 13:50:48 +0200 (CEST) Date: Fri, 11 Oct 2019 13:50:48 +0200 From: Emmanuel Vadot To: Henri Hennebert Cc: Henri Hennebert via freebsd-arm Subject: Re: PINE64+ 2GB - with U-Boot SPL 2019.10 - bootaa64.efi do not find UFS partition Message-Id: <20191011135048.20f21c963c26852966ab60f2@bidouilliste.com> In-Reply-To: <73fd9b73-e8a8-cd0d-1ff6-92b602d2dbb3@restart.be> References: <73fd9b73-e8a8-cd0d-1ff6-92b602d2dbb3@restart.be> X-Mailer: Sylpheed 3.7.0 (GTK+ 2.24.32; amd64-portbld-freebsd13.0) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Rspamd-Queue-Id: 46qR9Q1sMlz4QcM X-Spamd-Bar: - Authentication-Results: mx1.freebsd.org; dkim=pass header.d=bidouilliste.com header.s=mail header.b=joKDG19O; dmarc=none; spf=pass (mx1.freebsd.org: domain of manu@bidouilliste.com designates 212.83.177.182 as permitted sender) smtp.mailfrom=manu@bidouilliste.com X-Spamd-Result: default: False [-1.07 / 15.00]; ARC_NA(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; R_DKIM_ALLOW(-0.20)[bidouilliste.com:s=mail]; NEURAL_HAM_MEDIUM(-0.56)[-0.563,0]; FROM_HAS_DN(0.00)[]; R_SPF_ALLOW(-0.20)[+ip4:212.83.177.182/32]; MV_CASE(0.50)[]; MIME_GOOD(-0.10)[text/plain]; DMARC_NA(0.00)[bidouilliste.com]; NEURAL_HAM_LONG(-0.98)[-0.983,0]; TO_MATCH_ENVRCPT_SOME(0.00)[]; TO_DN_ALL(0.00)[]; DKIM_TRACE(0.00)[bidouilliste.com:+]; RCPT_COUNT_TWO(0.00)[2]; RCVD_NO_TLS_LAST(0.10)[]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; IP_SCORE(0.38)[ip: (-0.71), ipnet: 212.83.160.0/19(2.48), asn: 12876(0.11), country: FR(-0.00)]; ASN(0.00)[asn:12876, ipnet:212.83.160.0/19, country:FR]; 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: Fri, 11 Oct 2019 11:50:51 -0000 On Fri, 11 Oct 2019 13:36:26 +0200 Henri Hennebert via freebsd-arm wrote: > U-Boot SPL 2019.10 (Oct 10 2019 - 18:05:29 +0200) > DRAM: 2048 MiB > Trying to boot from MMC1 > NOTICE: BL31: v2.0(release): > > >> FreeBSD EFI boot block > Loader path: /boot/loader.efi > > Initializing modules: ZFS UFS > Load Path: /efi\boot\bootaa64.efi > Load Device: > /VenHw(e61d73b9-a384-4acc-aeab-82e828f3628b)/SD(0)/SD(0)/HD(1,0x01,0,0x403b,0x20000) > Probing 3 block devices...... done > ZFS found no pools > UFS found no partitions > Failed to load '/boot/loader.efi' > panic: No bootable partitions found! > ## Application terminated, r = 1 > > Revert to U-Boot SPL 2019.07 with the same bootaa64.efi boot OK > > Henri > _______________________________________________ > freebsd-arm@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-arm > To unsubscribe, send any mail to "freebsd-arm-unsubscribe@freebsd.org" Is this boot1.efi that you've installed as bootaa64.efi ? Try installing loader.efi directly. -- Emmanuel Vadot From owner-freebsd-arm@freebsd.org Fri Oct 11 12:54:36 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 B29B314DE8E for ; Fri, 11 Oct 2019 12:54:36 +0000 (UTC) (envelope-from hlh@restart.be) Received: from tignes.restart.be (tignes.restart.be [IPv6:2001:41d0:a:f40b::1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (1024 bits) client-digest SHA256) (Client CN "tignes.restart.be", Issuer "CA master" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 46qSZz6xg7z4WJf for ; Fri, 11 Oct 2019 12:54:35 +0000 (UTC) (envelope-from hlh@restart.be) X-Comment: SPF check N/A for local connections - client-ip=192.168.25.127; helo=restart.be; envelope-from=hlh@restart.be; receiver= DKIM-Filter: OpenDKIM Filter v2.10.3 tignes.restart.be 46qSZx3gNMzJk Received: from restart.be (norquay.tunnel.bel [192.168.25.127]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (1024 bits) server-digest SHA256 client-signature RSA-PSS (1024 bits) client-digest SHA256) (Client CN "smtp.restart.be", Issuer "CA master" (verified OK)) by tignes.restart.be (Postfix) with ESMTPS id 46qSZx3gNMzJk; Fri, 11 Oct 2019 14:54:32 +0200 (CEST) Received: from morzine.restart.bel (morzine.restart.be [IPv6:2001:41d0:a:f40b:1:1:0:1]) (authenticated bits=0) by restart.be (8.15.2/8.15.2) with ESMTPSA id x9BCsVsT090731 (version=TLSv1.3 cipher=TLS_AES_128_GCM_SHA256 bits=128 verify=NO); Fri, 11 Oct 2019 14:54:31 +0200 (CEST) (envelope-from hlh@restart.be) X-Authentication-Warning: norquay.restart.bel: Host morzine.restart.be [IPv6:2001:41d0:a:f40b:1:1:0:1] claimed to be morzine.restart.bel Subject: Re: PINE64+ 2GB - with U-Boot SPL 2019.10 - bootaa64.efi do not find UFS partition To: Emmanuel Vadot Cc: Henri Hennebert via freebsd-arm References: <73fd9b73-e8a8-cd0d-1ff6-92b602d2dbb3@restart.be> <20191011135048.20f21c963c26852966ab60f2@bidouilliste.com> From: Henri Hennebert Message-ID: <23bc2b33-f5d5-c256-0cc9-741ab068d275@restart.be> Date: Fri, 11 Oct 2019 14:54:31 +0200 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:68.0) Gecko/20100101 Thunderbird/68.1.2 MIME-Version: 1.0 In-Reply-To: <20191011135048.20f21c963c26852966ab60f2@bidouilliste.com> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit X-Rspamd-Queue-Id: 46qSZz6xg7z4WJf X-Spamd-Bar: -- X-Spamd-Result: default: False [-2.18 / 15.00]; ARC_NA(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; R_DKIM_ALLOW(-0.20)[restart.be:s=tignes]; NEURAL_HAM_MEDIUM(-0.92)[-0.922,0]; FROM_HAS_DN(0.00)[]; R_SPF_ALLOW(-0.20)[+ip6:2001:41d0:a:f40b::1/128:c]; NEURAL_HAM_LONG(-0.98)[-0.984,0]; MIME_GOOD(-0.10)[text/plain]; HAS_XAW(0.00)[]; RCVD_COUNT_THREE(0.00)[3]; TO_MATCH_ENVRCPT_SOME(0.00)[]; TO_DN_ALL(0.00)[]; DKIM_TRACE(0.00)[restart.be:+]; RCPT_COUNT_TWO(0.00)[2]; DMARC_POLICY_ALLOW(-0.50)[restart.be,reject]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; IP_SCORE(0.73)[ipnet: 2001:41d0::/32(2.08), asn: 16276(1.54), country: FR(-0.00)]; ASN(0.00)[asn:16276, ipnet:2001:41d0::/32, country:FR]; MID_RHS_MATCH_FROM(0.00)[]; RCVD_TLS_ALL(0.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: Fri, 11 Oct 2019 12:54:36 -0000 On 10/11/19 1:50 PM, Emmanuel Vadot wrote: > On Fri, 11 Oct 2019 13:36:26 +0200 > Henri Hennebert via freebsd-arm wrote: > >> U-Boot SPL 2019.10 (Oct 10 2019 - 18:05:29 +0200) >> DRAM: 2048 MiB >> Trying to boot from MMC1 >> NOTICE: BL31: v2.0(release): >> >>>> FreeBSD EFI boot block >> Loader path: /boot/loader.efi >> >> Initializing modules: ZFS UFS >> Load Path: /efi\boot\bootaa64.efi >> Load Device: >> /VenHw(e61d73b9-a384-4acc-aeab-82e828f3628b)/SD(0)/SD(0)/HD(1,0x01,0,0x403b,0x20000) >> Probing 3 block devices...... done >> ZFS found no pools >> UFS found no partitions >> Failed to load '/boot/loader.efi' >> panic: No bootable partitions found! >> ## Application terminated, r = 1 >> >> Revert to U-Boot SPL 2019.07 with the same bootaa64.efi boot OK >> >> Henri >> _______________________________________________ >> freebsd-arm@freebsd.org mailing list >> https://lists.freebsd.org/mailman/listinfo/freebsd-arm >> To unsubscribe, send any mail to "freebsd-arm-unsubscribe@freebsd.org" > > Is this boot1.efi that you've installed as bootaa64.efi ? > > Try installing loader.efi directly. > I will try this tomorrow and post the result. From owner-freebsd-arm@freebsd.org Fri Oct 11 15:50:51 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 52B77153784 for ; Fri, 11 Oct 2019 15:50:51 +0000 (UTC) (envelope-from thomasskibo@yahoo.com) Received: from sonic314-13.consmr.mail.bf2.yahoo.com (sonic314-13.consmr.mail.bf2.yahoo.com [74.6.132.123]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 46qXVL3zc0z3F55 for ; Fri, 11 Oct 2019 15:50:50 +0000 (UTC) (envelope-from thomasskibo@yahoo.com) X-YMail-OSG: MaPo3ioVM1kayXj4Wifei8yZywBsdRFV6liMtNcYppgWCasyQ76YRZVrHtyrPXn XV8bvDX9CStwH.NtNTUPfsiSo72UA9iMa3jeP_6BNS11Pfx_W2plL7n.L2qk1sVv3il0XB2Tcsok fIAnRGwFx.MpHBJ2RnRmYNFjUnaLVwIadzSO_0Fs0k2DBsLHV9RY2Ypg09H.ME1_LMUTYG3fBqCn b35WuYlx498wG.NUUQNH9Xeddl2JRJHzMtdJpdl0NblZJVL4FrHmjhyofY3A44gBLbXbjTIB.wv8 Spn3y3Yt4thH22WPVmxfHxCoAvJ1dI0BI7CDTzVAAUnOY4ToWyVGtcp63COZ7LL5yyigzpjddJri O740QUO9Bh0BuG6dsBd65bgZWbC3._nHHDdlLcp7D407C54ogcz6TGSf4khVdYQA948TMVVYv4hI lDdCIwLhElLboIxsNFId5gZHMEbR8mV45H4tOwpBEG4Oum2QA8t9mE1N6Ma4YQl.RqDE9NZE01uO wl_QmWQlbfTdu.ryNgs3tyvueBruoZUaxMn2BcUn_LSgFweXate_UwjYIKtwy1ZhWWAUWRQupE2p TBFABeX2FqEPQ2ww9zRYtJpGAh6jnR43GiS1GuB3QDI0vKJsxbqvLNaNzOuiUiwjwb1yia4m8YV8 doK8Akf5vbLSIMesVL2r3qgD83GeMhpiBdW.sh0xSEPMVvcwIZbP8m9Ez.QLN5xjNYBFAbmpksL. lPLwaqqmFQmLoqmprBLzzeO8dmn9Ur99a.GBhe.9ZKrI8FZebQyxnbsPXe_7ueNt1XxrTyC71LC_ kyeeY7p4H5H72RFMy6Ippliy1iyrJtR5RR_CEVHf5hjT23xqXGpBIx38tBh_jK31GE.VV_GCzqta 2qUG2C.bKbJY.FwPCGt2FW.QCPdwtHMK5_KmZPHMkwInyYd4_uTurRs5xzyZSjUX2upuGM8wZFR3 64J1lmEDG043Zv8G3qEGfe4NMzoFzflyRqLo_bNiCw5gB1.2ZRXxtw7efJuvWXJ4grY.fsOcGsFR NzWd.PY34ND9HnEqybVBPYPqVB3hA5WlphnxA0AWpgTOXEi6NR4tLtoU4TD6E1iYSZZardBOZ9sd 2RCykaom6YG6pPhp0RCtx7igClgKydkBdHgk.5y10C2YyygNA_F2.sIUH2_Lp3CHxp8kFbD7HV76 uB0VAVWEoXWwlFd4MoWkekJdIZTomOF1tyFQK9yxu5rZGefvAQ9kIn2e5EFWCWX7xmXTzpqbFGLY L.MUk6NntPT1PMtaaIkARSlpoGfsqbVkhet6YSo8iig-- Received: from sonic.gate.mail.ne1.yahoo.com by sonic314.consmr.mail.bf2.yahoo.com with HTTP; Fri, 11 Oct 2019 15:50:49 +0000 Received: by smtp424.mail.bf1.yahoo.com (Oath Hermes SMTP Server) with ESMTPA ID 33aaab70128e44732195994643d48372; Fri, 11 Oct 2019 15:50:44 +0000 (UTC) From: Thomas Skibo Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Mime-Version: 1.0 (Mac OS X Mail 11.5 \(3445.9.1\)) Subject: Re: PINE64+ 2GB - with U-Boot SPL 2019.10 - bootaa64.efi do not find UFS partition Message-Id: <9840C5F9-64F8-4415-A24E-E62507F14C8D@yahoo.com> Date: Fri, 11 Oct 2019 08:50:42 -0700 To: freebsd-arm@freebsd.org X-Mailer: Apple Mail (2.3445.9.1) X-Rspamd-Queue-Id: 46qXVL3zc0z3F55 X-Spamd-Bar: ++ X-Spamd-Result: default: False [2.25 / 15.00]; R_SPF_ALLOW(-0.20)[+ptr:yahoo.com]; FREEMAIL_FROM(0.00)[yahoo.com]; TO_DN_NONE(0.00)[]; MV_CASE(0.50)[]; DKIM_TRACE(0.00)[yahoo.com:+]; DMARC_POLICY_ALLOW(-0.50)[yahoo.com,reject]; FROM_EQ_ENVFROM(0.00)[]; RCVD_TLS_LAST(0.00)[]; MIME_TRACE(0.00)[0:+]; FREEMAIL_ENVFROM(0.00)[yahoo.com]; ASN(0.00)[asn:26101, ipnet:74.6.128.0/21, country:US]; MID_RHS_MATCH_FROM(0.00)[]; DWL_DNSWL_NONE(0.00)[yahoo.com.dwl.dnswl.org : 127.0.5.0]; ARC_NA(0.00)[]; FAKE_REPLY(1.00)[]; R_DKIM_ALLOW(-0.20)[yahoo.com:s=s2048]; FROM_HAS_DN(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; MIME_GOOD(-0.10)[text/plain]; IP_SCORE(0.00)[ip: (3.61), ipnet: 74.6.128.0/21(1.46), asn: 26101(1.17), country: US(-0.05)]; NEURAL_SPAM_MEDIUM(0.95)[0.948,0]; RCPT_COUNT_ONE(0.00)[1]; IP_SCORE_FREEMAIL(0.00)[]; NEURAL_SPAM_LONG(0.81)[0.806,0]; RCVD_IN_DNSWL_NONE(0.00)[123.132.6.74.list.dnswl.org : 127.0.5.0]; 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: Fri, 11 Oct 2019 15:50:51 -0000 > U-Boot SPL 2019.10 (Oct 10 2019 - 18:05:29 +0200) > DRAM: 2048 MiB > Trying to boot from MMC1 > NOTICE: BL31: v2.0(release): >=20 > >> > FreeBSD EFI boot block >=20 > Loader path: /boot/loader.efi >=20 > Initializing modules: ZFS UFS > Load Path: /efi\boot\bootaa64.efi > Load Device:=20 > = /VenHw(e61d73b9-a384-4acc-aeab-82e828f3628b)/SD(0)/SD(0)/HD(1,0x01,0,0x403= b,0x20000) > Probing 3 block devices...... done > ZFS found no pools > UFS found no partitions > Failed to load '/boot/loader.efi' > panic: No bootable partitions found! > ## Application terminated, r =3D 1 I=E2=80=99ve been looking into this. As of u-boot v2019.10, there are = some extra checks in efi_disk_read_blocks() and now it will fail with = EFI_INVALID_PARAMETER if the buffer isn=E2=80=99t aligned. In my case, = efi_disk_read_blocks() was called with a buffer address of 0x1da06040 = but with this->media->io_align =3D 512. (See lib/efi_loader/efi_disk.c = line 125.). Evidently,loader.efi is making disk calls with unaligned = buffers but it wasn=E2=80=99t an issue until these checks were added. = That=E2=80=99s as far as I got debugging this. =E2=80=94=E2=80=94 Thomas Skibo ThomasSkibo@yahoo.com From owner-freebsd-arm@freebsd.org Fri Oct 11 18:37:26 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 2BDD91579B9 for ; Fri, 11 Oct 2019 18:37:26 +0000 (UTC) (envelope-from maciphone2@googlemail.com) Received: from n6.nabble.com (n6.nabble.com [162.255.23.37]) by mx1.freebsd.org (Postfix) with ESMTP id 46qcBY0bKJz3R02 for ; Fri, 11 Oct 2019 18:37:24 +0000 (UTC) (envelope-from maciphone2@googlemail.com) Received: from n6.nabble.com (localhost [127.0.0.1]) by n6.nabble.com (Postfix) with ESMTP id BBCC011CB0037 for ; Fri, 11 Oct 2019 11:37:23 -0700 (MST) Date: Fri, 11 Oct 2019 11:37:23 -0700 (MST) From: =?UTF-8?Q?Klaus_K=C3=BCchemann?= To: freebsd-arm@freebsd.org Message-ID: <1570819043766-0.post@n6.nabble.com> In-Reply-To: <20191011125558.00bf845d71c27954d220edf0@bidouilliste.com> References: <20190916064640.GN96402@funkthat.com> <20190924221308.GX96402@funkthat.com> <20190925124305.3ada7b327cf73dcb611ec074@bidouilliste.com> <1570790720416-0.post@n6.nabble.com> <20191011125558.00bf845d71c27954d220edf0@bidouilliste.com> Subject: half of RAM detected Re: RockPro64 booting w/ u-boot v2019-rc3 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Rspamd-Queue-Id: 46qcBY0bKJz3R02 X-Spamd-Bar: ++++++ X-Spamd-Result: default: False [6.99 / 15.00]; ARC_NA(0.00)[]; FROM_HAS_DN(0.00)[]; DMARC_POLICY_QUARANTINE(1.50)[googlemail.com : No valid SPF, No valid DKIM,quarantine]; FREEMAIL_FROM(0.00)[googlemail.com]; TO_MATCH_ENVRCPT_ALL(0.00)[]; MIME_GOOD(-0.10)[text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-arm@freebsd.org]; TO_DN_NONE(0.00)[]; R_SPF_SOFTFAIL(0.00)[~all]; RCPT_COUNT_ONE(0.00)[1]; NEURAL_SPAM_MEDIUM(0.99)[0.992,0]; IP_SCORE(0.00)[ip: (0.65), ipnet: 162.255.20.0/22(0.23), asn: 21624(0.04), country: US(-0.05)]; VIOLATED_DIRECT_SPF(3.50)[]; NEURAL_SPAM_LONG(1.00)[1.000,0]; RCVD_IN_DNSWL_NONE(0.00)[37.23.255.162.list.dnswl.org : 127.0.10.0]; IP_SCORE_FREEMAIL(0.00)[]; RCVD_NO_TLS_LAST(0.10)[]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; FREEMAIL_ENVFROM(0.00)[googlemail.com]; ASN(0.00)[asn:21624, ipnet:162.255.20.0/22, country:US]; MIME_TRACE(0.00)[0:+]; GREYLIST(0.00)[pass,meta]; RCVD_COUNT_TWO(0.00)[2] X-Spam: Yes 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, 11 Oct 2019 18:37:26 -0000 Hi, --- only half of the RAM is detected( 4GB model) ---- root@:~ # sysctl hw.physmem hw.physmem: 2121097216 -- U-Boot TPL 2019.10 (Oct 08 2019 - 07:58:06) Trying to boot from BOOTROM Returning to boot ROM... U-Boot SPL 2019.10 (Oct 08 2019 - 07:58:06 +0000) Trying to boot from MMC1 -- root@:~ # uname -a FreeBSD 13.0-CURRENT FreeBSD 13.0-CURRENT #0 r353427: Fri Oct 11 04:39:53 UTC 2 019 root@releng1.nyi.freebsd.org:/usr/obj/usr/src/arm64.aarch64/sys/GENERIC arm64 ---- root@:~ # dmesg ---<>--- 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 #0 r353427: Fri Oct 11 04:39:53 UTC 2019 root@releng1.nyi.freebsd.org:/usr/obj/usr/src/arm64.aarch64/sys/GENERIC arm6 4 FreeBSD clang version 9.0.0 (tags/RELEASE_900/final 372316) (based on LLVM 9.0.0 ) WARNING: WITNESS option enabled, expect reduced performance. VT: init without driver. module firmware already present! Starting CPU 1 (1) Starting CPU 2 (2) Starting CPU 3 (3) Starting CPU 4 (100) Starting CPU 5 (101) FreeBSD/SMP: Multiprocessor System Detected: 6 CPUs arc4random: WARNING: initial seeding bypassed the cryptographic random device be cause it was not yet seeded and the knob 'bypass_before_seeding' was enabled. random: entropy device external interface MAP 7cf1d000 mode 2 pages 1 MAP 7cf26000 mode 2 pages 1 MAP 7ff40000 mode 2 pages 16 kbd0 at kbdmux0 ofwbus0: clk_fixed0: on ofwbus0 simplebus0: on ofwbus0 rk_grf0: mem 0xff320000-0xff320fff on ofwbus0 rk3399_pmucru0: mem 0xff750000-0xff75 0fff on ofwbus0 rk3399_cru0: mem 0xff760000-0xff760fff on ofwbus0 rk_grf1: mem 0xff770000-0xff77ffff on ofwbus0 clk_fixed1: on ofwbus0 regfix0: on ofwbus0 regfix1: on ofwbus0 regfix2: on ofwbus0 regfix3: on ofwbus0 regfix4: on ofwbus0 regfix5: on ofwbus0 regfix6: on ofwbus0 regfix7: on ofwbus0 simple_mfd0: mem 0xff310000-0xff310fff on ofwbus0 psci0: on ofwbus0 gic0: mem 0xfee00000-0xfee0ffff,0xfef000 00-0xfefbffff,0xfff00000-0xfff0ffff,0xfff10000-0xfff1ffff,0xfff20000-0xfff2ffff irq 18 on ofwbus0 its0: mem 0xfee20000-0xfee3ffff on gic0 rk_pinctrl0: on ofwbus0 gpio0: mem 0xff720000-0xff7200ff irq 65 on rk_pi nctrl0 gpiobus0: on gpio0 gpio1: mem 0xff730000-0xff7300ff irq 66 on rk_pi nctrl0 gpiobus1: on gpio1 gpio2: mem 0xff780000-0xff7800ff irq 67 on rk_pi nctrl0 gpiobus2: on gpio2 gpio3: mem 0xff788000-0xff7880ff irq 68 on rk_pi nctrl0 gpiobus3: on gpio3 gpio4: mem 0xff790000-0xff7900ff irq 69 on rk_pi nctrl0 gpiobus4: on gpio4 rk_i2c0: mem 0xff110000-0xff110fff irq 20 on ofwbus0 iicbus0: on rk_i2c0 rk_i2c1: mem 0xff130000-0xff130fff irq 22 on ofwbus0 iicbus1: on rk_i2c1 rk_i2c2: mem 0xff3c0000-0xff3c0fff irq 38 on ofwbus0 iicbus2: on rk_i2c2 syr8270: at addr 0x80 on iicbus2 rk_i2c3: mem 0xff3d0000-0xff3d0fff irq 39 on ofwbus0 iicbus3: on rk_i2c3 rk805_pmu0: at addr 0x36 irq 70 on iicbus2 generic_timer0: irq 2,3,4,5 on ofwbus0 Timecounter "ARM MPCore Timecounter" frequency 24000000 Hz quality 1000 Event timer "ARM MPCore Eventtimer" frequency 24000000 Hz quality 1000 rk_usb2phy0: mem 0-0xff76ffff,0-0xffff on rk_grf1 rk_usb2phy1: mem 0-0xff76ffff,0-0xffff on rk_grf1 rk_emmcphy0: mem 0-0xff76ffff,0-0xffff on rk_grf1 cpulist0: on ofwbus0 cpu0: on cpulist0 cpufreq_dt0: on cpu0 cpu1: on cpulist0 cpufreq_dt1: on cpu1 cpu2: on cpulist0 cpufreq_dt2: on cpu2 cpu3: on cpulist0 cpufreq_dt3: on cpu3 cpu4: on cpulist0 cpufreq_dt4: on cpu4 cpu5: on cpulist0 cpufreq_dt5: on cpu5 dwc0: mem 0xfe300000-0xfe30ffff irq 9 on ofwbus0 miibus0: on dwc0 rgephy0: PHY 0 on miibus0 rgephy0: none, 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseT-FDX, 1 000baseT-FDX-master, auto rgephy1: PHY 1 on miibus0 rgephy1: none, 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseT-FDX, 1 000baseT-FDX-master, auto dwc0: Ethernet address: 3e:e5:c3:24:6e:90 rockchip_dwmmc0: mem 0xfe320000-0xfe323fff irq 11 on ofwbus0 rockchip_dwmmc0: Hardware version ID is 270a mmc0: on rockchip_dwmmc0 sdhci_fdt0: mem 0xfe330000-0xfe33ffff irq 12 on ofwbus0 rk_emmcphy0: got emmcclk clock sdhci_fdt0-slot0: Hardware doesn't specify timeout clock frequency, setting BROK EN_TIMEOUT quirk. sdhci_fdt0: 1 slot(s) allocated mmc1: on sdhci_fdt0 ehci0: mem 0xfe380000-0xfe39ffff irq 13 on ofwbus0 usbus0: EHCI version 1.0 usbus0 on ehci0 ohci0: mem 0xfe3a0000-0xfe3bffff irq 14 on ofwbus0 usbus1 on ohci0 ehci1: mem 0xfe3c0000-0xfe3dffff irq 15 on ofwbus0 usbus2: EHCI version 1.0 usbus2 on ehci1 ohci1: mem 0xfe3e0000-0xfe3fffff irq 16 on ofwbus0 usbus3 on ohci1 iic0: on iicbus0 iic1: on iicbus1 uart0: <16750 or compatible> mem 0xff180000-0xff1800ff irq 26 on ofwbus0 uart1: <16750 or compatible> mem 0xff1a0000-0xff1a00ff irq 28 on ofwbus0 uart1: console (1500000,n,8,1) syscon_generic0: mem 0xffa58000-0xffa5801f on ofwbus0 syscon_generic1: mem 0xffa5c000-0xffa5c01f on ofwbus0 syscon_generic2: mem 0xffa60080-0xffa6009f on ofwbus0 syscon_generic3: mem 0xffa60100-0xffa6011f on ofwbus0 syscon_generic4: mem 0xffa60180-0xffa6019f on ofwbus0 syscon_generic5: mem 0xffa70000-0xffa7001f on ofwbus0 syscon_generic6: mem 0xffa70080-0xffa7009f on ofwbus0 syscon_generic7: mem 0xffa74000-0xffa7401f on ofwbus0 syscon_generic8: mem 0xffa76000-0xffa7601f on ofwbus0 syscon_generic9: mem 0xffa90000-0xffa9001f on ofwbus0 syscon_generic10: mem 0xffa98000-0xffa9801f on ofwbus0 syscon_generic11: mem 0xffaa0000-0xffaa001f on ofwbus0 syscon_generic12: mem 0xffaa0080-0xffaa009f on ofwbus0 syscon_generic13: mem 0xffaa8000-0xffaa801f on ofwbus0 syscon_generic14: mem 0xffaa8080-0xffaa809f on ofwbus0 syscon_generic15: mem 0xffab0000-0xffab001f on ofwbus0 syscon_generic16: mem 0xffab0080-0xffab009f on ofwbus0 syscon_generic17: mem 0xffab8000-0xffab801f on ofwbus0 syscon_generic18: mem 0xffac0000-0xffac001f on ofwbus0 syscon_generic19: mem 0xffac0080-0xffac009f on ofwbus0 syscon_generic20: mem 0xffac8000-0xffac801f on ofwbus0 syscon_generic21: mem 0xffac8080-0xffac809f on ofwbus0 syscon_generic22: mem 0xffad0000-0xffad001f on ofwbus0 syscon_generic23: mem 0xffad8080-0xffad809f on ofwbus0 syscon_generic24: mem 0xffae0000-0xffae001f on ofwbus0 syscon_generic25: mem 0xff330000-0xff33e3d3 on ofwbus0 iicbus2: at addr 0x82 iic2: on iicbus2 iicbus3: at addr 0x44 iic3: on iicbus3 syscon_generic26: mem 0xff620000-0xff6200ff on ofwbus0 gpioc0: on gpio0 gpioc1: on gpio1 gpioc2: on gpio2 gpioc3: on gpio3 gpioc4: on gpio4 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 ugen3.1: at usbus3 uhub2 on usbus3 uhub2: on usbus3 ugen2.1: at usbus2 uhub3 on usbus2 uhub3: on usbus2 mmcsd0: 128GB at mmc0 50.0MHz/4 bit/256-block mmc1: No compatible cards found on bus Release APs...done CPU 0: ARM Cortex-A53 r0p4 affinity: 0 0 Instruction Set Attributes 0 = Instruction Set Attributes 1 = <> Processor Features 0 = Processor Features 1 = <0> Trying to mount root from ufs:/dev/ufs/FreeBSD_Install [ro,noatime]... Memory Model Features 0 = <4k Granule,64k Granule,S/NS Mem,MixedEndian,16b it ASID,1TB PA> Memory Model Features 1 = <> Memory Model Features 2 = <32b CCIDX,48b VA> GEOM: mmcsd0: the secondary GPT header is not in the last LBA. Debug Features 0 = <2 CTX Breakpoints,4 Watchpoints,6 Breakpoints,P MUv3,Debug v8> Debug Features 1 = <0> Auxiliary Features 0 = <0> Auxiliary Features 1 = <0> CPU 1: ARM Cortex-A53 r0p4 affinity: 0 1 Memory Model Features 0 = <4k Granule,64k Granule,S/NS Mem,MixedEndian,16b it ASID,1TB PA> CPU 2: ARM Cortex-A53 r0p4 affinity: 0 2 Memory Model Features 0 = <4k Granule,64k Granule,S/NS Mem,MixedEndian,16b it ASID,1TB PA> CPU 3: ARM Cortex-A53 r0p4 affinity: 0 3 Memory Model Features 0 = <4k Granule,64k Granule,S/NS Mem,MixedEndian,16b it ASID,1TB PA> CPU 4: ARM Cortex-A72 r0p2 affinity: 1 0 Memory Model Features 0 = <4k Granule,64k Granule,S/NS Mem,MixedEndian,16b it ASID,16TB PA> CPU 5: ARM Cortex-A72 r0p2 affinity: 1 1 Memory Model Features 0 = <4k Granule,64k Granule,S/NS Mem,MixedEndian,16b it ASID,16TB PA> WARNING: WITNESS option enabled, expect reduced performance. GEOM: diskid/DISK-1C4A96F7: the secondary GPT header is not in the last LBA. Warning: no time-of-day clock registered, system time will not be set accurately uhub2: 1 port with 1 removable, self powered uhub0: 1 port with 1 removable, self powered uhub1: 1 port with 1 removable, self powered uhub3: 1 port with 1 removable, self powered GEOM: diskid/DISK-1C4A96F7: the secondary GPT header is not in the last LBA. random: unblocking device. lo0: link state changed to UP -- Regards Klaus -- Sent from: http://freebsd.1045724.x6.nabble.com/freebsd-arm-f4199244.html From owner-freebsd-arm@freebsd.org Sat Oct 12 08:03:15 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 466C714BBD7 for ; Sat, 12 Oct 2019 08:03:15 +0000 (UTC) (envelope-from hlh@restart.be) Received: from tignes.restart.be (tignes.restart.be [IPv6:2001:41d0:a:f40b::1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (1024 bits) client-digest SHA256) (Client CN "tignes.restart.be", Issuer "CA master" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 46qy4K5wH5z4fks for ; Sat, 12 Oct 2019 08:03:13 +0000 (UTC) (envelope-from hlh@restart.be) X-Comment: SPF check N/A for local connections - client-ip=192.168.25.127; helo=restart.be; envelope-from=hlh@restart.be; receiver= DKIM-Filter: OpenDKIM Filter v2.10.3 tignes.restart.be 46qy4H62Q0zK2 Received: from restart.be (norquay.tunnel.bel [192.168.25.127]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (1024 bits) server-digest SHA256 client-signature RSA-PSS (1024 bits) client-digest SHA256) (Client CN "smtp.restart.be", Issuer "CA master" (verified OK)) by tignes.restart.be (Postfix) with ESMTPS id 46qy4H62Q0zK2; Sat, 12 Oct 2019 10:03:11 +0200 (CEST) Received: from morzine.restart.bel (morzine.restart.be [IPv6:2001:41d0:a:f40b:1:1:0:1]) (authenticated bits=0) by restart.be (8.15.2/8.15.2) with ESMTPSA id x9C83Ai1055833 (version=TLSv1.3 cipher=TLS_AES_128_GCM_SHA256 bits=128 verify=NO); Sat, 12 Oct 2019 10:03:10 +0200 (CEST) (envelope-from hlh@restart.be) X-Authentication-Warning: norquay.restart.bel: Host morzine.restart.be [IPv6:2001:41d0:a:f40b:1:1:0:1] claimed to be morzine.restart.bel Subject: Re: PINE64+ 2GB - with U-Boot SPL 2019.10 - bootaa64.efi do not find UFS partition To: Emmanuel Vadot Cc: Henri Hennebert via freebsd-arm References: <73fd9b73-e8a8-cd0d-1ff6-92b602d2dbb3@restart.be> <20191011135048.20f21c963c26852966ab60f2@bidouilliste.com> From: Henri Hennebert Message-ID: <185f1d4c-deec-35a3-2397-849a32d578d9@restart.be> Date: Sat, 12 Oct 2019 10:03:10 +0200 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:68.0) Gecko/20100101 Thunderbird/68.1.2 MIME-Version: 1.0 In-Reply-To: <20191011135048.20f21c963c26852966ab60f2@bidouilliste.com> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit X-Rspamd-Queue-Id: 46qy4K5wH5z4fks X-Spamd-Bar: -- X-Spamd-Result: default: False [-2.29 / 15.00]; ARC_NA(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; R_DKIM_ALLOW(-0.20)[restart.be:s=tignes]; NEURAL_HAM_MEDIUM(-0.99)[-0.985,0]; FROM_HAS_DN(0.00)[]; R_SPF_ALLOW(-0.20)[+ip6:2001:41d0:a:f40b::1/128:c]; NEURAL_HAM_LONG(-1.00)[-0.999,0]; MIME_GOOD(-0.10)[text/plain]; HAS_XAW(0.00)[]; RCVD_COUNT_THREE(0.00)[3]; TO_MATCH_ENVRCPT_SOME(0.00)[]; TO_DN_ALL(0.00)[]; DKIM_TRACE(0.00)[restart.be:+]; RCPT_COUNT_TWO(0.00)[2]; DMARC_POLICY_ALLOW(-0.50)[restart.be,reject]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; IP_SCORE(0.69)[ipnet: 2001:41d0::/32(1.91), asn: 16276(1.55), country: FR(-0.00)]; ASN(0.00)[asn:16276, ipnet:2001:41d0::/32, country:FR]; MID_RHS_MATCH_FROM(0.00)[]; RCVD_TLS_ALL(0.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: Sat, 12 Oct 2019 08:03:15 -0000 On 10/11/19 1:50 PM, Emmanuel Vadot wrote: > On Fri, 11 Oct 2019 13:36:26 +0200 > Henri Hennebert via freebsd-arm wrote: > >> U-Boot SPL 2019.10 (Oct 10 2019 - 18:05:29 +0200) >> DRAM: 2048 MiB >> Trying to boot from MMC1 >> NOTICE: BL31: v2.0(release): >> >>>> FreeBSD EFI boot block >> Loader path: /boot/loader.efi >> >> Initializing modules: ZFS UFS >> Load Path: /efi\boot\bootaa64.efi >> Load Device: >> /VenHw(e61d73b9-a384-4acc-aeab-82e828f3628b)/SD(0)/SD(0)/HD(1,0x01,0,0x403b,0x20000) >> Probing 3 block devices...... done >> ZFS found no pools >> UFS found no partitions >> Failed to load '/boot/loader.efi' >> panic: No bootable partitions found! >> ## Application terminated, r = 1 >> >> Revert to U-Boot SPL 2019.07 with the same bootaa64.efi boot OK >> >> Henri > > Is this boot1.efi that you've installed as bootaa64.efi ? > > Try installing loader.efi directly. > I try with loader.efi as bootaa64.efi to no avail: U-Boot 2019.10 (Oct 10 2019 - 18:05:29 +0200) Allwinner Technology CPU: Allwinner A64 (SUN50I) Model: Pine64+ DRAM: 2 GiB MMC: mmc@1c0f000: 0 Loading Environment from FAT... *** Warning - bad CRC, using default environment In: serial Out: serial Err: serial Net: phy interface7 eth0: ethernet@1c30000 starting USB... Bus usb@1c1a000: USB EHCI 1.00 Bus usb@1c1a400: USB OHCI 1.0 Bus usb@1c1b000: USB EHCI 1.00 Bus usb@1c1b400: USB OHCI 1.0 scanning bus usb@1c1a000 for devices... 1 USB Device(s) found scanning bus usb@1c1a400 for devices... 1 USB Device(s) found scanning bus usb@1c1b000 for devices... EHCI timed out on TD - token=0x80008d80 USB device not accepting new address (error=22) 1 USB Device(s) found scanning bus usb@1c1b400 for devices... 1 USB Device(s) found scanning usb for storage devices... 0 Storage Device(s) found Hit any key to stop autoboot: 0 switch to partitions #0, OK mmc0 is current device Scanning mmc 0:1... 31963 bytes read in 3 ms (10.2 MiB/s) Found EFI removable media binary efi/boot/bootaa64.efi Scanning disk mmc@1c0f000.blk... Found 3 disks BootOrder not defined EFI boot manager: Cannot load any image 607648 bytes read in 29 ms (20 MiB/s) Consoles: EFI console efipart_readwrite: rw=1, blk=0 size=1 status=2 efipart_readwrite: rw=1, blk=64 size=1 status=2 efipart_readwrite: rw=1, blk=1 size=1 status=2 efipart_readwrite: rw=1, blk=30883840 size=1 status=2 efipart_readwrite: rw=1, blk=0 size=1 status=2 efipart_readwrite: rw=1, blk=64 size=1 status=2 efipart_readwrite: rw=1, blk=1 size=1 status=2 efipart_readwrite: rw=1, blk=30883840 size=1 status=2 FreeBSD/arm64 EFI loader, Revision 1.1 Command line arguments: loader.efi EFI version: 2.80 EFI Firmware: Das U-Boot (rev 8217.4096) Console: efi (0) Load Path: /efi\boot\bootaa64.efi Load Device: /VenHw(e61d73b9-a384-4acc-aeab-82e828f3628b)/SD(0)/SD(0)/HD(1,MBR,0x2b49e90d,0x403b,0x20000) Trying ESP: /VenHw(e61d73b9-a384-4acc-aeab-82e828f3628b)/SD(0)/SD(0)/HD(1,MBR,0x2b49e90d,0x403b,0x20000) Setting currdev to disk0p1: efipart_readwrite: rw=1, blk=0 size=1 status=2 efipart_readwrite: rw=1, blk=64 size=1 status=2 efipart_readwrite: rw=1, blk=1 size=1 status=2 efipart_readwrite: rw=1, blk=30883840 size=1 status=2 efipart_readwrite: rw=1, blk=0 size=1 status=2 efipart_readwrite: rw=1, blk=64 size=1 status=2 efipart_readwrite: rw=1, blk=1 size=1 status=2 efipart_readwrite: rw=1, blk=30883840 size=1 status=2 Trying: /VenHw(e61d73b9-a384-4acc-aeab-82e828f3628b)/SD(0)/SD(0)/HD(2,MBR,0x2b49e90d,0x24400,0x1d4f800) Setting currdev to disk0p2: efipart_readwrite: rw=1, blk=0 size=1 status=2 efipart_readwrite: rw=1, blk=64 size=1 status=2 efipart_readwrite: rw=1, blk=1 size=1 status=2 efipart_readwrite: rw=1, blk=30883840 size=1 status=2 efipart_readwrite: rw=1, blk=0 size=1 status=2 efipart_readwrite: rw=1, blk=64 size=1 status=2 efipart_readwrite: rw=1, blk=1 size=1 status=2 efipart_readwrite: rw=1, blk=30883840 size=1 status=2 Failed to find bootable partition ## Application terminated, r = 14 in 1 seconds EFI LOAD FAILED: continuing... Device 0: unknown device ethernet@1c30000 Waiting for PHY auto negotiation to complete.... done BOOTP broadcast 1 BOOTP broadcast 2 From owner-freebsd-arm@freebsd.org Sat Oct 12 09:10:48 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 A851C14EEB5 for ; Sat, 12 Oct 2019 09:10:48 +0000 (UTC) (envelope-from manu@bidouilliste.com) Received: from mail.blih.net (mail.blih.net [212.83.177.182]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mail.blih.net", Issuer "mail.blih.net" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 46qzZH1Z5qz3GS3 for ; Sat, 12 Oct 2019 09:10:46 +0000 (UTC) (envelope-from manu@bidouilliste.com) Received: from mail.blih.net (mail.blih.net [212.83.177.182]) by mail.blih.net (OpenSMTPD) with ESMTP id 4df6e2ff; Sat, 12 Oct 2019 11:10:44 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=bidouilliste.com; h=date :from:to:cc:subject:message-id:in-reply-to:references :mime-version:content-type:content-transfer-encoding; s=mail; bh=FVpf25rbfn7aL3Ew1C3TnYApQ0E=; b=LfiRcMVjhb5aVcsjOLuE0hEoOrQA V3Yi76wypLlNvEjndCBhxlyqOr3OkRtTNVIOAG2ck8vyjNMTMrBSgFJjI18W2rQv EzeYdH9E61p6RL27hcp678dN9Jq6Z+Wn/wjQ5MgPU9RVY2aXlrv+mo6kQBHi5uuN g0nsVdmTZXLYNsU= DomainKey-Signature: a=rsa-sha1; c=nofws; d=bidouilliste.com; h=date :from:to:cc:subject:message-id:in-reply-to:references :mime-version:content-type:content-transfer-encoding; q=dns; s= mail; b=c8U4x3N0HP7/lIEJsrH9BtViiN1nxyxhKTd+OBQsVKisuxwZkM0aseoe HAhQKEt93HrlMCtNk5gUiI+SZStQE2Gy19EXuVf0UXOIZ1M9HB6j0CkjSQ+gC2G3 MekK9kqbc5hem5/5P3lLK4M3iggaQ5QYx0SMVMKVIyPwvKSK5xw= Received: from sonic.home.blih.net (ip-9.net-89-3-105.rev.numericable.fr [89.3.105.9]) by mail.blih.net (OpenSMTPD) with ESMTPSA id f1254373 TLS version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO; Sat, 12 Oct 2019 11:10:42 +0200 (CEST) Date: Sat, 12 Oct 2019 11:10:42 +0200 From: Emmanuel Vadot To: Henri Hennebert Cc: Henri Hennebert via freebsd-arm Subject: Re: PINE64+ 2GB - with U-Boot SPL 2019.10 - bootaa64.efi do not find UFS partition Message-Id: <20191012111042.c44ce5afc951162d328afd3c@bidouilliste.com> In-Reply-To: <185f1d4c-deec-35a3-2397-849a32d578d9@restart.be> References: <73fd9b73-e8a8-cd0d-1ff6-92b602d2dbb3@restart.be> <20191011135048.20f21c963c26852966ab60f2@bidouilliste.com> <185f1d4c-deec-35a3-2397-849a32d578d9@restart.be> X-Mailer: Sylpheed 3.7.0 (GTK+ 2.24.32; amd64-portbld-freebsd13.0) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Rspamd-Queue-Id: 46qzZH1Z5qz3GS3 X-Spamd-Bar: - Authentication-Results: mx1.freebsd.org; dkim=pass header.d=bidouilliste.com header.s=mail header.b=LfiRcMVj; dmarc=none; spf=pass (mx1.freebsd.org: domain of manu@bidouilliste.com designates 212.83.177.182 as permitted sender) smtp.mailfrom=manu@bidouilliste.com X-Spamd-Result: default: False [-1.41 / 15.00]; ARC_NA(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; R_DKIM_ALLOW(-0.20)[bidouilliste.com:s=mail]; NEURAL_HAM_MEDIUM(-0.89)[-0.887,0]; FROM_HAS_DN(0.00)[]; R_SPF_ALLOW(-0.20)[+ip4:212.83.177.182/32]; MV_CASE(0.50)[]; MIME_GOOD(-0.10)[text/plain]; DMARC_NA(0.00)[bidouilliste.com]; NEURAL_HAM_LONG(-1.00)[-0.995,0]; TO_MATCH_ENVRCPT_SOME(0.00)[]; TO_DN_ALL(0.00)[]; DKIM_TRACE(0.00)[bidouilliste.com:+]; RCPT_COUNT_TWO(0.00)[2]; RCVD_NO_TLS_LAST(0.10)[]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; IP_SCORE(0.38)[ip: (-0.71), ipnet: 212.83.160.0/19(2.47), asn: 12876(0.11), country: FR(-0.00)]; ASN(0.00)[asn:12876, ipnet:212.83.160.0/19, country:FR]; 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, 12 Oct 2019 09:10:48 -0000 On Sat, 12 Oct 2019 10:03:10 +0200 Henri Hennebert wrote: > On 10/11/19 1:50 PM, Emmanuel Vadot wrote: > > On Fri, 11 Oct 2019 13:36:26 +0200 > > Henri Hennebert via freebsd-arm wrote: > > > >> U-Boot SPL 2019.10 (Oct 10 2019 - 18:05:29 +0200) > >> DRAM: 2048 MiB > >> Trying to boot from MMC1 > >> NOTICE: BL31: v2.0(release): > >> > >>>> FreeBSD EFI boot block > >> Loader path: /boot/loader.efi > >> > >> Initializing modules: ZFS UFS > >> Load Path: /efi\boot\bootaa64.efi > >> Load Device: > >> /VenHw(e61d73b9-a384-4acc-aeab-82e828f3628b)/SD(0)/SD(0)/HD(1,0x01,0,0x403b,0x20000) > >> Probing 3 block devices...... done > >> ZFS found no pools > >> UFS found no partitions > >> Failed to load '/boot/loader.efi' > >> panic: No bootable partitions found! > >> ## Application terminated, r = 1 > >> > >> Revert to U-Boot SPL 2019.07 with the same bootaa64.efi boot OK > >> > >> Henri > > > > Is this boot1.efi that you've installed as bootaa64.efi ? > > > > Try installing loader.efi directly. > > > > I try with loader.efi as bootaa64.efi to no avail: > > U-Boot 2019.10 (Oct 10 2019 - 18:05:29 +0200) Allwinner Technology > > CPU: Allwinner A64 (SUN50I) > Model: Pine64+ > DRAM: 2 GiB > MMC: mmc@1c0f000: 0 > Loading Environment from FAT... *** Warning - bad CRC, using default > environment > > In: serial > Out: serial > Err: serial > Net: phy interface7 > eth0: ethernet@1c30000 > starting USB... > Bus usb@1c1a000: USB EHCI 1.00 > Bus usb@1c1a400: USB OHCI 1.0 > Bus usb@1c1b000: USB EHCI 1.00 > Bus usb@1c1b400: USB OHCI 1.0 > scanning bus usb@1c1a000 for devices... 1 USB Device(s) found > scanning bus usb@1c1a400 for devices... 1 USB Device(s) found > scanning bus usb@1c1b000 for devices... EHCI timed out on TD - > token=0x80008d80 > > USB device not accepting new address (error=22) > 1 USB Device(s) found > scanning bus usb@1c1b400 for devices... 1 USB Device(s) found > scanning usb for storage devices... 0 Storage Device(s) found > Hit any key to stop autoboot: 0 > switch to partitions #0, OK > mmc0 is current device > Scanning mmc 0:1... > 31963 bytes read in 3 ms (10.2 MiB/s) > Found EFI removable media binary efi/boot/bootaa64.efi > Scanning disk mmc@1c0f000.blk... > Found 3 disks > BootOrder not defined > EFI boot manager: Cannot load any image > 607648 bytes read in 29 ms (20 MiB/s) > Consoles: EFI console > efipart_readwrite: rw=1, blk=0 size=1 status=2 > efipart_readwrite: rw=1, blk=64 size=1 status=2 > efipart_readwrite: rw=1, blk=1 size=1 status=2 > efipart_readwrite: rw=1, blk=30883840 size=1 status=2 > efipart_readwrite: rw=1, blk=0 size=1 status=2 > efipart_readwrite: rw=1, blk=64 size=1 status=2 > efipart_readwrite: rw=1, blk=1 size=1 status=2 > efipart_readwrite: rw=1, blk=30883840 size=1 status=2 > FreeBSD/arm64 EFI loader, Revision 1.1 > > Command line arguments: loader.efi > EFI version: 2.80 > EFI Firmware: Das U-Boot (rev 8217.4096) > Console: efi (0) > Load Path: /efi\boot\bootaa64.efi > Load Device: > /VenHw(e61d73b9-a384-4acc-aeab-82e828f3628b)/SD(0)/SD(0)/HD(1,MBR,0x2b49e90d,0x403b,0x20000) > Trying ESP: > /VenHw(e61d73b9-a384-4acc-aeab-82e828f3628b)/SD(0)/SD(0)/HD(1,MBR,0x2b49e90d,0x403b,0x20000) > Setting currdev to disk0p1: > efipart_readwrite: rw=1, blk=0 size=1 status=2 > efipart_readwrite: rw=1, blk=64 size=1 status=2 > efipart_readwrite: rw=1, blk=1 size=1 status=2 > efipart_readwrite: rw=1, blk=30883840 size=1 status=2 > efipart_readwrite: rw=1, blk=0 size=1 status=2 > efipart_readwrite: rw=1, blk=64 size=1 status=2 > efipart_readwrite: rw=1, blk=1 size=1 status=2 > efipart_readwrite: rw=1, blk=30883840 size=1 status=2 > Trying: > /VenHw(e61d73b9-a384-4acc-aeab-82e828f3628b)/SD(0)/SD(0)/HD(2,MBR,0x2b49e90d,0x24400,0x1d4f800) > Setting currdev to disk0p2: > efipart_readwrite: rw=1, blk=0 size=1 status=2 > efipart_readwrite: rw=1, blk=64 size=1 status=2 > efipart_readwrite: rw=1, blk=1 size=1 status=2 > efipart_readwrite: rw=1, blk=30883840 size=1 status=2 > efipart_readwrite: rw=1, blk=0 size=1 status=2 > efipart_readwrite: rw=1, blk=64 size=1 status=2 > efipart_readwrite: rw=1, blk=1 size=1 status=2 > efipart_readwrite: rw=1, blk=30883840 size=1 status=2 > Failed to find bootable partition > ## Application terminated, r = 14 in 1 seconds > EFI LOAD FAILED: continuing... > > Device 0: unknown device > ethernet@1c30000 Waiting for PHY auto negotiation to complete.... done > BOOTP broadcast 1 > BOOTP broadcast 2 You must have some problem either with your sd card or something weird in your partitioning. I've just checked the latest snapshot from yesterday which have u-boot v2019.10 and it worked flawlessly on my unit. -- Emmanuel Vadot From owner-freebsd-arm@freebsd.org Sat Oct 12 14:39:50 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 4386813650E for ; Sat, 12 Oct 2019 14:39:50 +0000 (UTC) (envelope-from hlh@restart.be) Received: from tignes.restart.be (tignes.restart.be [IPv6:2001:41d0:a:f40b::1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (1024 bits) client-digest SHA256) (Client CN "tignes.restart.be", Issuer "CA master" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 46r6sw5JNZz48ps for ; Sat, 12 Oct 2019 14:39:48 +0000 (UTC) (envelope-from hlh@restart.be) X-Comment: SPF check N/A for local connections - client-ip=192.168.25.127; helo=restart.be; envelope-from=hlh@restart.be; receiver= DKIM-Filter: OpenDKIM Filter v2.10.3 tignes.restart.be 46r6sn0Y3dzK4 Received: from restart.be (norquay.tunnel.bel [192.168.25.127]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (1024 bits) server-digest SHA256 client-signature RSA-PSS (1024 bits) client-digest SHA256) (Client CN "smtp.restart.be", Issuer "CA master" (verified OK)) by tignes.restart.be (Postfix) with ESMTPS id 46r6sn0Y3dzK4; Sat, 12 Oct 2019 16:39:40 +0200 (CEST) Received: from morzine.restart.bel (morzine.restart.be [IPv6:2001:41d0:a:f40b:1:1:0:1]) (authenticated bits=0) by restart.be (8.15.2/8.15.2) with ESMTPSA id x9CEdds0077959 (version=TLSv1.3 cipher=TLS_AES_128_GCM_SHA256 bits=128 verify=NO); Sat, 12 Oct 2019 16:39:39 +0200 (CEST) (envelope-from hlh@restart.be) X-Authentication-Warning: norquay.restart.bel: Host morzine.restart.be [IPv6:2001:41d0:a:f40b:1:1:0:1] claimed to be morzine.restart.bel Subject: Re: PINE64+ 2GB - with U-Boot SPL 2019.10 - bootaa64.efi do not find UFS partition To: Emmanuel Vadot Cc: Henri Hennebert via freebsd-arm References: <73fd9b73-e8a8-cd0d-1ff6-92b602d2dbb3@restart.be> <20191011135048.20f21c963c26852966ab60f2@bidouilliste.com> <185f1d4c-deec-35a3-2397-849a32d578d9@restart.be> <20191012111042.c44ce5afc951162d328afd3c@bidouilliste.com> From: Henri Hennebert Message-ID: <75d5c925-244e-bb0d-ed2d-f093542bae57@restart.be> Date: Sat, 12 Oct 2019 16:39:39 +0200 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:68.0) Gecko/20100101 Thunderbird/68.1.2 MIME-Version: 1.0 In-Reply-To: <20191012111042.c44ce5afc951162d328afd3c@bidouilliste.com> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit X-Rspamd-Queue-Id: 46r6sw5JNZz48ps X-Spamd-Bar: -- X-Spamd-Result: default: False [-2.32 / 15.00]; ARC_NA(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; R_DKIM_ALLOW(-0.20)[restart.be:s=tignes]; NEURAL_HAM_MEDIUM(-0.98)[-0.977,0]; FROM_HAS_DN(0.00)[]; R_SPF_ALLOW(-0.20)[+ip6:2001:41d0:a:f40b::1/128:c]; NEURAL_HAM_LONG(-1.00)[-0.999,0]; MIME_GOOD(-0.10)[text/plain]; HAS_XAW(0.00)[]; RCVD_COUNT_THREE(0.00)[3]; TO_MATCH_ENVRCPT_SOME(0.00)[]; TO_DN_ALL(0.00)[]; DKIM_TRACE(0.00)[restart.be:+]; RCPT_COUNT_TWO(0.00)[2]; DMARC_POLICY_ALLOW(-0.50)[restart.be,reject]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; IP_SCORE(0.66)[ipnet: 2001:41d0::/32(1.75), asn: 16276(1.55), country: FR(-0.00)]; ASN(0.00)[asn:16276, ipnet:2001:41d0::/32, country:FR]; MID_RHS_MATCH_FROM(0.00)[]; RCVD_TLS_ALL(0.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: Sat, 12 Oct 2019 14:39:50 -0000 On 10/12/19 11:10 AM, Emmanuel Vadot wrote: > On Sat, 12 Oct 2019 10:03:10 +0200 > Henri Hennebert wrote: > >> On 10/11/19 1:50 PM, Emmanuel Vadot wrote: >>> On Fri, 11 Oct 2019 13:36:26 +0200 >>> Henri Hennebert via freebsd-arm wrote: >>> >>>> U-Boot SPL 2019.10 (Oct 10 2019 - 18:05:29 +0200) >>>> DRAM: 2048 MiB >>>> Trying to boot from MMC1 >>>> NOTICE: BL31: v2.0(release): >>>> >>>>>> FreeBSD EFI boot block >>>> Loader path: /boot/loader.efi >>>> >>>> Initializing modules: ZFS UFS >>>> Load Path: /efi\boot\bootaa64.efi >>>> Load Device: >>>> /VenHw(e61d73b9-a384-4acc-aeab-82e828f3628b)/SD(0)/SD(0)/HD(1,0x01,0,0x403b,0x20000) >>>> Probing 3 block devices...... done >>>> ZFS found no pools >>>> UFS found no partitions >>>> Failed to load '/boot/loader.efi' >>>> panic: No bootable partitions found! >>>> ## Application terminated, r = 1 >>>> >>>> Revert to U-Boot SPL 2019.07 with the same bootaa64.efi boot OK >>>> >>>> Henri >>> >>> Is this boot1.efi that you've installed as bootaa64.efi ? >>> >>> Try installing loader.efi directly. >>> >> >> I try with loader.efi as bootaa64.efi to no avail: >> >> U-Boot 2019.10 (Oct 10 2019 - 18:05:29 +0200) Allwinner Technology >> >> CPU: Allwinner A64 (SUN50I) >> Model: Pine64+ >> DRAM: 2 GiB >> MMC: mmc@1c0f000: 0 >> Loading Environment from FAT... *** Warning - bad CRC, using default >> environment >> >> In: serial >> Out: serial >> Err: serial >> Net: phy interface7 >> eth0: ethernet@1c30000 >> starting USB... >> Bus usb@1c1a000: USB EHCI 1.00 >> Bus usb@1c1a400: USB OHCI 1.0 >> Bus usb@1c1b000: USB EHCI 1.00 >> Bus usb@1c1b400: USB OHCI 1.0 >> scanning bus usb@1c1a000 for devices... 1 USB Device(s) found >> scanning bus usb@1c1a400 for devices... 1 USB Device(s) found >> scanning bus usb@1c1b000 for devices... EHCI timed out on TD - >> token=0x80008d80 >> >> USB device not accepting new address (error=22) >> 1 USB Device(s) found >> scanning bus usb@1c1b400 for devices... 1 USB Device(s) found >> scanning usb for storage devices... 0 Storage Device(s) found >> Hit any key to stop autoboot: 0 >> switch to partitions #0, OK >> mmc0 is current device >> Scanning mmc 0:1... >> 31963 bytes read in 3 ms (10.2 MiB/s) >> Found EFI removable media binary efi/boot/bootaa64.efi >> Scanning disk mmc@1c0f000.blk... >> Found 3 disks >> BootOrder not defined >> EFI boot manager: Cannot load any image >> 607648 bytes read in 29 ms (20 MiB/s) >> Consoles: EFI console >> efipart_readwrite: rw=1, blk=0 size=1 status=2 >> efipart_readwrite: rw=1, blk=64 size=1 status=2 >> efipart_readwrite: rw=1, blk=1 size=1 status=2 >> efipart_readwrite: rw=1, blk=30883840 size=1 status=2 >> efipart_readwrite: rw=1, blk=0 size=1 status=2 >> efipart_readwrite: rw=1, blk=64 size=1 status=2 >> efipart_readwrite: rw=1, blk=1 size=1 status=2 >> efipart_readwrite: rw=1, blk=30883840 size=1 status=2 >> FreeBSD/arm64 EFI loader, Revision 1.1 >> >> Command line arguments: loader.efi >> EFI version: 2.80 >> EFI Firmware: Das U-Boot (rev 8217.4096) >> Console: efi (0) >> Load Path: /efi\boot\bootaa64.efi >> Load Device: >> /VenHw(e61d73b9-a384-4acc-aeab-82e828f3628b)/SD(0)/SD(0)/HD(1,MBR,0x2b49e90d,0x403b,0x20000) >> Trying ESP: >> /VenHw(e61d73b9-a384-4acc-aeab-82e828f3628b)/SD(0)/SD(0)/HD(1,MBR,0x2b49e90d,0x403b,0x20000) >> Setting currdev to disk0p1: >> efipart_readwrite: rw=1, blk=0 size=1 status=2 >> efipart_readwrite: rw=1, blk=64 size=1 status=2 >> efipart_readwrite: rw=1, blk=1 size=1 status=2 >> efipart_readwrite: rw=1, blk=30883840 size=1 status=2 >> efipart_readwrite: rw=1, blk=0 size=1 status=2 >> efipart_readwrite: rw=1, blk=64 size=1 status=2 >> efipart_readwrite: rw=1, blk=1 size=1 status=2 >> efipart_readwrite: rw=1, blk=30883840 size=1 status=2 >> Trying: >> /VenHw(e61d73b9-a384-4acc-aeab-82e828f3628b)/SD(0)/SD(0)/HD(2,MBR,0x2b49e90d,0x24400,0x1d4f800) >> Setting currdev to disk0p2: >> efipart_readwrite: rw=1, blk=0 size=1 status=2 >> efipart_readwrite: rw=1, blk=64 size=1 status=2 >> efipart_readwrite: rw=1, blk=1 size=1 status=2 >> efipart_readwrite: rw=1, blk=30883840 size=1 status=2 >> efipart_readwrite: rw=1, blk=0 size=1 status=2 >> efipart_readwrite: rw=1, blk=64 size=1 status=2 >> efipart_readwrite: rw=1, blk=1 size=1 status=2 >> efipart_readwrite: rw=1, blk=30883840 size=1 status=2 >> Failed to find bootable partition >> ## Application terminated, r = 14 in 1 seconds >> EFI LOAD FAILED: continuing... >> >> Device 0: unknown device >> ethernet@1c30000 Waiting for PHY auto negotiation to complete.... done >> BOOTP broadcast 1 >> BOOTP broadcast 2 > > You must have some problem either with your sd card or something weird > in your partitioning. I've just checked the latest snapshot from > yesterday which have u-boot v2019.10 and it worked flawlessly on my > unit. > I put FreeBSD-12.1-RC1-arm64-aarch64-PINE64.img on the sd card. It is created with u-boot 2019-07 and boot correctly. If I put u-boot 2019-10 the same problem occurs. From owner-freebsd-arm@freebsd.org Sat Oct 12 18:07:29 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 B3D3513F8BF for ; Sat, 12 Oct 2019 18:07:29 +0000 (UTC) (envelope-from thomasskibo@yahoo.com) Received: from sonic313-9.consmr.mail.ne1.yahoo.com (sonic313-9.consmr.mail.ne1.yahoo.com [66.163.185.32]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 46rCTX1CQyz4Ntl for ; Sat, 12 Oct 2019 18:07:27 +0000 (UTC) (envelope-from thomasskibo@yahoo.com) X-YMail-OSG: YysTEvsVM1lESTnqrw5sxSG0vYy5_9aggW_OwBxkgKXPZdII35pgBYUHsfIgsuQ sih_TzvwgvlrdAyx4Zdwxc9ejEwJR0QpfebhWFuiWtBohGTtENd0_nn2eP9Xw8BH8SA1Nzhd3pna D5iGNMzkXxI7gj3DnkKh3ZZAo_E3gKQ7hemaKi1Zvkn_U1SAJqNfYi.odYwT_NNj.voVDUqurlxL oBmh3BkYroQ4fvVSKzPWeTcS6fY3DKnaAl4zxIjdxZeMXbsv7LpEqOqznRRbyXwckpNAwlyp2wA9 6vDZc37PWaStXawWT1EbU4zXU5QJJeZGiHb8fojx8.pNgwfDgVFCgNvGwXrObADyMhWUMFCzPBnL aDohTmvnhyzoGn406ecNNr78NI5o0yhCi1XaGyfH8M6jagYRgQCHoj0qZF0OWDEoYL7I30j1fsY4 zlZhvf9wrFmGu7aV.DKSDujLo.PO.1oGwGB8Vtg0vqC0BxXk9VVMMu6pJoFgJeie4_rmGR6ARpoT IRt3rxQoXRLRBhlH7WOz1laViIU3Y7_V6Q.QKHwTCQtVsg.RJt66d6kc8MM7jwu5PK88Z6jv0oOS OwCgOCD3NYfZ3F3YdYyygjlW6ZF0J0cOCD93ZP4ZXROpl2MEdJ_QZlO58F74CYCXM.ZwTQtpT044 5U0hFJCuBaKGoRkGVS74N4s1m8u1cXa0GDrmu7MLzvEpggpX0Y_5pibdH2BDAlLDM8QMAcUm7wbN K9oFNrBXhJJ8V.i2LIv54uyqGRyOdLUFsEBeFJIjeiK.MqRwND0d9Z7H44D9G.q_3ZZaxVTHcDhO 7KApxaqJvdBDzZWDowUs6iSnz4z9EqMHzlRGrkpZiU87CnL4r1dENPzsVzZvx1FnfhJnmi2aEt7Q S1aptUdMqDUnHfTbT4B.H3gyX5FUbe4AnhWSHlrr_cAWMizzeKfqqvHl5dkQluXUnln.8YlAQtz8 f36hMlTyqDYXPeo_Ayd05PvzTGcxU7wR_CleYeTUy4Pz7uT8kyTnT_tjd.3pfVfr0erKjlKiPbmG irI1oOmwom.EPAlWlDQ41So0XGtQEJzrQ4YiFpwyUKQfOHfvF6BCgjMnfvCa6CbRmTsX5wJTUgEn FaEdoAct.31RtrvcbruEFvXnQQACYYRbQpzMJBIuFUGNsPp58YnvcUv7i5LIrwLbIZ3IiRB0q70Y F9AjPPBjwNX9pBLadW29WtBzj39Xn5vcR1WOLEf_ZZvYHoAepHpRy.LfCoFDoTCtNkYPrX8IsLvL 6iGdowGNI9XlCdV3Yzojck1BYFJDA31b26E9O Received: from sonic.gate.mail.ne1.yahoo.com by sonic313.consmr.mail.ne1.yahoo.com with HTTP; Sat, 12 Oct 2019 18:07:26 +0000 Received: by smtp418.mail.ne1.yahoo.com (Oath Hermes SMTP Server) with ESMTPA ID f8094d0b622ccb6d38470c77ac5bf3a3; Sat, 12 Oct 2019 18:07:23 +0000 (UTC) From: Thomas Skibo 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: Re: PINE64+ 2GB - with U-Boot SPL 2019.10 - bootaa64.efi do not find UFS partition Message-Id: Date: Sat, 12 Oct 2019 11:07:21 -0700 To: freebsd-arm@freebsd.org X-Mailer: Apple Mail (2.3445.104.11) X-Rspamd-Queue-Id: 46rCTX1CQyz4Ntl X-Spamd-Bar: + X-Spamd-Result: default: False [1.99 / 15.00]; R_SPF_ALLOW(-0.20)[+ptr:yahoo.com]; FREEMAIL_FROM(0.00)[yahoo.com]; TO_DN_NONE(0.00)[]; MV_CASE(0.50)[]; DKIM_TRACE(0.00)[yahoo.com:+]; DMARC_POLICY_ALLOW(-0.50)[yahoo.com,reject]; FROM_EQ_ENVFROM(0.00)[]; RCVD_TLS_LAST(0.00)[]; MIME_TRACE(0.00)[0:+]; FREEMAIL_ENVFROM(0.00)[yahoo.com]; ASN(0.00)[asn:36646, ipnet:66.163.184.0/21, country:US]; MID_RHS_MATCH_FROM(0.00)[]; DWL_DNSWL_NONE(0.00)[yahoo.com.dwl.dnswl.org : 127.0.5.0]; ARC_NA(0.00)[]; FAKE_REPLY(1.00)[]; R_DKIM_ALLOW(-0.20)[yahoo.com:s=s2048]; FROM_HAS_DN(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; MIME_GOOD(-0.10)[text/plain]; IP_SCORE(0.00)[ip: (1.81), ipnet: 66.163.184.0/21(1.32), asn: 36646(1.05), country: US(-0.05)]; NEURAL_SPAM_MEDIUM(0.83)[0.826,0]; RCPT_COUNT_ONE(0.00)[1]; IP_SCORE_FREEMAIL(0.00)[]; NEURAL_SPAM_LONG(0.67)[0.669,0]; RCVD_IN_DNSWL_NONE(0.00)[32.185.163.66.list.dnswl.org : 127.0.5.0]; 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, 12 Oct 2019 18:07:29 -0000 > > U-Boot SPL 2019.10 (Oct 10 2019 - 18:05:29 +0200)=20 > > DRAM: 2048 MiB=20 > > Trying to boot from MMC1=20 > > NOTICE: BL31: v2.0(release):=20 > >=20 > > >>=20 > > FreeBSD EFI boot block=20 > >=20 > > Loader path: /boot/loader.efi=20 > >=20 > > Initializing modules: ZFS UFS=20 > > Load Path: /efi\boot\bootaa64.efi=20 > > Load Device:=20 > > = /VenHw(e61d73b9-a384-4acc-aeab-82e828f3628b)/SD(0)/SD(0)/HD(1,0x01,0,0x403= b,0x20000)=20 > > Probing 3 block devices...... done=20 > > ZFS found no pools=20 > > UFS found no partitions=20 > > Failed to load '/boot/loader.efi'=20 > > panic: No bootable partitions found!=20 > > ## Application terminated, r =3D 1=20 >=20 > I=E2=80=99ve been looking into this. As of u-boot v2019.10, there are = some extra checks in efi_disk_read_blocks() and now it will fail with = EFI_INVALID_PARAMETER if the buffer isn=E2=80=99t aligned. In my case, = efi_disk_read_blocks() was called with a buffer address of 0x1da06040 = but with this->media->io_align =3D 512. (See lib/efi_loader/efi_disk.c = line 125.). Evidently,loader.efi is making disk calls with unaligned = buffers but it wasn=E2=80=99t an issue until these checks were added. = That=E2=80=99s as far as I got debugging this. Found this bug: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D240572= "libefi: FreeBSD cannot boot with U-Boot patch efi_loader: parameter = checks BLOCK_IO_PROTOCOL" Looks like a fix has been committed. I=E2=80=99ll try the updated = loader. =E2=80=94 Thomas Skibo thomasskibo@yahoo.com