Launched in 2004, dmesgd aims to provide a user-submitted repository of searchable *BSD dmesgs. The dmesg(8) command displays the system message buffer's content, and during boot a copy is saved to /var/run/dmesg.boot. This buffer contains the operating system release, name and version, a list of devices identified, plus a whole host of other useful information. We hope others find this resource useful and further contribute to its growth. Contact us at [ admin at lists dot nycbug dot org ]. Note that this site is not a substitute for sending the dmesg directly to the respective project.
Date: 2020-12-23 17:24:38
From: Klaus
Description: HiFive Unleashed FreeBSD u-boot_osbi_mhorne uSD_debug1
U-Boot SPL 2020.10-dirty (Dec 23 2020 - 11:05:00 -0400) Trying to boot from MMC1 OpenSBI v0.8 ____ _____ ____ _____ / __ \ / ____| _ \_ _| | | | |_ __ ___ _ __ | (___ | |_) || | | | | | '_ \ / _ \ '_ \ \___ \| _ < | | | |__| | |_) | __/ | | |____) | |_) || |_ \____/| .__/ \___|_| |_|_____/|____/_____| | | |_| Platform Name : SiFive Freedom U540 Platform Features : timer,mfdeleg Platform HART Count : 4 Boot HART ID : 2 Boot HART ISA : rv64imafdcsu BOOT HART Features : pmp,scounteren,mcounteren BOOT HART PMP Count : 16 Firmware Base : 0x80000000 Firmware Size : 100 KB Runtime SBI Version : 0.2 MIDELEG : 0x0000000000000222 MEDELEG : 0x000000000000b109 PMP0 : 0x0000000080000000-0x000000008001ffff (A) PMP1 : 0x0000000000000000-0x0000007fffffffff (A,R,W,X) U-Boot 2020.10 (Dec 22 2020 - 07:35:24 +0000) CPU: rv64imafdc Model: SiFive HiFive Unleashed A00 DRAM: 8 GiB MMC: spi@10050000:mmc@0: 0 Loading Environment from SPIFlash... SF: Detected is25wp256 with page size 256 Bytes, erase size 4 KiB, total 32 MiB OK In: serial@10010000 Out: serial@10010000 Err: serial@10010000 Net: eth0: ethernet@10090000 Hit any key to stop autoboot: 0 => load mmc 0:3 ${fdt_addr_r} hifive-unleashed-a00-microsemi.dtb 8613 bytes read in 19 ms (442.4 KiB/s) => fdt addr 0x88000000 => fdt list / { #address-cells = <0x00000002>; #size-cells = <0x00000002>; compatible = "sifive,hifive-unleashed-a00", "sifive,fu540-c000"; model = "SiFive HiFive Unleashed A00"; aliases { }; chosen { }; cpus { }; soc { }; memory@80000000 { }; hfclk { }; rtcclk { }; gpio-restart { }; opp-table { }; }; => fdt print / { #address-cells = <0x00000002>; #size-cells = <0x00000002>; compatible = "sifive,hifive-unleashed-a00", "sifive,fu540-c000"; model = "SiFive HiFive Unleashed A00"; aliases { serial0 = "/soc/serial@10010000"; serial1 = "/soc/serial@10011000"; ethernet0 = "/soc/ethernet@10090000"; }; chosen { stdout-path = "serial0"; }; cpus { #address-cells = <0x00000001>; #size-cells = <0x00000000>; timebase-frequency = <0x000f4240>; cpu@0 { compatible = "sifive,e51", "sifive,rocket0", "riscv"; device_type = "cpu"; i-cache-block-size = <0x00000040>; i-cache-sets = <0x00000080>; i-cache-size = <0x00004000>; reg = <0x00000000>; riscv,isa = "rv64imac"; clocks = <0x00000001 0x00000000>; status = "disabled"; operating-points-v2 = <0x00000002>; interrupt-controller { #interrupt-cells = <0x00000001>; compatible = "riscv,cpu-intc"; interrupt-controller; phandle = <0x00000004>; }; }; cpu@1 { compatible = "sifive,u54-mc", "sifive,rocket0", "riscv"; d-cache-block-size = <0x00000040>; d-cache-sets = <0x00000040>; d-cache-size = <0x00008000>; d-tlb-sets = <0x00000001>; d-tlb-size = <0x00000020>; device_type = "cpu"; i-cache-block-size = <0x00000040>; i-cache-sets = <0x00000040>; i-cache-size = <0x00008000>; i-tlb-sets = <0x00000001>; i-tlb-size = <0x00000020>; mmu-type = "riscv,sv39"; reg = <0x00000001>; riscv,isa = "rv64imafdc"; tlb-split; clocks = <0x00000001 0x00000000>; next-level-cache = <0x00000003>; operating-points-v2 = <0x00000002>; interrupt-controller { #interrupt-cells = <0x00000001>; compatible = "riscv,cpu-intc"; interrupt-controller; phandle = <0x00000005>; }; }; cpu@2 { compatible = "sifive,u54-mc", "sifive,rocket0", "riscv"; d-cache-block-size = <0x00000040>; d-cache-sets = <0x00000040>; d-cache-size = <0x00008000>; d-tlb-sets = <0x00000001>; d-tlb-size = <0x00000020>; device_type = "cpu"; i-cache-block-size = <0x00000040>; i-cache-sets = <0x00000040>; i-cache-size = <0x00008000>; i-tlb-sets = <0x00000001>; i-tlb-size = <0x00000020>; mmu-type = "riscv,sv39"; reg = <0x00000002>; riscv,isa = "rv64imafdc"; tlb-split; clocks = <0x00000001 0x00000000>; next-level-cache = <0x00000003>; operating-points-v2 = <0x00000002>; interrupt-controller { #interrupt-cells = <0x00000001>; compatible = "riscv,cpu-intc"; interrupt-controller; phandle = <0x00000006>; }; }; cpu@3 { compatible = "sifive,u54-mc", "sifive,rocket0", "riscv"; d-cache-block-size = <0x00000040>; d-cache-sets = <0x00000040>; d-cache-size = <0x00008000>; d-tlb-sets = <0x00000001>; d-tlb-size = <0x00000020>; device_type = "cpu"; i-cache-block-size = <0x00000040>; i-cache-sets = <0x00000040>; i-cache-size = <0x00008000>; i-tlb-sets = <0x00000001>; i-tlb-size = <0x00000020>; mmu-type = "riscv,sv39"; reg = <0x00000003>; riscv,isa = "rv64imafdc"; tlb-split; clocks = <0x00000001 0x00000000>; next-level-cache = <0x00000003>; operating-points-v2 = <0x00000002>; interrupt-controller { #interrupt-cells = <0x00000001>; compatible = "riscv,cpu-intc"; interrupt-controller; phandle = <0x00000007>; }; }; cpu@4 { compatible = "sifive,u54-mc", "sifive,rocket0", "riscv"; d-cache-block-size = <0x00000040>; d-cache-sets = <0x00000040>; d-cache-size = <0x00008000>; d-tlb-sets = <0x00000001>; d-tlb-size = <0x00000020>; device_type = "cpu"; i-cache-block-size = <0x00000040>; i-cache-sets = <0x00000040>; i-cache-size = <0x00008000>; i-tlb-sets = <0x00000001>; i-tlb-size = <0x00000020>; mmu-type = "riscv,sv39"; reg = <0x00000004>; riscv,isa = "rv64imafdc"; tlb-split; clocks = <0x00000001 0x00000000>; next-level-cache = <0x00000003>; operating-points-v2 = <0x00000002>; interrupt-controller { #interrupt-cells = <0x00000001>; compatible = "riscv,cpu-intc"; interrupt-controller; phandle = <0x00000008>; }; }; }; soc { #address-cells = <0x00000002>; #size-cells = <0x00000002>; compatible = "sifive,fu540-c000", "sifive,fu540", "simple-bus"; ranges; interrupt-controller@c000000 { #interrupt-cells = <0x00000001>; compatible = "sifive,plic-1.0.0"; reg = <0x00000000 0x0c000000 0x00000000 0x04000000>; riscv,ndev = <0x00000035>; interrupt-controller; interrupts-extended = <0x00000004 0xffffffff 0x00000005 0xffffffff 0x00000005 0x00000009 0x00000006 0xffffffff 0x00000006 0x00000009 0x00000007 0xffffffff 0x00000007 0x00000009 0x00000008 0xffffffff 0x00000008 0x00000009>; phandle = <0x0000000b>; }; clock-controller@10000000 { compatible = "sifive,fu540-c000-prci"; reg = <0x00000000 0x10000000 0x00000000 0x00001000>; clocks = <0x00000009 0x0000000a>; #clock-cells = <0x00000001>; phandle = <0x00000001>; }; serial@10010000 { compatible = "sifive,fu540-c000-uart", "sifive,uart0"; reg = <0x00000000 0x10010000 0x00000000 0x00001000>; interrupt-parent = <0x0000000b>; interrupts = <0x00000004>; clocks = <0x00000001 0x00000003>; status = "okay"; }; dma@3000000 { compatible = "sifive,fu540-c000-pdma"; reg = <0x00000000 0x03000000 0x00000000 0x00008000>; interrupt-parent = <0x0000000b>; interrupts = <0x00000017 0x00000018 0x00000019 0x0000001a 0x0000001b 0x0000001c 0x0000001d 0x0000001e>; #dma-cells = <0x00000001>; }; serial@10011000 { compatible = "sifive,fu540-c000-uart", "sifive,uart0"; reg = <0x00000000 0x10011000 0x00000000 0x00001000>; interrupt-parent = <0x0000000b>; interrupts = <0x00000005>; clocks = <0x00000001 0x00000003>; status = "okay"; }; i2c@10030000 { compatible = "sifive,fu540-c000-i2c", "sifive,i2c0"; reg = <0x00000000 0x10030000 0x00000000 0x00001000>; interrupt-parent = <0x0000000b>; interrupts = <0x00000032>; clocks = <0x00000001 0x00000003>; reg-shift = <0x00000002>; reg-io-width = <0x00000001>; #address-cells = <0x00000001>; #size-cells = <0x00000000>; status = "okay"; }; spi@10040000 { compatible = "sifive,fu540-c000-spi", "sifive,spi0"; reg = <0x00000000 0x10040000 0x00000000 0x00001000 0x00000000 0x20000000 0x00000000 0x10000000>; interrupt-parent = <0x0000000b>; interrupts = <0x00000033>; clocks = <0x00000001 0x00000003>; #address-cells = <0x00000001>; #size-cells = <0x00000000>; status = "okay"; flash@0 { compatible = "issi,is25wp256", "jedec,spi-nor"; reg = <0x00000000>; spi-max-frequency = <0x02faf080>; m25p,fast-read; spi-tx-bus-width = <0x00000004>; spi-rx-bus-width = <0x00000004>; }; }; spi@10041000 { compatible = "sifive,fu540-c000-spi", "sifive,spi0"; reg = <0x00000000 0x10041000 0x00000000 0x00001000 0x00000000 0x30000000 0x00000000 0x10000000>; interrupt-parent = <0x0000000b>; interrupts = <0x00000034>; clocks = <0x00000001 0x00000003>; #address-cells = <0x00000001>; #size-cells = <0x00000000>; status = "disabled"; }; spi@10050000 { compatible = "sifive,fu540-c000-spi", "sifive,spi0"; reg = <0x00000000 0x10050000 0x00000000 0x00001000>; interrupt-parent = <0x0000000b>; interrupts = <0x00000006>; clocks = <0x00000001 0x00000003>; #address-cells = <0x00000001>; #size-cells = <0x00000000>; status = "okay"; mmc@0 { compatible = "mmc-spi-slot"; reg = <0x00000000>; spi-max-frequency = <0x01312d00>; voltage-ranges = <0x00000ce4 0x00000ce4>; disable-wp; }; }; ethernet@10090000 { compatible = "sifive,fu540-c000-gem"; interrupt-parent = <0x0000000b>; interrupts = <0x00000035>; reg = <0x00000000 0x10090000 0x00000000 0x00002000 0x00000000 0x100a0000 0x00000000 0x00001000>; local-mac-address = [00 00 00 00 00 00]; clock-names = "pclk", "hclk"; clocks = <0x00000001 0x00000002 0x00000001 0x00000002>; #address-cells = <0x00000001>; #size-cells = <0x00000000>; status = "okay"; phy-mode = "gmii"; phy-handle = <0x0000000c>; ethernet-phy@0 { reg = <0x00000000>; phandle = <0x0000000c>; }; }; pwm@10020000 { compatible = "sifive,fu540-c000-pwm", "sifive,pwm0"; reg = <0x00000000 0x10020000 0x00000000 0x00001000>; interrupt-parent = <0x0000000b>; interrupts = <0x0000002a 0x0000002b 0x0000002c 0x0000002d>; clocks = <0x00000001 0x00000003>; #pwm-cells = <0x00000003>; status = "okay"; phandle = <0x0000000d>; }; pwm@10021000 { compatible = "sifive,fu540-c000-pwm", "sifive,pwm0"; reg = <0x00000000 0x10021000 0x00000000 0x00001000>; interrupt-parent = <0x0000000b>; interrupts = <0x0000002e 0x0000002f 0x00000030 0x00000031>; clocks = <0x00000001 0x00000003>; #pwm-cells = <0x00000003>; status = "okay"; }; cache-controller@2010000 { compatible = "sifive,fu540-c000-ccache", "cache"; cache-block-size = <0x00000040>; cache-level = <0x00000002>; cache-sets = <0x00000400>; cache-size = <0x00200000>; cache-unified; interrupt-parent = <0x0000000b>; interrupts = <0x00000001 0x00000002 0x00000003>; reg = <0x00000000 0x02010000 0x00000000 0x00001000>; phandle = <0x00000003>; }; gpio@10060000 { compatible = "sifive,fu540-c000-gpio", "sifive,gpio0"; interrupt-parent = <0x0000000b>; interrupts = <0x00000007 0x00000008 0x00000009 0x0000000a 0x0000000b 0x0000000c 0x0000000d 0x0000000e 0x0000000f 0x00000010 0x00000011 0x00000012 0x00000013 0x00000014 0x00000015 0x00000016>; reg = <0x00000000 0x10060000 0x00000000 0x00001000>; gpio-controller; #gpio-cells = <0x00000002>; interrupt-controller; #interrupt-cells = <0x00000002>; clocks = <0x00000001 0x00000003>; status = "okay"; phandle = <0x0000000f>; }; pwmleds { compatible = "pwm-leds"; d1 { label = "green:d1"; pwms = <0x0000000d 0x00000000 0x00773594 0x00000001>; active-low = <0x00000001>; max-brightness = <0x000000ff>; linux,default-trigger = "none"; }; d2 { label = "green:d2"; pwms = <0x0000000d 0x00000001 0x00773594 0x00000001>; active-low = <0x00000001>; max-brightness = <0x000000ff>; linux,default-trigger = "none"; }; d3 { label = "green:d3"; pwms = <0x0000000d 0x00000002 0x00773594 0x00000001>; active-low = <0x00000001>; max-brightness = <0x000000ff>; linux,default-trigger = "none"; }; d4 { label = "green:d4"; pwms = <0x0000000d 0x00000003 0x00773594 0x00000001>; active-low = <0x00000001>; max-brightness = <0x000000ff>; linux,default-trigger = "none"; }; }; pcie@2030000000 { #address-cells = <0x00000003>; #interrupt-cells = <0x00000001>; #size-cells = <0x00000002>; compatible = "microsemi,ms-pf-axi-pcie-host"; device_type = "pci"; bus-range = <0x00000001 0x0000007f>; interrupt-map = <0x00000000 0x00000000 0x00000000 0x00000001 0x0000000e 0x00000000 0x00000000 0x00000000 0x00000000 0x00000002 0x0000000e 0x00000001 0x00000000 0x00000000 0x00000000 0x00000003 0x0000000e 0x00000002 0x00000000 0x00000000 0x00000000 0x00000004 0x0000000e 0x00000003>; interrupt-map-mask = <0x00000000 0x00000000 0x00000000 0x00000007>; interrupt-parent = <0x0000000b>; interrupts = <0x00000020>; ranges = <0x03000000 0x00000000 0x40000000 0x00000000 0x40000000 0x00000000 0x20000000>; reg = <0x00000020 0x30000000 0x00000000 0x04000000 0x00000020 0x00000000 0x00000000 0x00100000>; reg-names = "control", "apb"; interrupt-controller { #address-cells = <0x00000000>; #interrupt-cells = <0x00000001>; interrupt-controller; phandle = <0x0000000e>; }; }; }; memory@80000000 { device_type = "memory"; reg = <0x00000000 0x80000000 0x00000002 0x00000000>; }; hfclk { #clock-cells = <0x00000000>; compatible = "fixed-clock"; clock-frequency = <0x01fca055>; clock-output-names = "hfclk"; phandle = <0x00000009>; }; rtcclk { #clock-cells = <0x00000000>; compatible = "fixed-clock"; clock-frequency = <0x000f4240>; clock-output-names = "rtcclk"; phandle = <0x0000000a>; }; gpio-restart { compatible = "gpio-restart"; gpios = <0x0000000f 0x0000000a 0x00000001>; }; opp-table { compatible = "operating-points-v2"; opp-shared; phandle = <0x00000002>; opp-350000000 { opp-hz = <0x00000000 0x14dc9380>; }; opp-700000000 { opp-hz = <0x00000000 0x29b92700>; }; opp-999999999 { opp-hz = <0x00000000 0x3b9ac9ff>; }; opp-1400000000 { opp-hz = <0x00000000 0x53724e00>; }; }; }; => bdinfo boot_params = 0x0000000000000000 DRAM bank = 0x0000000000000000 -> start = 0x0000000080000000 -> size = 0x0000000200000000 memstart = 0x0000000080000000 memsize = 0x0000000200000000 flashstart = 0x0000000000000000 flashsize = 0x0000000000000000 flashoffset = 0x0000000000000000 baudrate = 115200 bps relocaddr = 0x00000000fff83000 reloc off = 0x000000007fd83000 Build = 64-bit current eth = ethernet@10090000 ethaddr = [_MAC_XXXXXXXXXX] IP addr = <NULL> fdt_blob = 0x00000000ff75ccc0 new_fdt = 0x00000000ff75ccc0 fdt_size = 0x0000000000006160 lmb_dump_all: memory.cnt = 0x1 memory.size = 0x0 memory.reg[0x0].base = 0x80000000 .size = 0x200000000 reserved.cnt = 0x1 reserved.size = 0x0 reserved.reg[0x0].base = 0x80000000 .size = 0x20000 => load mmc 0:3 ${kernel_addr_r} loader.efi 1356540 bytes read in 863 ms (1.5 MiB/s) => bootefi ${kernel_addr_r} loader.efi Scanning disk [_EMAIL_]... ** Unrecognized filesystem type ** ** Unrecognized filesystem type ** ** Unrecognized filesystem type ** Found 5 disks No EFI system partition Booting /loader.efi Consoles: EFI console Reading loader env vars from /efi/freebsd/loader.env Setting currdev to disk0p3: FreeBSD/riscv EFI loader, Revision 1.1 (Thu Dec 17 04:39:10 UTC 2020 [_EMAIL_XXXXXXXXXXXXXXXXXXX]) Command line arguments: l Image base: 0xfe5ef000 EFI version: 2.80 EFI Firmware: Das U-Boot (rev 8224.4096) Console: comconsole (0) Load Path: /loader.efi Load Device: /VenHw(e61d73b9-a384-4acc-aeab-82e828f3628b)/SD(0)/SD(0)/HD(3,GPT,603c063d-4b9f-4590-a5aa-b1e8515ddf2e,0x2822,0xf2eb5) Trying ESP: /VenHw(e61d73b9-a384-4acc-aeab-82e828f3628b)/SD(0)/SD(0)/HD(3,GPT,603c063d-4b9f-4590-a5aa-b1e8515ddf2e,0x2822,0xf2eb5) Setting currdev to disk0p3: Trying: /VenHw(e61d73b9-a384-4acc-aeab-82e828f3628b)/SD(0)/SD(0)/HD(1,GPT,603c063d-4b9f-4590-a5aa-b1e8515ddf2e,0x22,0x800) Setting currdev to disk0p1: Trying: /VenHw(e61d73b9-a384-4acc-aeab-82e828f3628b)/SD(0)/SD(0)/HD(2,GPT,603c063d-4b9f-4590-a5aa-b1e8515ddf2e,0x822,0x2000) Setting currdev to disk0p2: Trying: /VenHw(e61d73b9-a384-4acc-aeab-82e828f3628b)/SD(0)/SD(0)/HD(4,GPT,603c063d-4b9f-4590-a5aa-b1e8515ddf2e,0xf56d8,0x75ff907) Setting currdev to disk0p4: Loading /boot/defaults/loader.conf Loading /boot/defaults/loader.conf Loading /boot/device.hints Loading /boot/loader.conf Loading /boot/loader.conf.local - Loading kernel... /boot/kernel/kernel text=0x539d64 text=0x115fc4 data=0xce7c0 data=0x9ac+0x12142c syms=[0x8+0xb38e0+0x8+0xd5516] Loading configured modules... /etc/hostid size=0x25 /boot/kernel/umodem.ko text=0x1ba0 text=0xda0 data=0x600+0x8 syms=[0x8+0x15d8+0x8+0xaab] loading required module 'usb' /boot/kernel/usb.ko text=0x6d60 text=0x186a0 data=0x1d88+0xb4 syms=[0x8+0x15810/+0x8+0x63f8] loading required module 'ucom' /boot/kernel/ucom.ko text=0x1d59 text=0x2744 data=0x818+0x850 syms=[0x8+0x2e50+0x8+0xf55] /boot/entropy size=0x1000 Hit [Enter] to boot immediately, or any other key for command prompt. Booting [/boot/kernel/kernel]... Using DTB provided by EFI at 0x87f00000. Kernel entry at 0xf660002e... Kernel args: (null) ---<<BOOT>>--- 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 #0 19ebb3aa230-c255150(main): Thu Dec 17 05:29:12 UTC 2020 [_EMAIL_XXXXXXXXXXXXXXXXXXX]:/usr/obj/usr/src/riscv.riscv64/sys/GENERIC riscv FreeBSD clang version 11.0.0 ([_EMAIL_XXXXX]:llvm/llvm-project.git llvmorg-11.0.0-0-g176249bd673) WARNING: WITNESS option enabled, expect reduced performance. t[0] == 0xffffffc000743d10 t[1] == 0x0000000000010000 t[2] == 0x0000000000000000 t[3] == 0x0000000000010000 t[4] == 0x0000000000000000 t[5] == 0x0000000000001000 t[6] == 0x0000000078000000 s[0] == 0xffffffc000003b30 s[1] == 0xffffffd000800000 s[2] == 0x0000000000000101 s[3] == 0x0000000000000001 s[4] == 0x0000000000000002 s[5] == 0xffffffc00053079c s[6] == 0xffffffd0770492c0 s[7] == 0xffffffd077049580 s[8] == 0x0000000000000000 s[9] == 0x0000000000000002 s[10] == 0x0000000000000e7e s[11] == 0xffffffd077049580 a[0] == 0xffffffd000800000 a[1] == 0x0000000000000000 a[2] == 0x0000000000000fff a[3] == 0xffffffd000800000 a[4] == 0xffffffd000800001 a[5] == 0x1ffffffffffffff8 a[6] == 0x0000000000000001 a[7] == 0x0000000000000000 ra == 0xffffffc0005308e8 sp == 0xffffffc000003b20 gp == 0x0000000000000000 tp == 0xffffffd1f32f8300 sepc == 0xffffffc00051b88e sstatus == 0x8000000200006100 panic: Memory access exception at 0xffffffc00051b88e cpuid = 0 time = 1 KDB: stack backtrace: (null)() at 0xffffffc00051f4c6 (null)() at 0xffffffc0000fc6a6 (null)() at 0xffffffc0002e74a4 (null)() at 0xffffffc0002a1988 (null)() at 0xffffffc0002a1780 (null)() at 0xffffffc00052f7aa (null)() at 0xffffffc00051faf8 (null)() at 0xffffffc0005308e4 (null)() at 0xffffffc0004dd33a (null)() at 0xffffffc0004dea0e (null)() at 0xffffffc0004dacf2 (null)() at 0xffffffc0004da5fa (null)() at 0xffffffc0004d93e6 (null)() at 0xffffffc0004e6454 (null)() at 0xffffffc000239d16 (null)() at 0xffffffc0000001ba KDB: enter: panic [ thread pid 0 tid 0 ] Stopped at 0xffffffc0002e726a db>