Date: Tue, 17 Dec 2019 21:25:24 -0600 From: Kyle Evans <kevans@freebsd.org> To: ykla <yklaxds@gmail.com> Cc: Robert Crowston <crowston@protonmail.com>, "freebsd-arm@freebsd.org" <freebsd-arm@freebsd.org> Subject: Re: How to boot freebsd on rpi4b? Message-ID: <CACNAnaFkgfU6v3b9rQT6fNASO1gsWPNsOxqhJachOi0vQZiU2Q@mail.gmail.com> In-Reply-To: <CA%2BPGaYCgkjhm1j0L4P=WBH8jus=8xArp1Wh4hwiqNbfBgF-x3g@mail.gmail.com> References: <CA%2BPGaYB4_ef2xgdNv=0ZfHJXFOHTt4UgCgM02cZi1s5vo%2BaVXw@mail.gmail.com> <CACNAnaG7EMDX06_iuhNzKq=RgM8ZvzSrYApmKSMQN7VjkLGgmg@mail.gmail.com> <CA%2BPGaYDaUp2nQhN%2BtE23Wxa04sM2EZ7CeNkseRjWs2zUgzyK-g@mail.gmail.com> <CA%2BPGaYCwhVZ792hNLXrO-knReHC-85wXk5wrNzconOYWSGsJ0A@mail.gmail.com> <CACNAnaEAcZxVjWuOFW5fbKNoPM1Sste1%2BWj7=uiy8Nx3dSzh5A@mail.gmail.com> <CA%2BPGaYDLDMwchHtm%2Be9X2SyQJu0hTmJrb6gE7ipZpS7WAj2SZQ@mail.gmail.com> <CA%2BPGaYBNRB6wHKWzBkGAB_KcJ68MwiumaXh%2B1f2s44jXsmKRRQ@mail.gmail.com> <CA%2BPGaYCjnjSFC%2B5cLgvnv=efs=s7di1Lr2xLY8PmvUy8n9-W8Q@mail.gmail.com> <AOgsSTDxscOnliP84-iE72CF8Y9gctB_GWLJGPFVyR7ct9O9i9lEve12uMxdqbX-mMAaAezkbwem1sLyYJN_9XFjP1Ea_-JTGkXHpXO5M1Q=@protonmail.com> <CA%2BPGaYADC1sOxW2t0W=Riorm-BkxLPirr94jPocjvHqSUAMPhw@mail.gmail.com> <CA%2BPGaYAk4iSho9G19JOkSDqicHYQe-1w=CE5xXYgfWW3u-9VAg@mail.gmail.com> <CA%2BPGaYCgkjhm1j0L4P=WBH8jus=8xArp1Wh4hwiqNbfBgF-x3g@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, Dec 17, 2019 at 9:16 PM ykla <yklaxds@gmail.com> 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 <yklaxds@gmail.com> =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 <yklaxds@gmail.com> =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 <crowston@protonmail.com> =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 <yklaxds@gmail.com> wrote: >>>> >>>> I try two tools putty and xshell. Com10 115200. >>>> >>>> ykla <yklaxds@gmail.com> =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 <yklaxds@gmail.com> =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 >>>> >> ---<<BOOT>>--- >>>> >> 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: <Open Firmware Device Tree> >>>> >> simplebus0: <Flattened device tree simple bus> on ofwbus0 >>>> >> ofw_clkbus0: <OFW clocks bus> on ofwbus0 >>>> >> clk_fixed0: <Fixed clock> on ofw_clkbus0 >>>> >> clk_fixed1: <Fixed clock> on ofw_clkbus0 >>>> >> simplebus1: <Flattened device tree simple bus> on ofwbus0 >>>> >> simplebus2: <Flattened device tree simple bus> on ofwbus0 >>>> >> regfix0: <Fixed Regulator> on ofwbus0 >>>> >> regfix1: <Fixed Regulator> on ofwbus0 >>>> >> psci0: <ARM Power State Co-ordination Interface Driver> on ofwbus0 >>>> >> gic0: <ARM Generic Interrupt Controller> 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: <BCM2708/2835 GPIO controller> mem 0x7e200000-0x7e2000b3 irq= 22,23 >>>> >> on simplebus0 >>>> >> gpiobus0: <OFW GPIO bus> on gpio0 >>>> >> gpioregulator0: <GPIO controlled regulator> on ofwbus0 >>>> >> gpioregulator0: cannot get pin 0 >>>> >> gpioregulator0: cannot parse parameters >>>> >> device_attach: gpioregulator0 attach returned 6 >>>> >> generic_timer0: <ARMv7 Generic Timer> 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: <GPIO controlled regulator> on ofwbus0 >>>> >> gpioregulator0: cannot get pin 0 >>>> >> gpioregulator0: cannot parse parameters >>>> >> device_attach: gpioregulator0 attach returned 6 >>>> >> gpioregulator0: <GPIO controlled regulator> on ofwbus0 >>>> >> gpioregulator0: cannot get pin 0 >>>> >> gpioregulator0: cannot parse parameters >>>> >> device_attach: gpioregulator0 attach returned 6 >>>> >> gpioregulator0: <GPIO controlled regulator> on ofwbus0 >>>> >> gpioregulator0: cannot get pin 0 >>>> >> gpioregulator0: cannot parse parameters >>>> >> device_attach: gpioregulator0 attach returned 6 >>>> >> gpioregulator0: <GPIO controlled regulator> on ofwbus0 >>>> >> gpioregulator0: cannot get pin 0 >>>> >> gpioregulator0: cannot parse parameters >>>> >> device_attach: gpioregulator0 attach returned 6 >>>> >> usb_nop_xceiv0: <USB NOP PHY> on ofwbus0 >>>> >> gpioregulator0: <GPIO controlled regulator> on ofwbus0 >>>> >> gpioregulator0: cannot get pin 0 >>>> >> gpioregulator0: cannot parse parameters >>>> >> device_attach: gpioregulator0 attach returned 6 >>>> >> bcm_dma0: <BCM2835 DMA Controller> 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: <BCM2708/2835 Watchdog> mem >>>> >> 0x7e100000-0x7e100113,0x7e00a000-0x7e00a023,0x7ec11000-0x7ec1101f o= n >>>> >> simplebus0 >>>> >> mbox0: <BCM2835 VideoCore Mailbox> mem 0x7e00b880-0x7e00b8bf irq 21= on >>>> >> simplebus0 >>>> >> gpioc0: <GPIO controller> on gpio0 >>>> >> uart0: <PrimeCell UART (PL011)> mem 0x7e201000-0x7e2011ff irq 24 on >>>> >> simplebus0 >>>> >> uart0: console (115200,n,8,1) >>>> >> sdhci_bcm0: <Broadcom 2708 SDHCI controller> mem 0x7e340000-0x7e340= 0ff >>>> >> irq 60 on simplebus0 >>>> >> mmc0: <MMC/SD bus> on sdhci_bcm0 >>>> >> sdhci_bcm1: <Broadcom 2708 SDHCI controller> mem 0x7e300000-0x7e300= 0ff >>>> >> irq 61 on simplebus0 >>>> >> mmc1: <MMC/SD bus> on sdhci_bcm1 >>>> >> fb0: <BCM2835 VT framebuffer driver> 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: <Open Firmware CPU Group> on ofwbus0 >>>> >> cpu0: <Open Firmware CPU> on cpulist0 >>>> >> cpu1: <Open Firmware CPU> on cpulist0 >>>> >> cpu2: <Open Firmware CPU> on cpulist0 >>>> >> cpu3: <Open Firmware CPU> on cpulist0 >>>> >> gpioled0: <GPIO LEDs> on ofwbus0 >>>> >> gpioled0: <led1> failed to map pin >>>> >> gpioregulator0: <GPIO controlled regulator> on ofwbus0 >>>> >> gpioregulator0: cannot get pin 0 >>>> >> gpioregulator0: cannot parse parameters >>>> >> device_attach: gpioregulator0 attach returned 6 >>>> >> cryptosoft0: <software crypto> >>>> >> Timecounters tick every 1.000 msec >>>> >> usb_needs_explore_all: no devclass >>>> >> mmcsd0: 126GB <SDHC AcMKS 0.2 SN 40400CB7 MFG 06/2019 by 156 SO> 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 <CRC32> >>>> >> Trying to mount root from ufs:/dev/ufs/rootfs [rw]... >>>> >> Instruction Set Attributes 1 =3D <> >>>> >> Processor Features 0 =3D <AdvSIMD,FP,EL3 32,EL2 32,EL1 32,EL0 32> >>>> >> Processor Features 1 =3D <> >>>> >> Memory Model Features 0 =3D <TGran4,TGran64,SNSMem,BigEnd,16bit >>>> >> 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<UP,LOOPBACK,RUNNING,MULTICAST> metric 0 mtu 16384 >>>> >> options=3D680003<RXCSUM,TXCSUM,LINKSTATE,RXCSUM_IPV6,TXCSUM_IPV6> >>>> >> inet6 ::1 prefixlen 128 >>>> >> inet6 fe80::1%lo0 prefixlen 64 scopeid 0x1 >>>> >> inet 127.0.0.1 netmask 0xff000000 >>>> >> groups: lo >>>> >> nd6 options=3D21<PERFORMNUD,AUTO_LINKLOCAL> >>>> >> 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 <kevans@freebsd.org> =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 <yklaxds@gmail.com> wrote: >>>> >>> > ykla <yklaxds@gmail.com> =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 <kevans@freebsd.org> =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 <yklaxds@gmail.com> 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" >>>> >>>> >>>>
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CACNAnaFkgfU6v3b9rQT6fNASO1gsWPNsOxqhJachOi0vQZiU2Q>