From owner-freebsd-arm@freebsd.org Thu Dec 31 12:36:31 2020 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 081044C0B11 for ; Thu, 31 Dec 2020 12:36:31 +0000 (UTC) (envelope-from abrancatelli@schema31.it) Received: from stricnina.schema31.it (stricnina.schema31.it [IPv6:2001:470:28:12b::99]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "stricnina.roma.schema31.it", Issuer "stricnina.roma.schema31.it" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 4D671m4L9Bz4jyw for ; Thu, 31 Dec 2020 12:36:27 +0000 (UTC) (envelope-from abrancatelli@schema31.it) Received: from smtp.schema31.it (localhost [127.0.0.1]) by stricnina.roma.schema31.it (8.15.2/8.15.2) with ESMTP id 0BVCaCit043622; Thu, 31 Dec 2020 13:36:13 +0100 (CET) (envelope-from abrancatelli@schema31.it) MIME-Version: 1.0 Date: Thu, 31 Dec 2020 13:36:07 +0100 From: Andrea Brancatelli To: Dan Kotowski Cc: freebsd-arm@freebsd.org Subject: Re: VirtIO-Net not correctly handled Organization: Schema31 s.r.l. In-Reply-To: References: <7849A0D0-7307-4432-B0B0-6005C7062BBA@schema31.it> Message-ID: <34869b4799a00a1ddb0d9b69d94a7106@schema31.it> X-Sender: abrancatelli@schema31.it User-Agent: Roundcube Webmail/1.3.15 X-Rspamd-Queue-Id: 4D671m4L9Bz4jyw X-Spamd-Bar: -- X-Spamd-Result: default: False [-2.00 / 15.00]; MID_RHS_MATCH_FROM(0.00)[]; RBL_DBL_DONT_QUERY_IPS(0.00)[2001:470:28:12b::99:from]; R_DKIM_ALLOW(-0.20)[schema31.it:s=gCloud]; ARC_NA(0.00)[]; FROM_HAS_DN(0.00)[]; TO_DN_SOME(0.00)[]; R_SPF_ALLOW(-0.20)[+mx]; NEURAL_HAM_LONG(-1.00)[-1.000]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; NEURAL_SPAM_MEDIUM(1.00)[1.000]; HAS_ORG_HEADER(0.00)[]; SPAMHAUS_ZRD(0.00)[2001:470:28:12b::99:from:127.0.2.255]; TO_MATCH_ENVRCPT_SOME(0.00)[]; DKIM_TRACE(0.00)[schema31.it:+]; RCPT_COUNT_TWO(0.00)[2]; DMARC_POLICY_ALLOW(-0.50)[schema31.it,quarantine]; NEURAL_HAM_SHORT(-1.00)[-1.000]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+,1:+,2:~]; RCVD_TLS_LAST(0.00)[]; RCVD_COUNT_TWO(0.00)[2]; ASN(0.00)[asn:6939, ipnet:2001:470::/32, country:US]; MAILMAN_DEST(0.00)[freebsd-arm] Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Content-Filtered-By: Mailman/MimeDel 2.1.34 X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 31 Dec 2020 12:36:31 -0000 On 2020-12-31 13:15, Dan Kotowski wrote: > What about with 13-CURRENT? There's a lot of aarch64 work going on in 13 that is unlikely to be backported to 12, so it'll be best to focus effort there. > > --Dan Kotowski Can you do a verbose boot of 12.2 and post `/var/run/dmesg.boot` to https://dmesgd.nycbug.org/index.cgi ? Also if you can figure out how to copy the output of `devinfo -v` and `pciconf -lv` somewhere shareable like a github gist or pastebin, it might help as well. --Dan Kotowski I was able to attach an USB ethernet card to the VM and it's working, so I can give anything you want... Here's the DMESG: https://dmesgd.nycbug.org/index.cgi?do=view&id=5839 Here's the PCICONF/DEVINFO: https://gist.github.com/skeyby/44cefbab8c653376e23a81162be6eab5 --- Andrea Brancatelli From owner-freebsd-arm@freebsd.org Thu Dec 31 12:49:25 2020 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 A7DE94C0CC9 for ; Thu, 31 Dec 2020 12:49:25 +0000 (UTC) (envelope-from soren.schmidt@gmail.com) Received: from mail-ej1-x630.google.com (mail-ej1-x630.google.com [IPv6:2a00:1450:4864:20::630]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 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 4D67Jh2l4Nz4kHK for ; Thu, 31 Dec 2020 12:49:24 +0000 (UTC) (envelope-from soren.schmidt@gmail.com) Received: by mail-ej1-x630.google.com with SMTP id d17so25223072ejy.9 for ; Thu, 31 Dec 2020 04:49:24 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:mime-version:subject:date:references:to:in-reply-to:message-id; bh=SgW7s2Y8fFi5JwS9O7Apttv7/ty80i5eoTOAsmalkV8=; b=gTTvXfTIgdpgYIhLZLyIT+EhUKCXbruVXDWzydnCibJKfmP/t2WTzhURSSo52T5jFm lG2PYj5cu/2SVPJdknoCJjq38wXBRfF1FUw8VpiIWNp1z7+8MbpBVNjYEbxB1aaKTh8x SZ3MF77I8n9k31eHbk/5dyjbpffy41onldGfEh9XZv1Ni/OCMgiL8LzgTAMZiU2SgmxB XIhtBMtrvOweh6QixTCxMfcITvfx5VU9Lso6HUr78olzwG9wmLyUWbXSUaE5AqWkUlPZ iuHIWANdMD1qugN4L1qSnihB5Z7Mp0PVm3uXj3TOXjc8X7Fy3Y2AZoEIVgM5CNL8RVXi 1NQw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:mime-version:subject:date:references:to :in-reply-to:message-id; bh=SgW7s2Y8fFi5JwS9O7Apttv7/ty80i5eoTOAsmalkV8=; b=eNO4gt62JnOQao7FHe3odrlAsHtOzulcPMimWs5D8eb7czx112Cnt7lslvMEUm+9eC hKXCg6gqtUtsx0XaH6JKcoYNTT6kviFfApvx+BdqSYe8c993YPXckelHdlgaO6x4+Y5k RPwZnLu+OBOHgsemNoR/9C1JvEw5AxEPTrakzvRYrvYD6J77UXqRQjlmgKUbPiZ1VBFY Ekq9ZhISS+XuFQ0w03xMtnNA9gH17REy/Cl2xlQNFH83YYY7Br/iyk9C5z2GXGUVmN91 dQQDqneUsd+nrPLZav9enXKaTA0eS1dsR3OYafaEFglGJxeOTztY429ShZqCJnZpw/vq iO5w== X-Gm-Message-State: AOAM5311pztizHU3gUngBcWgHeZiA7bPJ/qkJEJlRdeKqKkHZcnmMkTv jAMcsvw6AogMEJ6WS+tMXt8tnh3QI0I= X-Google-Smtp-Source: ABdhPJzeaYreiwC+Lbpci69zty9Kfr7BJPnhO1bK9VopedRxoK3bLyujAu4LvyMnznSfq4eSzD+FHw== X-Received: by 2002:a17:906:1955:: with SMTP id b21mr53024086eje.236.1609418961316; Thu, 31 Dec 2020 04:49:21 -0800 (PST) Received: from mac.deepcore.dk ([85.27.186.9]) by smtp.gmail.com with ESMTPSA id oq27sm19775923ejb.108.2020.12.31.04.49.20 for (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Thu, 31 Dec 2020 04:49:20 -0800 (PST) From: =?utf-8?Q?S=C3=B8ren_Schmidt?= Mime-Version: 1.0 (Mac OS X Mail 13.4 \(3608.120.23.2.4\)) Subject: Re: FreeBSD-13.0-CURRENT-arm64-aarch64-ROCKPRO64-20201210-7578a4862f0 broken ? Date: Thu, 31 Dec 2020 13:49:19 +0100 References: <4434862ed87c21113fb7f98636fe4694d73856ce.camel@freebsd.org> <0D6FCA87-F101-4AA0-A1BF-6EDBA003BC9F@gmail.com> <87B7940E-119D-4C7F-AB9D-0C78E7F8D3A3@gmail.com> <20201213180746.1224166dffb81cb6770ff80d@bidouilliste.com> <6784D541-8FED-4753-8631-B36886508165@gmail.com> <23CCE944-C9F0-42C9-8A93-DAC312FE01E2@gmail.com> To: freebsd-arm In-Reply-To: <23CCE944-C9F0-42C9-8A93-DAC312FE01E2@gmail.com> Message-Id: X-Mailer: Apple Mail (2.3608.120.23.2.4) X-Rspamd-Queue-Id: 4D67Jh2l4Nz4kHK X-Spamd-Bar: / Authentication-Results: mx1.freebsd.org; dkim=pass header.d=gmail.com header.s=20161025 header.b=gTTvXfTI; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (mx1.freebsd.org: domain of sorenschmidt@gmail.com designates 2a00:1450:4864:20::630 as permitted sender) smtp.mailfrom=sorenschmidt@gmail.com X-Spamd-Result: default: False [-0.50 / 15.00]; RCVD_VIA_SMTP_AUTH(0.00)[]; FREEMAIL_FROM(0.00)[gmail.com]; MV_CASE(0.50)[]; R_SPF_ALLOW(-0.20)[+ip6:2a00:1450:4000::/36]; RCVD_COUNT_THREE(0.00)[3]; TO_DN_ALL(0.00)[]; DKIM_TRACE(0.00)[gmail.com:+]; DMARC_POLICY_ALLOW(-0.50)[gmail.com,none]; NEURAL_HAM_SHORT(-1.00)[-1.000]; 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:2a00:1450::/32, country:US]; TAGGED_FROM(0.00)[]; DWL_DNSWL_NONE(0.00)[gmail.com:dkim]; ARC_NA(0.00)[]; RBL_DBL_DONT_QUERY_IPS(0.00)[2a00:1450:4864:20::630:from]; R_DKIM_ALLOW(-0.20)[gmail.com:s=20161025]; MID_RHS_MATCH_FROM(0.00)[]; FROM_HAS_DN(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-arm@freebsd.org]; NEURAL_SPAM_MEDIUM(1.00)[1.000]; RCPT_COUNT_ONE(0.00)[1]; SPAMHAUS_ZRD(0.00)[2a00:1450:4864:20::630:from:127.0.2.255]; RCVD_IN_DNSWL_NONE(0.00)[2a00:1450:4864:20::630:from]; RCVD_TLS_ALL(0.00)[]; MAILMAN_DEST(0.00)[freebsd-arm] Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.34 X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 31 Dec 2020 12:49:25 -0000 Hi gang On my quest on getting the pinebookpro booting again I think I can rule = out u-boot for now. Back on the u-boot-2020.07 where a -current kernel from late July/early = august would boot just fine a current kernel fails to talk to the SD = card, the only change to an up to date current is not setting the 800Hmz = cpll clock and that is known not to make any difference. Again the same SDcard works just dandy with net/openBSD also I 50Mhz = mode. 1 in 10 boots finds the card as 25Mhz and then it =E2=80=9Cjust = works=E2=80=9D. Any Ideas ? U-Boot TPL 2020.07 (Aug 09 2020 - 14:11:44) Channel 0: LPDDR4, 50MHz BW=3D32 Col=3D10 Bk=3D8 CS0 Row=3D15 CS1 Row=3D15 CS=3D2 Die BW=3D16 = Size=3D2048MB Channel 1: LPDDR4, 50MHz BW=3D32 Col=3D10 Bk=3D8 CS0 Row=3D15 CS1 Row=3D15 CS=3D2 Die BW=3D16 = Size=3D2048MB 256B stride 256B stride lpddr4_set_rate: change freq to 400000000 mhz 0, 1 lpddr4_set_rate: change freq to 800000000 mhz 1, 0 Trying to boot from BOOTROM Returning to boot ROM... U-Boot SPL 2020.07 (Aug 09 2020 - 14:11:44 +0200) Trying to boot from MMC1 U-Boot 2020.07 (Aug 09 2020 - 14:11:44 +0200) SoC: Rockchip rk3399 Reset cause: POR Model: Pine64 Pinebook Pro DRAM: 3.9 GiB PMIC: RK808=20 MMC: mmc@fe310000: 2, mmc@fe320000: 1, sdhci@fe330000: 0 Loading Environment from SPI Flash... SF: Detected gd25q128 with page = size 256 Bytes, erase size 4 KiB, total 16 MiB OK In: serial Out: vidconsole Err: vidconsole Model: Pine64 Pinebook Pro Net: No ethernet found. Card did not respond to voltage select! Hit any key to stop autoboot: 0=20 switch to partitions #0, OK mmc1 is current device Scanning mmc 1:1... 80449 bytes read in 16 ms (4.8 MiB/s) Found EFI removable media binary efi/boot/bootaa64.efi Card did not respond to voltage select! Scanning disk mmc@fe310000.blk... Disk mmc@fe310000.blk not ready Scanning disk mmc@fe320000.blk... ** Unrecognized filesystem type ** Card did not respond to voltage select! Scanning disk sdhci@fe330000.blk... Disk sdhci@fe330000.blk not ready Found 3 disks BootOrder not defined EFI boot manager: Cannot load any image 1091484 bytes read in 123 ms (8.5 MiB/s) Consoles: EFI console =20 Reading loader env vars from /efi/freebsd/loader.env Setting currdev to disk0p1: FreeBSD/arm64 EFI loader, Revision 1.1 (Thu Dec 31 13:17:08 CET 2020 sos@newport.deepcore.dk) Command line arguments: loader.efi Image base: 0xf3dfe000 EFI version: 2.80 EFI Firmware: Das U-Boot (rev 8224.1792) Console: comconsole (0) Load Path: /efi\boot\bootaa64.efi Load Device: = /VenHw(e61d73b9-a384-4acc-aeab-82e828f3628b)/SD(1)/SD(0)/HD(1,GPT,319e202c= -4b62-11eb-bf03-0800274503a7,0x8000,0x10000) Trying ESP: = /VenHw(e61d73b9-a384-4acc-aeab-82e828f3628b)/SD(1)/SD(0)/HD(1,GPT,319e202c= -4b62-11eb-bf03-0800274503a7,0x8000,0x10000) Setting currdev to disk0p1: Trying: = /VenHw(e61d73b9-a384-4acc-aeab-82e828f3628b)/SD(1)/SD(0)/HD(2,GPT,319e202c= -4b62-11eb-bf03-0800274503a7,0x18000,0x1e7fd8) Setting currdev to disk0p2: Loading /boot/defaults/loader.conf Loading Kernel and Modules (Ctrl-C to Abort) .................................................. /boot/kernel/kernel text=3D0x2a8 text=3D0x512fd8 text=3D0x1467b4 = data=3D0x138930 data=3D0x0+0x52e000 syms=3D[0x8+0xb3730+0x8+0xbdce7] | Hit [Enter] to boot immediately, or any other key for command prompt. Booting [/boot/kernel/kernel]... =20 Using DTB provided by EFI at 0x80e9000. EFI framebuffer information: addr, size 0xf7800000, 0x3f4800 dimensions 1920 x 1080 stride 1920 masks 0x0000f800, 0x000007e0, 0x0000001f, 0x00000000 ---<>--- KDB: debugger backends: ddb KDB: current backend: ddb Copyright (c) 1992-2020 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 #6 main-c255441-g4e4e43dc9e1a-dirty: Thu Dec 31 = 13:16:59 CET 2020 = sos@newport.deepcore.dk:/usr/home/sos/FreeBSD/embedded/aarch64-obj/usr/hom= e/sos/FreeBSD/git-current/arm64.aarch64/sys/PINEBOOKPRO arm64 FreeBSD clang version 11.0.0 (git@github.com:llvm/llvm-project.git = llvmorg-11.0.0-0-g176249bd673) VT(efifb): resolution 1920x1080 real memory =3D 4158349312 (3965 MB) avail memory =3D 4033499136 (3846 MB) Starting CPU 1 (1) Starting CPU 2 (2) Starting CPU 3 (3) FreeBSD/SMP: Multiprocessor System Detected: 4 CPUs arc4random: WARNING: initial seeding bypassed the cryptographic random = device because it was not yet seeded and the knob = 'bypass_before_seeding' was enabled. random: entropy device external interface MAP f3f0f000 mode 2 pages 1 MAP f3f12000 mode 2 pages 2 MAP f6f30000 mode 2 pages 16 WARNING: Device "openfirm" is Giant locked and may be deleted before = FreeBSD 13.0. WARNING: Device "kbd" is Giant locked and may be deleted before FreeBSD = 13.0. kbd0 at kbdmux0 ofwbus0: clk_fixed0: on ofwbus0 simplebus0: on ofwbus0 rk_grf0: mem 0xff320000-0xff320fff on = ofwbus0 rk3399_pmucru0: mem = 0xff750000-0xff750fff on ofwbus0 rk3399_cru0: mem = 0xff760000-0xff760fff on ofwbus0 Cannot set frequency for clk: cpll, error: 22 rk3399_cru0: Failed to set cpll to a frequency of 800000000 rk_grf1: mem 0xff770000-0xff77ffff on = ofwbus0 regfix0: on ofwbus0 regfix1: on ofwbus0 regfix2: on ofwbus0 regfix3: on ofwbus0 regfix4: on ofwbus0 regfix5: on ofwbus0 regfix6: on ofwbus0 regfix7: on ofwbus0 regfix8: on ofwbus0 regfix9: on ofwbus0 regfix10: on ofwbus0 regfix11: on ofwbus0 simple_mfd0: mem = 0xff310000-0xff310fff on ofwbus0 psci0: on ofwbus0 gic0: mem = 0xfee00000-0xfee0ffff,0xfef00000-0xfefbffff,0xfff00000-0xfff0ffff,0xfff100= 00-0xfff1ffff,0xfff20000-0xfff2ffff irq 18 on ofwbus0 its0: mem 0xfee20000-0xfee3ffff = on gic0 rk_iodomain0: mem 0xff320000-0xff320fff on = rk_grf0 rk_iodomain1: mem 0-0xff76ffff,0-0xffff on = rk_grf1 rk_pinctrl0: on ofwbus0 gpio0: mem 0xff720000-0xff7200ff irq 71 = on rk_pinctrl0 gpiobus0: on gpio0 gpio1: mem 0xff730000-0xff7300ff irq 72 = on rk_pinctrl0 gpiobus1: on gpio1 gpio2: mem 0xff780000-0xff7800ff irq 73 = on rk_pinctrl0 gpiobus2: on gpio2 gpio3: mem 0xff788000-0xff7880ff irq 74 = on rk_pinctrl0 gpiobus3: on gpio3 gpio4: mem 0xff790000-0xff7900ff irq 75 = on rk_pinctrl0 gpiobus4: on gpio4 rk_i2c0: mem 0xff110000-0xff110fff irq 20 on ofwbus0 iicbus0: on rk_i2c0 rk_i2c1: mem 0xff130000-0xff130fff irq 22 on ofwbus0 iicbus1: on rk_i2c1 rk_i2c2: mem 0xff3c0000-0xff3c0fff irq 38 on ofwbus0 iicbus2: on rk_i2c2 syr8270: at addr 0x80 on iicbus2 rk_i2c3: mem 0xff3d0000-0xff3d0fff irq 39 on ofwbus0 iicbus3: on rk_i2c3 rk805_pmu0: at addr 0x36 irq 76 on iicbus2 generic_timer0: irq 2,3,4,5 on ofwbus0 Timecounter "ARM MPCore Timecounter" frequency 24000000 Hz quality 1000 Event timer "ARM MPCore Eventtimer" frequency 24000000 Hz quality 1000 rk_tsadc0: mem 0xff260000-0xff2600ff irq = 35 on ofwbus0 rk_usb2phy0: mem 0-0xff76ffff,0-0xffff on = rk_grf1 rk_usb2phy1: mem 0-0xff76ffff,0-0xffff on = rk_grf1 rk_emmcphy0: mem 0-0xff76ffff,0-0xffff on = rk_grf1 rk_pcie_phy0: mem 0-0xff76ffff,0-0xffff on = rk_grf1 rk_typec_phy0: mem 0xff7c0000-0xff7fffff on = ofwbus0 rk_typec_phy1: mem 0xff800000-0xff83ffff on = ofwbus0 cpulist0: on ofwbus0 cpu0: on cpulist0 cpufreq_dt0: on cpu0 cpu1: on cpulist0 cpufreq_dt1: on cpu1 cpu2: on cpulist0 cpufreq_dt2: on cpu2 cpu3: on cpulist0 cpufreq_dt3: on cpu3 cpu4: on cpulist0 cpufreq_dt4: on cpu4 cpufreq_dt4: Not attaching as cpu is not present device_attach: cpufreq_dt4 attach returned 6 cpu5: on cpulist0 cpufreq_dt5: on cpu5 cpufreq_dt5: Not attaching as cpu is not present device_attach: cpufreq_dt5 attach returned 6 pmu0: irq 0 on ofwbus0 pmu1: irq 1 on ofwbus0 pcib0: mem = 0xf8000000-0xf9ffffff,0xfd000000-0xfdffffff irq 6,7,8 on ofwbus0 pci0: on pcib0 pcib1: at device 0.0 on pci0 pcib0: failed to reserve resource for pcib1 pcib1: failed to allocate initial memory window: 0-0xfffff pci1: on pcib1 nvme0: at device 0.0 on pci1 rockchip_dwmmc0: mem 0xfe310000-0xfe313fff irq 10 on ofwbus0 rockchip_dwmmc0: Hardware version ID is 270a rockchip_dwmmc1: mem 0xfe320000-0xfe323fff irq 11 on ofwbus0 rockchip_dwmmc1: Hardware version ID is 270a mmc0: on rockchip_dwmmc1 sdhci_fdt0: mem = 0xfe330000-0xfe33ffff irq 12 on ofwbus0 rk_emmcphy0: got emmcclk clock sdhci_fdt0-slot0: Hardware doesn't specify timeout clock frequency, = setting BROKEN_TIMEOUT quirk. sdhci_fdt0: 1 slot(s) allocated mmc1: on sdhci_fdt0 ehci0: mem 0xfe380000-0xfe39ffff irq 13 on = ofwbus0 usbus0: EHCI version 1.0 usbus0 on ehci0 ohci0: mem 0xfe3a0000-0xfe3bffff irq 14 on = ofwbus0 usbus1 on ohci0 ehci1: mem 0xfe3c0000-0xfe3dffff irq 15 on = ofwbus0 usbus2: EHCI version 1.0 usbus2 on ehci1 ohci1: mem 0xfe3e0000-0xfe3fffff irq 16 on = ofwbus0 usbus3 on ohci1 rk_dwc30: on ofwbus0 xhci0: mem 0xfe800000-0xfe8fffff irq 83 on = rk_dwc30 xhci0: 64 bytes context size, 32-bit DMA usbus4: trying to attach usbus4 on xhci0 rk_dwc31: on ofwbus0 xhci1: mem 0xfe900000-0xfe9fffff irq 84 on = rk_dwc31 xhci1: 64 bytes context size, 32-bit DMA usbus5: trying to attach usbus5 on xhci1 iicbus0: at addr 0x22 iic0: on iicbus0 iic1: on iicbus1 uart0: <16750 or compatible> mem 0xff180000-0xff1800ff irq 26 on ofwbus0 uart1: <16750 or compatible> mem 0xff1a0000-0xff1a00ff irq 28 on ofwbus0 uart1: console (1500000,n,8,1) spi0: mem 0xff1d0000-0xff1d0fff irq 31 on ofwbus0 spibus0: on spi0 mx25l0: at cs 0 mode 0 on spibus0 mx25l0: device type gd25q128, size 16384K in 256 sectors of 64K, erase = size 4K iicbus2: at addr 0x82 iic2: on iicbus2 iicbus3: at addr 0x44 iic3: on iicbus3 pwm0: mem 0xff420000-0xff42000f on ofwbus0 pwmbus0: on pwm0 pwmc0: channel 0 on pwmbus0 pwm1: mem 0xff420020-0xff42002f on ofwbus0 pwmbus1: on pwm1 pwmc1: channel 0 on pwmbus1 gpioc0: on gpio0 gpioc1: on gpio1 gpioc2: on gpio2 gpioc3: on gpio3 gpioc4: on gpio4 gpioled0: on ofwbus0 cryptosoft0: Timecounters tick every 1.000 msec usbus0: 480Mbps High Speed USB v2.0 usbus1: 12Mbps Full Speed USB v1.0 ugen1.1: at usbus1 ugen0.1: at usbus0 uhub0 on usbus0 uhub0: on = usbus0 uhub1 on usbus1 uhub1: on = usbus1 usbus2: 480Mbps High Speed USB v2.0 usbus3: 12Mbps Full Speed USB v1.0 ugen2.1: at usbus2 uhub2 on usbus2 uhub2: on = usbus2 ugen3.1: at usbus3 uhub3 on usbus3 uhub3: on = usbus3 usbus4: 5.0Gbps Super Speed USB v3.0 usbus5: 5.0Gbps Super Speed USB v3.0 uhub1: 1 port with 1 removable, self powered ugen4.1: at usbus4 uhub4 on usbus4 uhub4: on = usbus4 ugen5.1: at usbus5 uhub5 on usbus5 uhub5: on = usbus5 uhub3: 1 port with 1 removable, self powered nvd0: NVMe namespace nvd0: 488386MB (1000215216 512 byte sectors) mmcsd0: 16GB at mmc0 = 50.0MHz/4bit/2048-block mmc1: No compatible cards found on bus Release APs...done CPU 0: ARM Cortex-A53 r0p4 affinity: 0 Cache Type =3D <64 byte D-cacheline,64 byte = I-cacheline,VIPT ICache,64 byte ERG,64 byte CWG> Trying to mount root from ufs:/dev/mmcsd0p2 [rw,noatime]... Instruction Set Attributes 0 =3D Instruction Set Attributes 1 =3D <> Processor Features 0 =3D Processor Features 1 =3D <> Memory Model Features 0 =3D 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-A53 r0p4 affinity: 1 CPU 2: ARM Cortex-A53 r0p4 affinity: 2 CPU 3: ARM Cortex-A53 r0p4 affinity: 3 Unresolved linked clock found: clkin_gmac uhub4: 2 ports with 2 removable, self powered uhub0: 1 port with 1 removable, self powered mmc0: CMD7 failed, RESULT: 1 mmc0: Card at relative address 7 failed to select mmcsd0: Error indicated: 1 Timeout Fatal data abort: x0: ffffa00000cf9b00 x1: ffff000063dc9000 x2: 40 x3: ffff000040de1100 x4: ffff00005a1abaa0 x5: ffff00005a1ab7a0 x6: 0 x7: 6a0 x8: 0 x9: ffff0000006d2df0 x10: 2 x11: 0 x12: 1 x13: 2af8 x14: 43f x15: 2 x16: ffffffff x17: 3 x18: ffff00005a1ab860 x19: ffffa00000cf7c00 x20: 80 x21: ffff0000006f1000 x22: ffff0000006f1000 x23: ffff000064b43788 x24: 0 x25: ffffa00000cf5b80 x26: ffffa00000c2a3b4 x27: ffffa00000cf9e00 x28: ffffa00000cf5b80 x29: ffff00005a1ab860 sp: ffff00005a1ab860 lr: ffff0000004edfe8 elr: ffff0000004ee048 spsr: 145 far: 18 esr: 96000004 panic: vm_fault failed: ffff0000004ee048 cpuid =3D 3 time =3D 2 KDB: stack backtrace: db_trace_self() at db_trace_self_wrapper+0x30 pc =3D 0xffff0000004c79f0 lr =3D 0xffff00000002f360 sp =3D 0xffff00005a1ab280 fp =3D 0xffff00005a1ab480 db_trace_self_wrapper() at vpanic+0x194 pc =3D 0xffff00000002f360 lr =3D 0xffff0000002185a0 sp =3D 0xffff00005a1ab490 fp =3D 0xffff00005a1ab4f0 vpanic() at panic+0x44 pc =3D 0xffff0000002185a0 lr =3D 0xffff000000218408 sp =3D 0xffff00005a1ab500 fp =3D 0xffff00005a1ab5b0 panic() at data_abort+0x1d8 pc =3D 0xffff000000218408 lr =3D 0xffff0000004e89e0 sp =3D 0xffff00005a1ab5c0 fp =3D 0xffff00005a1ab630 data_abort() at do_el1h_sync+0x144 pc =3D 0xffff0000004e89e0 lr =3D 0xffff0000004e7acc sp =3D 0xffff00005a1ab640 fp =3D 0xffff00005a1ab680 do_el1h_sync() at handle_el1h_sync+0x78 pc =3D 0xffff0000004e7acc lr =3D 0xffff0000004ca078 sp =3D 0xffff00005a1ab690 fp =3D 0xffff00005a1ab7d0 handle_el1h_sync() at dwmmc_intr+0x94 pc =3D 0xffff0000004ca078 lr =3D 0xffff0000004edfe4 sp =3D 0xffff00005a1ab7e0 fp =3D 0xffff00005a1ab860 dwmmc_intr() at ithread_loop+0x418 pc =3D 0xffff0000004edfe4 lr =3D 0xffff0000001d67e8 sp =3D 0xffff00005a1ab870 fp =3D 0xffff00005a1ab8f0 ithread_loop() at fork_exit+0x90 pc =3D 0xffff0000001d67e8 lr =3D 0xffff0000001d1ecc sp =3D 0xffff00005a1ab900 fp =3D 0xffff00005a1ab950 fork_exit() at fork_trampoline+0x10 pc =3D 0xffff0000001d1ecc lr =3D 0xffff0000004e7818 sp =3D 0xffff00005a1ab960 fp =3D 0x0000000000000000 KDB: enter: panic [ thread pid 11 tid 100043 ] Stopped at dwmmc_intr+0xf8: ldr w8, [x8, #24] db>=20 -- S=C3=B8ren Schmidt sos@deepcore.dk / sos@freebsd.org = "So much code to hack, so little time=E2=80=9D