bootloader version:211102-0b86f96
ddr 0x00000000, 1M test
ddr 0x00100000, 2M test
DDR clk 2133M,Version: 211102-d086aee0 crc flash: 7816e82f, crc ddr: 7816e82f
crc check PASSED
bootloader.
OpenSBI v1.0
____ _____ ____ _____
/ __ \ / ____| _ \_ _|
| | | |_ __ ___ _ __ | (___ | |_) || |
| | | | '_ \ / _ \ '_ \ \___ \| _ < | |
| |__| | |_) | __/ | | |____) | |_) || |_
\____/| .__/ \___|_| |_|_____/|____/_____|
| |
|_|
fdt_reset_driver_init: gpio-restart init failed, -1001
Platform Name : StarFive VisionFive V1
Platform Features : medeleg
Platform HART Count : 2
Platform IPI Device : aclint-mswi
Platform Timer Device : aclint-mtimer @ 6250000Hz
Platform Console Device : uart8250
Platform HSM Device : ---
Platform Reboot Device : ---
Platform Shutdown Device : ---
Firmware Base : 0x80000000
Firmware Size : 300 KB
Runtime SBI Version : 0.3
Domain0 Name : root
Domain0 Boot HART : 0
Domain0 HARTs : 0*,1*
Domain0 Region00 : 0x0000000002000000-0x000000000200ffff (I)
Domain0 Region01 : 0x0000000080000000-0x000000008007ffff ()
Domain0 Region02 : 0x0000000000000000-0xffffffffffffffff (R,W,X)
Domain0 Next Address : 0x0000000080200000
Domain0 Next Arg1 : 0x0000000082200000
Domain0 Next Mode : S-mode
Domain0 SysReset : yes
Boot HART ID : 0
Boot HART Domain : root
Boot HART ISA : rv64imafdcsux
Boot HART Features : scounteren,mcounteren
Boot HART PMP Count : 16
Boot HART PMP Granularity : 4096
Boot HART PMP Address Bits: 36
Boot HART MHPM Count : 2
Boot HART MIDELEG : 0x0000000000000222
Boot HART MEDELEG : 0x000000000000b109
U-Boot 2022.04-rc2-VisionFive (Mar 07 2022 - 21:12:22 +0800)StarFive
CPU: rv64imafdc
Model: StarFive VisionFive V1
DRAM: 8 GiB
Core: 13 devices, 9 uclasses, devicetree: separate
MMC: mmc@10000000: 0, mmc@10010000: 1
Loading Environment from SPIFlash... cadence_spi spi@11860000: Can't get reset: -524
SF: Detected gd25lq128 with page size 256 Bytes, erase size 4 KiB, total 16 MiB
*** Warning - bad CRC, using default environment
StarFive EEPROM format v1
--------EEPROM INFO--------
Vendor : StarFive Technology Co., Ltd.
Product full SN: VF7100A1-2206-D008E000-00000242
data version: 0x1
PCB revision: 0x1
BOM revision: A
Ethernet MAC address: 6c:cf:39:00:02:41
--------EEPROM INFO--------
In: serial@12440000
Out: serial@12440000
Err: serial@12440000
Net: dwmac.10020000
MMC CD is 0x1, force to True.
MMC CD is 0x1, force to True.
switch to partitions #0, OK
mmc0 is current device
MMC CD is 0x1, force to True.
MMC CD is 0x1, force to True.
Failed to load 'uEnv.txt'
** Invalid partition 3 **
Couldn't find partition mmc 0:3
Can't set block device
VisionFive #
VisionFive #fatls mmc 0:1 System Volume Information/
6350161 Image.gz
21894 jh7100-starfive-visionfive-v1.dtb
1160066 rootfs.cpio.gz
3058721 demo-coreip-cli-initramfs-unmatched-20220328053039.cpio.gz
0 dubhe-image-initramfs-starfive-dubhe-20220719055113.cpio.gz
19727360 Image--5.19.0+git0+575362a88f-r0-starfive-dubhe-20220719055113.bin
19175368 no_password.cpio.gz
19175369 need_password.cpio.gz
17708877 dubhe-image-initramfs-starfive-dubhe-20220721095434.cpio.gz
16821470 dubhe-image-initramfs-starfive-dubhe-20220722052410.cpio.gz
6404008 Image.gz--5.19.0+git0+575362a88f-r0-starfive-dubhe-20220722052410.bin
21894 jh7100-starfive-visionfive-v1--5.19.0+git0+575362a88f-r0-starfive-dubhe-20220722052410.dtb
17140454 dubhe-image-initramfs-starfive-dubhe-20220722064737.cpio.gz
6404008 Image.gz--5.19.0+git0+575362a88f-r0-starfive-dubhe-20220722064737.bin
21894 jh7100-starfive-visionfive-v1--5.19.0+git0+575362a88f-r0-starfive-dubhe-20220722064737.dtb
16821433 dubhe-image-initramfs-starfive-dubhe-20220722071917.cpio.gz
6404008 Image.gz--5.19.0+git0+575362a88f-r0-starfive-dubhe-20220722071917.bin
21894 jh7100-starfive-visionfive-v1--5.19.0+git0+575362a88f-r0-starfive-dubhe-20220722071917.dtb
16419719 dubhe-image-initramfs-starfive-dubhe-20220722075037.cpio.gz
6404008 Image.gz--5.19.0+git0+575362a88f-r0-starfive-dubhe-20220722075037.bin
21894 jh7100-starfive-visionfive-v1--5.19.0+git0+575362a88f-r0-starfive-dubhe-20220722075037.dtb
6404008 Image.gz--5.19.0+git0+575362a88f-r0-starfive-dubhe-20220722081448.bin
62873237 dubhe-image-initramfs-starfive-dubhe-20220722081448.cpio.gz
21894 jh7100-starfive-visionfive-v1--5.19.0+git0+575362a88f-r0-starfive-dubhe-20220722081448.dtb
6404008 Image.gz--5.19.0+git0+575362a88f-r0-starfive-dubhe-20220725020414.bin
21894 jh7100-starfive-visionfive-v1--5.19.0+git0+575362a88f-r0-starfive-dubhe-20220725020414.dtb
73833193 dubhe-image-initramfs-starfive-dubhe-20220725020414.cpio.gz
27 file(s), 1 dir(s)
VisionFive #setenv kernel_comp_addr_r 0x90000000;setenv kernel_comp_size 0x10000000;setenv kernel_addr_r 0x84000000;setenv fdt_addr_r 0x88000000;setenv ramdisk_addr_r 0x88300000
VisionFive #fatload mmc 0:1 ${kernel_addr_r} Image.gz--5.19.0+git0+575362a88f-r0-starfive-dubhe-20220725020414.bin
6404008 bytes read in 1358 ms (4.5 MiB/s)
VisionFive #fatload mmc 0:1 ${fdt_addr_r} jh7100-starfive-visionfive-v1--5.19.0+git0+575362a88f-r0-starfive-dubhe-20220725020414.dtb
21894 bytes read in 39 ms (547.9 KiB/s)
VisionFive #fatload mmc 0:1 ${ramdisk_addr_r} dubhe-image-initramfs-starfive-dubhe-20220725020414.cpio.gz
73833193 bytes read in 15291 ms (4.6 MiB/s)
VisionFive #booti ${kernel_addr_r} ${ramdisk_addr_r}:${filesize} ${fdt_addr_r}
Uncompressing Kernel Image
Moving Image from 0x84000000 to 0x80200000, end=8152a000
## Flattened Device Tree blob at 88000000
Booting using the fdt blob at 0x88000000
Loading Ramdisk to fb07f000, end ff6e8ae9 ... OK
ERROR: reserving fdt memory region failed (addr=fb000000 size=2000000 flags=4)
Loading Device Tree to 00000000fb076000, end 00000000fb07e585 ... OK
Starting kernel ...
Linux version 5.19.0-rc5-starlight-starlight (oe-user@oe-host) (riscv64-oe-linux-gcc (GCC) 11.2.0, GNU ld (GNU Binutils) 2.37.20210721) #1 SMP Mon Jul 4 20:36:08 UTC 2022
OF: fdt: Ignoring memory range 0x80000000 - 0x80200000
Machine model: StarFive VisionFive V1
efi: UEFI not found.
OF: fdt: Reserved memory: failed to reserve memory for node 'framebuffer@fb000000': base 0x00000000fb000000, size 32 MiB
Reserved memory: created CMA memory pool at 0x00000000a0000000, size 640 MiB
OF: reserved mem: initialized node linux,cma, compatible id shared-dma-pool
Reserved memory: created DMA memory pool at 0x00000000f9000000, size 16 MiB
OF: reserved mem: initialized node framebuffer@f9000000, compatible id shared-dma-pool
Reserved memory: created DMA memory pool at 0x00000000fb000000, size 32 MiB
OF: reserved mem: initialized node framebuffer@fb000000, compatible id shared-dma-pool
Zone ranges:
DMA32 [mem 0x0000000080200000-0x00000000ffffffff]
Normal [mem 0x0000000100000000-0x000000027fffffff]
Movable zone start for each node
Early memory node ranges
node 0: [mem 0x0000000080200000-0x00000000cfffffff]
node 0: [mem 0x00000000d0000000-0x00000000f7ffffff]
node 0: [mem 0x00000000f8000000-0x00000000f8ffffff]
node 0: [mem 0x00000000f9000000-0x00000000f9ffffff]
node 0: [mem 0x00000000fa000000-0x000000027fffffff]
Initmem setup node 0 [mem 0x0000000080200000-0x000000027fffffff]
SBI specification v0.3 detected
SBI implementation ID=0x1 Version=0x10000
SBI TIME extension detected
SBI IPI extension detected
SBI RFENCE extension detected
SBI HSM extension detected
riscv: base ISA extensions acdfim
riscv: ELF capabilities acdfim
percpu: Embedded 15 pages/cpu s31656 r0 d29784 u61440
Built 1 zonelists, mobility grouping on. Total pages: 2067975
Kernel command line:
Dentry cache hash table entries: 1048576 (order: 11, 8388608 bytes, linear)
Inode-cache hash table entries: 524288 (order: 10, 4194304 bytes, linear)
mem auto-init: stack:off, heap alloc:off, heap free:off
software IO TLB: mapped [mem 0x000000009c000000-0x00000000a0000000] (64MB)
Memory: 6707744K/8386560K available (7731K kernel code, 4822K rwdata, 4096K rodata, 2154K init, 353K bss, 1023456K reserved, 655360K cma-reserved)
SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=2, Nodes=1
rcu: Hierarchical RCU implementation.
rcu: RCU restricting CPUs from NR_CPUS=4 to nr_cpu_ids=2.
Tracing variant of Tasks RCU enabled.
rcu: RCU calculated value of scheduler-enlistment delay is 25 jiffies.
rcu: Adjusting geometry for rcu_fanout_leaf=16, nr_cpu_ids=2
NR_IRQS: 64, nr_irqs: 64, preallocated irqs: 0
riscv-intc: 64 local interrupts mapped
plic: interrupt-controller@c000000: mapped 133 interrupts with 2 handlers for 4 contexts.
rcu: srcu_init: Setting srcu_struct sizes based on contention.
riscv_timer_init_dt: Registering clocksource cpuid [0] hartid [0]
clocksource: riscv_clocksource: mask: 0xffffffffffffffff max_cycles: 0x171024e6b, max_idle_ns: 440795202301 ns
sched_clock: 64 bits at 6MHz, resolution 160ns, wraps every 4398046511040ns
Console: colour dummy device 80x25
printk: console [tty0] enabled
Calibrating delay loop (skipped), value calculated using timer frequency.. 12.50 BogoMIPS (lpj=25000)
pid_max: default: 32768 minimum: 301
Mount-cache hash table entries: 16384 (order: 5, 131072 bytes, linear)
Mountpoint-cache hash table entries: 16384 (order: 5, 131072 bytes, linear)
cblist_init_generic: Setting adjustable number of callback queues.
cblist_init_generic: Setting shift to 1 and lim to 1.
ASID allocator disabled (0 bits)
rcu: Hierarchical SRCU implementation.
EFI services will not be available.
smp: Bringing up secondary CPUs ...
smp: Brought up 1 node, 2 CPUs
devtmpfs: initialized
clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 7645041785100000 ns
futex hash table entries: 512 (order: 3, 32768 bytes, linear)
pinctrl core: initialized pinctrl subsystem
NET: Registered PF_NETLINK/PF_ROUTE protocol family
thermal_sys: Registered thermal governor 'step_wise'
platform 12000000.crtc: Fixing up cyclic dependency with soc:display-encoder
raid6: skipped pq benchmark and selected int64x8
raid6: using intx1 recovery algorithm
SCSI subsystem initialized
usbcore: registered new interface driver usbfs
usbcore: registered new interface driver hub
usbcore: registered new device driver usb
Advanced Linux Sound Architecture Driver Initialized.
Bluetooth: Core ver 2.22
NET: Registered PF_BLUETOOTH protocol family
Bluetooth: HCI device and connection manager initialized
Bluetooth: HCI socket layer initialized
Bluetooth: L2CAP socket layer initialized
Bluetooth: SCO socket layer initialized
clocksource: Switched to clocksource riscv_clocksource
NET: Registered PF_INET protocol family
IP idents hash table entries: 131072 (order: 8, 1048576 bytes, linear)
tcp_listen_portaddr_hash hash table entries: 4096 (order: 4, 65536 bytes, linear)
Table-perturb hash table entries: 65536 (order: 6, 262144 bytes, linear)
TCP established hash table entries: 65536 (order: 7, 524288 bytes, linear)
TCP bind hash table entries: 65536 (order: 8, 1048576 bytes, linear)
TCP: Hash tables configured (established 65536 bind 65536)
UDP hash table entries: 4096 (order: 5, 131072 bytes, linear)
UDP-Lite hash table entries: 4096 (order: 5, 131072 bytes, linear)
NET: Registered PF_UNIX/PF_LOCAL protocol family
RPC: Registered named UNIX socket transport module.
RPC: Registered udp transport module.
RPC: Registered tcp transport module.
RPC: Registered tcp NFSv4.1 backchannel transport module.
Initialise system trusted keyrings
workingset: timestamp_bits=62 max_order=21 bucket_order=0
Unpacking initramfs...
xor: measuring software checksum speed
8regs : 2342 MB/sec
8regs_prefetch : 2337 MB/sec
32regs : 2341 MB/sec
32regs_prefetch : 2337 MB/sec
xor: using function: 8regs (2342 MB/sec)
Key type asymmetric registered
Asymmetric key parser 'x509' registered
Block layer SCSI generic (bsg) driver version 0.4 loaded (major 251)
io scheduler bfq registered
dw_axi_dmac_platform 100b0000.dma-controller: DesignWare AXI DMA Controller, 4 channels
dw_axi_dmac_platform 10500000.dma-controller: DesignWare AXI DMA Controller, 16 channels
L2CACHE: No. of Banks in the cache: 2
L2CACHE: No. of ways per bank: 16
L2CACHE: Sets per bank: 1024
L2CACHE: Bytes per cache block: 64
L2CACHE: Index of the largest way enabled: 15
Serial: 8250/16550 driver, 4 ports, IRQ sharing disabled
vic-rng 118d0000.trng: Initialized
loop: module loaded
zram: Added device: zram0
wireguard: WireGuard 1.0.0 loaded. See www.wireguard.com for information.
wireguard: Copyright (C) 2015-2019 Jason A. Donenfeld <Jason@zx2c4.com>. All Rights Reserved.
tun: Universal TUN/TAP device driver, 1.6
xhci-hcd xhci-hcd.0.auto: xHCI Host Controller
xhci-hcd xhci-hcd.0.auto: new USB bus registered, assigned bus number 1
xhci-hcd xhci-hcd.0.auto: hcc params 0x200073c8 hci version 0x100 quirks 0x0000002000018010
xhci-hcd xhci-hcd.0.auto: irq 10, io mem 0x104d0000
xhci-hcd xhci-hcd.0.auto: xHCI Host Controller
xhci-hcd xhci-hcd.0.auto: new USB bus registered, assigned bus number 2
xhci-hcd xhci-hcd.0.auto: Host supports USB 3.0 SuperSpeed
usb usb1: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 5.19
usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
usb usb1: Product: xHCI Host Controller
usb usb1: Manufacturer: Linux 5.19.0-rc5-starlight-starlight xhci-hcd
usb usb1: SerialNumber: xhci-hcd.0.auto
hub 1-0:1.0: USB hub found
hub 1-0:1.0: 1 port detected
usb usb2: We don't know the algorithms for LPM for this host, disabling LPM.
usb usb2: New USB device found, idVendor=1d6b, idProduct=0003, bcdDevice= 5.19
usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1
usb usb2: Product: xHCI Host Controller
usb usb2: Manufacturer: Linux 5.19.0-rc5-starlight-starlight xhci-hcd
usb usb2: SerialNumber: xhci-hcd.0.auto
hub 2-0:1.0: USB hub found
hub 2-0:1.0: 1 port detected
usbcore: registered new interface driver uas
usbcore: registered new interface driver usb-storage
i2c_dev: i2c /dev entries driver
starfive-si5-wdt 12480000.watchdog: Heartbeat: timeout=15, count=750000000 (2cb41780)
Bluetooth: HCI UART driver ver 2.3
Bluetooth: HCI UART protocol H4 registered
Synopsys Designware Multimedia Card Interface Driver
usbcore: registered new interface driver usbhid
usbhid: USB HID core driver
riscv-pmu-sbi: SBI PMU extension is available
riscv-pmu-sbi: 15 firmware and 4 hardware counters
riscv-pmu-sbi: Perf sampling/filtering is not supported as sscof extension is not available
NET: Registered PF_INET6 protocol family
Segment Routing with IPv6
In-situ OAM (IOAM) with IPv6
NET: Registered PF_PACKET protocol family
Bluetooth: RFCOMM TTY layer initialized
Bluetooth: RFCOMM socket layer initialized
Bluetooth: RFCOMM ver 1.11
Bluetooth: BNEP (Ethernet Emulation) ver 1.3
Bluetooth: BNEP socket layer initialized
Bluetooth: HIDP (Human Interface Emulation) ver 1.2
Bluetooth: HIDP socket layer initialized
Loading compiled-in X.509 certificates
Btrfs loaded, crc32c=crc32c-generic, zoned=no, fsverity=no
dw-apb-uart 11870000.serial: detected caps 00000000 should be 00000100
11870000.serial: ttyS1 at MMIO 0x11870000 (irq = 16, base_baud = 4640625) is a 16550
12440000.serial: ttyS0 at MMIO 0x12440000 (irq = 17, base_baud = 6250000) is a 16550A
usb 1-1: new high-speed USB device number 2 using xhci-hcd
usb 1-1: New USB device found, idVendor=05e3, idProduct=0610, bcdDevice=93.91
usb 1-1: New USB device strings: Mfr=1, Product=2, SerialNumber=0
usb 1-1: Product: USB2.1 Hub
usb 1-1: Manufacturer: GenesysLogic
hub 1-1:1.0: USB hub found
hub 1-1:1.0: 4 ports detected
usb 2-1: new SuperSpeed USB device number 2 using xhci-hcd
usb 2-1: New USB device found, idVendor=05e3, idProduct=0620, bcdDevice=93.91
usb 2-1: New USB device strings: Mfr=1, Product=2, SerialNumber=0
usb 2-1: Product: USB3.2 Hub
usb 2-1: Manufacturer: GenesysLogic
hub 2-1:1.0: USB hub found
hub 2-1:1.0: 4 ports detected
printk: console [ttyS0] enabled
dw_spi_mmio 12410000.spi: DMA init failed
stmmaceth 10020000.ethernet: IRQ eth_lpi not found
stmmaceth 10020000.ethernet: force_sf_dma_mode is ignored if force_thresh_dma_mode is set.
stmmaceth 10020000.ethernet: User ID: 0x59, Synopsys ID: 0x37
stmmaceth 10020000.ethernet: DWMAC1000
stmmaceth 10020000.ethernet: DMA HW capability register supported
stmmaceth 10020000.ethernet: RX Checksum Offload Engine supported
stmmaceth 10020000.ethernet: COE Type 2
stmmaceth 10020000.ethernet: Wake-Up On Lan supported
stmmaceth 10020000.ethernet: Enhanced/Alternate descriptors
stmmaceth 10020000.ethernet: Enabled extended descriptors
stmmaceth 10020000.ethernet: Ring mode enabled
stmmaceth 10020000.ethernet: Enable RX Mitigation via HW Watchdog Timer
stmmaceth 10020000.ethernet: device MAC address 6c:cf:39:00:02:41
YT8521 Gigabit Ethernet stmmac-0:00: attached PHY driver (mii_bus:phy_addr=stmmac-0:00, irq=POLL)
YT8521 Gigabit Ethernet stmmac-0:03: attached PHY driver (mii_bus:phy_addr=stmmac-0:03, irq=POLL)
dw_mmc 10000000.mmc: IDMAC supports 32-bit address mode.
dw_mmc 10010000.mmc: IDMAC supports 32-bit address mode.
dw_mmc 10000000.mmc: Using internal DMA controller.
dw_mmc 10010000.mmc: Using internal DMA controller.
dw_mmc 10000000.mmc: Version ID is 290a
dw_mmc 10010000.mmc: Version ID is 290a
dw_mmc 10000000.mmc: DW MMC controller at irq 21,32 bit host data width,32 deep fifo
dw_mmc 10010000.mmc: DW MMC controller at irq 23,32 bit host data width,32 deep fifo
mmc_host mmc0: card is polling.
dw_mmc 10010000.mmc: allocated mmc-pwrseq
mmc_host mmc1: card is non-removable.
tps65086 0-005e: Device: TPS650861, OTP: A, Rev: 0
i2c 0-0070: Fixing up cyclic dependency with soc:display-encoder
mmc_host mmc1: Bus speed (slot 0) = 123750000Hz (slot req 400000Hz, actual 399193HZ div = 155)
mmc_host mmc0: Bus speed (slot 0) = 100000000Hz (slot req 400000Hz, actual 400000HZ div = 125)
mmc_host mmc0: Bus speed (slot 0) = 100000000Hz (slot req 50000000Hz, actual 50000000HZ div = 1)
mmc0: new high speed SDXC card at address aaaa
mmcblk0: mmc0:aaaa SD128 119 GiB
mmc_host mmc1: Bus speed (slot 0) = 123750000Hz (slot req 50000000Hz, actual 30937500HZ div = 2)
tda998x 0-0070: found TDA19988
mmcblk0: p1
mmc1: new high speed SDIO card at address 0001
at24 0-0050: 512 byte 24c04 EEPROM, writable, 16 bytes/write
starfive-drm soc:display-subsystem: bound 12000000.crtc (ops 0xffffffff80c72130)
[drm] found bridge on endpoint
starfive-drm soc:display-subsystem: bound soc:display-encoder (ops 0xffffffff80c72468)
brcmfmac: brcmf_fw_alloc_request: using brcm/brcmfmac43430-sdio for chip BCM43430/1
[drm] Initialized starfive 1.0.0 20210519 for soc:display-subsystem on minor 0
starfive-drm soc:display-subsystem: [drm] Cannot find any crtc or sizes
cfg80211: Loading compiled-in X.509 certificates for regulatory database
cfg80211: Loaded X.509 cert 'sforshee: 00b28ddf47aef9cea7'
ALSA device list:
#0: Starfive-Multi-Sound-Card
Freeing initrd memory: 72100K
dw-apb-uart 12440000.serial: forbid DMA for kernel console
Freeing unused kernel image (initmem) memory: 2152K
brcmfmac mmc1:0001:1: Direct firmware load for brcm/brcmfmac43430-sdio.starfive,visionfive-v1.bin failed with error -2
brcmfmac mmc1:0001:1: Direct firmware load for brcm/brcmfmac43430-sdio.starfive,visionfive-v1.txt failed with error -2
Checked W+X mappings: passed, no W+X pages found
rodata_test: all tests were successful
Run /init as init process
mkdir: can't create directory '/proc': File exists
mkdir: can't create directory '/sys': File exists
sh: cannot set terminal process group (-1): Inappropriate ioctl for device
sh: no job control in this shell
sh-5.1# brcmfmac: brcmf_fw_alloc_request: using brcm/brcmfmac43430-sdio for chip BCM43430/1
brcmfmac: brcmf_c_preinit_dcmds: Firmware: BCM43430/1 wl0: Feb 16 2020 22:39:24 version 7.45.98.97 (r724416 CY) FWID 01-bf41ed64
sh-5.1#