From owner-freebsd-arm@freebsd.org Wed Dec 18 03:16: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 CA5E61D21B9 for ; Wed, 18 Dec 2019 03:16:37 +0000 (UTC) (envelope-from yklaxds@gmail.com) Received: from mail-il1-x130.google.com (mail-il1-x130.google.com [IPv6:2607:f8b0:4864:20::130]) (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 47d0Xj0Nt0z45by; Wed, 18 Dec 2019 03:16:36 +0000 (UTC) (envelope-from yklaxds@gmail.com) Received: by mail-il1-x130.google.com with SMTP id g12so444842ild.2; Tue, 17 Dec 2019 19:16:36 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=/PA4Ye5cks1OsV7bpFQiOW2ytsfoIbHhY9ppmNdO3hs=; b=V7qLJiUsY51/gqS0SWPgVmv2zwAbq5PBUp10iSvp3DZW/+Jibg57NZ/bi98zkjJMlp +U8bAKASCExEU+xusk2zycFG0JIYAKSYV3o1Oc9SN2H/bcojQ2V0nrMOvJGxHLA4XYdO b5IQpppkfl4gzrUpIo+5O56Qhya3JaLZcI3fxTPDDoyIILOc9j2fPQAJ1wLJnN9M2BUJ yaWtzWmn22AFwVqDfq733Ah9jafMQ2YuqVyiK3BaLGgccv7u4Lv0ZBp6YtfCoF7AMArh CDj9/4OIHH6ZzABSXALrAY9PfLk01DCHV0RK/7MsKvEo5xnbymyhjFTA0DNyEHijMQil YODQ== 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=/PA4Ye5cks1OsV7bpFQiOW2ytsfoIbHhY9ppmNdO3hs=; b=iuuC4QJKcJaDGa1UM2UGpufa4iCDWBI7+fL6o/f6XqAon/2huryI1F01SBkif2aWyf SUplkI+k+PBStcSjStrYAv5Y6FUuVTvOFlsGok8ttsolJMX/aGqvVzdfYOfDk+7yWB7S DPoOTNXVShc8LioaQ3Ld/DoGFtnP2m53IXL3tqfmj6OltyyrcQm/OV7E7T+Wiv1bKCYs 5TeknRlWIB1vwig/w1NMEFt1MJEshs/NlaqkzlR2l/o70KjwyUm7Xbct6D8EN+C28vBo JcHgGm1LHjJYsMtH6aNWtFA9Iov3f1uhmEkAEjVJHEeWZHJZjtuXNRc9kH/MlGGSYXj3 O8pg== X-Gm-Message-State: APjAAAXC/oQM+njh+RfrFPg04ZwtQBqnJBMjnP7o1+AzfS8PIkAh3ap7 64VNW4ouHsz1s5qZaGaTlLJmyLCVODsAtYqxdSI= X-Google-Smtp-Source: APXvYqwNuRykep9qXsJye3xTltmjYTb/q9oOkP+a+OlSM/dUlCw2BLf35XoaVxxA4P2cStM5dqFKneQU847zyxqlf3Y= X-Received: by 2002:a92:1699:: with SMTP id 25mr1144057ilw.234.1576638995480; Tue, 17 Dec 2019 19:16:35 -0800 (PST) MIME-Version: 1.0 References: In-Reply-To: From: ykla Date: Wed, 18 Dec 2019 11:16:24 +0800 Message-ID: Subject: Re: How to boot freebsd on rpi4b? To: Robert Crowston Cc: Kyle Evans , freebsd-arm@freebsd.org X-Rspamd-Queue-Id: 47d0Xj0Nt0z45by X-Spamd-Bar: / Authentication-Results: mx1.freebsd.org; dkim=pass header.d=gmail.com header.s=20161025 header.b=V7qLJiUs; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (mx1.freebsd.org: domain of yklaxds@gmail.com designates 2607:f8b0:4864:20::130 as permitted sender) smtp.mailfrom=yklaxds@gmail.com X-Spamd-Result: default: False [-1.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]; DKIM_TRACE(0.00)[gmail.com:+]; DMARC_POLICY_ALLOW(-0.50)[gmail.com,none]; FREEMAIL_TO(0.00)[protonmail.com]; FROM_EQ_ENVFROM(0.00)[]; SUBJECT_ENDS_QUESTION(1.00)[]; MIME_TRACE(0.00)[0:+,1:+,2:~]; FREEMAIL_ENVFROM(0.00)[gmail.com]; ASN(0.00)[asn:15169, ipnet:2607:f8b0::/32, country:US]; SH_EMAIL_ZRD(0.00)[0.0.0.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)[]; SH_EMAIL_DBL_DONT_QUERY_IPS(0.00)[0.0.0.0]; RCPT_COUNT_THREE(0.00)[3]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; DWL_DNSWL_NONE(0.00)[gmail.com.dwl.dnswl.org : 127.0.5.0]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; IP_SCORE_FREEMAIL(0.00)[]; TO_MATCH_ENVRCPT_SOME(0.00)[]; RCVD_IN_DNSWL_NONE(0.00)[0.3.1.0.0.0.0.0.0.0.0.0.0.0.0.0.0.2.0.0.4.6.8.4.0.b.8.f.7.0.6.2.list.dnswl.org : 127.0.5.0]; HTTP_TO_IP(1.00)[]; IP_SCORE(0.00)[ip: (-8.60), ipnet: 2607:f8b0::/32(-2.19), asn: 15169(-1.90), country: US(-0.05)]; RCVD_COUNT_TWO(0.00)[2]; RCVD_TLS_ALL(0.00)[] 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, 18 Dec 2019 03:16:37 -0000 I tested many dtoverlay likes dtoverlay=3Dpi3-miniuart-bt=EF=BC=8Cpi3-disa= ble-bt or disable-bt miniuart-bt. All of them will shows me garbled. 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 to >> 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 remember= 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 inp= ut >>> > 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,0xf6f= c52af,0x81f,0x18fa8) >>> >> Trying ESP: >>> >> >>> /VenHw(e61d73b9-a384-4acc-aeab-82e828f3628b)/SD(0)/SD(0)/HD(1,MBR,0xf6f= c52af,0x81f,0x18fa8) >>> >> Setting currdev to disk0p1: >>> >> Trying: >>> >> >>> /VenHw(e61d73b9-a384-4acc-aeab-82e828f3628b)/SD(0)/SD(0)/HD(2,MBR,0xf6f= c52af,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+0x79b= 9e0 >>> >> syms=3D[0x8+0x1441e0+0x8+0x12ebce] >>> >> Loading configured modules... >>> >> /boot/kernel/umodem.ko text=3D0x2100 text=3D0x13a0 data=3D0x6e0+0x10 >>> >> syms=3D[0x8+0xf48+0x8+0xb6e] >>> >> /boot/entropy size=3D0x1000 >>> >> >>> >> Hit [Enter] to boot immediately, or any other key for command prompt= . >>> >> 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/GENERIC >>> >> arm64 >>> >> FreeBSD clang version 9.0.0 (tags/RELEASE_900/final 372316) (based o= n >>> >> 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 >>> FreeBSD >>> >> 13.0. >>> >> kbd0 at kbdmux0 >>> >> WARNING: Device "openfirm" is Giant locked and may be deleted before >>> >> 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,0x400= 46000-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 10= 00 >>> >> 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 on >>> >> 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-0x7e3400= ff >>> >> irq 60 on simplebus0 >>> >> mmc0: on sdhci_bcm0 >>> >> sdhci_bcm1: mem 0x7e300000-0x7e3000= ff >>> >> 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 FreeB= SD >>> >> 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 REGISTE= R 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 REGISTE= R 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 REGISTE= R 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 REGISTE= R 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 REGISTE= R 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 REGISTE= R 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 REGISTE= R 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 se= t >>> >> 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) >>> (CORRECTED) >>> >> /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 SHOUL= D 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,KEYBOAR= D,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 extract >>> 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 >>> want 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 blown >>> up >>> >>> >>> terribly in an obvious way -- I'll reimage tomorrow-ish based o= n >>> 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 b= e >>> 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" >>> >>> >>> >>>