From owner-freebsd-arm@freebsd.org Wed Dec 18 03:25: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 765261D254D for ; Wed, 18 Dec 2019 03:25:36 +0000 (UTC) (envelope-from kevans@freebsd.org) Received: from smtp.freebsd.org (smtp.freebsd.org [96.47.72.83]) (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 "smtp.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 47d0l43JVlz46J6 for ; Wed, 18 Dec 2019 03:25:36 +0000 (UTC) (envelope-from kevans@freebsd.org) Received: from mail-qt1-f169.google.com (mail-qt1-f169.google.com [209.85.160.169]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "GTS CA 1O1" (verified OK)) (Authenticated sender: kevans) by smtp.freebsd.org (Postfix) with ESMTPSA id 5C08CEB2F for ; Wed, 18 Dec 2019 03:25:36 +0000 (UTC) (envelope-from kevans@freebsd.org) Received: by mail-qt1-f169.google.com with SMTP id k40so809980qtk.8 for ; Tue, 17 Dec 2019 19:25:36 -0800 (PST) X-Gm-Message-State: APjAAAVbDYFsJ4o/WGT9FOW95BIh5Rym4f8EPnPA8M2gk9FM/jLZPTew lakU/Fe9UbkbBCkqE6ENi6CaKk0uo5Kil2dOBzc= X-Google-Smtp-Source: APXvYqyRFNLMVSC+NdJww8D698G1Ip0w5s5AE7wEoJrAZCHFb5a4SNJ20DCCf/E4lbHUQj3xTCOLy399NDi0fhr2YTU= X-Received: by 2002:ac8:544f:: with SMTP id d15mr408902qtq.53.1576639535577; Tue, 17 Dec 2019 19:25:35 -0800 (PST) MIME-Version: 1.0 References: In-Reply-To: From: Kyle Evans Date: Tue, 17 Dec 2019 21:25:24 -0600 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: How to boot freebsd on rpi4b? To: ykla Cc: Robert Crowston , "freebsd-arm@freebsd.org" Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable 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, 18 Dec 2019 03:25:36 -0000 On Tue, Dec 17, 2019 at 9:16 PM ykla wrote: > > I tested many dtoverlay likes dtoverlay=3Dpi3-miniuart-bt=EF=BC=8Cpi3-di= sable-bt or disable-bt miniuart-bt. All of them will shows me garbled. > disable-bt (which is the new name for pi3-disable-bt) was sufficient for me to stop the baudrate goofiness that Rob was referring to -- I've not yet had time to provision a new RPi4 image to try this out, but it should work. You clearly have the latest rpi-firmware update based on your config.txt. You dd'ed u-boot-rpi4 over to the image, right? ISTR the differences between rpi3 and rpi4 weren't that great, so there's a chance it could've worked to some extent if it was an rpi3 u-boot. > ykla =E4=BA=8E2019=E5=B9=B412=E6=9C=8818=E6=97=A5=E5= =91=A8=E4=B8=89 =E4=B8=8A=E5=8D=8810:43=E5=86=99=E9=81=93=EF=BC=9A >> >> my config.txt >> ------------------------------------------------------------------------= -------------- >> arm_control=3D0x200 >> arm_64bit=3D1 >> dtoverlay=3Ddisable-bt >> dtoverlay=3Dmmc >> device_tree_address=3D0x4000 >> kernel=3Du-boot.bin >> armstub=3Darmstub8-gic.bin >> enable_uart=3D1 >> >> ykla =E4=BA=8E2019=E5=B9=B412=E6=9C=8818=E6=97=A5=E5= =91=A8=E4=B8=89 =E4=B8=8A=E5=8D=8810:39=E5=86=99=E9=81=93=EF=BC=9A >>> >>> Not after something(It show me login I can't input), and all my input t= o raspberry pi are error but the raspberry pi output are normal. >>> >>> Robert Crowston =E4=BA=8E 2019=E5=B9=B412=E6= =9C=8818=E6=97=A5=E5=91=A8=E4=B8=89 =E4=B8=8A=E5=8D=8812:18=E5=86=99=E9=81= =93=EF=BC=9A >>>> >>>> Does this garbling happen just after /sbin/init runs? >>>> >>>> You need to add an overlay to your config.txt, I can=E2=80=99t remembe= r which one from here. Or double your comspeed from that point. >>>> >>>> On Tue, Dec 17, 2019 at 13:40, ykla wrote: >>>> >>>> I try two tools putty and xshell. Com10 115200. >>>> >>>> ykla =E4=BA=8E 2019=E5=B9=B412=E6=9C=8817=E6=97=A5= =E5=91=A8=E4=BA=8C =E4=B8=8A=E5=8D=8811:47=E5=86=99=E9=81=93=EF=BC=9A >>>> >>>> > PL2303 TTL to USB can only output and I can't input anything. Any in= put >>>> > are garbled. >>>> > >>>> > [image: 1217114605.png] >>>> > >>>> > ykla =E4=BA=8E2019=E5=B9=B412=E6=9C=8817=E6=97= =A5=E5=91=A8=E4=BA=8C =E4=B8=8A=E5=8D=8811:13=E5=86=99=E9=81=93=EF=BC=9A >>>> > >>>> >> I reboot for 10 times and now show me root login, but usually stops= on >>>> >> lo0. >>>> >> Here's log: >>>> >> >>>> >> Connecting to COM10... >>>> >> Connected. >>>> >> >>>> >> MMC: emmc2@7e340000: 0, mmc@7e300000: 1 >>>> >> Loading Environment from FAT... In: serial >>>> >> Out: vidconsole >>>> >> Err: vidconsole >>>> >> Net: Net Initialization Skipped >>>> >> No ethernet found. >>>> >> Hit any key to stop autoboot: 0 >>>> >> switch to partitions #0, OK >>>> >> mmc0 is current device >>>> >> Scanning mmc 0:1... >>>> >> Found EFI removable media binary efi/boot/bootaa64.efi >>>> >> libfdt fdt_check_header(): FDT_ERR_BADMAGIC >>>> >> Scanning disk emmc2@7e340000.blk... >>>> >> Scanning disk mmc@7e300000.blk... >>>> >> Disk mmc@7e300000.blk not ready >>>> >> Found 3 disks >>>> >> BootOrder not defined >>>> >> EFI boot manager: Cannot load any image >>>> >> 677944 bytes read in 77 ms (8.4 MiB/s) >>>> >> libfdt fdt_check_header(): FDT_ERR_BADMAGIC >>>> >> Consoles: EFI console >>>> >> Reading loader env vars from /efi/freebsd/loader.env >>>> >> Setting currdev to disk0p1: >>>> >> FreeBSD/arm64 EFI loader, Revision 1.1 >>>> >> (Thu Dec 12 06:37:06 UTC 2019 root@releng1.nyi.freebsd.org) >>>> >> >>>> >> Command line arguments: loader.efi >>>> >> Image base: 0x39ea3000 >>>> >> EFI version: 2.80 >>>> >> EFI Firmware: Das U-Boot (rev 8217.4096) >>>> >> Console: efi (0x1000) >>>> >> Load Path: /efi\boot\bootaa64.efi >>>> >> Load Device: >>>> >> /VenHw(e61d73b9-a384-4acc-aeab-82e828f3628b)/SD(0)/SD(0)/HD(1,MBR,0= xf6fc52af,0x81f,0x18fa8) >>>> >> Trying ESP: >>>> >> /VenHw(e61d73b9-a384-4acc-aeab-82e828f3628b)/SD(0)/SD(0)/HD(1,MBR,0= xf6fc52af,0x81f,0x18fa8) >>>> >> Setting currdev to disk0p1: >>>> >> Trying: >>>> >> /VenHw(e61d73b9-a384-4acc-aeab-82e828f3628b)/SD(0)/SD(0)/HD(2,MBR,0= xf6fc52af,0x197c7,0xeb68839) >>>> >> Setting currdev to disk0p2: >>>> >> Loading /boot/defaults/loader.conf >>>> >> Loading /boot/device.hints >>>> >> Loading /boot/loader.conf >>>> >> Loading /boot/loader.conf.local >>>> >> Loading kernel... >>>> >> /boot/kernel/kernel text=3D0x9785cc data=3D0x18f538 data=3D0x0+0x79= b9e0 >>>> >> syms=3D[0x8+0x1441e0+0x8+0x12ebce] >>>> >> Loading configured modules... >>>> >> /boot/kernel/umodem.ko text=3D0x2100 text=3D0x13a0 data=3D0x6e0+0x1= 0 >>>> >> syms=3D[0x8+0xf48+0x8+0xb6e] >>>> >> /boot/entropy size=3D0x1000 >>>> >> >>>> >> Hit [Enter] to boot immediately, or any other key for command promp= t. >>>> >> Booting [/boot/kernel/kernel]... >>>> >> Using DTB provided by EFI at 0x7ef2000. >>>> >> EFI framebuffer information: >>>> >> addr, size 0x3eab2000, 0x148000 >>>> >> dimensions 656 x 512 >>>> >> stride 656 >>>> >> masks 0x00ff0000, 0x0000ff00, 0x000000ff, 0xff000000 >>>> >> ---<>--- >>>> >> 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 r355634: Thu Dec 12 07:51:26 UTC 2019 >>>> >> root@releng1.nyi.freebsd.org:/usr/obj/usr/src/arm64.aarch64/sys/GEN= ERIC >>>> >> arm64 >>>> >> 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(efifb): resolution 656x512 >>>> >> module firmware already present! >>>> >> KLD file umodem.ko is missing dependencies >>>> >> Starting CPU 1 (1) >>>> >> Starting CPU 2 (2) >>>> >> Starting CPU 3 (3) >>>> >> FreeBSD/SMP: Multiprocessor System Detected: 4 CPUs >>>> >> random: unblocking device. >>>> >> random: entropy device external interface >>>> >> MAP 39f53000 mode 2 pages 1 >>>> >> MAP 39f57000 mode 2 pages 1 >>>> >> MAP 3b360000 mode 2 pages 16 >>>> >> MAP fe100000 mode 0 pages 1 >>>> >> WARNING: Device "kbd" is Giant locked and may be deleted before Fre= eBSD >>>> >> 13.0. >>>> >> kbd0 at kbdmux0 >>>> >> WARNING: Device "openfirm" is Giant locked and may be deleted befor= e >>>> >> FreeBSD 13.0. >>>> >> ofwbus0: >>>> >> simplebus0: on ofwbus0 >>>> >> ofw_clkbus0: on ofwbus0 >>>> >> clk_fixed0: on ofw_clkbus0 >>>> >> clk_fixed1: on ofw_clkbus0 >>>> >> simplebus1: on ofwbus0 >>>> >> simplebus2: on ofwbus0 >>>> >> regfix0: on ofwbus0 >>>> >> regfix1: on ofwbus0 >>>> >> psci0: on ofwbus0 >>>> >> gic0: mem >>>> >> 0x40041000-0x40041fff,0x40042000-0x40043fff,0x40044000-0x40045fff,0= x40046000-0x40047fff >>>> >> irq 46 on simplebus0 >>>> >> gic0: pn 0x2, arch 0x2, rev 0x1, implementer 0x43b irqs 256 >>>> >> gpio0: mem 0x7e200000-0x7e2000b3 irq= 22,23 >>>> >> on simplebus0 >>>> >> gpiobus0: on gpio0 >>>> >> gpioregulator0: on ofwbus0 >>>> >> gpioregulator0: cannot get pin 0 >>>> >> gpioregulator0: cannot parse parameters >>>> >> device_attach: gpioregulator0 attach returned 6 >>>> >> generic_timer0: irq 4,5,6,7 on ofwbus0 >>>> >> Timecounter "ARM MPCore Timecounter" frequency 54000000 Hz quality = 1000 >>>> >> Event timer "ARM MPCore Eventtimer" frequency 54000000 Hz quality 1= 000 >>>> >> gpioregulator0: on ofwbus0 >>>> >> gpioregulator0: cannot get pin 0 >>>> >> gpioregulator0: cannot parse parameters >>>> >> device_attach: gpioregulator0 attach returned 6 >>>> >> gpioregulator0: on ofwbus0 >>>> >> gpioregulator0: cannot get pin 0 >>>> >> gpioregulator0: cannot parse parameters >>>> >> device_attach: gpioregulator0 attach returned 6 >>>> >> gpioregulator0: on ofwbus0 >>>> >> gpioregulator0: cannot get pin 0 >>>> >> gpioregulator0: cannot parse parameters >>>> >> device_attach: gpioregulator0 attach returned 6 >>>> >> gpioregulator0: on ofwbus0 >>>> >> gpioregulator0: cannot get pin 0 >>>> >> gpioregulator0: cannot parse parameters >>>> >> device_attach: gpioregulator0 attach returned 6 >>>> >> usb_nop_xceiv0: on ofwbus0 >>>> >> gpioregulator0: on ofwbus0 >>>> >> gpioregulator0: cannot get pin 0 >>>> >> gpioregulator0: cannot parse parameters >>>> >> device_attach: gpioregulator0 attach returned 6 >>>> >> bcm_dma0: mem 0x7e007000-0x7e007aff irq >>>> >> 9,10,11,12,13,14,15,16,17,18,19 on simplebus0 >>>> >> Checking root against brcm,bcm2837 >>>> >> Checking root against brcm,bcm2711 >>>> >> bcmwd0: mem >>>> >> 0x7e100000-0x7e100113,0x7e00a000-0x7e00a023,0x7ec11000-0x7ec1101f o= n >>>> >> simplebus0 >>>> >> mbox0: mem 0x7e00b880-0x7e00b8bf irq 21= on >>>> >> simplebus0 >>>> >> gpioc0: on gpio0 >>>> >> uart0: mem 0x7e201000-0x7e2011ff irq 24 on >>>> >> simplebus0 >>>> >> uart0: console (115200,n,8,1) >>>> >> sdhci_bcm0: mem 0x7e340000-0x7e340= 0ff >>>> >> irq 60 on simplebus0 >>>> >> mmc0: on sdhci_bcm0 >>>> >> sdhci_bcm1: mem 0x7e300000-0x7e300= 0ff >>>> >> irq 61 on simplebus0 >>>> >> mmc1: on sdhci_bcm1 >>>> >> fb0: on simplebus0 >>>> >> fb0: keeping existing fb bpp of 32 >>>> >> fbd0 on fb0 >>>> >> WARNING: Device "fb" is Giant locked and may be deleted before Free= BSD >>>> >> 13.0. >>>> >> VT: Replacing driver "efifb" with new "fb". >>>> >> fb0: 656x512(656x512@0,0) 32bpp >>>> >> fb0: fbswap: 1, pitch 2624, base 0x3eab2000, screen_size 1343488 >>>> >> cpulist0: on ofwbus0 >>>> >> cpu0: on cpulist0 >>>> >> cpu1: on cpulist0 >>>> >> cpu2: on cpulist0 >>>> >> cpu3: on cpulist0 >>>> >> gpioled0: on ofwbus0 >>>> >> gpioled0: failed to map pin >>>> >> gpioregulator0: on ofwbus0 >>>> >> gpioregulator0: cannot get pin 0 >>>> >> gpioregulator0: cannot parse parameters >>>> >> device_attach: gpioregulator0 attach returned 6 >>>> >> cryptosoft0: >>>> >> Timecounters tick every 1.000 msec >>>> >> usb_needs_explore_all: no devclass >>>> >> mmcsd0: 126GB at= mmc0 >>>> >> 50.0MHz/4bit/65535-block >>>> >> sdhci_bcm1-slot0: Got command interrupt 0x00030000, but there is no >>>> >> active command. >>>> >> sdhci_bcm1-slot0: =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D REGIST= ER DUMP =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D >>>> >> sdhci_bcm1-slot0: Sys addr: 0x00000000 | Version: 0x00009902 >>>> >> sdhci_bcm1-slot0: Blk size: 0x00000000 | Blk cnt: 0x00000000 >>>> >> sdhci_bcm1-slot0: Argument: 0x000001aa | Trn mode: 0x00000000 >>>> >> sdhci_bcm1-slot0: Present: 0x000f0000 | Host ctl: 0x00000001 >>>> >> sdhci_bcm1-slot0: Power: 0x0000000f | Blk gap: 0x00000000 >>>> >> sdhci_bcm1-slot0: Wake-up: 0x00000000 | Clock: 0x0000fa07 >>>> >> sdhci_bcm1-slot0: Timeout: 0x00000000 | Int stat: 0x00000000 >>>> >> sdhci_bcm1-slot0: Int enab: 0x01ff00bb | Sig enab: 0x01ff00bb >>>> >> sdhci_bcm1-slot0: AC12 err: 0x00000000 | Host ctl2:0x00000000 >>>> >> sdhci_bcm1-slot0: Caps: 0x00000000 | Caps2: 0x00000000 >>>> >> sdhci_bcm1-slot0: Max curr: 0x00000001 | ADMA err: 0x00000000 >>>> >> sdhci_bcm1-slot0: ADMA addr:0x00000000 | Slot int: 0x00000000 >>>> >> sdhci_bcm1-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_bcm1-slot0: Got command interrupt 0x00030000, but there is no >>>> >> active command. >>>> >> sdhci_bcm1-slot0: =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D REGIST= ER DUMP =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D >>>> >> sdhci_bcm1-slot0: Sys addr: 0x00000000 | Version: 0x00009902 >>>> >> sdhci_bcm1-slot0: Blk size: 0x00000000 | Blk cnt: 0x00000000 >>>> >> sdhci_bcm1-slot0: Argument: 0x000001aa | Trn mode: 0x00000000 >>>> >> sdhci_bcm1-slot0: Present: 0x000f0000 | Host ctl: 0x00000001 >>>> >> sdhci_bcm1-slot0: Power: 0x0000000f | Blk gap: 0x00000000 >>>> >> sdhci_bcm1-slot0: Wake-up: 0x00000000 | Clock: 0x0000fa07 >>>> >> sdhci_bcm1-slot0: Timeout: 0x00000000 | Int stat: 0x00000000 >>>> >> sdhci_bcm1-slot0: Int enab: 0x01ff00bb | Sig enab: 0x01ff00bb >>>> >> sdhci_bcm1-slot0: AC12 err: 0x00000000 | Host ctl2:0x00000000 >>>> >> sdhci_bcm1-slot0: Caps: 0x00000000 | Caps2: 0x00000000 >>>> >> sdhci_bcm1-slot0: Max curr: 0x00000001 | ADMA err: 0x00000000 >>>> >> sdhci_bcm1-slot0: ADMA addr:0x00000000 | Slot int: 0x00000000 >>>> >> sdhci_bcm1-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_bcm1-slot0: Got command interrupt 0x00030000, but there is no >>>> >> active command. >>>> >> sdhci_bcm1-slot0: =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D REGIST= ER DUMP =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D >>>> >> sdhci_bcm1-slot0: Sys addr: 0x00000000 | Version: 0x00009902 >>>> >> sdhci_bcm1-slot0: Blk size: 0x00000000 | Blk cnt: 0x00000000 >>>> >> sdhci_bcm1-slot0: Argument: 0x000001aa | Trn mode: 0x00000000 >>>> >> sdhci_bcm1-slot0: Present: 0x000f0000 | Host ctl: 0x00000001 >>>> >> sdhci_bcm1-slot0: Power: 0x0000000f | Blk gap: 0x00000000 >>>> >> sdhci_bcm1-slot0: Wake-up: 0x00000000 | Clock: 0x0000fa07 >>>> >> sdhci_bcm1-slot0: Timeout: 0x00000000 | Int stat: 0x00000000 >>>> >> sdhci_bcm1-slot0: Int enab: 0x01ff00bb | Sig enab: 0x01ff00bb >>>> >> sdhci_bcm1-slot0: AC12 err: 0x00000000 | Host ctl2:0x00000000 >>>> >> sdhci_bcm1-slot0: Caps: 0x00000000 | Caps2: 0x00000000 >>>> >> sdhci_bcm1-slot0: Max curr: 0x00000001 | ADMA err: 0x00000000 >>>> >> sdhci_bcm1-slot0: ADMA addr:0x00000000 | Slot int: 0x00000000 >>>> >> sdhci_bcm1-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_bcm1-slot0: Got command interrupt 0x00030000, but there is no >>>> >> active command. >>>> >> sdhci_bcm1-slot0: =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D REGIST= ER DUMP =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D >>>> >> sdhci_bcm1-slot0: Sys addr: 0x00000000 | Version: 0x00009902 >>>> >> sdhci_bcm1-slot0: Blk size: 0x00000000 | Blk cnt: 0x00000000 >>>> >> sdhci_bcm1-slot0: Argument: 0x00000000 | Trn mode: 0x00000000 >>>> >> sdhci_bcm1-slot0: Present: 0x000f0000 | Host ctl: 0x00000001 >>>> >> sdhci_bcm1-slot0: Power: 0x0000000f | Blk gap: 0x00000000 >>>> >> sdhci_bcm1-slot0: Wake-up: 0x00000000 | Clock: 0x0000fa07 >>>> >> sdhci_bcm1-slot0: Timeout: 0x00000000 | Int stat: 0x00000000 >>>> >> sdhci_bcm1-slot0: Int enab: 0x01ff00bb | Sig enab: 0x01ff00bb >>>> >> sdhci_bcm1-slot0: AC12 err: 0x00000000 | Host ctl2:0x00000000 >>>> >> sdhci_bcm1-slot0: Caps: 0x00000000 | Caps2: 0x00000000 >>>> >> sdhci_bcm1-slot0: Max curr: 0x00000001 | ADMA err: 0x00000000 >>>> >> sdhci_bcm1-slot0: ADMA addr:0x00000000 | Slot int: 0x00000000 >>>> >> sdhci_bcm1-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_bcm1-slot0: Got command interrupt 0x00030000, but there is no >>>> >> active command. >>>> >> sdhci_bcm1-slot0: =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D REGIST= ER DUMP =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D >>>> >> sdhci_bcm1-slot0: Sys addr: 0x00000000 | Version: 0x00009902 >>>> >> sdhci_bcm1-slot0: Blk size: 0x00000000 | Blk cnt: 0x00000000 >>>> >> sdhci_bcm1-slot0: Argument: 0x00000000 | Trn mode: 0x00000000 >>>> >> sdhci_bcm1-slot0: Present: 0x000f0000 | Host ctl: 0x00000001 >>>> >> sdhci_bcm1-slot0: Power: 0x0000000f | Blk gap: 0x00000000 >>>> >> sdhci_bcm1-slot0: Wake-up: 0x00000000 | Clock: 0x0000fa07 >>>> >> sdhci_bcm1-slot0: Timeout: 0x00000000 | Int stat: 0x00000000 >>>> >> sdhci_bcm1-slot0: Int enab: 0x01ff00bb | Sig enab: 0x01ff00bb >>>> >> sdhci_bcm1-slot0: AC12 err: 0x00000000 | Host ctl2:0x00000000 >>>> >> sdhci_bcm1-slot0: Caps: 0x00000000 | Caps2: 0x00000000 >>>> >> sdhci_bcm1-slot0: Max curr: 0x00000001 | ADMA err: 0x00000000 >>>> >> sdhci_bcm1-slot0: ADMA addr:0x00000000 | Slot int: 0x00000000 >>>> >> sdhci_bcm1-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_bcm1-slot0: Got command interrupt 0x00030000, but there is no >>>> >> active command. >>>> >> sdhci_bcm1-slot0: =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D REGIST= ER DUMP =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D >>>> >> sdhci_bcm1-slot0: Sys addr: 0x00000000 | Version: 0x00009902 >>>> >> sdhci_bcm1-slot0: Blk size: 0x00000000 | Blk cnt: 0x00000000 >>>> >> sdhci_bcm1-slot0: Argument: 0x00000000 | Trn mode: 0x00000000 >>>> >> sdhci_bcm1-slot0: Present: 0x000f0000 | Host ctl: 0x00000001 >>>> >> sdhci_bcm1-slot0: Power: 0x0000000f | Blk gap: 0x00000000 >>>> >> sdhci_bcm1-slot0: Wake-up: 0x00000000 | Clock: 0x0000fa07 >>>> >> sdhci_bcm1-slot0: Timeout: 0x00000000 | Int stat: 0x00000000 >>>> >> sdhci_bcm1-slot0: Int enab: 0x01ff00bb | Sig enab: 0x01ff00bb >>>> >> sdhci_bcm1-slot0: AC12 err: 0x00000000 | Host ctl2:0x00000000 >>>> >> sdhci_bcm1-slot0: Caps: 0x00000000 | Caps2: 0x00000000 >>>> >> sdhci_bcm1-slot0: Max curr: 0x00000001 | ADMA err: 0x00000000 >>>> >> sdhci_bcm1-slot0: ADMA addr:0x00000000 | Slot int: 0x00000000 >>>> >> sdhci_bcm1-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_bcm1-slot0: Got command interrupt 0x00030000, but there is no >>>> >> active command. >>>> >> sdhci_bcm1-slot0: =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D REGIST= ER DUMP =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D >>>> >> sdhci_bcm1-slot0: Sys addr: 0x00000000 | Version: 0x00009902 >>>> >> sdhci_bcm1-slot0: Blk size: 0x00000000 | Blk cnt: 0x00000000 >>>> >> sdhci_bcm1-slot0: Argument: 0x00000000 | Trn mode: 0x00000000 >>>> >> sdhci_bcm1-slot0: Present: 0x000f0000 | Host ctl: 0x00000001 >>>> >> sdhci_bcm1-slot0: Power: 0x0000000f | Blk gap: 0x00000000 >>>> >> sdhci_bcm1-slot0: Wake-up: 0x00000000 | Clock: 0x0000fa07 >>>> >> sdhci_bcm1-slot0: Timeout: 0x00000000 | Int stat: 0x00000000 >>>> >> sdhci_bcm1-slot0: Int enab: 0x01ff00bb | Sig enab: 0x01ff00bb >>>> >> sdhci_bcm1-slot0: AC12 err: 0x00000000 | Host ctl2:0x00000000 >>>> >> sdhci_bcm1-slot0: Caps: 0x00000000 | Caps2: 0x00000000 >>>> >> sdhci_bcm1-slot0: Max curr: 0x00000001 | ADMA err: 0x00000000 >>>> >> sdhci_bcm1-slot0: ADMA addr:0x00000000 | Slot int: 0x00000000 >>>> >> sdhci_bcm1-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 >>>> >> mmc1: No compatible cards found on bus >>>> >> Release APs...done >>>> >> CPU 0: ARM Cortex-A72 r0p3 affinity: 0 >>>> >> Instruction Set Attributes 0 =3D >>>> >> Trying to mount root from ufs:/dev/ufs/rootfs [rw]... >>>> >> Instruction Set Attributes 1 =3D <> >>>> >> Processor Features 0 =3D >>>> >> Processor Features 1 =3D <> >>>> >> Memory Model Features 0 =3D >>> >> ASID,16TB PA> >>>> >> Memory Model Features 1 =3D <8bit VMID> >>>> >> Memory Model Features 2 =3D <32bit CCIDX,48bit VA> >>>> >> Debug Features 0 =3D <2 CTX BKPTs,4 Watchpoints,6 >>>> >> Breakpoints,PMUv3,Debugv8> >>>> >> Debug Features 1 =3D <> >>>> >> Auxiliary Features 0 =3D <> >>>> >> Auxiliary Features 1 =3D <> >>>> >> CPU 1: ARM Cortex-A72 r0p3 affinity: 1 >>>> >> CPU 2: ARM Cortex-A72 r0p3 affinity: 2 >>>> >> CPU 3: ARM Cortex-A72 r0p3 affinity: 3 >>>> >> WARNING: WITNESS option enabled, expect reduced performance. >>>> >> WARNING: was not properly dismounted >>>> >> Warning: no time-of-day clock registered, system time will not be s= et >>>> >> accurately >>>> >> Setting hostuuid: 30303031-3030-3030-3165-653364373161. >>>> >> Setting hostid: 0x3c744718. >>>> >> No suitable dump device was found. >>>> >> Starting file system checks: >>>> >> /dev/ufs/rootfs: INCORRECT BLOCK COUNT I=3D4470 (8 should be 0) (CO= RRECTED) >>>> >> /dev/ufs/rootfs: LINK COUNT DIR I=3D11 OWNER=3Droot MODE=3D40755 >>>> >> /dev/ufs/rootfs: SIZE=3D512 MTIME=3DDec 12 09:12 2019 COUNT 25 SHOU= LD BE 24 >>>> >> (ADJUSTED) >>>> >> /dev/ufs/rootfs: UNREF FILE I=3D4466 OWNER=3Droot MODE=3D100644 >>>> >> /dev/ufs/rootfs: SIZE=3D0 MTIME=3DDec 12 09:12 2019 >>>> >> (CLEARED) >>>> >> /dev/ufs/rootfs: UNREF FILE I=3D4469 OWNER=3Droot MODE=3D100644 >>>> >> /dev/ufs/rootfs: SIZE=3D0 MTIME=3DDec 12 09:12 2019 >>>> >> (CLEARED) >>>> >> /dev/ufs/rootfs: UNREF FILE I=3D4470 OWNER=3Droot MODE=3D100444 >>>> >> /dev/ufs/rootfs: SIZE=3D0 MTIME=3DDec 12 09:12 2019 >>>> >> (CLEARED) >>>> >> /dev/ufs/rootfs: UNREF FILE I=3D4501 OWNER=3Droot MODE=3D100600 >>>> >> /dev/ufs/rootfs: SIZE=3D4096 MTIME=3DDec 12 09:11 2019 >>>> >> (CLEARED) >>>> >> /dev/ufs/rootfs: SUMMARY INFORMATION BAD (SALVAGED) >>>> >> /dev/ufs/rootfs: BLK(S) MISSING IN BIT MAPS (SALVAGED) >>>> >> /dev/ufs/rootfs: 23639 files, 705985 used, 29178238 free (302 frags= , >>>> >> 3647242 blocks, 0.0% fragmentation) >>>> >> Mounting local filesystems:. >>>> >> ELF ldconfig path: /lib /usr/lib /usr/lib/compat >>>> >> Setting hostname: generic. >>>> >> Setting up harvesting: >>>> >> [UMA],[FS_ATIME],SWI,INTERRUPT,NET_NG,[NET_ETHER],NET_TUN,MOUSE,KEY= BOARD,ATTACH,CACHED >>>> >> Feeding entropy: . >>>> >> lo0: link state changed to UP >>>> >> Starting Network: lo0. >>>> >> lo0: flags=3D8049 metric 0 mtu 16384 >>>> >> options=3D680003 >>>> >> inet6 ::1 prefixlen 128 >>>> >> inet6 fe80::1%lo0 prefixlen 64 scopeid 0x1 >>>> >> inet 127.0.0.1 netmask 0xff000000 >>>> >> groups: lo >>>> >> nd6 options=3D21 >>>> >> Starting devd. >>>> >> add host 127.0.0.1: gateway lo0 fib 0: route already in table >>>> >> add host ::1: gateway lo0 fib 0: route already in table >>>> >> add net fe80::: gateway ::1 >>>> >> add net ff02::: gateway ::1 >>>> >> add net ::ffff:0.0.0.0: gateway ::1 >>>> >> add net ::0.0.0.0: gateway ::1 >>>> >> Creating and/or trimming log files. >>>> >> Starting syslogd. >>>> >> Clearing /tmp (X related). >>>> >> Updating motd:. >>>> >> Mounting late filesystems:. >>>> >> Updating /var/run/os-release done. >>>> >> Configuring vt: blanktime. >>>> >> Performing sanity check on sshd configuration. >>>> >> Starting sshd. >>>> >> Starting cron. >>>> >> Starting background file system checks in 60 seconds. >>>> >> >>>> >> Thu Dec 12 09:13:14 UTC 2019 >>>> >> >>>> >> FreeBSD/arm64 (generic) (ttyu0) >>>> >> >>>> >> login: >>>> >> >>>> >> Kyle Evans =E4=BA=8E2019=E5=B9=B412=E6=9C=8817= =E6=97=A5=E5=91=A8=E4=BA=8C =E4=B8=8A=E5=8D=8810:33=E5=86=99=E9=81=93=EF=BC= =9A >>>> >> >>>> >>> On Mon, Dec 16, 2019 at 8:30 PM ykla wrote: >>>> >>> > ykla =E4=BA=8E 2019=E5=B9=B412=E6=9C=8817=E6= =97=A5=E5=91=A8=E4=BA=8C =E4=B8=8A=E5=8D=8810:27=E5=86=99=E9=81=93=EF=BC=9A >>>> >>> >> Kyle Evans =E4=BA=8E 2019=E5=B9=B412=E6=9C= =8817=E6=97=A5=E5=91=A8=E4=BA=8C =E4=B8=8A=E5=8D=8810:04=E5=86=99=E9=81=93= =EF=BC=9A >>>> >>> >>> >>>> >>> >>> On Mon, Dec 16, 2019 at 7:50 PM ykla wrote= : >>>> >>> >>> > >>>> >>> >>> > Hi, I download latest version 12.12 current 13 img and write= in TF >>>> >>> card. >>>> >>> >>> > Then I download rpi-firmware(2019-12-05 16:15:16) and extrac= t and >>>> >>> copy it >>>> >>> >>> > in BOOT partition. And look at my screen shows me that stop = boot >>>> >>> on lo0 >>>> >>> >>> > state. I know it can't support USB/PCI/ethernet and I just w= ant to >>>> >>> install >>>> >>> >>> > it. Thanks. >>>> >>> >>> >>>> >>> >>> That's a most curious failure mode... if you got to the point = where >>>> >>> >>> we're bringing up lo0, it should have either been fine or blow= n up >>>> >>> >>> terribly in an obvious way -- I'll reimage tomorrow-ish based = on the >>>> >>> >>> latest snapshot and see if I can reproduce. >>>> >>> >>> >>>> >>> >>> In the meantime, can you post a transcript of the boot? >>>> >>> >>> >>>> >>> >>> Thanks, >>>> >>> >>> >>>> >>> >>> Kyle Evans >>>> >>> >> >>>> >>> >> New error: stopped at >>>> >>> >> Warning: no time-of-day clock registered. system time will not = be set >>>> >>> accurately. >>>> >>> > >>>> >>> > I just reboot and bugs show: >>>> >>> > lo0 :link state change to UP. >>>> >>> > >>>> >>> >>>> >>> Can you scroll up to just above that sdhci output and take another >>>> >>> picture? (above the =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D) >>>> >>> >>>> >>> Thanks, >>>> >>> >>>> >>> Kyle Evans >>>> >>> >>>> >> >>>> _______________________________________________ >>>> 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" >>>> >>>> >>>>