From owner-freebsd-arm@freebsd.org Wed Dec 18 02:44: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 0CCB31D1731 for ; Wed, 18 Dec 2019 02:44:10 +0000 (UTC) (envelope-from yklaxds@gmail.com) Received: from mail-io1-xd33.google.com (mail-io1-xd33.google.com [IPv6:2607:f8b0:4864:20::d33]) (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 47czqD3jkRz44K7; Wed, 18 Dec 2019 02:44:08 +0000 (UTC) (envelope-from yklaxds@gmail.com) Received: by mail-io1-xd33.google.com with SMTP id z8so393485ioh.0; Tue, 17 Dec 2019 18:44:08 -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=jYWj/doorgvm9ZjzMEzN4KxJ1rOOwtmh66FaITlGJyg=; b=pMIU7HgxRxgvOpGVJznXLKVoo2E4Yhd2QoaKasYrT+tssEA9JDo4T6vRsMq2MLZNjr TyFW7IQwCJvy16HboRwlMLKmhayCVR0C2Oekfr8ReeWZ/AGQwCTNNOnlSgD/ZqRRvBee iE4D5b1NhUCUOIJYCxsI1kJU1rUVyNFrVov4oFdIPo5c8pd9y6eCsotk6Mjm9pi6s+EH ejLUqntbfzlm5xrLBWGLNEpDBLFJBMRYA90wAJrqJDM2YNRX4VOkNmuq/bvbnSxjyjKQ 1Kqx36KTyrZtjgqZz670qFrZRzkwmWxDhr+XqHwEcgF4cMw9Iy0puWuDrE54mGb5+fKL wTQA== 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=jYWj/doorgvm9ZjzMEzN4KxJ1rOOwtmh66FaITlGJyg=; b=h7y4TMYVfMeWIatzSudhSRcz9C42e9v45b6oj4jxYZ8W2nX8J6oMMlo9aYQ+m/E2yV CFXxmXnMY93jUTwRS+et1O03u47IZ6uooxnPMzFupyiHdzOAJ9/5MTGk8CP/CL2MI7gS SZBBPKjbzd4pBIcwVSyeDpMA8PogUN4u4nerLCR2ATSye9U34wDdWJFp1BgPV40answA aMaVGmYr0Ch98aUcoW2TopeZkXv0Ch658d9oJujMvqBH+7b1c5w07mtFJdw361XQxf3G nroeg6PjfB3bPYyRc7rxKGwCpfd+h4KsIWBoaESDFayX525pyVAn8dAn3FENxh5WH3E4 bWdQ== X-Gm-Message-State: APjAAAUBowN82ZSb8nLoHwNqF8C/jbtH+NVlbkyeZAMOljA1U7Zc2mCF IzBFPhz1No/NLhJ0CPbku8J3JwNJH7eqkKAG59g= X-Google-Smtp-Source: APXvYqzMD5bLSyrmS8SNepgAxyn4dlDU0Lh1itJ3OAA7Exok4lkT5lXgWi/0rehS4xP0jRYisKmID0QBd6YXEb43WBk= X-Received: by 2002:a02:5883:: with SMTP id f125mr288237jab.45.1576637046994; Tue, 17 Dec 2019 18:44:06 -0800 (PST) MIME-Version: 1.0 References: In-Reply-To: From: ykla Date: Wed, 18 Dec 2019 10:43:56 +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: 47czqD3jkRz44K7 X-Spamd-Bar: / Authentication-Results: mx1.freebsd.org; dkim=pass header.d=gmail.com header.s=20161025 header.b=pMIU7Hgx; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (mx1.freebsd.org: domain of yklaxds@gmail.com designates 2607:f8b0:4864:20::d33 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)[3.3.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]; HTTP_TO_IP(1.00)[]; IP_SCORE(0.00)[ip: (-5.43), 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 02:44:10 -0000 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 inpu= t >> > 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 o= n >> >> 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,0xf6fc= 52af,0x81f,0x18fa8) >> >> Trying ESP: >> >> >> /VenHw(e61d73b9-a384-4acc-aeab-82e828f3628b)/SD(0)/SD(0)/HD(1,MBR,0xf6fc= 52af,0x81f,0x18fa8) >> >> Setting currdev to disk0p1: >> >> Trying: >> >> >> /VenHw(e61d73b9-a384-4acc-aeab-82e828f3628b)/SD(0)/SD(0)/HD(2,MBR,0xf6fc= 52af,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+0x79b9= e0 >> >> 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 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 FreeB= SD >> >> 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,0x4004= 6000-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 10= 00 >> >> Event timer "ARM MPCore Eventtimer" frequency 54000000 Hz quality 100= 0 >> >> 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 o= n >> >> simplebus0 >> >> gpioc0: on gpio0 >> >> uart0: mem 0x7e201000-0x7e2011ff irq 24 on >> >> simplebus0 >> >> uart0: console (115200,n,8,1) >> >> sdhci_bcm0: mem 0x7e340000-0x7e3400f= f >> >> irq 60 on simplebus0 >> >> mmc0: on sdhci_bcm0 >> >> sdhci_bcm1: mem 0x7e300000-0x7e3000f= f >> >> 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 FreeBS= D >> >> 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 REGISTER= 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 REGISTER= 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 REGISTER= 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 REGISTER= 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 REGISTER= 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 REGISTER= 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 REGISTER= 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 set >> >> 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 SHOULD= 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,KEYBOARD= ,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 i= n >> 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 bo= ot >> >>> on lo0 >> >>> >>> > state. I know it can't support USB/PCI/ethernet and I just wan= t >> 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 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" >> >> >> >>