OpenEdv-开源电子网

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

STM32MP157烧录教程系统镜像buildroot-2020.06-rootfs后不能进入根文件系统

[复制链接]

0

主题

6

帖子

0

精华

新手上路

积分
37
金钱
37
注册时间
2018-11-2
在线时间
12 小时
发表于 2022-1-18 20:59:26 | 显示全部楼层 |阅读模式
1金钱
本帖最后由 lyshlzh8888 于 2022-1-18 21:27 编辑

采用 出厂的设备树和uImage,教程系统镜像中的根文件系统 buildroot-2020.06-rootfs
用NFS挂载根文件系统时,linux启动后可正常进入根文件系统
但是,使用 STM32CubeProgrammer 软件将根文件系统烧写到 EMMC 里面后,linux启动后不能进入根文件系统,报以下错误,请协助解决问题

设置 ARCH 和 CROSS_COMPILE 分别为:   
    ARCH=arm
    CROSS_COMPILE= arm-nonelinux-gnueabihf-
   设备树 和 uImage,均采用以上编译器编译的

设置 bootcmd 和 bootargs 这两个环境变量,命令如下:
        setenv bootcmd 'ext4load mmc 1:2 c2000000 uImage;ext4load mmc 1:2 c4000000 stm32mp157d-atk.dtb;bootm c2000000 - c4000000'
        setenv bootargs 'console=ttySTM0,115200 root=/dev/mmcblk1p3 rootwait rw'


错误如下:U-Boot 2020.01-stm32mp-r1 (Jan 16 2022 - 23:15:24 +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  = 02
Hit any key to stop autoboot:  0
8324096 bytes read in 213 ms (37.3 MiB/s)
74988 bytes read in 29 ms (2.5 MiB/s)
## Booting kernel from Legacy Image at c2000000 ...
   Image Name:   Linux-5.4.31
   Created:      2022-01-18  10:45:13 UTC
   Image Type:   ARM Linux Kernel Image (uncompressed)
   Data Size:    8324032 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 (lysh@stm32mp157) (gcc version 9.2.1 20191025 (GNU Toolchain for the A-profile Architecture 9.2-2019.12 (arm-9.10))) #1 SMP PREEMPT Tue Jan 18 18:40:51 CST 2022
[    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 root=/dev/mmcblk1p3 rootwait rw
[    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.000007] sched_clock: 56 bits at 24MHz, resolution 41ns, wraps every 4398046511097ns
[    0.000022] Switching to timer-based delay loop, resolution 41ns
[    0.001627] Console: colour dummy device 80x30
[    0.001680] Calibrating delay loop (skipped), value calculated using timer frequency.. 48.00 BogoMIPS (lpj=240000)
[    0.001699] pid_max: default: 32768 minimum: 301
[    0.001935] Mount-cache hash table entries: 2048 (order: 1, 8192 bytes, linear)
[    0.001960] Mountpoint-cache hash table entries: 2048 (order: 1, 8192 bytes, linear)
[    0.003156] CPU: Testing write buffer coherency: ok
[    0.003654] /cpus/cpu@0 missing clock-frequency property
[    0.003684] /cpus/cpu@1 missing clock-frequency property
[    0.003704] CPU0: thread -1, cpu 0, socket 0, mpidr 80000000
[    0.059816] Setting up static identity map for 0xc0100000 - 0xc0100060
[    0.079797] rcu: Hierarchical SRCU implementation.
[    0.104559] smp: Bringing up secondary CPUs ...
[    0.180390] CPU1: thread -1, cpu 1, socket 0, mpidr 80000001
[    0.180597] smp: Brought up 1 node, 2 CPUs
[    0.180618] SMP: Total of 2 processors activated (96.00 BogoMIPS).
[    0.180627] CPU: All CPU(s) started in SVC mode.
[    0.181447] devtmpfs: initialized
[    0.207528] VFP support v0.3: implementor 41 architecture 2 part 30 variant 7 rev 5
[    0.208104] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[    0.208135] futex hash table entries: 512 (order: 3, 32768 bytes, linear)
[    0.214229] pinctrl core: initialized pinctrl subsystem
[    0.216377] NET: Registered protocol family 16
[    0.222760] DMA: preallocated 256 KiB pool for atomic coherent allocations
[    0.225070] hw-breakpoint: found 5 (+1 reserved) breakpoint and 4 watchpoint registers.
[    0.225091] hw-breakpoint: maximum watchpoint size is 8 bytes.
[    0.225482] Serial: AMBA PL011 UART driver
[    0.228300] stm32-pm-domain pm_domain: domain core-ret-power-domain registered
[    0.228349] stm32-pm-domain pm_domain: subdomain core-power-domain registered
[    0.228365] stm32-pm-domain pm_domain: domains probed
[    0.275616] reg-fixed-voltage buck1: Fixed regulator specified with variable voltages
[    0.275656] reg-fixed-voltage: probe of buck1 failed with error -22
[    0.282705] SCSI subsystem initialized
[    0.283472] usbcore: registered new interface driver usbfs
[    0.283561] usbcore: registered new interface driver hub
[    0.283691] usbcore: registered new device driver usb
[    0.284043] pps_core: LinuxPPS API ver. 1 registered
[    0.284055] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
[    0.284083] PTP clock support registered
[    0.284469] EDAC MC: Ver: 3.0.0
[    0.285750] Advanced Linux Sound Architecture Driver Initialized.
[    0.286581] Bluetooth: Core ver 2.22
[    0.286658] NET: Registered protocol family 31
[    0.286671] Bluetooth: HCI device and connection manager initialized
[    0.286691] Bluetooth: HCI socket layer initialized
[    0.286708] Bluetooth: L2CAP socket layer initialized
[    0.286740] Bluetooth: SCO socket layer initialized
[    0.287583] clocksource: Switched to clocksource arch_sys_counter
[    0.934513] thermal_sys: Registered thermal governor 'step_wise'
[    0.935124] NET: Registered protocol family 2
[    0.936145] tcp_listen_portaddr_hash hash table entries: 512 (order: 0, 6144 bytes, linear)
[    0.936197] TCP established hash table entries: 8192 (order: 3, 32768 bytes, linear)
[    0.936293] TCP bind hash table entries: 8192 (order: 4, 65536 bytes, linear)
[    0.936440] TCP: Hash tables configured (established 8192 bind 8192)
[    0.936608] UDP hash table entries: 512 (order: 2, 16384 bytes, linear)
[    0.936672] UDP-Lite hash table entries: 512 (order: 2, 16384 bytes, linear)
[    0.936981] NET: Registered protocol family 1
[    0.937955] RPC: Registered named UNIX socket transport module.
[    0.937976] RPC: Registered udp transport module.
[    0.937986] RPC: Registered tcp transport module.
[    0.937995] RPC: Registered tcp NFSv4.1 backchannel transport module.
[    0.939702] hw perfevents: enabled with armv7_cortex_a7 PMU driver, 5 counters available
[    0.941712] Initialise system trusted keyrings
[    0.942077] workingset: timestamp_bits=14 max_order=18 bucket_order=4
[    0.953131] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[    0.964386] NFS: Registering the id_resolver key type
[    0.964432] Key type id_resolver registered
[    0.964444] Key type id_legacy registered
[    0.964463] Installing knfsd (copyright (C) 1996 [url=mailtokir@monad.swb.de]okir@monad.swb.de[/url]).
[    0.966073] ntfs: driver 2.1.32 [Flags: R/O].
[    0.966535] jffs2: version 2.2. (NAND) &#169; 2001-2006 Red Hat, Inc.
[    0.967279] fuse: init (API version 7.31)
[    1.016816] NET: Registered protocol family 38
[    1.016844] Key type asymmetric registered
[    1.016855] Asymmetric key parser 'x509' registered
[    1.016943] bounce: pool size: 64 pages
[    1.017024] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 246)
[    1.017038] io scheduler mq-deadline registered
[    1.017048] io scheduler kyber registered
[    1.028603] STM32 USART driver initialized
[    1.034658] panel-simple panel-rgb: panel-rgb supply power not found, using dummy regulator
[    1.049766] brd: module loaded
[    1.062886] loop: module loaded
[    1.069097] libphy: Fixed MDIO Bus: probed
[    1.070968] CAN device driver interface
[    1.073504] PPP generic driver version 2.4.2
[    1.073820] PPP BSD Compression module registered
[    1.073834] PPP Deflate Compression module registered
[    1.073858] PPP MPPE Compression module registered
[    1.073869] NET: Registered protocol family 24
[    1.073910] pegasus: v0.9.3 (2013/04/25), Pegasus/Pegasus II USB Ethernet driver
[    1.074010] usbcore: registered new interface driver pegasus
[    1.074103] usbcore: registered new interface driver asix
[    1.074158] usbcore: registered new interface driver ax88179_178a
[    1.074207] usbcore: registered new interface driver cdc_ether
[    1.074272] usbcore: registered new interface driver smsc75xx
[    1.074339] usbcore: registered new interface driver smsc95xx
[    1.074407] usbcore: registered new interface driver net1080
[    1.074465] usbcore: registered new interface driver cdc_subset
[    1.074514] usbcore: registered new interface driver zaurus
[    1.074589] usbcore: registered new interface driver cdc_ncm
[    1.076172] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[    1.076227] ehci-platform: EHCI generic platform driver
[    1.076743] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
[    1.076780] ohci-platform: OHCI generic platform driver
[    1.077743] usbcore: registered new interface driver cdc_acm
[    1.077757] cdc_acm: USB Abstract Control Model driver for USB modems and ISDN adapters
[    1.077834] usbcore: registered new interface driver usb-storage
[    1.077983] usbcore: registered new interface driver option
[    1.078032] usbserial: USB Serial support registered for GSM modem (1-port)
[    1.081089] mousedev: PS/2 mouse device common for all mice
[    1.083328] i2c /dev entries driver
[    1.087703] Bluetooth: HCI UART driver ver 2.3
[    1.087725] Bluetooth: HCI UART protocol H4 registered
[    1.087790] Bluetooth: HCI UART protocol Three-wire (H5) registered
[    1.087945] Bluetooth: HCI UART protocol Broadcom registered
[    1.088027] usbcore: registered new interface driver btusb
[    1.088676] stm32-cpufreq stm32-cpufreq: Failed to get chip info: -517
[    1.092338] sdhci: Secure Digital Host Controller Interface driver
[    1.092355] sdhci: Copyright(c) Pierre Ossman
[    1.092365] Synopsys Designware Multimedia Card Interface Driver
[    1.092969] sdhci-pltfm: SDHCI platform and OF driver helper
[    1.094253] ledtrig-cpu: registered to indicate activity on CPUs
[    1.096573] usbcore: registered new interface driver usbhid
[    1.096590] usbhid: USB HID core driver
[    1.096934] arm-smc-mbox mailbox-0: ARM SMC mailbox enabled.
[    1.097054] arm-smc-mbox mailbox-1: ARM SMC mailbox enabled.
[    1.108841] remoteproc remoteproc0: releasing m4
[    1.112052] Unable to get STM32 DDR PMU clock
[    1.117334] drop_monitor: Initializing network drop monitor service
[    1.117735] NET: Registered protocol family 17
[    1.117770] can: controller area network core (rev 20170425 abi 9)
[    1.117894] NET: Registered protocol family 29
[    1.117910] can: raw protocol (rev 20170425)
[    1.117921] can: broadcast manager protocol (rev 20170425 t)
[    1.117940] can: netlink gateway (rev 20190810) max_hops=1
[    1.118437] Bluetooth: RFCOMM TTY layer initialized
[    1.118469] Bluetooth: RFCOMM socket layer initialized
[    1.118517] Bluetooth: RFCOMM ver 1.11
[    1.119081] Key type dns_resolver registered
[    1.119248] ThumbEE CPU extension supported.
[    1.119273] Registering SWP/SWPB emulation handler
[    1.119721] registered taskstats version 1
[    1.119736] Loading compiled-in X.509 certificates
[    1.129581] Loaded X.509 cert 'Build time autogenerated kernel key: 35e93857b5b3c11d8e8d7ed475f8febf16b69557'
[    1.145256] panel-simple panel-rgb: panel-rgb supply power not found, using dummy regulator
[    1.155251] arm-scmi firmware:scmi-0: SCMI Protocol v2.0 'ST:' Firmware version 0x0
[    1.159505] remoteproc remoteproc0: releasing m4
[    1.161448] Unable to get STM32 DDR PMU clock
[    1.177107] panel-simple panel-rgb: panel-rgb supply power not found, using dummy regulator
[    1.185634] debugfs: Directory 'cpu0' with parent 'opp' already present!
[    1.193994] remoteproc remoteproc0: releasing m4
[    1.195950] Unable to get STM32 DDR PMU clock
[    1.232670] stm32-mdma 58000000.dma: STM32 MDMA driver registered
[    1.236611] stm32-dma 48000000.dma: STM32 DMA driver registered
[    1.238765] stm32-dma 48001000.dma: STM32 DMA driver registered
[    1.239401] reg11: supplied by vdd
[    1.239799] reg18: supplied by vdd
[    1.240154] usb33: supplied by regulator-dummy
[    1.244985] panel-simple panel-rgb: panel-rgb supply power not found, using dummy regulator
[    1.258010] stm_thermal 50028000.thermal: stm_thermal_probe: Driver initialized successfully
[    1.260767] debugfs: Directory 'cpu0' with parent 'opp' already present!
[    1.264657] stm32-crc32 58009000.crc: Initialized
[    1.265917] random: fast init done
[    1.266233] stm32-hash 54002000.hash: will run requests pump with realtime priority
[    1.270554] random: crng init done
[    1.270763] stm32-hash 54002000.hash: Init HASH done HW ver 23 DMA mode 1
[    1.282979] remoteproc remoteproc0: releasing m4
[    1.285287] stm32-ddr-pmu: probed (ID=0x00140061 VER=0x00000010), DDR@533MHz
[    1.290423] /soc/interrupt-controller@5000d000: bank0
[    1.290445] /soc/interrupt-controller@5000d000: bank1
[    1.290458] /soc/interrupt-controller@5000d000: bank2
[    1.292510] stm32mp157-pinctrl soc:pin-controller@50002000: GPIOA bank added
[    1.292992] stm32mp157-pinctrl soc:pin-controller@50002000: GPIOB bank added
[    1.293428] stm32mp157-pinctrl soc:pin-controller@50002000: GPIOC bank added
[    1.293861] stm32mp157-pinctrl soc:pin-controller@50002000: GPIOD bank added
[    1.294257] stm32mp157-pinctrl soc:pin-controller@50002000: GPIOE bank added
[    1.294661] stm32mp157-pinctrl soc:pin-controller@50002000: GPIOF bank added
[    1.295081] stm32mp157-pinctrl soc:pin-controller@50002000: GPIOG bank added
[    1.295495] stm32mp157-pinctrl soc:pin-controller@50002000: GPIOH bank added
[    1.295910] stm32mp157-pinctrl soc:pin-controller@50002000: GPIOI bank added
[    1.296316] stm32mp157-pinctrl soc:pin-controller@50002000: GPIOJ bank added
[    1.296745] stm32mp157-pinctrl soc:pin-controller@50002000: GPIOK bank added
[    1.296999] stm32mp157-pinctrl soc:pin-controller@50002000: Pinctrl STM32 initialized
[    1.298085] stm32mp157-pinctrl soc:pin-controller-z@54004000: GPIOZ bank added
[    1.298115] stm32mp157-pinctrl soc:pin-controller-z@54004000: Pinctrl STM32 initialized
[    1.299493] stm32-usbphyc 5a006000.usbphyc: registered rev:1.0
[    1.301493] stm32-usart 4000f000.serial: interrupt mode for rx (no dma)
[    1.301516] stm32-usart 4000f000.serial: interrupt mode for tx (no dma)
[    1.301553] 4000f000.serial: ttySTM1 at MMIO 0x4000f000 (irq = 61, base_baud = 4000000) is a stm32-usart
[    1.303214] stm32-usart 40010000.serial: interrupt mode for rx (no dma)
[    1.303236] stm32-usart 40010000.serial: interrupt mode for tx (no dma)
[    1.303268] 40010000.serial: ttySTM0 at MMIO 0x40010000 (irq = 62, base_baud = 4000000) is a stm32-usart
[    2.712963] printk: console [ttySTM0] enabled
[    2.718947] stm32-usart 40011000.serial: interrupt mode for rx (no dma)
[    2.724110] stm32-usart 40011000.serial: interrupt mode for tx (no dma)
[    2.730821] 40011000.serial: ttySTM2 at MMIO 0x40011000 (irq = 63, base_baud = 4000000) is a stm32-usart
[    2.741876] stm32-usart 40018000.serial: interrupt mode for rx (no dma)
[    2.747041] stm32-usart 40018000.serial: interrupt mode for tx (no dma)
[    2.753763] 40018000.serial: ttySTM3 at MMIO 0x40018000 (irq = 64, base_baud = 4000000) is a stm32-usart
[    2.768347] panel-simple panel-rgb: panel-rgb supply power not found, using dummy regulator
[    2.778308] m_can_platform 4400e000.can: m_can_platform device registered (irq=58, version=32)
[    2.787178] stm32-dwmac 5800a000.ethernet: PTP uses main clock
[    2.791607] stm32-dwmac 5800a000.ethernet: no reset control found
[    2.797725] stm32-dwmac 5800a000.ethernet: No phy clock provided...
[    2.804525] stm32-dwmac 5800a000.ethernet: User ID: 0x40, Synopsys ID: 0x42
[    2.810960] stm32-dwmac 5800a000.ethernet:   DWMAC4/5
[    2.815847] stm32-dwmac 5800a000.ethernet: DMA HW capability register supported
[    2.823236] stm32-dwmac 5800a000.ethernet: RX Checksum Offload Engine supported
[    2.830496] stm32-dwmac 5800a000.ethernet: TX Checksum insertion supported
[    2.837351] stm32-dwmac 5800a000.ethernet: Wake-Up On Lan supported
[    2.843640] stm32-dwmac 5800a000.ethernet: TSO supported
[    2.848948] stm32-dwmac 5800a000.ethernet: Enable RX Mitigation via HW Watchdog Timer
[    2.856771] stm32-dwmac 5800a000.ethernet: TSO feature enabled
[    2.862909] libphy: stmmac: probed
[    2.868768] dwc2 49000000.usb-otg: 49000000.usb-otg supply vusb_d not found, using dummy regulator
[    2.876411] dwc2 49000000.usb-otg: 49000000.usb-otg supply vusb_a not found, using dummy regulator
[    3.018092] dwc2 49000000.usb-otg: EPs: 9, dedicated fifos, 952 entries in SPRAM
[    3.025732] dwc2 49000000.usb-otg: DWC OTG Controller
[    3.029493] dwc2 49000000.usb-otg: new USB bus registered, assigned bus number 1
[    3.036849] dwc2 49000000.usb-otg: irq 66, io mem 0x49000000
[    3.044072] hub 1-0:1.0: USB hub found
[    3.046429] hub 1-0:1.0: 1 port detected
[    3.051997] ehci-platform 5800d000.usbh-ehci: EHCI Host Controller
[    3.056752] ehci-platform 5800d000.usbh-ehci: new USB bus registered, assigned bus number 2
[    3.065576] ehci-platform 5800d000.usbh-ehci: irq 67, io mem 0x5800d000
[    3.097839] ehci-platform 5800d000.usbh-ehci: USB 2.0 started, EHCI 1.00
[    3.105131] hub 2-0:1.0: USB hub found
[    3.107521] hub 2-0:1.0: 2 ports detected
[    3.145995] stm32f7-i2c 40012000.i2c: doesn't use DMA
[    3.151727] typec_stusb 0-0028: Failed to get port caps: -6
[    3.158359] fusb302 0-0022: Can't get property of role, set role to default DRP
[    3.171537] fusb302 0-0022: port 0 probe success with role ROLE_MODE_DRP, try_role ROLE_MODE_NONE
[    3.179206] stm32f7-i2c 40012000.i2c: STM32F7 I2C-0 bus adapter
[    3.202601] stm32f7-i2c 40013000.i2c: doesn't use DMA
[    3.411770] fusb302 0-0022: CC connected in CC1 as UFP
[    3.477704] usb 2-1: new high-speed USB device number 2 using ehci-platform
[    3.531311] input: generic ft5x06 (82) as /devices/platform/soc/40013000.i2c/i2c-1/1-0038/input/input0
[    3.539513] hub 2-1:1.0: USB hub found
[    3.543276] hub 2-1:1.0: 7 ports detected
[    3.548395] irq: type mismatch, failed to map hwirq-1 for gpio@5000a000!
[    3.553714] Goodix-TS 1-0014: 1-0014 supply AVDD28 not found, using dummy regulator
[    3.561639] Goodix-TS 1-0014: 1-0014 supply VDDIO not found, using dummy regulator
[    3.570005] Goodix-TS: probe of 1-0014 failed with error -16
[    3.574797] stm32f7-i2c 40013000.i2c: STM32F7 I2C-1 bus adapter
[    3.598062] stm32f7-i2c 40015000.i2c: doesn't use DMA
[    3.603048] stm32f7-i2c 40015000.i2c: STM32F7 I2C-2 bus adapter
[    3.624745] stm32f7-i2c 5c002000.i2c: doesn't use DMA
[    3.634776] rtc-pcf8563 3-0051: registered as rtc0
[    3.640163] stm32f7-i2c 5c002000.i2c: STM32F7 I2C-3 bus adapter
[    3.646016] mmci-pl18x 48004000.sdmmc: mmc0: PL180 manf 53 rev1 at 0x48004000 irq 45,0 (pio)
[    3.678921] mmci-pl18x 58005000.sdmmc: mmc1: PL180 manf 53 rev2 at 0x58005000 irq 53,0 (pio)
[    3.693416] mmci-pl18x 48004000.sdmmc: card claims to support voltages below defined range
[    3.715148] mmci-pl18x 58007000.sdmmc: mmc2: PL180 manf 53 rev2 at 0x58007000 irq 54,0 (pio)
[    3.724231] mmc0: new high speed SDIO card at address 0001
[    3.758856] stm32-ipcc 4c001000.mailbox: ipcc rev:1.0 enabled, 6 chans, proc 0
[    3.768625] stm32-rproc mlahb:m4@10000000: wdg irq registered
[    3.774045] remoteproc remoteproc0: m4 is available


mmc1: host does not support reading read-only switch, assuming write-enable
[    3.795301] mmc1: new high speed SDHC card at address 59b4
[    3.801537] mmcblk1: mmc1:59b4 SD32G 29.1 GiB
[    3.819838]  mmcblk1: p1
[    3.825970] st,stm32-i2s 4000b000.audio-controller: No cache defaults, reading back from HW
[    3.836188] st,stm32-spdifrx 4000d000.audio-controller: No cache defaults, reading back from HW
[    3.849672] panel-simple panel-rgb: panel-rgb supply power not found, using dummy regulator
[    3.861927] mmc2: switch to bus width 8 failed
[    3.865000] cs42l51 3-004a: Cirrus Logic CS42L51, Revision: 00
[    3.874282] mmc2: new high speed MMC card at address 0001
[    3.879706] mmcblk2: mmc2:0001 8GTF4R 7.28 GiB
[    3.883395] mmcblk2boot0: mmc2:0001 8GTF4R partition 1 4.00 MiB
[    3.890304] mmcblk2boot1: mmc2:0001 8GTF4R partition 2 4.00 MiB
[    3.895656] asoc-audio-graph-card sound: cs42l51-hifi <-> 4400b004.audio-controller mapping ok
[    3.903564] usb 2-1.4: new high-speed USB device number 3 using ehci-platform
[    3.910692] mmcblk2rpmb: mmc2:0001 8GTF4R partition 3 512 KiB, chardev (242:0)
[    3.919057] asoc-audio-graph-card sound: cs42l51-hifi <-> 4400b024.audio-controller mapping ok
[    3.929540] asoc-audio-graph-card sound: dir-hifi <-> 4000d000.audio-controller mapping ok
[    3.940623]  mmcblk2: p1 p2 p3
[    4.067673] usb 2-1.7: new high-speed USB device number 4 using ehci-platform
[    4.134606] idVendor=19d2, idProduct=1476, bInterfaceNumber =0
[    4.139296] option 2-1.7:1.0: GSM modem (1-port) converter detected
[    4.146251] usb 2-1.7: GSM modem (1-port) converter now attached to ttyUSB0
[    4.153272] idVendor=19d2, idProduct=1476, bInterfaceNumber =1
[    4.158351] option 2-1.7:1.1: GSM modem (1-port) converter detected
[    4.165296] usb 2-1.7: GSM modem (1-port) converter now attached to ttyUSB1
[    4.172072] idVendor=19d2, idProduct=1476, bInterfaceNumber =2
[    4.177392] option 2-1.7:1.2: GSM modem (1-port) converter detected
[    4.189003] usb 2-1.7: GSM modem (1-port) converter now attached to ttyUSB2
[    4.195195] [drm] Supports vblank timestamp caching Rev 2 (21.10.2013).
[    4.201548] [drm] Driver supports precise vblank timestamp query.
[    4.208440] [drm] Initialized stm 1.0.0 20170330 for 5a001000.display-controller on minor 0


cdc_ether 2-1.7:1.3 usb0: register 'cdc_ether' at usb-5800d000.usbh-ehci-1.7, ZTE CDC Ethernet Device, 36:39:98:31:84:e2
[    4.276578] Console: switching to colour frame buffer device 128x37
[    4.296066] stm32-display 5a001000.display-controller: fb0: stmdrmfb frame buffer device
[    4.307420] input: gpio-keys as /devices/platform/gpio-keys/input/input1
[    4.315247] rtc-pcf8563 3-0051: setting system clock to 2022-01-18T12:38:52 UTC (1642509532)
[    4.323168] cfg80211: Loading compiled-in X.509 certificates for regulatory database
[    4.332676] cfg80211: Loaded X.509 cert 'sforshee: 00b28ddf47aef9cea7'
[    4.338011] platform regulatory.0: Direct firmware load for regulatory.db failed with error -2
[    4.346374] cfg80211: failed to load regulatory.db


ALSA device list:
[    4.354148]   #0: STM32MP1-DK
[    4.359116] VFS: Cannot open root device "mmcblk1p3" or unknown-block(179,3): error -6
[    4.365579] Please append a correct "root=" boot option; here are the available partitions:
[    4.374093] 0100           65536 ram0
[    4.374098]  (driver?)
[    4.380042] 0101           65536 ram1
[    4.380045]  (driver?)
[    4.386134] 0102           65536 ram2
[    4.386137]  (driver?)
[    4.392232] 0103           65536 ram3
[    4.392235]  (driver?)
[    4.398360] 0104           65536 ram4
[    4.398363]  (driver?)
[    4.404419] 0105           65536 ram5
[    4.404422]  (driver?)
[    4.410516] 0106           65536 ram6
[    4.410519]  (driver?)
[    4.416608] 0107           65536 ram7
[    4.416611]  (driver?)
[    4.422705] 0108           65536 ram8
[    4.422708]  (driver?)
[    4.428821] 0109           65536 ram9
[    4.428824]  (driver?)
[    4.434893] 010a           65536 ram10
[    4.434895]  (driver?)
[    4.441122] 010b           65536 ram11
[    4.441126]  (driver?)
[    4.447260] 010c           65536 ram12
[    4.447263]  (driver?)
[    4.453444] 010d           65536 ram13
[    4.453447]  (driver?)
[    4.459714] 010e           65536 ram14
[    4.459717]  (driver?)
[    4.465805] 010f           65536 ram15
[    4.465808]  (driver?)
[    4.471996] b300        30534656 mmcblk1
[    4.472000]  driver: mmcblk
[    4.478802]   b301        30530560 mmcblk1p1 00000000-01
[    4.478805]
[    4.485573] b310         7634944 mmcblk2
[    4.485577]  driver: mmcblk
[    4.492389]   b311            2048 mmcblk2p1 15aa74e5-ce73-4076-8a7e-b869bab240aa
[    4.492392]
[    4.501333]   b312           65536 mmcblk2p2 f33966f1-3f19-40fd-8446-87304fffa2d2
[    4.501336]
[    4.510302]   b313         7566336 mmcblk2p3 491f6117-415d-4f53-88c9-6e0de54deac6
[    4.510305]
[    4.519296] Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(179,3)
[    4.527715] CPU: 1 PID: 1 Comm: swapper/0 Not tainted 5.4.31 #1
[    4.533630] Hardware name: STM32 (Device Tree Support)
[    4.538800] [<c0112518>] (unwind_backtrace) from [<c010d7a0>] (show_stack+0x10/0x14)
[    4.546531] [<c010d7a0>] (show_stack) from [<c0ca9574>] (dump_stack+0xb0/0xc4)
[    4.553757] [<c0ca9574>] (dump_stack) from [<c0125bd0>] (panic+0x11c/0x31c)
[    4.560724] [<c0125bd0>] (panic) from [<c1101594>] (mount_block_root+0x1cc/0x27c)
[    4.568209] [<c1101594>] (mount_block_root) from [<c11018b0>] (mount_root+0x124/0x148)
[    4.576134] [<c11018b0>] (mount_root) from [<c1101a54>] (prepare_namespace+0x180/0x1c4)
[    4.584145] [<c1101a54>] (prepare_namespace) from [<c0cc0c58>] (kernel_init+0x8/0x110)
[    4.592068] [<c0cc0c58>] (kernel_init) from [<c01010e8>] (ret_from_fork+0x14/0x2c)
[    4.599636] Exception stack(0xe689bfb0 to 0xe689bff8)
[    4.604689] bfa0:                                     00000000 00000000 00000000 00000000
[    4.612877] bfc0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[    4.621060] bfe0: 00000000 00000000 00000000 00000000 00000013 00000000
[    4.627688] CPU0: stopping
[    4.630378] CPU: 0 PID: 0 Comm: swapper/0 Not tainted 5.4.31 #1
[    4.636294] Hardware name: STM32 (Device Tree Support)
[    4.641446] [<c0112518>] (unwind_backtrace) from [<c010d7a0>] (show_stack+0x10/0x14)
[    4.649193] [<c010d7a0>] (show_stack) from [<c0ca9574>] (dump_stack+0xb0/0xc4)
[    4.656421] [<c0ca9574>] (dump_stack) from [<c0110f50>] (handle_IPI+0x41c/0x448)
[    4.663824] [<c0110f50>] (handle_IPI) from [<c05af55c>] (gic_handle_irq+0x8c/0x90)
[    4.671399] [<c05af55c>] (gic_handle_irq) from [<c0101a8c>] (__irq_svc+0x6c/0xa8)
[    4.678879] Exception stack(0xc1201f40 to 0xc1201f88)
[    4.683935] 1f40: 00000000 00004510 e765e074 c011b7c0 00000000 c1200000 c1204ea8 c1204ee8
[    4.692120] 1f60: 00000001 c116ea40 e7fffdc0 00000000 00000000 c1201f90 c010a1c8 c010a1cc
[    4.700299] 1f80: 60000013 ffffffff
[    4.703790] [<c0101a8c>] (__irq_svc) from [<c010a1cc>] (arch_cpu_idle+0x38/0x3c)
[    4.711194] [<c010a1cc>] (arch_cpu_idle) from [<c0158568>] (do_idle+0xc4/0x14c)
[    4.718504] [<c0158568>] (do_idle) from [<c01588dc>] (cpu_startup_entry+0x18/0x1c)
[    4.726079] [<c01588dc>] (cpu_startup_entry) from [<c1100f10>] (start_kernel+0x4bc/0x4f4)
[    4.734263] [<c1100f10>] (start_kernel) from [<00000000>] (0x0)
[    4.740187] ---[ end Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(179,3) ]---




正点原子逻辑分析仪DL16劲爆上市
回复

使用道具 举报

4

主题

67

帖子

0

精华

金牌会员

Rank: 6Rank: 6

积分
1011
金钱
1011
注册时间
2021-5-25
在线时间
185 小时
发表于 2022-1-20 16:23:08 | 显示全部楼层
内核恐慌了,说明你 文件系统并没有烧写进去,也就是说烧写的分区不对,出厂默认的分区为/dev/mmcblk2p3,你写错命令了。改一下应该就可以了
回复

使用道具 举报

0

主题

6

帖子

0

精华

新手上路

积分
37
金钱
37
注册时间
2018-11-2
在线时间
12 小时
 楼主| 发表于 2022-2-1 00:32:45 | 显示全部楼层
lgs鸽 发表于 2022-1-20 16:23
内核恐慌了,说明你 文件系统并没有烧写进去,也就是说烧写的分区不对,出厂默认的分区为/dev/mmcblk2p3, ...

谢谢帮忙,解决啦
回复

使用道具 举报

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

本版积分规则



关闭

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

正点原子公众号

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

GMT+8, 2024-11-22 11:34

Powered by OpenEdv-开源电子网

© 2001-2030 OpenEdv-开源电子网

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