Skip to content

Instantly share code, notes, and snippets.

@ConchuOD
Created February 20, 2023 18:45
Show Gist options
  • Save ConchuOD/45405135e3b35139274512b62e31830b to your computer and use it in GitHub Desktop.
Save ConchuOD/45405135e3b35139274512b62e31830b to your computer and use it in GitHub Desktop.
Starting kernel ...
clk u5_dw_i2c_clk_core already disabled
clk u5_dw_i2c_clk_apb already disabled
[ 0.000000] Linux version 6.2.0-00199-gc004d36a3c27 (conor@spud) (riscv64-unknown-linux-gnu-gcc (ge4703bd0e15) 137
[ 0.000000] OF: fdt: Ignoring memory range 0x40000000 - 0x80200000
[ 0.000000] Machine model: StarFive VisionFive 2 v1.2A
[ 0.000000] efi: UEFI not found.
[ 0.000000] cma: Reserved 16 MiB at 0x00000000ff000000
[ 0.000000] Zone ranges:
[ 0.000000] DMA32 [mem 0x0000000080200000-0x00000000ffffffff]
[ 0.000000] Normal [mem 0x0000000100000000-0x000000013fffffff]
[ 0.000000] Movable zone start for each node
[ 0.000000] Early memory node ranges
[ 0.000000] node 0: [mem 0x0000000080200000-0x000000013fffffff]
[ 0.000000] Initmem setup node 0 [mem 0x0000000080200000-0x000000013fffffff]
[ 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 HSM extension detected
[ 0.000000] CPU with hartid=0 is not available
[ 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 17 pages/cpu s32632 r8192 d28808 u69632
[ 0.000000] pcpu-alloc: s32632 r8192 d28808 u69632 alloc=17*4096
[ 0.000000] pcpu-alloc: [0] 0 [0] 1 [0] 2 [0] 3
[ 0.000000] Built 1 zonelists, mobility grouping on. Total pages: 775175
[ 0.000000] Kernel command line: console=ttyS0,115200 debug rootwait earlycon=sbi
[ 0.000000] Dentry cache hash table entries: 524288 (order: 10, 4194304 bytes, linear)
[ 0.000000] Inode-cache hash table entries: 262144 (order: 9, 2097152 bytes, linear)
[ 0.000000] mem auto-init: stack:all(zero), heap alloc:off, heap free:off
[ 0.000000] software IO TLB: area num 4.
[ 0.000000] software IO TLB: mapped [mem 0x00000000fb000000-0x00000000ff000000] (64MB)
[ 0.000000] Memory: 2983296K/3143680K available (9579K kernel code, 4922K rwdata, 4096K rodata, 2202K init, 440K )
[ 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=64 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] rcu: srcu_init: Setting srcu_struct sizes based on contention.
[ 0.000000] riscv-timer: riscv_timer_init_dt: Registering clocksource cpuid [0] hartid [1]
[ 0.000000] clocksource: riscv_clocksource: mask: 0xffffffffffffffff max_cycles: 0x1d854df40, max_idle_ns: 881590s
[ 0.000002] sched_clock: 64 bits at 4MHz, resolution 250ns, wraps every 2199023255500ns
[ 0.000164] Console: colour dummy device 80x25
[ 0.000214] Calibrating delay loop (skipped), value calculated using timer frequency.. 8.00 BogoMIPS (lpj=40000)
[ 0.000227] pid_max: default: 32768 minimum: 301
[ 0.000463] Mount-cache hash table entries: 8192 (order: 4, 65536 bytes, linear)
[ 0.000558] Mountpoint-cache hash table entries: 8192 (order: 4, 65536 bytes, linear)
[ 0.001585] CPU node for /cpus/cpu@0 exist but the possible cpu range is :0-3
[ 0.002583] cblist_init_generic: Setting adjustable number of callback queues.
[ 0.002594] cblist_init_generic: Setting shift to 2 and lim to 1.
[ 0.002702] riscv: ELF compat mode unsupported
[ 0.002709] ASID allocator disabled (0 bits)
[ 0.002832] rcu: Hierarchical SRCU implementation.
[ 0.002837] rcu: Max phase no-delay instances is 1000.
[ 0.003102] EFI services will not be available.
[ 0.003591] smp: Bringing up secondary CPUs ...
[ 0.005810] smp: Brought up 1 node, 4 CPUs
[ 0.006839] devtmpfs: initialized
[ 0.009470] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[ 0.009490] futex hash table entries: 1024 (order: 4, 65536 bytes, linear)
[ 0.010020] pinctrl core: initialized pinctrl subsystem
[ 0.011219] NET: Registered PF_NETLINK/PF_ROUTE protocol family
[ 0.011708] DMA: preallocated 512 KiB GFP_KERNEL pool for atomic allocations
[ 0.011788] DMA: preallocated 512 KiB GFP_KERNEL|GFP_DMA32 pool for atomic allocations
[ 0.012118] cpuidle: using governor menu
[ 0.017114] HugeTLB: registered 1.00 GiB page size, pre-allocated 0 pages
[ 0.017121] HugeTLB: 0 KiB vmemmap can be freed for a 1.00 GiB page
[ 0.017128] HugeTLB: registered 2.00 MiB page size, pre-allocated 0 pages
[ 0.017133] HugeTLB: 0 KiB vmemmap can be freed for a 2.00 MiB page
[ 0.017938] SCSI subsystem initialized
[ 0.018111] libata version 3.00 loaded.
[ 0.018253] usbcore: registered new interface driver usbfs
[ 0.018283] usbcore: registered new interface driver hub
[ 0.018320] usbcore: registered new device driver usb
[ 0.018431] mc: Linux media interface: v0.10
[ 0.018463] videodev: Linux video capture interface: v2.00
[ 0.018674] Advanced Linux Sound Architecture Driver Initialized.
[ 0.019153] Bluetooth: Core ver 2.22
[ 0.019190] NET: Registered PF_BLUETOOTH protocol family
[ 0.019195] Bluetooth: HCI device and connection manager initialized
[ 0.019206] Bluetooth: HCI socket layer initialized
[ 0.019215] Bluetooth: L2CAP socket layer initialized
[ 0.019231] Bluetooth: SCO socket layer initialized
[ 0.019594] vgaarb: loaded
[ 0.019724] clocksource: Switched to clocksource riscv_clocksource
[ 0.028971] NET: Registered PF_INET protocol family
[ 0.029628] IP idents hash table entries: 65536 (order: 7, 524288 bytes, linear)
[ 0.035812] tcp_listen_portaddr_hash hash table entries: 2048 (order: 4, 65536 bytes, linear)
[ 0.035916] Table-perturb hash table entries: 65536 (order: 6, 262144 bytes, linear)
[ 0.035934] TCP established hash table entries: 32768 (order: 6, 262144 bytes, linear)
[ 0.036367] TCP bind hash table entries: 32768 (order: 9, 2097152 bytes, linear)
[ 0.039811] TCP: Hash tables configured (established 32768 bind 32768)
[ 0.040065] UDP hash table entries: 2048 (order: 5, 196608 bytes, linear)
[ 0.040282] UDP-Lite hash table entries: 2048 (order: 5, 196608 bytes, linear)
[ 0.040712] NET: Registered PF_UNIX/PF_LOCAL protocol family
[ 0.041367] RPC: Registered named UNIX socket transport module.
[ 0.041374] RPC: Registered udp transport module.
[ 0.041378] RPC: Registered tcp transport module.
[ 0.041382] RPC: Registered tcp NFSv4.1 backchannel transport module.
[ 0.042672] PCI: CLS 0 bytes, default 64
[ 0.043318] Initialise system trusted keyrings
[ 0.043593] workingset: timestamp_bits=62 max_order=20 bucket_order=0
[ 0.043807] Unpacking initramfs...
[ 0.044232] NFS: Registering the id_resolver key type
[ 0.044264] Key type id_resolver registered
[ 0.044269] Key type id_legacy registered
[ 0.044295] nfs4filelayout_init: NFSv4 File Layout Driver Registering...
[ 0.044302] nfs4flexfilelayout_init: NFSv4 Flexfile Layout Driver Registering...
[ 0.044332] ntfs: driver 2.1.32 [Flags: R/W].
[ 0.044360] jffs2: version 2.2. (NAND) © 2001-2006 Red Hat, Inc.
[ 0.049972] fuse: init (API version 7.38)
[ 0.088773] NET: Registered PF_ALG protocol family
[ 0.088796] Key type asymmetric registered
[ 0.088803] Asymmetric key parser 'x509' registered
[ 0.088889] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 250)
[ 0.088898] io scheduler mq-deadline registered
[ 0.088905] io scheduler kyber registered
[ 0.150037] Serial: 8250/16550 driver, 6 ports, IRQ sharing disabled
[ 0.158869] loop: module loaded
[ 0.161675] CAN device driver interface
[ 0.162479] starfive-eth-plat 16040000.ethernet: User ID: 0x41, Synopsys ID: 0x52
[ 0.162494] starfive-eth-plat 16040000.ethernet: DWMAC4/5
[ 0.162502] starfive-eth-plat 16040000.ethernet: DMA HW capability register supported
[ 0.162508] starfive-eth-plat 16040000.ethernet: RX Checksum Offload Engine supported
[ 0.162515] starfive-eth-plat 16040000.ethernet: Wake-Up On Lan supported
[ 0.162521] starfive-eth-plat 16040000.ethernet: TSO supported
[ 0.162526] starfive-eth-plat 16040000.ethernet: Enable RX Mitigation via HW Watchdog Timer
[ 0.162533] starfive-eth-plat 16040000.ethernet: Enabled L3L4 Flow TC (entries=1)
[ 0.162548] starfive-eth-plat 16040000.ethernet: Enabled RFS Flow TC (entries=10)
[ 0.162561] starfive-eth-plat 16040000.ethernet: TSO feature enabled
[ 0.162567] starfive-eth-plat 16040000.ethernet: Using 40 bits DMA width
[ 0.163257] mdio_bus stmmac-1: MDIO device at address 1 is missing.
[ 0.164148] Intel(R) Wireless WiFi driver for Linux
[ 0.164569] usbcore: registered new interface driver uas
[ 0.164598] usbcore: registered new interface driver usb-storage
[ 0.164759] usbcore: registered new interface driver uvcvideo
[ 0.164890] Bluetooth: HCI UART driver ver 2.3
[ 0.164898] Bluetooth: HCI UART protocol H4 registered
[ 0.165203] sdhci: Secure Digital Host Controller Interface driver
[ 0.165208] sdhci: Copyright(c) Pierre Ossman
[ 0.165238] Synopsys Designware Multimedia Card Interface Driver
[ 0.165292] sdhci-pltfm: SDHCI platform and OF driver helper
[ 0.165509] usbcore: registered new interface driver usbhid
[ 0.165515] usbhid: USB HID core driver
[ 0.165766] usbcore: registered new interface driver snd-usb-audio
[ 0.167879] NET: Registered PF_PACKET protocol family
[ 0.167890] can: controller area network core
[ 0.167964] NET: Registered PF_CAN protocol family
[ 0.167978] can: raw protocol
[ 0.167987] can: broadcast manager protocol
[ 0.167998] can: netlink gateway - max_hops=1
[ 0.168250] Bluetooth: RFCOMM TTY layer initialized
[ 0.168265] Bluetooth: RFCOMM socket layer initialized
[ 0.168288] Bluetooth: RFCOMM ver 1.11
[ 0.168303] Bluetooth: BNEP (Ethernet Emulation) ver 1.3
[ 0.168308] Bluetooth: BNEP filters: protocol multicast
[ 0.168318] Bluetooth: BNEP socket layer initialized
[ 0.168372] lib80211: common routines for IEEE802.11 drivers
[ 0.168377] lib80211_crypt: registered algorithm 'NULL'
[ 0.168384] lib80211_crypt: registered algorithm 'WEP'
[ 0.168390] lib80211_crypt: registered algorithm 'CCMP'
[ 0.168395] lib80211_crypt: registered algorithm 'TKIP'
[ 0.168449] 9pnet: Installing 9P2000 support
[ 0.168555] Key type dns_resolver registered
[ 0.168564] start plist test
[ 0.171222] end plist test
[ 0.181010] Loading compiled-in X.509 certificates
[ 0.205406] gpio gpiochip0: Static allocation of GPIO base is deprecated, use dynamic allocation.
[ 0.205717] starfive-jh7110-sys-pinctrl 13040000.gpio: StarFive GPIO chip registered 64 GPIOs
[ 0.205999] gpio gpiochip1: Static allocation of GPIO base is deprecated, use dynamic allocation.
[ 0.206210] starfive-jh7110-aon-pinctrl 17020000.gpio: StarFive GPIO chip registered 4 GPIOs
[ 0.207076] printk: console [ttyS0] disabled
[ 0.227317] 10000000.serial: ttyS0 at MMIO 0x10000000 (irq = 7, base_baud = 1500000) is a 16550A
[ 0.227376] printk: console [ttyS0] enabled
[ 0.312661] Freeing initrd memory: 5636K
[ 0.317182] starfive-eth-plat 16030000.ethernet: User ID: 0x41, Synopsys ID: 0x52
[ 1.283420] starfive-eth-plat 16030000.ethernet: DWMAC4/5
[ 1.288906] starfive-eth-plat 16030000.ethernet: DMA HW capability register supported
[ 1.296741] starfive-eth-plat 16030000.ethernet: RX Checksum Offload Engine supported
[ 1.304575] starfive-eth-plat 16030000.ethernet: Wake-Up On Lan supported
[ 1.311368] starfive-eth-plat 16030000.ethernet: TSO supported
[ 1.317196] starfive-eth-plat 16030000.ethernet: Enable RX Mitigation via HW Watchdog Timer
[ 1.325558] starfive-eth-plat 16030000.ethernet: Enabled L3L4 Flow TC (entries=1)
[ 1.333047] starfive-eth-plat 16030000.ethernet: Enabled RFS Flow TC (entries=10)
[ 1.340536] starfive-eth-plat 16030000.ethernet: TSO feature enabled
[ 1.346886] starfive-eth-plat 16030000.ethernet: Using 40 bits DMA width
[ 1.459937] cfg80211: Loading compiled-in X.509 certificates for regulatory database
[ 1.477014] cfg80211: Loaded X.509 cert 'sforshee: 00b28ddf47aef9cea7'
[ 1.483788] ALSA device list:
[ 1.486757] No soundcards found.
[ 1.490680] platform regulatory.0: Direct firmware load for regulatory.db failed with error -2
[ 1.499289] cfg80211: failed to load regulatory.db
[ 1.506121] Freeing unused kernel image (initmem) memory: 2200K
[ 1.559773] Run /init as init process
[ 1.563434] with arguments:
[ 1.566399] /init
[ 1.568670] with environment:
[ 1.571827] HOME=/
[ 1.574187] TERM=linux
Starting syslogd: OK
Starting klogd: OK
Running sysctl: OK
Starting mdev... OK
Saving random seed: [ 5.879747] random: crng init done
OK
Starting rpcbind: OK
Starting network: [ 5.965871] starfive-eth-plat 16040000.ethernet eth0: Register MEM_TYPE_PAGE_POOL RxQ-0
[ 5.974381] starfive-eth-plat 16040000.ethernet eth0: no phy found
[ 5.980580] starfive-eth-plat 16040000.ethernet eth0: __stmmac_open: Cannot attach to PHY (error: -19)
ip: SIOCSIFFLAGS: No such device
FAIL
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: rpc.mountd: svc_tli_create: could not open connection for udp6
rpc.mountd: svc_tli_create: could not open connection for tcp6
rpc.mountd: svc_tli_create: could not open connection for udp6
rpc.mountd: svc_tli_create: could not open connection for tcp6
rpc.mountd: svc_tli_create: could not open connection for udp6
rpc.mountd: svc_tli_create: could not open connection for tcp6
OK
Welcome to Buildroot
buildroot login: root
# dmesg | grep phy
[ 5.974381] starfive-eth-plat 16040000.ethernet eth0: no phy found
# dmesg | grep eth
[ 0.162479] starfive-eth-plat 16040000.ethernet: User ID: 0x41, Synopsys ID: 0x52
[ 0.162494] starfive-eth-plat 16040000.ethernet: DWMAC4/5
[ 0.162502] starfive-eth-plat 16040000.ethernet: DMA HW capability register supported
[ 0.162508] starfive-eth-plat 16040000.ethernet: RX Checksum Offload Engine supported
[ 0.162515] starfive-eth-plat 16040000.ethernet: Wake-Up On Lan supported
[ 0.162521] starfive-eth-plat 16040000.ethernet: TSO supported
[ 0.162526] starfive-eth-plat 16040000.ethernet: Enable RX Mitigation via HW Watchdog Timer
[ 0.162533] starfive-eth-plat 16040000.ethernet: Enabled L3L4 Flow TC (entries=1)
[ 0.162548] starfive-eth-plat 16040000.ethernet: Enabled RFS Flow TC (entries=10)
[ 0.162561] starfive-eth-plat 16040000.ethernet: TSO feature enabled
[ 0.162567] starfive-eth-plat 16040000.ethernet: Using 40 bits DMA width
[ 0.317182] starfive-eth-plat 16030000.ethernet: User ID: 0x41, Synopsys ID: 0x52
[ 1.283420] starfive-eth-plat 16030000.ethernet: DWMAC4/5
[ 1.288906] starfive-eth-plat 16030000.ethernet: DMA HW capability register supported
[ 1.296741] starfive-eth-plat 16030000.ethernet: RX Checksum Offload Engine supported
[ 1.304575] starfive-eth-plat 16030000.ethernet: Wake-Up On Lan supported
[ 1.311368] starfive-eth-plat 16030000.ethernet: TSO supported
[ 1.317196] starfive-eth-plat 16030000.ethernet: Enable RX Mitigation via HW Watchdog Timer
[ 1.325558] starfive-eth-plat 16030000.ethernet: Enabled L3L4 Flow TC (entries=1)
[ 1.333047] starfive-eth-plat 16030000.ethernet: Enabled RFS Flow TC (entries=10)
[ 1.340536] starfive-eth-plat 16030000.ethernet: TSO feature enabled
[ 1.346886] starfive-eth-plat 16030000.ethernet: Using 40 bits DMA width
[ 5.965871] starfive-eth-plat 16040000.ethernet eth0: Register MEM_TYPE_PAGE_POOL RxQ-0
[ 5.974381] starfive-eth-plat 16040000.ethernet eth0: no phy found
[ 5.980580] starfive-eth-plat 16040000.ethernet eth0: __stmmac_open: Cannot attach to PHY (error: -19)
#
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment