Skip to content

Instantly share code, notes, and snippets.

@lupyuen
Created August 3, 2023 22:54
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save lupyuen/030e4feb2fa95319290f3027032c24a8 to your computer and use it in GitHub Desktop.
Save lupyuen/030e4feb2fa95319290f3027032c24a8 to your computer and use it in GitHub Desktop.
Star64 JH7110 booting sdcard.img from https://github.com/starfive-tech/VisionFive2/releases
U-Boot SPL 2021.10 (Jan 19 2023 - 04:09:41 +0800)
DDR version: dc2e84f0.
Trying to boot from SPI
OpenSBI v1.2
____ _____ ____ _____
/ __ \ / ____| _ \_ _|
| | | |_ __ ___ _ __ | (___ | |_) || |
| | | | '_ \ / _ \ '_ \ \___ \| _ < | |
| |__| | |_) | __/ | | |____) | |_) || |_
\____/| .__/ \___|_| |_|_____/|____/_____|
| |
|_|
Platform Name : StarFive VisionFive V2
Platform Features : medeleg
Platform HART Count : 5
Platform IPI Device : aclint-mswi
Platform Timer Device : aclint-mtimer @ 4000000Hz
Platform Console Device : uart8250
Platform HSM Device : jh7110-hsm
Platform PMU Device : ---
Platform Reboot Device : pm-reset
Platform Shutdown Device : pm-reset
Firmware Base : 0x40000000
Firmware Size : 288 KB
Runtime SBI Version : 1.0
Domain0 Name : root
Domain0 Boot HART : 1
Domain0 HARTs : 0*,1*,2*,3*,4*
Domain0 Region00 : 0x0000000002000000-0x000000000200ffff (I)
Domain0 Region01 : 0x0000000040000000-0x000000004007ffff ()
Domain0 Region02 : 0x0000000000000000-0xffffffffffffffff (R,W,X)
Domain0 Next Address : 0x0000000040200000
Domain0 Next Arg1 : 0x0000000042200000
Domain0 Next Mode : S-mode
Domain0 SysReset : yes
Boot HART ID : 1
Boot HART Domain : root
Boot HART Priv Version : v1.11
Boot HART Base ISA : rv64imafdcbx
Boot HART ISA Extensions : none
Boot HART PMP Count : 8
Boot HART PMP Granularity : 4096
Boot HART PMP Address Bits: 34
Boot HART MHPM Count : 2
Boot HART MIDELEG : 0x0000000000000222
Boot HART MEDELEG : 0x000000000000b109
U-Boot 2021.10 (Jan 19 2023 - 04:09:41 +0800), Build: jenkins-github_visionfive2-6
CPU: rv64imacu
Model: StarFive VisionFive V2
DRAM: 8 GiB
MMC: sdio0@16010000: 0, sdio1@16020000: 1
Loading Environment from SPIFlash... SF: Detected gd25lq128 with page size 256 Bytes, erase size 4 KiB, total 16 MiB
OK
StarFive EEPROM format v2
--------EEPROM INFO--------
Vendor : PINE64
Product full SN: STAR64V1-2310-D008E000-00000003
data version: 0x2
PCB revision: 0xc1
BOM revision: A
Ethernet MAC0 address: 6c:cf:39:00:75:5d
Ethernet MAC1 address: 6c:cf:39:00:75:5e
--------EEPROM INFO--------
In: serial@10000000
Out: serial@10000000
Err: serial@10000000
Model: StarFive VisionFive V2
Net: eth0: ethernet@16030000, eth1: ethernet@16040000
switch to partitions #0, OK
mmc1 is current device
found device 1
bootmode flash device 1
Failed to load 'uEnv.txt'
Can't set block device
Hit any key to stop autoboot: 0
1579 bytes read in 4 ms (384.8 KiB/s)
Importing environment from mmc1 ...
Can't set block device
## Warning: defaulting to text format
switch to partitions #0, OK
mmc1 is current device
134204526 bytes read in 5673 ms (22.6 MiB/s)
## Loading kernel from FIT Image at a0000000 ...
Using 'config-1' configuration
Trying 'vmlinux' kernel subimage
Description: vmlinux
Type: Kernel Image
Compression: uncompressed
Data Start: 0xa00000c8
Data Size: 24161280 Bytes = 23 MiB
Architecture: RISC-V
OS: Linux
Load Address: 0x40200000
Entry Point: 0x40200000
Verifying Hash Integrity ... OK
## Loading fdt from FIT Image at a0000000 ...
Using 'config-1' configuration
Trying 'fdt' fdt subimage
Description: unavailable
Type: Flat Device Tree
Compression: uncompressed
Data Start: 0xa7ff02e0
Data Size: 50235 Bytes = 49.1 KiB
Architecture: RISC-V
Load Address: 0x46000000
Hash algo: sha256
Hash value: 42767c996f0544f513280805b41f996446df8b3956c656bdbb782125ae8ffeec
Verifying Hash Integrity ... sha256+ OK
Loading fdt from 0xa7ff02e0 to 0x46000000
Booting using the fdt blob at 0x46000000
## Loading loadables from FIT Image at a0000000 ...
Trying 'ramdisk' loadables subimage
Description: buildroot initramfs
Type: RAMDisk Image
Compression: uncompressed
Data Start: 0xa170ad7c
Data Size: 109991061 Bytes = 104.9 MiB
Architecture: RISC-V
OS: Linux
Load Address: 0x46100000
Entry Point: unavailable
Hash algo: sha256
Hash value: 5ff3e7a7bdc444d817328f86356c3b4f9d0690a102cb960b0975edd90ecd379e
Verifying Hash Integrity ... sha256+ OK
Loading loadables from 0xa170ad7c to 0x46100000
Loading Kernel Image
## Error: "cpu_vol_set" not defined
Booting kernel in
## Flattened Device Tree blob at 46000000
Booting using the fdt blob at 0x46000000
Using Device Tree in place at 0000000046000000, end 000000004600ffff
Starting kernel ...
clk u5_dw_i2c_clk_core already disabled
clk u5_dw_i2c_clk_apb already disabled
[ 0.000000] Linux version 5.15.0 (jenkins@soft05) (riscv64-buildroot-linux-gnu-gcc.br_real (Buildroot VF2_v3.1.5) 12.2.0, GNU ld (GNU Binutils) 2.39) #1 SMP Wed Jun 21 13:42:06 CST 2023
[ 0.000000] OF: fdt: Ignoring memory range 0x40000000 - 0x40200000
[ 0.000000] Machine model: StarFive VisionFive V2
[ 0.000000] earlycon: sbi0 at I/O port 0x0 (options '')
[ 0.000000] printk: bootconsole [sbi0] enabled
[ 0.000000] efi: UEFI not found.
[ 0.000000] Reserved memory: created CMA memory pool at 0x0000000080000000, size 512 MiB
[ 0.000000] OF: reserved mem: initialized node linux,cma, compatible id shared-dma-pool
[ 0.000000] Zone ranges:
[ 0.000000] DMA32 [mem 0x0000000040200000-0x00000000ffffffff]
[ 0.000000] Normal [mem 0x0000000100000000-0x000000023fffffff]
[ 0.000000] Movable zone start for each node
[ 0.000000] Early memory node ranges
[ 0.000000] node 0: [mem 0x0000000040200000-0x00000000c010ffff]
[ 0.000000] node 0: [mem 0x00000000c0110000-0x00000000c01fffff]
[ 0.000000] node 0: [mem 0x00000000c0200000-0x000000023fffffff]
[ 0.000000] Initmem setup node 0 [mem 0x0000000040200000-0x000000023fffffff]
[ 0.000000] SBI specification v1.0 detected
[ 0.000000] SBI implementation ID=0x1 Version=0x10002
[ 0.000000] SBI TIME extension detected
[ 0.000000] SBI IPI extension detected
[ 0.000000] SBI RFENCE extension detected
[ 0.000000] SBI SRST extension detected
[ 0.000000] SBI v0.2 HSM extension detected
[ 0.000000] CPU with hartid=0 is not available
[ 0.000000] CPU with hartid=0 is not available
[ 0.000000] riscv: base ISA extensions acdfim
[ 0.000000] riscv: ELF capabilities acdfim
[ 0.000000] percpu: Embedded 18 pages/cpu s34024 r8192 d31512 u73728
[ 0.000000] pcpu-alloc: s34024 r8192 d31512 u73728 alloc=18*4096
[ 0.000000] pcpu-alloc: [0] 0 [0] 1 [0] 2 [0] 3
[ 0.000000] Built 1 zonelists, mobility grouping on. Total pages: 2067975
[ 0.000000] Kernel command line: earlyprintk console=tty1 console=ttyS0,115200 debug rootwait earlycon=sbi root=/dev/mmcblk1p4
[ 0.000000] Unknown command line parameters: earlyprintk
[ 0.000000] Dentry cache hash table entries: 1048576 (order: 11, 8388608 bytes, linear)
[ 0.000000] Inode-cache hash table entries: 524288 (order: 10, 4194304 bytes, linear)
[ 0.000000] mem auto-init: stack:byref_all(zero), heap alloc:off, heap free:off
[ 0.000000] software IO TLB: mapped [mem 0x00000000fbfff000-0x00000000fffff000] (64MB)
[ 0.000000] Memory: 7458480K/8386560K available (10537K kernel code, 5013K rwdata, 4096K rodata, 2197K init, 666K bss, 403792K reserved, 524288K cma-reserved)
[ 0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=4, Nodes=1
[ 0.000000] rcu: Hierarchical RCU implementation.
[ 0.000000] rcu: .RCU restricting CPUs from NR_CPUS=8 to nr_cpu_ids=4.
[ 0.000000] rcu: .RCU debug extended QS entry/exit.
[ 0.000000] .Tracing variant of Tasks RCU enabled.
[ 0.000000] rcu: RCU calculated value of scheduler-enlistment delay is 10 jiffies.
[ 0.000000] rcu: Adjusting geometry for rcu_fanout_leaf=16, nr_cpu_ids=4
[ 0.000000] NR_IRQS: 64, nr_irqs: 64, preallocated irqs: 0
[ 0.000000] CPU with hartid=0 is not available
[ 0.000000] riscv-intc: unable to find hart id for /cpus/cpu@0/interrupt-controller
[ 0.000000] riscv-intc: 64 local interrupts mapped
[ 0.000000] plic: plic@c000000: mapped 136 interrupts with 4 handlers for 9 contexts.
[ 0.000000] random: get_random_bytes called from start_kernel+0x4d0/0x6ea with crng_init=0
[ 0.000000] riscv_timer_init_dt: Registering clocksource cpuid [0] hartid [1]
[ 0.000000] clocksource: riscv_clocksource: mask: 0xffffffffffffffff max_cycles: 0x1d854df40, max_idle_ns: 881590404240 ns
[ 0.000001] sched_clock: 64 bits at 4MHz, resolution 250ns, wraps every 2199023255500ns
[ 0.008246] clocksource: timer@13050000.ch0: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 79635851949 ns
[ 0.018470] clocksource: timer@13050000.ch1: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 79635851949 ns
[ 0.028785] clocksource: timer@13050000.ch2: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 79635851949 ns
[ 0.039099] clocksource: timer@13050000.ch3: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 79635851949 ns
[ 0.049625] Console: colour dummy device 80x25
[ 0.055386] printk: console [tty1] enabled
[ 0.059440] Calibrating delay loop (skipped), value calculated using timer frequency.. 8.00 BogoMIPS (lpj=40000)
[ 0.069645] pid_max: default: 32768 minimum: 301
[ 0.074575] Mount-cache hash table entries: 16384 (order: 5, 131072 bytes, linear)
[ 0.082259] Mountpoint-cache hash table entries: 16384 (order: 5, 131072 bytes, linear)
[ 0.091692] ASID allocator disabled
[ 0.095225] rcu: Hierarchical SRCU implementation.
[ 0.100147] EFI services will not be available.
[ 0.104997] smp: Bringing up secondary CPUs ...
[ 0.111138] smp: Brought up 1 node, 4 CPUs
[ 0.117058] devtmpfs: initialized
[ 0.129018] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[ 0.138826] futex hash table entries: 1024 (order: 4, 65536 bytes, linear)
[ 0.159311] pinctrl core: initialized pinctrl subsystem
[ 0.165412] NET: Registered PF_NETLINK/PF_ROUTE protocol family
[ 0.171920] thermal_sys: Registered thermal governor 'step_wise'
[ 0.172279] cpuidle: using governor menu
[ 0.206167] platform soc:dsi-output: Fixing up cyclic dependency with 29400000.dc8200
[ 0.214517] platform 295d0000.mipi: Fixing up cyclic dependency with soc:dsi-output
[ 0.222549] platform 29590000.hdmi: Fixing up cyclic dependency with 29400000.dc8200
[ 0.243182] HugeTLB registered 1.00 GiB page size, pre-allocated 0 pages
[ 0.249822] HugeTLB registered 2.00 MiB page size, pre-allocated 0 pages
[ 0.260327] vgaarb: loaded
[ 0.263220] SCSI subsystem initialized
[ 0.267069] libata version 3.00 loaded.
[ 0.271009] usbcore: registered new interface driver usbfs
[ 0.276465] usbcore: registered new interface driver hub
[ 0.281850] usbcore: registered new device driver usb
[ 0.287156] mc: Linux media interface: v0.10
[ 0.291375] videodev: Linux video capture interface: v2.00
[ 0.297203] Advanced Linux Sound Architecture Driver Initialized.
[ 0.303629] Bluetooth: Core ver 2.22
[ 0.307169] NET: Registered PF_BLUETOOTH protocol family
[ 0.312508] Bluetooth: HCI device and connection manager initialized
[ 0.318936] Bluetooth: HCI socket layer initialized
[ 0.323867] Bluetooth: L2CAP socket layer initialized
[ 0.328994] Bluetooth: SCO socket layer initialized
[ 0.334245] clocksource: Switched to clocksource riscv_clocksource
[ 0.340622] FS-Cache: Loaded
[ 0.350854] NET: Registered PF_INET protocol family
[ 0.356903] IP idents hash table entries: 131072 (order: 8, 1048576 bytes, linear)
[ 0.372015] tcp_listen_portaddr_hash hash table entries: 4096 (order: 5, 163840 bytes, linear)
[ 0.380830] TCP established hash table entries: 65536 (order: 7, 524288 bytes, linear)
[ 0.389525] TCP bind hash table entries: 65536 (order: 9, 2097152 bytes, linear)
[ 0.399400] TCP: Hash tables configured (established 65536 bind 65536)
[ 0.406176] UDP hash table entries: 4096 (order: 6, 393216 bytes, linear)
[ 0.413328] UDP-Lite hash table entries: 4096 (order: 6, 393216 bytes, linear)
[ 0.421078] NET: Registered PF_UNIX/PF_LOCAL protocol family
[ 0.427244] RPC: Registered named UNIX socket transport module.
[ 0.433102] RPC: Registered udp transport module.
[ 0.437887] RPC: Registered tcp transport module.
[ 0.442633] RPC: Registered tcp NFSv4.1 backchannel transport module.
[ 0.449873] PCI: CLS 0 bytes, default 64
[ 0.454501] Unpacking initramfs...
[ 0.454743] Initialise system trusted keyrings
[ 0.462533] workingset: timestamp_bits=62 max_order=21 bucket_order=0
[ 0.475713] NFS: Registering the id_resolver key type
[ 0.480723] Key type id_resolver registered
[ 0.484977] Key type id_legacy registered
[ 0.489128] nfs4filelayout_init: NFSv4 File Layout Driver Registering...
[ 0.495803] nfs4flexfilelayout_init: NFSv4 Flexfile Layout Driver Registering...
[ 0.503281] ntfs: driver 2.1.32 [Flags: R/W].
[ 0.507960] jffs2: version 2.2. (NAND) © 2001-2006 Red Hat, Inc.
[ 0.514485] fuse: init (API version 7.34)
[ 0.557351] NET: Registered PF_ALG protocol family
[ 0.562105] Key type asymmetric registered
[ 0.566302] Asymmetric key parser 'x509' registered
[ 0.571286] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 249)
[ 0.578688] io scheduler mq-deadline registered
[ 0.583236] io scheduler kyber registered
[ 0.587889] start plist test
[ 0.593832] end plist test
[ 0.696325] clk-starfive-jh7110 13020000.clock-controller: starfive JH7110 clkgen init successfully.
[ 0.706805] L2CACHE: DataError @ 0x00000000.08040140
[ 0.711770] L2CACHE: DataFail @ 0x00000000.0804005B
[ 0.716756] L2CACHE: No. of Banks in the cache: 8
[ 0.721422] L2CACHE: No. of ways per bank: 16
[ 0.725861] L2CACHE: Sets per bank: 256
[ 0.729741] L2CACHE: Bytes per cache block: 64
[ 0.734263] L2CACHE: Index of the largest way enabled: 15
[ 0.740038] jh7110-pmu 17030000.power-controller: registered 8 power domains
[ 0.812356] Serial: 8250/16550 driver, 6 ports, IRQ sharing disabled
[ 0.833122] loop: module loaded
[ 0.838957] spi-nor spi0.0: gd25lq128d (16384 Kbytes)
[ 6.080343] Initramfs unpacking failed: invalid magic at start of compressed archive
[ 6.283510] Freeing initrd memory: 131056K
[ 6.298195] 3 fixed-partitions partitions found on MTD device 13010000.spi.0
[ 6.305240] Creating 3 MTD partitions on "13010000.spi.0":
[ 6.310750] 0x000000000000-0x000000040000 : "spl"
[ 6.317425] 0x000000100000-0x000000400000 : "uboot"
[ 6.323889] 0x000000f00000-0x000001000000 : "data"
[ 6.331515] libphy: Fixed MDIO Bus: probed
[ 6.337092] CAN device driver interface
[ 6.341480] starfive-eth-plat 16030000.ethernet: force_sf_dma_mode is ignored if force_thresh_dma_mode is set.
[ 6.351865] starfive-eth-plat 16030000.ethernet: User ID: 0x41, Synopsys ID: 0x52
[ 6.359319] starfive-eth-plat 16030000.ethernet: .DWMAC4/5
[ 6.364846] starfive-eth-plat 16030000.ethernet: DMA HW capability register supported
[ 6.372728] starfive-eth-plat 16030000.ethernet: RX Checksum Offload Engine supported
[ 6.380625] starfive-eth-plat 16030000.ethernet: Wake-Up On Lan supported
[ 6.387533] starfive-eth-plat 16030000.ethernet: TSO supported
[ 6.393346] starfive-eth-plat 16030000.ethernet: Enable RX Mitigation via HW Watchdog Timer
[ 6.401775] starfive-eth-plat 16030000.ethernet: Enabled Flow TC (entries=1)
[ 6.408872] starfive-eth-plat 16030000.ethernet: TSO feature enabled
[ 6.415284] starfive-eth-plat 16030000.ethernet: Using 40 bits DMA width
[ 6.663647] libphy: stmmac: probed
[ 6.667034] YT8531 Gigabit Ethernet stmmac-0:00: attached PHY driver (mii_bus:phy_addr=stmmac-0:00, irq=POLL)
[ 6.676988] YT8531 Gigabit Ethernet stmmac-0:01: attached PHY driver (mii_bus:phy_addr=stmmac-0:01, irq=POLL)
[ 6.688209] starfive-eth-plat 16040000.ethernet: force_sf_dma_mode is ignored if force_thresh_dma_mode is set.
[ 6.698534] starfive-eth-plat 16040000.ethernet: User ID: 0x41, Synopsys ID: 0x52
[ 6.705989] starfive-eth-plat 16040000.ethernet: .DWMAC4/5
[ 6.711502] starfive-eth-plat 16040000.ethernet: DMA HW capability register supported
[ 6.719411] starfive-eth-plat 16040000.ethernet: RX Checksum Offload Engine supported
[ 6.727297] starfive-eth-plat 16040000.ethernet: Wake-Up On Lan supported
[ 6.734192] starfive-eth-plat 16040000.ethernet: TSO supported
[ 6.740031] starfive-eth-plat 16040000.ethernet: Enable RX Mitigation via HW Watchdog Timer
[ 6.748449] starfive-eth-plat 16040000.ethernet: Enabled Flow TC (entries=1)
[ 6.755544] starfive-eth-plat 16040000.ethernet: TSO feature enabled
[ 6.761941] starfive-eth-plat 16040000.ethernet: Using 40 bits DMA width
[ 7.009960] libphy: stmmac: probed
[ 7.013313] YT8531 Gigabit Ethernet stmmac-1:00: attached PHY driver (mii_bus:phy_addr=stmmac-1:00, irq=POLL)
[ 7.023315] YT8531 Gigabit Ethernet stmmac-1:01: attached PHY driver (mii_bus:phy_addr=stmmac-1:01, irq=POLL)
[ 7.034885] Intel(R) Wireless WiFi driver for Linux
[ 7.042151] cdns3-starfive 10210000.usbdrd: usb mode 2 2.0 probe success
[ 7.049671] usbcore: registered new interface driver uas
[ 7.054996] usbcore: registered new interface driver usb-storage
[ 7.074704] starfive-rtc 17040000.rtc: registered as rtc0
[ 7.080055] starfive-rtc 17040000.rtc: setting system clock to 2001-01-01T00:00:00 UTC (978307200)
[ 7.089225] i2c_dev: i2c /dev entries driver
[ 7.094009] usbcore: registered new interface driver uvcvideo
[ 7.114274] thermal thermal_zone0: failed to read out thermal zone (-110)
[ 7.121715] starfive-wdt 13070000.wdog: Heartbeat: timeout=15, count/2=180000000 (0aba9500)
[ 7.130586] Bluetooth: HCI UART driver ver 2.3
[ 7.134996] Bluetooth: HCI UART protocol H4 registered
[ 7.140893] sdhci: Secure Digital Host Controller Interface driver
[ 7.147051] sdhci: Copyright(c) Pierre Ossman
[ 7.151473] Synopsys Designware Multimedia Card Interface Driver
[ 7.157869] sdhci-pltfm: SDHCI platform and OF driver helper
[ 7.164717] jh7110-sec 16000000.crypto: Unable to request sec_m dma channel in DMA channel
[ 7.172939] jh7110-sec 16000000.crypto: Cannot initial dma chan
[ 7.179222] usbcore: registered new interface driver usbhid
[ 7.184766] usbhid: USB HID core driver
[ 7.188850] riscv-pmu-sbi: SBI PMU extension is available
[ 7.194208] riscv-pmu-sbi: 16 firmware and 4 hardware counters
[ 7.200080] riscv-pmu-sbi: Perf sampling/filtering is not supported as sscof extension is not available
[ 7.209908] usbcore: registered new interface driver snd-usb-audio
[ 7.225164] NET: Registered PF_INET6 protocol family
[ 7.231399] Segment Routing with IPv6
[ 7.235066] In-situ OAM (IOAM) with IPv6
[ 7.239105] sit: IPv6, IPv4 and MPLS over IPv4 tunneling driver
[ 7.245613] NET: Registered PF_PACKET protocol family
[ 7.250614] can: controller area network core
[ 7.255130] NET: Registered PF_CAN protocol family
[ 7.259879] can: raw protocol
[ 7.262912] can: broadcast manager protocol
[ 7.267181] can: netlink gateway - max_hops=1
[ 7.271860] Bluetooth: RFCOMM TTY layer initialized
[ 7.276719] Bluetooth: RFCOMM socket layer initialized
[ 7.281905] Bluetooth: RFCOMM ver 1.11
[ 7.285722] Bluetooth: BNEP (Ethernet Emulation) ver 1.3
[ 7.291070] Bluetooth: BNEP filters: protocol multicast
[ 7.296373] Bluetooth: BNEP socket layer initialized
[ 7.301440] lib80211: common routines for IEEE802.11 drivers
[ 7.307122] lib80211_crypt: registered algorithm 'NULL'
[ 7.312391] lib80211_crypt: registered algorithm 'WEP'
[ 7.317602] lib80211_crypt: registered algorithm 'CCMP'
[ 7.322878] lib80211_crypt: registered algorithm 'TKIP'
[ 7.328308] 9pnet: Installing 9P2000 support
[ 7.332579] Key type dns_resolver registered
[ 7.337699] Loading compiled-in X.509 certificates
[ 7.381919] @@ dev ptr:ffffffe0bfefe800/1500/1
[ 7.386589] PVR_K: 1: Read BVNC 36.50.54.182 from HW device registers
[ 7.393118] PVR_K: 1: RGX Device registered BVNC 36.50.54.182 with 1 core in the system
[ 7.407665] PVR_K: 1: RGX Firmware image 'rgx.fw.36.50.54.182' loaded
[ 7.418035] PVR_K: 1: Shader binary image 'rgx.sh.36.50.54.182' loaded
[ 7.427543] [drm] Initialized pvr 1.19.6345021 20170530 for 18000000.gpu on minor 0
[ 7.436226] starfive_jh7110-pinctrl 13040000.gpio: StarFive GPIO chip registered 64 GPIOs
[ 7.445145] starfive_jh7110-pinctrl 17020000.gpio: StarFive GPIO chip registered 4 GPIOs
[ 7.453392] pl08xdmac 16008000.sec_dma: initialized 8 virtual memcpy channels
[ 7.460519] pl08xdmac 16008000.sec_dma: initialized 16 virtual slave channels
[ 7.469592] debugfs: Directory '16008000.sec_dma' with parent 'dmaengine' already present!
[ 7.477867] pl08xdmac 16008000.sec_dma: DMA: PL080 rev0 at 0x16008000 irq 23
[ 7.485205] ssp-pl022 10060000.spi: ARM PL022 driver for StarFive SoC platform, device ID: 0x00041022
[ 7.494410] ssp-pl022 10060000.spi: mapped registers from 0x0000000010060000 to (____ptrval____)
[ 7.503688] ssp-pl022 10060000.spi: Requested frequency: 10000000 Hz is unsupported,select by default 8250000 Hz
[ 7.514255] ssp-pl022 10060000.spi: will use autosuspend for runtime pm, delay 100ms
[ 7.523358] i2c 2-0045: Fixing up cyclic dependency with 295d0000.mipi
[ 7.530123] seeed_panel 2-0045: Unknown Atmel firmware revision: 0x00
[ 7.536747] tinker_ft5406 2-0038: Address = 0x38
[ 7.541299] tinker_ft5406 2-0038: width = 800, height = 480, reverse = 1
[ 7.548216] tinker_ft5406 2-0038: i2c read error, -121
[ 7.553295] tinker_ft5406 2-0038: Checking touch ic failed
[ 7.558861] tinker_ft5406: probe of 2-0038 failed with error -121
[ 7.565216] i2c 2-0019: Fixing up cyclic dependency with 295d0000.mipi
[ 7.572617] Goodix-TS 2-0014: supply AVDD28 not found, using dummy regulator
[ 7.579749] Goodix-TS 2-0014: supply VDDIO not found, using dummy regulator
[ 7.704402] Goodix-TS 2-0014: i2c test failed attempt 1: -121
[ 7.744401] Goodix-TS 2-0014: i2c test failed attempt 2: -121
[ 7.784267] Goodix-TS 2-0014: I2C communication failure: -121
[ 7.790124] Goodix-TS: probe of 2-0014 failed with error -121
[ 7.796045] i2c 2-0020: Fixing up cyclic dependency with 295d0000.mipi
[ 7.803816] at24 5-0050: supply vcc not found, using dummy regulator
[ 7.810971] at24 5-0050: 512 byte 24c04 EEPROM, writable, 16 bytes/write
[ 7.819714] axp15060-regulator 5-0036: Register mipi_0p9 done! vol range:900 ~ 900 mV
[ 7.829000] axp15060-regulator 5-0036: Register hdmi_1p8 done! vol range:1800 ~ 1800 mV
[ 7.838509] axp15060-regulator 5-0036: Register sdio_vdd done! vol range:1800 ~ 1800 mV
[ 7.847977] axp15060-regulator 5-0036: Register hdmi_0p9 done! vol range:900 ~ 900 mV
[ 7.857274] axp15060-regulator 5-0036: Register vcc_3v3 done! vol range:3300 ~ 3300 mV
[ 7.866681] axp15060-regulator 5-0036: Register cpu_vdd done! vol range:500 ~ 1540 mV
[ 7.875306] i2c 6-0010: Fixing up cyclic dependency with 19800000.vin_sysctl
[ 7.882678] imx219 6-0010: supply VANA not found, using dummy regulator
[ 7.889387] imx219 6-0010: supply VDIG not found, using dummy regulator
[ 7.896040] imx219 6-0010: supply VDDL not found, using dummy regulator
[ 7.917341] imx219 6-0010: failed to read chip id 219
[ 7.922545] imx219: probe of 6-0010 failed with error -5
[ 7.928021] i2c 6-001a: Fixing up cyclic dependency with 19800000.vin_sysctl
[ 7.935401] imx708 6-001a: supply VANA1 not found, using dummy regulator
[ 7.942169] imx708 6-001a: supply VANA2 not found, using dummy regulator
[ 7.948872] imx708 6-001a: supply VDIG not found, using dummy regulator
[ 7.955572] imx708 6-001a: supply VDDL not found, using dummy regulator
[ 7.971456] imx708 6-001a: failed to read chip id 708, with error -5
[ 7.978034] imx708: probe of 6-001a failed with error -5
[ 7.985951] pcie_plda 2b000000.pcie: Failed to get power-gpio, but maybe it's always on.
[ 7.994162] pcie_plda 2b000000.pcie: host bridge /soc/pcie@2B000000 ranges:
[ 8.001141] pcie_plda 2b000000.pcie: MEM 0x0030000000..0x0037ffffff -> 0x0030000000
[ 8.009263] pcie_plda 2b000000.pcie: MEM 0x0900000000..0x093fffffff -> 0x0900000000
[ 8.017446] ATR entry: 0x0940000000 -> 0x0000000000 [0x0010000000] (param: 0x000001)
[ 8.025196] ATR entry: 0x0030000000 -> 0x0030000000 [0x0008000000] (param: 0x000000)
[ 8.032978] ATR entry: 0x0900000000 -> 0x0900000000 [0x0040000000] (param: 0x000000)
[ 8.454328] pcie_plda 2b000000.pcie: Port link down, exit.
[ 8.461993] pcie_plda 2c000000.pcie: Failed to get power-gpio, but maybe it's always on.
[ 8.470233] pcie_plda 2c000000.pcie: host bridge /soc/pcie@2C000000 ranges:
[ 8.477194] pcie_plda 2c000000.pcie: MEM 0x0038000000..0x003fffffff -> 0x0038000000
[ 8.485338] pcie_plda 2c000000.pcie: MEM 0x0980000000..0x09bfffffff -> 0x0980000000
[ 8.493488] ATR entry: 0x09c0000000 -> 0x0000000000 [0x0010000000] (param: 0x000001)
[ 8.501266] ATR entry: 0x0038000000 -> 0x0038000000 [0x0008000000] (param: 0x000000)
[ 8.509062] ATR entry: 0x0980000000 -> 0x0980000000 [0x0040000000] (param: 0x000000)
[ 8.934544] pcie_plda 2c000000.pcie: Port link down, exit.
[ 8.953969] clk-starfive-jh7110-vout 295c0000.clock-controller: starfive JH7110 clk_vout init successfully.
[ 8.975595] clk-starfive-jh7110-isp 19810000.clock-controller: starfive JH7110 clk_isp init successfully.
[ 8.985869] dw_axi_dmac_platform 16050000.dma-controller: DesignWare AXI DMA Controller, 4 channels
[ 8.995968] printk: console [ttyS0] disabled
[ 9.020411] 10000000.serial: ttyS0 at MMIO 0x10000000 (irq = 17, base_baud = 1500000) is a 16550A
[ 9.029323] printk: console [ttyS0] enabled
[ 9.029323] printk: console [ttyS0] enabled
[ 9.037639] printk: bootconsole [sbi0] disabled
[ 9.037639] printk: bootconsole [sbi0] disabled
[ 9.047396] jh7110-vin 19800000.vin_sysctl: stfcamss probe enter!
[ 9.055611] jh7110-vin 19800000.vin_sysctl: stfcamss probe success!
[ 9.075629] dwmmc_starfive 16010000.sdio0: IDMAC supports 32-bit address mode.
[ 9.083056] dwmmc_starfive 16010000.sdio0: Using internal DMA controller.
[ 9.084825] dwmmc_starfive 16020000.sdio1: IDMAC supports 32-bit address mode.
[ 9.089971] dwmmc_starfive 16010000.sdio0: Version ID is 290a
[ 9.097327] dwmmc_starfive 16020000.sdio1: Using internal DMA controller.
[ 9.103130] dwmmc_starfive 16010000.sdio0: DW MMC controller at irq 29,32 bit host data width,32 deep fifo
[ 9.109941] dwmmc_starfive 16020000.sdio1: Version ID is 290a
[ 9.110027] dwmmc_starfive 16020000.sdio1: DW MMC controller at irq 30,32 bit host data width,32 deep fifo
[ 9.122615] mmc_host mmc0: card is non-removable.
[ 9.125915] mmc_host mmc1: card is polling.
[ 9.135425] jh7110-sec 16000000.crypto: will run requests pump with realtime priority
[ 9.153957] jh7110-sec 16000000.crypto: Initialized
[ 9.159686] starfive-i2s 120b0000.i2stx_4ch0: designware: play supported
[ 9.166495] starfive-i2s 120b0000.i2stx_4ch0: designware: i2s master mode supported
[ 9.174422] sf-mipi-dphy-tx 295e0000.mipi-dphy: sf_dphy_probe begin
[ 9.180698] sf-mipi-dphy-tx 295e0000.mipi-dphy: ===> sf_dphy_probe enter, 445
[ 9.188023] sf-mipi-dphy-tx 295e0000.mipi-dphy: control ECO
[ 9.193610] sf-mipi-dphy-tx 295e0000.mipi-dphy: supply mipi_1p8 not found, using dummy regulator
[ 9.202589] sf-mipi-dphy-tx 295e0000.mipi-dphy: sf_dphy_probe end
[ 9.208815] cdns-dsi 295d0000.mipi: dsi_sys_clk = 297000000
[ 9.214570] cdns-dsi 295d0000.mipi: starfive dsi bind end
[ 9.220613] cdns-dsi 295d0000.mipi: hs_rate.980000000, channel = 2
[ 9.354255] mmc_host mmc0: Bus speed (slot 0) = 198000000Hz (slot req 400000Hz, actual 399193HZ div = 248)
[ 9.354260] mmc_host mmc1: Bus speed (slot 0) = 198000000Hz (slot req 400000Hz, actual 399193HZ div = 248)
[ 9.602969] mmc_host mmc1: Bus speed (slot 0) = 198000000Hz (slot req 50000000Hz, actual 49500000HZ div = 2)
[ 9.612851] mmc1: new high speed SDHC card at address 0007
[ 9.619153] mmcblk1: mmc1:0007 SL16G 14.5 GiB
[ 9.632340] GPT:Primary header thinks Alt. header is not at the end of the disk.
[ 9.639774] GPT:1638439 != 30318591
[ 9.643268] GPT:Alternate GPT header not at the end of the disk.
[ 9.649285] GPT:1638439 != 30318591
[ 9.652779] GPT: Use GNU Parted to correct GPT errors.
[ 9.657954] mmcblk1: p1 p2 p3 p4
[ 9.776900] sf-mipi-dphy-tx 295e0000.mipi-dphy: GET_AON_GP_REG
[ 9.782743] sf-mipi-dphy-tx 295e0000.mipi-dphy: control ECO
[ 9.788752] random: fast init done
[ 9.789072] sys_m31_dphy_tx_configure opts->mipi_dphy.hs_clk_rate = 980000000
[ 9.799370] sf-mipi-dphy-tx 295e0000.mipi-dphy: request dphy hs_rate 980Mbps
[ 9.806568] sf-mipi-dphy-tx 295e0000.mipi-dphy: MIPI dphy-tx # PLL is not LOCKED
[ 9.813994] sf-mipi-dphy-tx 295e0000.mipi-dphy: want dphy hs_rate 980Mbps
[ 9.820806] sf-mipi-dphy-tx 295e0000.mipi-dphy: config dphy hs_rate 980Mbps
[ 9.824253] mmc_host mmc0: Bus speed (slot 0) = 198000000Hz (slot req 300000Hz, actual 300000HZ div = 330)
[ 9.827781] sf-mipi-dphy-tx 295e0000.mipi-dphy: MIPI dphy-tx # AON_POWER_READY_N active(0)
[ 9.827793] sf-mipi-dphy-tx 295e0000.mipi-dphy: 1 SET_U0_MIPITX_DPHY_RESETB
[ 9.852688] sf-mipi-dphy-tx 295e0000.mipi-dphy: 2 SET_U0_MIPITX_DPHY_RESETB
[ 9.859667] sf-mipi-dphy-tx 295e0000.mipi-dphy: MIPI dphy-tx # PLL Locked
[ 9.866475] cdns-dsi 295d0000.mipi: START dsi ppi_txbyte_hs
[ 9.872053] cdns-dsi 295d0000.mipi: sys_mipi_dsi_set_ppi_txbyte_hs
[ 9.880538] starfive_raxda_10inch 2-0020: dsi command return -61, mode 0
[ 9.889535] cdns-dsi 295d0000.mipi: STOP dsi ppi_txbyte_hs
[ 9.895184] cdns-dsi 295d0000.mipi: sys_mipi_dsi_set_ppi_txbyte_hs
[ 9.898730] of_cfs_init
[ 9.901474] sf-mipi-dphy-tx 295e0000.mipi-dphy: 1 SET_U0_MIPITX_DPHY_RESETB
[ 9.904005] of_cfs_init: OK
[ 9.911050] sf-mipi-dphy-tx 295e0000.mipi-dphy: 2 SET_U0_MIPITX_DPHY_RESETB
[ 9.922536] starfive-pwmdac 100b0000.pwmdac: clk_apb0 = 49500000, clk_pwmdac_apb = 49500000, clk_pwmdac_core = 4068493
[ 9.934079] cfg80211: Loading compiled-in X.509 certificates for regulatory database
[ 10.052973] cfg80211: Loaded X.509 cert 'sforshee: 00b28ddf47aef9cea7'
[ 10.064169] starfive soc:display-subsystem: bound 29400000.dc8200 (ops 0xffffffff8107b290)
[ 10.072546] innohdmi-starfive 29590000.hdmi: inno hdmi bind begin
[ 10.079869] platform regulatory.0: Direct firmware load for regulatory.db failed with error -2
[ 10.088588] cfg80211: failed to load regulatory.db
[ 10.089198] innohdmi-starfive 29590000.hdmi: [drm:inno_hdmi_bind] registered Inno HDMI I2C bus driver success
[ 10.103512] innohdmi-starfive 29590000.hdmi: HDMI&AUDIO register done.
[ 10.110098] innohdmi-starfive 29590000.hdmi: inno hdmi bind end
[ 10.116035] starfive soc:display-subsystem: bound 29590000.hdmi (ops 0xffffffff8107c028)
[ 10.124133] vs-simple-encoder soc:dsi-output: encoder_bind begin
[ 10.130166] no panel, -517
[ 10.132879] vs-simple-encoder soc:dsi-output: encoder_bind error
[ 10.138895] starfive soc:display-subsystem: bound soc:dsi-output (ops 0xffffffff8107bc70)
[ 10.147501] [drm] Initialized starfive 1.0.0 20191101 for soc:display-subsystem on minor 1
[ 10.314252] mmc_host mmc0: Bus speed (slot 0) = 198000000Hz (slot req 200000Hz, actual 200000HZ div = 495)
[ 10.655891] starfive soc:display-subsystem: [drm] Cannot find any crtc or sizes
[ 10.764254] mmc_host mmc0: Bus speed (slot 0) = 198000000Hz (slot req 100000Hz, actual 100000HZ div = 990)
[ 11.163399] starfive soc:display-subsystem: [drm] Cannot find any crtc or sizes
[ 11.670757] starfive soc:display-subsystem: [drm] Cannot find any crtc or sizes
[ 12.734370] ALSA device list:
[ 12.737413] #0: Starfive-PWMDAC-Sound-Card
[ 12.741758] #1: Starfive-HDMI-Sound-Card
[ 12.751192] Freeing unused kernel image (initmem) memory: 2196K
[ 12.757506] Run /init as init process
[ 12.761225] with arguments:
[ 12.764277] /init
[ 12.766590] earlyprintk
[ 12.769426] with environment:
[ 12.772613] HOME=/
[ 12.775041] TERM=linux
find /dev/mmcblk1p4: 0
[ 13.282428] EXT4-fs (mmcblk1p4): mounted filesystem with ordered data mode. Opts: (null). Quota mode: disabled.
mount: /rootfs/dev/shm: special device /dev/shm does not exist.
mount: /rootfs/dev/pts: special device /dev/pts does not exist.
INIT: version booting
INIT: No inittab.d directory found
[ 13.871546] EXT4-fs (mmcblk1p4): re-mounted. Opts: (null). Quota mode: disabled.
INIT: Entering runlevel: 3
Starting syslogd: OK
Starting klogd: OK
Running sysctl: OK
Populating /dev using udev: [ 14.357469] udevd[231]: starting version 3.2.10
[ 14.384587] random: udevd: uninitialized urandom read (16 bytes read)
[ 14.392612] random: udevd: uninitialized urandom read (16 bytes read)
[ 14.399249] random: udevd: uninitialized urandom read (16 bytes read)
[ 14.449038] udevd[232]: starting eudev-3.2.10
[ 14.616442] venc: loading out-of-tree module taints kernel.
[ 14.624293] SUCCESS alloc_chrdev_region
[ 14.630307] vdec 130a0000.vpu_dec: device init.
[ 14.634911] SUCCESS alloc_chrdev_region
[ 14.638068] cnm_jpu 13090000.jpu: init device.
done
Saving random seed: OK
Starting rngd: OK
Starting system message bus: dbus[276]: Unknown username "pulse" in message bus configuration file
done
Starting rpcbind: OK
Starting iptables: OK
Starting bluetoothd: OK
Starting network: OK
Starting Network Interface Plugging Daemon: eth0[ 16.656138] starfive-eth-plat 16030000.ethernet eth0: PHY [stmmac-0:00] driver [YT8531 Gigabit Ethernet] (irq=POLL)
[ 16.684500] starfive-eth-plat 16030000.ethernet eth0: Register MEM_TYPE_PAGE_POOL RxQ-0
[ 16.692781] dwmac4: Master AXI performs fixed burst length
eth1[ 16.698299] starfive-eth-plat 16030000.ethernet eth0: No Safety Features support found
.
[ 16.706639] starfive-eth-plat 16030000.ethernet eth0: IEEE 1588-2008 Advanced Timestamp supported
Starting ofono ... [ 16.744256] starfive-eth-plat 16030000.ethernet eth0: configuring for phy/rgmii-id link mode
done.
[ 16.767625] starfive-eth-plat 16040000.ethernet eth1: PHY [stmmac-1:00] driver [YT8531 Gigabit Ethernet] (irq=POLL)
[ 16.780711] starfive-eth-plat 16040000.ethernet eth1: Register MEM_TYPE_PAGE_POOL RxQ-0
[ 16.802365] dwmac4: Master AXI performs fixed burst length
[ 16.807905] starfive-eth-plat 16040000.ethernet eth1: No Safety Features support found
[ 16.815876] starfive-eth-plat 16040000.ethernet eth1: IEEE 1588-2008 Advanced Timestamp supported
Starting dropbear sshd: [ 16.854642] starfive-eth-plat 16040000.ethernet eth1: configuring for phy/rgmii-id link mode
OK
Starting multipathd: OK
Starting NFS statd: OK
Starting NFS services: OK
Starting NFS daemon: rpc.nfsd: Unable to access /proc/fs/nfsd errno 2 (No such file or directory).
Please try, as root, 'mount -t nfsd nfsd /proc/fs/nfsd' and then restart rpc.nfsd to correct the problem
FAIL
Starting NFS mountd: [ 17.214538] device-mapper: ioctl: 4.45.0-ioctl (2021-03-22) initialised: dm-devel@redhat.com
OK
Starting isp_ctrl_daemon.sh: OK
Starting DHCP server: FAIL
No PARTLABEL=hibernation!
Welcome to Buildroot
buildroot login: [ 19.856435] starfive-eth-plat 16030000.ethernet eth0: Link is Up - 1Gbps/Full - flow control rx/tx
[ 19.884257] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
[ 20.824689] random: crng init done
[ 20.828101] random: 7 urandom warning(s) missed due to ratelimiting
Welcome to Buildroot
buildroot login:
Welcome to Buildroot
buildroot login: root
Password:
#
# uname -a
Linux buildroot 5.15.0 #1 SMP Wed Jun 21 13:42:06 CST 2023 riscv64 GNU/Linux
#
# ls -l
total 59
drwxr-xr-x 2 root root 1024 Jun 21 2023 ISP
drwxr-xr-x 2 root root 1024 Jun 21 2023 e24
drwxr-xr-x 2 root root 1024 Jun 21 2023 mailbox
-rwxrwxrwx 1 root root 19056 Jun 21 2023 mjpeg_dec_test
-rwxr-xr-x 1 root root 123 Jun 21 2023 run_weston.sh
-rwxr-xr-x 1 root root 3086 Jun 21 2023 usb_device.sh
-rwxrwxrwx 1 root root 18936 Jun 21 2023 video_dec_test
-rwxrwxrwx 1 root root 14880 Jun 21 2023 video_enc_test
#
#
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment