OpenEdv-开源电子网

 找回密码
 立即注册
正点原子全套STM32/Linux/FPGA开发资料,上千讲STM32视频教程免费下载...
查看: 2273|回复: 1

nfs挂载文件系统失败的问题

[复制链接]

4

主题

67

帖子

0

精华

金牌会员

Rank: 6Rank: 6

积分
1011
金钱
1011
注册时间
2021-5-25
在线时间
185 小时
发表于 2021-12-23 09:43:51 | 显示全部楼层 |阅读模式
6金钱

buildroot和内核都是用原子官方提供的:buildroot2020.02.6、linux5.4.31
严格按照官方【正点原子】STM32MP157网络环境TFTP&NFS搭建手册V1.3.2搭建环境,一直没出现错误,但是在最后一步nfs挂载上出了问题,串口打印信息为:
U-Boot 2020.01-stm32mp-r1 (Jul 01 2021 - 10:31:04 +0800)

CPU: STM32MP157DAA Rev.Z
Model: STMicroelectronics STM32MP157D eval daughter
Board: stm32mp1 in trusted mode (st,stm32mp157d-atk)
DRAM:  1 GiB
Clocks:
- MPU : 800 MHz
- MCU : 208.878 MHz
- AXI : 266.500 MHz
- PER : 24 MHz
- DDR : 533 MHz
WDT:   Started with servicing (32s timeout)
NAND:  0 MiB
MMC:   STM32 SD/MMC: 0, STM32 SD/MMC: 1
Loading Environment from MMC... OK
In:    serial
Out:   serial
Err:   serial
Net:   eth0: ethernet@5800a000
lcd_id  = 07
Hit any key to stop autoboot:  0
ethernet@5800a000 Waiting for PHY auto negotiation to complete..... done
Using ethernet@5800a000 device
TFTP from server 192.168.4.141; our IP address is 192.168.4.173
Filename 'uImage'.
Load address: 0xc2000000
Loading: #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         ################################################
         851.6 KiB/s
done
Bytes transferred = 8323728 (7f0290 hex)
Using ethernet@5800a000 device
TFTP from server 192.168.4.141; our IP address is 192.168.4.173
Filename 'stm32mp157d-atk.dtb'.
Load address: 0xc4000000
Loading: ######
         1.2 MiB/s
done
Bytes transferred = 74988 (124ec hex)
## Booting kernel from Legacy Image at c2000000 ...
   Image Name:   Linux-5.4.31
   Created:      2021-12-21   5:22:20 UTC
   Image Type:   ARM Linux Kernel Image (uncompressed)
   Data Size:    8323664 Bytes = 7.9 MiB
   Load Address: c2000040
   Entry Point:  c2000040
   Verifying Checksum ... OK
## Flattened Device Tree blob at c4000000
   Booting using the fdt blob at 0xc4000000
   XIP Kernel Image
   Loading Device Tree to cffea000, end cffff4eb ... OK

Starting kernel ...

[    0.000000] Booting Linux on physical CPU 0x0
[    0.000000] Linux version 5.4.31 (lgs@ubuntu) (gcc version 9.2.1 20191025 (GNU Toolchain for the A-profile Architecture 9.2-2019.12 (arm-9.10))) #1 SMP PREEMPT Mon Dec 20 19:36:17 PST 2021
[    0.000000] CPU: ARMv7 Processor [410fc075] revision 5 (ARMv7), cr=10c5387d
[    0.000000] CPU: div instructions available: patching division code
[    0.000000] CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache
[    0.000000] OF: fdt: Machine model: STMicroelectronics STM32MP157C-DK2 Discovery Board
[    0.000000] Memory policy: Data cache writealloc
[    0.000000] Reserved memory: created DMA memory pool at 0x10000000, size 0 MiB
[    0.000000] OF: reserved mem: initialized node mcuram2@10000000, compatible id shared-dma-pool
[    0.000000] Reserved memory: created DMA memory pool at 0x10040000, size 0 MiB
[    0.000000] OF: reserved mem: initialized node vdev0vring0@10040000, compatible id shared-dma-pool
[    0.000000] Reserved memory: created DMA memory pool at 0x10041000, size 0 MiB
[    0.000000] OF: reserved mem: initialized node vdev0vring1@10041000, compatible id shared-dma-pool
[    0.000000] Reserved memory: created DMA memory pool at 0x10042000, size 0 MiB
[    0.000000] OF: reserved mem: initialized node vdev0buffer@10042000, compatible id shared-dma-pool
[    0.000000] Reserved memory: created DMA memory pool at 0x30000000, size 0 MiB
[    0.000000] OF: reserved mem: initialized node mcuram@30000000, compatible id shared-dma-pool
[    0.000000] Reserved memory: created DMA memory pool at 0x38000000, size 0 MiB
[    0.000000] OF: reserved mem: initialized node retram@38000000, compatible id shared-dma-pool
[    0.000000] cma: Reserved 128 MiB at 0xe8000000
[    0.000000] psci: probing for conduit method from DT.
[    0.000000] psci: PSCIv1.1 detected in firmware.
[    0.000000] psci: Using standard PSCI v0.2 function IDs
[    0.000000] psci: MIGRATE_INFO_TYPE not supported.
[    0.000000] psci: SMC Calling Convention v1.0
[    0.000000] percpu: Embedded 20 pages/cpu s50124 r8192 d23604 u81920
[    0.000000] Built 1 zonelists, mobility grouping on.  Total pages: 227647
[    0.000000] Kernel command line: console=ttySTM0,115200
[    0.000000] root=/dev/nfs
[    0.000000] nfsroot=192.168.4.141:/home/lgs/linux/nfs/rootfs/,proto=tcp rw
[    0.000000] ip=192.168.4.173:192.168.4.141:192.168.4.1:255.255.255.0::eth0ff
[    0.000000] Dentry cache hash table entries: 131072 (order: 7, 524288 bytes, linear)
[    0.000000] Inode-cache hash table entries: 65536 (order: 6, 262144 bytes, linear)
[    0.000000] mem auto-init: stackff, heap allocff, heap freeff
[    0.000000] Memory: 758184K/917500K available (12288K kernel code, 990K rwdata, 3704K rodata, 1024K init, 230K bss, 28244K reserved, 131072K cma-reserved, 131068K highmem)
[    0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=2, Nodes=1
[    0.000000] rcu: Preemptible hierarchical RCU implementation.
[    0.000000] rcu:     RCU event tracing is enabled.
[    0.000000]  Tasks RCU enabled.
[    0.000000] rcu: RCU calculated value of scheduler-enlistment delay is 10 jiffies.
[    0.000000] NR_IRQS: 16, nr_irqs: 16, preallocated irqs: 16
[    0.000000] random: get_random_bytes called from start_kernel+0x31c/0x4f4 with crng_init=0
[    0.000000] arch_timer: cp15 timer(s) running at 24.00MHz (virt).
[    0.000000] clocksource: arch_sys_counter: mask: 0xffffffffffffff max_cycles: 0x588fe9dc0, max_idle_ns: 440795202592 ns
[    0.000008] sched_clock: 56 bits at 24MHz, resolution 41ns, wraps every 4398046511097ns
[    0.000025] Switching to timer-based delay loop, resolution 41ns
[    0.001630] Console: colour dummy device 80x30
[    0.001682] Calibrating delay loop (skipped), value calculated using timer frequency.. 48.00 BogoMIPS (lpj=240000)
[    0.001700] pid_max: default: 32768 minimum: 301
[    0.001943] Mount-cache hash table entries: 2048 (order: 1, 8192 bytes, linear)
[    0.001966] Mountpoint-cache hash table entries: 2048 (order: 1, 8192 bytes, linear)
[    0.003150] CPU: Testing write buffer coherency: ok
[    0.003657] /cpus/cpu@0 missing clock-frequency property
[    0.003689] /cpus/cpu@1 missing clock-frequency property
[    0.003706] CPU0: thread -1, cpu 0, socket 0, mpidr 80000000
[    0.059824] Setting up static identity map for 0xc0100000 - 0xc0100060
[    0.079793] rcu: Hierarchical SRCU implementation.
[    0.104559] smp: Bringing up secondary CPUs ...
[    0.180407] CPU1: thread -1, cpu 1, socket 0, mpidr 80000001
[    0.180608] smp: Brought up 1 node, 2 CPUs
[    0.180629] SMP: Total of 2 processors activated (96.00 BogoMIPS).
[    0.180637] CPU: All CPU(s) started in SVC mode.
[    0.181464] devtmpfs: initialized
[    0.207665] VFP support v0.3: implementor 41 architecture 2 part 30 variant 7 rev 5
[    0.208241] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[    0.208272] futex hash table entries: 512 (order: 3, 32768 bytes, linear)
[    0.214361] pinctrl core: initialized pinctrl subsystem
[    0.216517] NET: Registered protocol family 16
[    0.222777] DMA: preallocated 256 KiB pool for atomic coherent allocations
[    0.225127] hw-breakpoint: found 5 (+1 reserved) breakpoint and 4 watchpoint registers.
[    0.225147] hw-breakpoint: maximum watchpoint size is 8 bytes.
[    0.225532] Serial: AMBA PL011 UART driver
[    0.228349] stm32-pm-domain pm_domain: domain core-ret-power-domain registered
[    0.228393] stm32-pm-domain pm_domain: subdomain core-power-domain registered
[    0.228408] stm32-pm-domain pm_domain: domains probed
[    0.275763] reg-fixed-voltage buck1: Fixed regulator specified with variable voltages
[    0.275803] reg-fixed-voltage: probe of buck1 failed with error -22
[    0.282893] SCSI subsystem initialized
[    0.283682] usbcore: registered new interface driver usbfs
[    0.283768] usbcore: registered new interface driver hub
[    0.283898] usbcore: registered new device driver usb
[    0.284256] pps_core: LinuxPPS API ver. 1 registered
[    0.284268] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
[    0.284296] PTP clock support registered
[    0.284681] EDAC MC: Ver: 3.0.0
[    0.285973] Advanced Linux Sound Architecture Driver Initialized.
[    0.286806] Bluetooth: Core ver 2.22
[    0.286886] NET: Registered protocol family 31
[    0.286898] Bluetooth: HCI device and connection manager initialized
[    0.286919] Bluetooth: HCI socket layer initialized
[    0.286935] Bluetooth: L2CAP socket layer initialized
[    0.286966] Bluetooth: SCO socket layer initialized
[    0.287828] clocksource: Switched to clocksource arch_sys_counter
[    0.932542] thermal_sys: Registered thermal governor 'step_wise'
[    0.933151] NET: Registered protocol family 2
[    0.934165] tcp_listen_portaddr_hash hash table entries: 512 (order: 0, 6144 bytes, linear)
[    0.934218] TCP established hash table entries: 8192 (order: 3, 32768 bytes, linear)
[    0.934319] TCP bind hash table entries: 8192 (order: 4, 65536 bytes, linear)
[    0.934465] TCP: Hash tables configured (established 8192 bind 8192)
[    0.934630] UDP hash table entries: 512 (order: 2, 16384 bytes, linear)
[    0.934696] UDP-Lite hash table entries: 512 (order: 2, 16384 bytes, linear)
[    0.934993] NET: Registered protocol family 1
[    0.935893] RPC: Registered named UNIX socket transport module.
[    0.935912] RPC: Registered udp transport module.
[    0.935922] RPC: Registered tcp transport module.
[    0.935930] RPC: Registered tcp NFSv4.1 backchannel transport module.
[    0.937626] hw perfevents: enabled with armv7_cortex_a7 PMU driver, 5 counters available
[    0.939762] Initialise system trusted keyrings
[    0.940134] workingset: timestamp_bits=14 max_order=18 bucket_order=4
[    0.951249] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[    0.962498] NFS: Registering the id_resolver key type
[    0.962551] Key type id_resolver registered
[    0.962562] Key type id_legacy registered
[    0.962585] Installing knfsd (copyright (C) 1996 okir@monad.swb.de).
[    0.964197] ntfs: driver 2.1.32 [Flags: R/O].
[    0.964648] jffs2: version 2.2. (NAND) &#169; 2001-2006 Red Hat, Inc.
[    0.965390] fuse: init (API version 7.31)
[    1.012190] NET: Registered protocol family 38
[    1.012216] Key type asymmetric registered
[    1.012226] Asymmetric key parser 'x509' registered
[    1.012317] bounce: pool size: 64 pages
[    1.012401] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 246)
[    1.012417] io scheduler mq-deadline registered
[    1.012428] io scheduler kyber registered
[    1.023930] STM32 USART driver initialized
[    1.030155] panel-simple panel-rgb: panel-rgb supply power not found, using dummy regulator
[    1.044987] brd: module loaded
[    1.058363] loop: module loaded
[    1.064343] libphy: Fixed MDIO Bus: probed
[    1.066267] CAN device driver interface
[    1.069045] PPP generic driver version 2.4.2
[    1.069362] PPP BSD Compression module registered
[    1.069377] PPP Deflate Compression module registered
[    1.069400] PPP MPPE Compression module registered
[    1.069412] NET: Registered protocol family 24
[    1.069454] pegasus: v0.9.3 (2013/04/25), Pegasus/Pegasus II USB Ethernet driver
[    1.069553] usbcore: registered new interface driver pegasus
[    1.069645] usbcore: registered new interface driver asix
[    1.069701] usbcore: registered new interface driver ax88179_178a
[    1.069752] usbcore: registered new interface driver cdc_ether
[    1.069818] usbcore: registered new interface driver smsc75xx
[    1.069885] usbcore: registered new interface driver smsc95xx
[    1.069940] usbcore: registered new interface driver net1080
[    1.070007] usbcore: registered new interface driver cdc_subset
[    1.070060] usbcore: registered new interface driver zaurus
[    1.070136] usbcore: registered new interface driver cdc_ncm
[    1.071723] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[    1.071778] ehci-platform: EHCI generic platform driver
[    1.072298] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
[    1.072335] ohci-platform: OHCI generic platform driver
[    1.073196] usbcore: registered new interface driver cdc_acm
[    1.073209] cdc_acm: USB Abstract Control Model driver for USB modems and ISDN adapters
[    1.073289] usbcore: registered new interface driver usb-storage
[    1.073430] usbcore: registered new interface driver option
[    1.073475] usbserial: USB Serial support registered for GSM modem (1-port)
[    1.076531] mousedev: PS/2 mouse device common for all mice
[    1.078952] i2c /dev entries driver
[    1.083257] Bluetooth: HCI UART driver ver 2.3
[    1.083279] Bluetooth: HCI UART protocol H4 registered
[    1.083340] Bluetooth: HCI UART protocol Three-wire (H5) registered
[    1.083476] Bluetooth: HCI UART protocol Broadcom registered
[    1.083560] usbcore: registered new interface driver btusb
[    1.084193] stm32-cpufreq stm32-cpufreq: Failed to get chip info: -517
[    1.087977] sdhci: Secure Digital Host Controller Interface driver
[    1.087994] sdhci: Copyright(c) Pierre Ossman
[    1.088003] Synopsys Designware Multimedia Card Interface Driver
[    1.088641] sdhci-pltfm: SDHCI platform and OF driver helper
[    1.089929] ledtrig-cpu: registered to indicate activity on CPUs
[    1.092237] usbcore: registered new interface driver usbhid
[    1.092256] usbhid: USB HID core driver
[    1.092609] arm-smc-mbox mailbox-0: ARM SMC mailbox enabled.
[    1.092732] arm-smc-mbox mailbox-1: ARM SMC mailbox enabled.
[    1.104342] remoteproc remoteproc0: releasing m4
[    1.107631] Unable to get STM32 DDR PMU clock
[    1.113123] drop_monitor: Initializing network drop monitor service
[    1.113441] NET: Registered protocol family 17
[    1.113477] can: controller area network core (rev 20170425 abi 9)
[    1.113607] NET: Registered protocol family 29
[    1.113624] can: raw protocol (rev 20170425)
[    1.113635] can: broadcast manager protocol (rev 20170425 t)
[    1.113651] can: netlink gateway (rev 20190810) max_hops=1
[    1.114135] Bluetooth: RFCOMM TTY layer initialized
[    1.114171] Bluetooth: RFCOMM socket layer initialized
[    1.114221] Bluetooth: RFCOMM ver 1.11
[    1.114784] Key type dns_resolver registered
[    1.114975] ThumbEE CPU extension supported.
[    1.115000] Registering SWP/SWPB emulation handler
[    1.115453] registered taskstats version 1
[    1.115466] Loading compiled-in X.509 certificates
[    1.125240] Loaded X.509 cert 'Build time autogenerated kernel key: 5e15cf213741f847baf5c2c6fb485f98b1cd2c57'
[    1.140955] panel-simple panel-rgb: panel-rgb supply power not found, using dummy regulator
[    1.151024] arm-scmi firmware:scmi-0: SCMI Protocol v2.0 'ST:' Firmware version 0x0
[    1.155097] remoteproc remoteproc0: releasing m4
[    1.157036] Unable to get STM32 DDR PMU clock
[    1.172874] panel-simple panel-rgb: panel-rgb supply power not found, using dummy regulator
[    1.181461] debugfs: Directory 'cpu0' with parent 'opp' already present!
[    1.189791] remoteproc remoteproc0: releasing m4
[    1.191745] Unable to get STM32 DDR PMU clock
[    1.228140] stm32-mdma 58000000.dma: STM32 MDMA driver registered
[    1.232174] stm32-dma 48000000.dma: STM32 DMA driver registered
[    1.234197] stm32-dma 48001000.dma: STM32 DMA driver registered
[    1.234803] reg11: supplied by vdd
[    1.235202] reg18: supplied by vdd
[    1.235549] usb33: supplied by regulator-dummy
[    1.240500] panel-simple panel-rgb: panel-rgb supply power not found, using dummy regulator
[    1.258314] stm_thermal 50028000.thermal: stm_thermal_probe: Driver initialized successfully
[    1.260927] random: fast init done
[    1.261062] debugfs: Directory 'cpu0' with parent 'opp' already present!
[    1.264919] stm32-crc32 58009000.crc: Initialized
[    1.265328] random: crng init done
[    1.266524] stm32-hash 54002000.hash: will run requests pump with realtime priority
[    1.271007] stm32-hash 54002000.hash: Init HASH done HW ver 23 DMA mode 1
[    1.283322] remoteproc remoteproc0: releasing m4
[    1.285611] stm32-ddr-pmu: probed (ID=0x00140061 VER=0x00000010), DDR@533MHz
[    1.290660] /soc/interrupt-controller@5000d000: bank0
[    1.290683] /soc/interrupt-controller@5000d000: bank1
[    1.290695] /soc/interrupt-controller@5000d000: bank2
[    1.292729] stm32mp157-pinctrl soc:pin-controller@50002000: GPIOA bank added
[    1.293214] stm32mp157-pinctrl soc:pin-controller@50002000: GPIOB bank added
[    1.293652] stm32mp157-pinctrl soc:pin-controller@50002000: GPIOC bank added
[    1.294099] stm32mp157-pinctrl soc:pin-controller@50002000: GPIOD bank added
[    1.294504] stm32mp157-pinctrl soc:pin-controller@50002000: GPIOE bank added
[    1.294908] stm32mp157-pinctrl soc:pin-controller@50002000: GPIOF bank added
[    1.295327] stm32mp157-pinctrl soc:pin-controller@50002000: GPIOG bank added
[    1.295729] stm32mp157-pinctrl soc:pin-controller@50002000: GPIOH bank added
[    1.296142] stm32mp157-pinctrl soc:pin-controller@50002000: GPIOI bank added
[    1.296551] stm32mp157-pinctrl soc:pin-controller@50002000: GPIOJ bank added
[    1.296974] stm32mp157-pinctrl soc:pin-controller@50002000: GPIOK bank added
[    1.297226] stm32mp157-pinctrl soc:pin-controller@50002000: Pinctrl STM32 initialized
[    1.298315] stm32mp157-pinctrl soc:pin-controller-z@54004000: GPIOZ bank added
[    1.298347] stm32mp157-pinctrl soc:pin-controller-z@54004000: Pinctrl STM32 initialized
[    1.299675] stm32-usbphyc 5a006000.usbphyc: registered rev:1.0
[    1.301672] stm32-usart 4000f000.serial: interrupt mode for rx (no dma)
[    1.301695] stm32-usart 4000f000.serial: interrupt mode for tx (no dma)
[    1.301732] 4000f000.serial: ttySTM1 at MMIO 0x4000f000 (irq = 61, base_baud = 4000000) is a stm32-usart
[    1.303407] stm32-usart 40010000.serial: interrupt mode for rx (no dma)
[    1.303427] stm32-usart 40010000.serial: interrupt mode for tx (no dma)
[    1.303459] 40010000.serial: ttySTM0 at MMIO 0x40010000 (irq = 62, base_baud = 4000000) is a stm32-usart
[    2.732679] printk: console [ttySTM0] enabled
[    2.738686] stm32-usart 40011000.serial: interrupt mode for rx (no dma)
[    2.743869] stm32-usart 40011000.serial: interrupt mode for tx (no dma)
[    2.750616] 40011000.serial: ttySTM2 at MMIO 0x40011000 (irq = 63, base_baud = 4000000) is a stm32-usart
[    2.761722] stm32-usart 40018000.serial: interrupt mode for rx (no dma)
[    2.766905] stm32-usart 40018000.serial: interrupt mode for tx (no dma)
[    2.773643] 40018000.serial: ttySTM3 at MMIO 0x40018000 (irq = 64, base_baud = 4000000) is a stm32-usart
[    2.788297] panel-simple panel-rgb: panel-rgb supply power not found, using dummy regulator
[    2.798300] m_can_platform 4400e000.can: m_can_platform device registered (irq=58, version=32)
[    2.807205] stm32-dwmac 5800a000.ethernet: PTP uses main clock
[    2.811655] stm32-dwmac 5800a000.ethernet: no reset control found
[    2.817762] stm32-dwmac 5800a000.ethernet: No phy clock provided...
[    2.824627] stm32-dwmac 5800a000.ethernet: User ID: 0x40, Synopsys ID: 0x42
[    2.831088] stm32-dwmac 5800a000.ethernet:   DWMAC4/5
[    2.835990] stm32-dwmac 5800a000.ethernet: DMA HW capability register supported
[    2.843398] stm32-dwmac 5800a000.ethernet: RX Checksum Offload Engine supported
[    2.850706] stm32-dwmac 5800a000.ethernet: TX Checksum insertion supported
[    2.857581] stm32-dwmac 5800a000.ethernet: Wake-Up On Lan supported
[    2.863900] stm32-dwmac 5800a000.ethernet: TSO supported
[    2.869227] stm32-dwmac 5800a000.ethernet: Enable RX Mitigation via HW Watchdog Timer
[    2.877080] stm32-dwmac 5800a000.ethernet: TSO feature enabled
[    2.883236] libphy: stmmac: probed
[    2.889106] dwc2 49000000.usb-otg: 49000000.usb-otg supply vusb_d not found, using dummy regulator
[    2.896780] dwc2 49000000.usb-otg: 49000000.usb-otg supply vusb_a not found, using dummy regulator
[    3.038320] dwc2 49000000.usb-otg: EPs: 9, dedicated fifos, 952 entries in SPRAM
[    3.045975] dwc2 49000000.usb-otg: DWC OTG Controller
[    3.049771] dwc2 49000000.usb-otg: new USB bus registered, assigned bus number 1
[    3.057137] dwc2 49000000.usb-otg: irq 66, io mem 0x49000000
[    3.064402] hub 1-0:1.0: USB hub found
[    3.066768] hub 1-0:1.0: 1 port detected
[    3.072341] ehci-platform 5800d000.usbh-ehci: EHCI Host Controller
[    3.077117] ehci-platform 5800d000.usbh-ehci: new USB bus registered, assigned bus number 2
[    3.085964] ehci-platform 5800d000.usbh-ehci: irq 67, io mem 0x5800d000
[    3.118095] ehci-platform 5800d000.usbh-ehci: USB 2.0 started, EHCI 1.00
[    3.125437] hub 2-0:1.0: USB hub found
[    3.127911] hub 2-0:1.0: 2 ports detected
[    3.166247] stm32f7-i2c 40012000.i2c: doesn't use DMA
[    3.171997] typec_stusb 0-0028: Failed to get port caps: -6
[    3.178579] fusb302 0-0022: Can't get property of role, set role to default DRP
[    3.191860] fusb302 0-0022: port 0 probe success with role ROLE_MODE_DRP, try_role ROLE_MODE_NONE
[    3.199564] stm32f7-i2c 40012000.i2c: STM32F7 I2C-0 bus adapter
[    3.222530] stm32f7-i2c 40013000.i2c: doesn't use DMA
[    3.228016] Goodix-TS 1-0014: 1-0014 supply AVDD28 not found, using dummy regulator
[    3.234375] Goodix-TS 1-0014: 1-0014 supply VDDIO not found, using dummy regulator
[    3.358100] Goodix-TS 1-0014: i2c test failed attempt 1: -6
[    3.398164] Goodix-TS 1-0014: i2c test failed attempt 2: -6
[    3.437896] Goodix-TS 1-0014: I2C communication failure: -6
[    3.442700] stm32f7-i2c 40013000.i2c: STM32F7 I2C-1 bus adapter
[    3.481631] stm32f7-i2c 40015000.i2c: doesn't use DMA
[    3.486928] stm32f7-i2c 40015000.i2c: STM32F7 I2C-2 bus adapter
[    3.497938] usb 2-1: new high-speed USB device number 2 using ehci-platform
[    3.514265] stm32f7-i2c 5c002000.i2c: doesn't use DMA
[    3.524388] rtc-pcf8563 3-0051: registered as rtc0
[    3.529686] stm32f7-i2c 5c002000.i2c: STM32F7 I2C-3 bus adapter
[    3.535548] mmci-pl18x 48004000.sdmmc: mmc0: PL180 manf 53 rev1 at 0x48004000 irq 45,0 (pio)
[    3.549553] hub 2-1:1.0: USB hub found
[    3.551955] hub 2-1:1.0: 7 ports detected
[    3.569254] mmci-pl18x 58005000.sdmmc: mmc1: PL180 manf 53 rev2 at 0x58005000 irq 53,0 (pio)
[    3.583784] mmci-pl18x 48004000.sdmmc: card claims to support voltages below defined range
[    3.605565] mmci-pl18x 58007000.sdmmc: mmc2: PL180 manf 53 rev2 at 0x58007000 irq 54,0 (pio)
[    3.614920] mmc0: new high speed SDIO card at address 0001
[    3.648531] stm32-ipcc 4c001000.mailbox: ipcc rev:1.0 enabled, 6 chans, proc 0
[    3.658206] stm32-rproc mlahb:m4@10000000: wdg irq registered
[    3.664185] remoteproc remoteproc0: m4 is available
[    3.695292] st,stm32-i2s 4000b000.audio-controller: No cache defaults, reading back from HW
[    3.707368] st,stm32-spdifrx 4000d000.audio-controller: No cache defaults, reading back from HW
[    3.728813] panel-simple panel-rgb: panel-rgb supply power not found, using dummy regulator
[    3.742596] cs42l51 3-004a: Cirrus Logic CS42L51, Revision: 00
[    3.751204] asoc-audio-graph-card sound: cs42l51-hifi <-> 4400b004.audio-controller mapping ok
[    3.762769] asoc-audio-graph-card sound: cs42l51-hifi <-> 4400b024.audio-controller mapping ok
[    3.771182] mmc2: switch to bus width 8 failed
[    3.777276] asoc-audio-graph-card sound: dir-hifi <-> 4000d000.audio-controller mapping ok
[    3.784327] mmc2: new high speed MMC card at address 0001
[    3.800994] mmcblk2: mmc2:0001 8GTF4R 7.28 GiB
[    3.804713] mmcblk2boot0: mmc2:0001 8GTF4R partition 1 4.00 MiB
[    3.810836] mmcblk2boot1: mmc2:0001 8GTF4R partition 2 4.00 MiB
[    3.816462] mmcblk2rpmb: mmc2:0001 8GTF4R partition 3 512 KiB, chardev (242:0)
[    3.851561]  mmcblk2: p1 p2 p3
[    4.037013] [drm] Supports vblank timestamp caching Rev 2 (21.10.2013).
[    4.042304] [drm] Driver supports precise vblank timestamp query.
[    4.049868] [drm] Initialized stm 1.0.0 20170330 for 5a001000.display-controller on minor 0
[    4.099877] Console: switching to colour frame buffer device 128x37
[    4.124897] stm32-display 5a001000.display-controller: fb0: stmdrmfb frame buffer device
[    4.136463] input: gpio-keys as /devices/platform/gpio-keys/input/input0
[    4.144071] rtc-pcf8563 3-0051: setting system clock to 2021-12-23T01:33:19 UTC (1640223199)
[    4.154304] stm32-dwmac 5800a000.ethernet eth0: PHY [stmmac-0:00] driver [YT8511 Gigabit Ethernet]
[    4.172901] dwmac4: Master AXI performs any burst length
[    4.176789] stm32-dwmac 5800a000.ethernet eth0: No Safety Features support found
[    4.184287] stm32-dwmac 5800a000.ethernet eth0: IEEE 1588-2008 Advanced Timestamp supported
[    4.192998] stm32-dwmac 5800a000.ethernet eth0: registered PTP clock
[    4.199070] stm32-dwmac 5800a000.ethernet eth0: configuring for phy/rgmii-id link mode
[    7.369957] stm32-dwmac 5800a000.ethernet eth0: Link is Up - 1Gbps/Full - flow control off
[    7.417969] IP-Config: Complete:
[    7.419763]      device=eth0, hwaddr=00:0c:29:fc:5b:77, ipaddr=192.168.4.173, mask=255.255.255.0, gw=192.168.4.1
[    7.430147]      host=192.168.4.173, domain=, nis-domain=(none)
[    7.435928]      bootserver=192.168.4.141, rootserver=192.168.4.141, rootpath=
[    7.443881] cfg80211: Loading compiled-in X.509 certificates for regulatory database
[    7.453910] cfg80211: Loaded X.509 cert 'sforshee: 00b28ddf47aef9cea7'
[    7.459302] platform regulatory.0: Direct firmware load for regulatory.db failed with error -2
[    7.467849] cfg80211: failed to load regulatory.db
[    7.472597] ALSA device list:
[    7.475558]   #0: STM32MP1-DK
[   69.608030] rpcbind: server 192.168.4.141 not responding, timed out
[  136.168000] rpcbind: server 192.168.4.141 not responding, timed out
[  289.767983] rpcbind: server 192.168.4.141 not responding, timed out
[  381.927959] rpcbind: server 192.168.4.141 not responding, timed out
[  472.168055] VFS: Unable to mount root fs via NFS, trying floppy.
[  472.173625] VFS: Cannot open root device "nfs" or unknown-block(2,0): error -6
[  472.179971] Please append a correct "root=" boot option; here are the available partitions:
[  472.188359] 0100           65536 ram0
[  472.188366]  (driver?)
[  472.194430] 0101           65536 ram1
[  472.194435]  (driver?)
[  472.200743] 0102           65536 ram2
[  472.200747]  (driver?)
[  472.206662] 0103           65536 ram3
[  472.206665]  (driver?)
[  472.212788] 0104           65536 ram4
[  472.212792]  (driver?)
[  472.218969] 0105           65536 ram5
[  472.218972]  (driver?)
[  472.225030] 0106           65536 ram6
[  472.225033]  (driver?)
[  472.231155] 0107           65536 ram7
[  472.231158]  (driver?)
[  472.237275] 0108           65536 ram8
[  472.237278]  (driver?)
[  472.243427] 0109           65536 ram9
[  472.243431]  (driver?)
[  472.249587] 010a           65536 ram10
[  472.249590]  (driver?)
[  472.255748] 010b           65536 ram11
[  472.255750]  (driver?)
[  472.261991] 010c           65536 ram12
[  472.261995]  (driver?)
[  472.268181] 010d           65536 ram13
[  472.268184]  (driver?)
[  472.274357] 010e           65536 ram14
[  472.274359]  (driver?)
[  472.280565] 010f           65536 ram15
[  472.280568]  (driver?)
[  472.286781] b300         7634944 mmcblk2
[  472.286785]  driver: mmcblk
[  472.293596]   b301            2048 mmcblk2p1 5027d9bf-e933-4efd-b8c1-425f0e9bd5ea
[  472.293599]
[  472.302603]   b302           65536 mmcblk2p2 8b6679e8-3fff-4451-9e7b-2c06d511a8a3
[  472.302606]
[  472.311611]   b303         7566336 mmcblk2p3 491f6117-415d-4f53-88c9-6e0de54deac6
[  472.311613]
[  472.320623] Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(2,0)
[  472.328929] CPU: 1 PID: 1 Comm: swapper/0 Not tainted 5.4.31 #1
[  472.334870] Hardware name: STM32 (Device Tree Support)
[  472.340063] [<c0112518>] (unwind_backtrace) from [<c010d7a0>] (show_stack+0x10/0x14)
[  472.347828] [<c010d7a0>] (show_stack) from [<c0ca94f4>] (dump_stack+0xb0/0xc4)
[  472.355087] [<c0ca94f4>] (dump_stack) from [<c0125bd0>] (panic+0x11c/0x31c)
[  472.362085] [<c0125bd0>] (panic) from [<c1101594>] (mount_block_root+0x1cc/0x27c)
[  472.369602] [<c1101594>] (mount_block_root) from [<c11018b0>] (mount_root+0x124/0x148)
[  472.377560] [<c11018b0>] (mount_root) from [<c1101a54>] (prepare_namespace+0x180/0x1c4)
[  472.385608] [<c1101a54>] (prepare_namespace) from [<c0cc0a90>] (kernel_init+0x8/0x110)
[  472.393566] [<c0cc0a90>] (kernel_init) from [<c01010e8>] (ret_from_fork+0x14/0x2c)
[  472.401165] Exception stack(0xe689bfb0 to 0xe689bff8)
[  472.406241] bfa0:                                     00000000 00000000 00000000 00000000
[  472.414463] bfc0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[  472.422683] bfe0: 00000000 00000000 00000000 00000000 00000013 00000000
[  472.429338] CPU0: stopping
[  472.432041] CPU: 0 PID: 0 Comm: swapper/0 Not tainted 5.4.31 #1
[  472.437980] Hardware name: STM32 (Device Tree Support)
[  472.443158] [<c0112518>] (unwind_backtrace) from [<c010d7a0>] (show_stack+0x10/0x14)
[  472.450932] [<c010d7a0>] (show_stack) from [<c0ca94f4>] (dump_stack+0xb0/0xc4)
[  472.458192] [<c0ca94f4>] (dump_stack) from [<c0110f50>] (handle_IPI+0x41c/0x448)
[  472.465627] [<c0110f50>] (handle_IPI) from [<c05af4e4>] (gic_handle_irq+0x8c/0x90)
[  472.473233] [<c05af4e4>] (gic_handle_irq) from [<c0101a8c>] (__irq_svc+0x6c/0xa8)
[  472.480745] Exception stack(0xc1201f40 to 0xc1201f88)
[  472.485825] 1f40: 00000000 0004e02c e765e074 c011b7c0 00000000 c1200000 c1204ea8 c1204ee8
[  472.494045] 1f60: 00000001 c116ea40 e7fffc80 00000000 00000000 c1201f90 c010a1c8 c010a1cc
[  472.502262] 1f80: 60000013 ffffffff
[  472.505772] [<c0101a8c>] (__irq_svc) from [<c010a1cc>] (arch_cpu_idle+0x38/0x3c)
[  472.513205] [<c010a1cc>] (arch_cpu_idle) from [<c01584f0>] (do_idle+0xc4/0x14c)
[  472.520553] [<c01584f0>] (do_idle) from [<c0158864>] (cpu_startup_entry+0x18/0x1c)
[  472.528162] [<c0158864>] (cpu_startup_entry) from [<c1100f10>] (start_kernel+0x4bc/0x4f4)
[  472.536383] [<c1100f10>] (start_kernel) from [<00000000>] (0x0)
[  472.542334] ---[ end Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(2,0) ]---

请问一下各位应该怎么解决这个问题?

最佳答案

查看完整内容[请看2#楼]

STM32MP157嵌入式Linux驱动开发指南 V1. 6中第18.3 根文件系统初步测试章节有详细的说明,参照里面的解决方案进行就可以了
正点原子逻辑分析仪DL16劲爆上市
回复

使用道具 举报

19

主题

136

帖子

0

精华

金牌会员

Rank: 6Rank: 6

积分
1056
金钱
1056
注册时间
2020-6-4
在线时间
95 小时
发表于 2021-12-23 09:43:52 | 显示全部楼层
STM32MP157嵌入式Linux驱动开发指南 V1. 6中第18.3 根文件系统初步测试章节有详细的说明,参照里面的解决方案进行就可以了
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则



关闭

原子哥极力推荐上一条 /2 下一条

正点原子公众号

QQ|手机版|OpenEdv-开源电子网 ( 粤ICP备12000418号-1 )

GMT+8, 2024-11-22 10:16

Powered by OpenEdv-开源电子网

© 2001-2030 OpenEdv-开源电子网

快速回复 返回顶部 返回列表