首先我从nfs已经成功把内核下载到0x80800000,把设备树下载到了0x83000000然后使用bootz 80800000 - 83000000成功启动内核后显示挂载内核系统失败,为什么会导致这个问题?
日志信息太少,看不出原因;大概率是 emmc 的文件系统异常,导致无法挂载;
我正常启动是可以的。我是在uboot里执行的命令,下面是我的实际操作
=> nfs 80800000 192.168.100.17:/home/book/nfs_rootfs/zImage
T T T #################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
###############T T T
done
Bytes transferred = 9059944 (8a3e68 hex)
=> nfs 80800000 192.168.100.17:/home/book/nfs_rootfs/zImage
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
###############
done
Bytes transferred = 9059944 (8a3e68 hex)
=> nfs 83000000 192.168.100.17:/home/book/nfs_rootfs/imx6ull-14x14-evk.dtb
########
done
Bytes transferred = 38012 (947c hex)
=> bootz 80800000 - 83000000
Kernel image @ 0x80800000 [ 0x000000 - 0x8a3e68 ]
Flattened Device Tree blob at 83000000
Booting using the fdt blob at 0x83000000
Using Device Tree in place at 83000000, end 8300c47b
ft_system_setup for mx6
Starting kernel …
[ 0.000000] Booting Linux on physical CPU 0x0
[ 0.000000] Linux version 5.4.47-00055-g5ec03d06f54e-dirty (book@100ask) (gcc version 6.2.1 20161016 (Linaro GCC 6.2-2016.11)) #1 SMP PREEMPT Sun Jan 8 03:49:39 EST 2023
[ 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: Freescale i.MX6 ULL 14x14 EVK Board
[ 0.000000] Memory policy: Data cache writealloc
[ 0.000000] Reserved memory: created CMA memory pool at 0x8c000000, size 320 MiB
[ 0.000000] OF: reserved mem: initialized node linux,cma, compatible id shared-dma-pool
[ 0.000000] percpu: Embedded 15 pages/cpu s32076 r8192 d21172 u61440
[ 0.000000] Built 1 zonelists, mobility grouping on. Total pages: 129920
[ 0.000000] Kernel command line: noinitrd console=ttymxc0,115200
[ 0.000000] Dentry cache hash table entries: 65536 (order: 6, 262144 bytes, linear)
[ 0.000000] Inode-cache hash table entries: 32768 (order: 5, 131072 bytes, linear)
[ 0.000000] mem auto-init: stack:off, heap alloc:off, heap free:off
[ 0.000000] Memory: 171296K/524288K available (12288K kernel code, 577K rwdata, 4232K rodata, 1024K init, 435K bss, 25312K reserved, 327680K cma-reserved, 0K highmem)
[ 0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
[ 0.000000] rcu: Preemptible hierarchical RCU implementation.
[ 0.000000] rcu: RCU restricting CPUs from NR_CPUS=4 to nr_cpu_ids=1.
[ 0.000000] 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=1
[ 0.000000] NR_IRQS: 16, nr_irqs: 16, preallocated irqs: 16
[ 0.000000] random: get_random_bytes called from start_kernel+0x2d8/0x488 with crng_init=0
[ 0.000000] Switching to timer-based delay loop, resolution 41ns
[ 0.000016] sched_clock: 32 bits at 24MHz, resolution 41ns, wraps every 89478484971ns
[ 0.000058] clocksource: mxc_timer1: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 79635851949 ns
[ 0.003029] Console: colour dummy device 80x30
[ 0.003104] Calibrating delay loop (skipped), value calculated using timer frequency… 48.00 BogoMIPS (lpj=240000)
[ 0.003137] pid_max: default: 32768 minimum: 301
[ 0.003510] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes, linear)
[ 0.003543] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes, linear)
[ 0.005272] CPU: Testing write buffer coherency: ok
[ 0.006012] CPU0: update cpu_capacity 1024
[ 0.006044] CPU0: thread -1, cpu 0, socket 0, mpidr 80000000
[ 0.060575] Setting up static identity map for 0x80100000 - 0x80100060
[ 0.080558] rcu: Hierarchical SRCU implementation.
[ 0.120727] smp: Bringing up secondary CPUs …
[ 0.120763] smp: Brought up 1 node, 1 CPU
[ 0.120784] SMP: Total of 1 processors activated (48.00 BogoMIPS).
[ 0.120802] CPU: All CPU(s) started in SVC mode.
[ 0.121712] devtmpfs: initialized
[ 0.134018] Duplicate name in lcdif@21c8000, renamed to “display#1”
[ 0.141137] VFP support v0.3: implementor 41 architecture 2 part 30 variant 7 rev 5
[ 0.142130] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[ 0.142180] futex hash table entries: 256 (order: 2, 16384 bytes, linear)
[ 0.167405] pinctrl core: initialized pinctrl subsystem
[ 0.169926] NET: Registered protocol family 16
[ 0.188116] DMA: preallocated 256 KiB pool for atomic coherent allocations
[ 0.190955] cpuidle: using governor menu
[ 0.209383] vdd3p0: supplied by regulator-dummy
[ 0.210785] cpu: supplied by regulator-dummy
[ 0.212275] vddsoc: supplied by regulator-dummy
[ 0.237232] No ATAGs?
[ 0.237371] hw-breakpoint: found 5 (+1 reserved) breakpoint and 4 watchpoint registers.
[ 0.237406] hw-breakpoint: maximum watchpoint size is 8 bytes.
[ 0.241708] imx6ul-pinctrl 20e0000.iomuxc: Invalid fsl,pins or pins property in node /soc/aips-bus@2000000/iomuxc@20e0000/imx6ul-evk/enet1grp
[ 0.241971] imx6ul-pinctrl 20e0000.iomuxc: initialized IMX pinctrl driver
[ 0.242899] imx6ul-pinctrl 2290000.iomuxc-snvs: initialized IMX pinctrl driver
[ 0.246072] imx mu driver is registered.
[ 0.247144] imx rpmsg driver is registered.
[ 0.337594] regulator@2 GPIO handle specifies active low - ignored
[ 0.339903] vgaarb: loaded
[ 0.341871] SCSI subsystem initialized
[ 0.343383] usbcore: registered new interface driver usbfs
[ 0.343542] usbcore: registered new interface driver hub
[ 0.343763] usbcore: registered new device driver usb
[ 0.346378] i2c i2c-0: IMX I2C adapter registered
[ 0.348798] i2c i2c-1: IMX I2C adapter registered
[ 0.349723] mc: Linux media interface: v0.10
[ 0.349846] videodev: Linux video capture interface: v2.00
[ 0.349989] pps_core: LinuxPPS API ver. 1 registered
[ 0.350009] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti giometti@linux.it
[ 0.350062] PTP clock support registered
[ 0.353250] MIPI CSI2 driver module loaded
[ 0.353388] Advanced Linux Sound Architecture Driver Initialized.
[ 0.355230] Bluetooth: Core ver 2.22
[ 0.355382] NET: Registered protocol family 31
[ 0.355406] Bluetooth: HCI device and connection manager initialized
[ 0.355442] Bluetooth: HCI socket layer initialized
[ 0.355469] Bluetooth: L2CAP socket layer initialized
[ 0.355527] Bluetooth: SCO socket layer initialized
[ 0.356649] clocksource: Switched to clocksource mxc_timer1
[ 0.357057] VFS: Disk quotas dquot_6.6.0
[ 0.357262] VFS: Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
[ 0.380210] thermal_sys: Registered thermal governor ‘step_wise’
[ 0.380848] NET: Registered protocol family 2
[ 0.382214] tcp_listen_portaddr_hash hash table entries: 512 (order: 0, 6144 bytes, linear)
[ 0.382306] TCP established hash table entries: 4096 (order: 2, 16384 bytes, linear)
[ 0.382436] TCP bind hash table entries: 4096 (order: 3, 32768 bytes, linear)
[ 0.382592] TCP: Hash tables configured (established 4096 bind 4096)
[ 0.382805] UDP hash table entries: 256 (order: 1, 8192 bytes, linear)
[ 0.382875] UDP-Lite hash table entries: 256 (order: 1, 8192 bytes, linear)
[ 0.383273] NET: Registered protocol family 1
[ 0.414838] RPC: Registered named UNIX socket transport module.
[ 0.414874] RPC: Registered udp transport module.
[ 0.414893] RPC: Registered tcp transport module.
[ 0.414908] RPC: Registered tcp NFSv4.1 backchannel transport module.
[ 0.426339] PCI: CLS 0 bytes, default 64
[ 0.427968] hw perfevents: enabled with armv7_cortex_a7 PMU driver, 5 counters available
[ 0.431903] Bus freq driver module loaded
[ 0.434407] Initialise system trusted keyrings
[ 0.434980] workingset: timestamp_bits=14 max_order=17 bucket_order=3
[ 0.462882] NFS: Registering the id_resolver key type
[ 0.462959] Key type id_resolver registered
[ 0.462978] Key type id_legacy registered
[ 0.463078] jffs2: version 2.2. (NAND) © 2001-2006 Red Hat, Inc.
[ 0.464337] fuse: init (API version 7.31)
[ 0.539652] Key type asymmetric registered
[ 0.539688] Asymmetric key parser ‘x509’ registered
[ 0.539754] io scheduler mq-deadline registered
[ 0.539775] io scheduler kyber registered
[ 0.560317] pwm-backlight backlight: backlight supply power not found, using dummy regulator
[ 0.564881] sii902x 1-0039: No reset pin found
[ 0.569495] mxsfb 21c8000.lcdif: 21c8000.lcdif supply lcd not found, using dummy regulator
[ 0.679273] sii902x bound to mxs-lcdif from 21c8000.lcdif
[ 0.704992] Console: switching to colour frame buffer device 128x37
[ 0.809399] mxsfb 21c8000.lcdif: initialized
[ 0.819298] imx-sdma 20ec000.sdma: Direct firmware load for imx/sdma/sdma-imx6q.bin failed with error -2
[ 0.819335] imx-sdma 20ec000.sdma: Falling back to sysfs fallback for: imx/sdma/sdma-imx6q.bin
[ 0.823595] mxs-dma 1804000.dma-apbh: initialized
[ 0.831357] 2020000.serial: ttymxc0 at MMIO 0x2020000 (irq = 23, base_baud = 5000000) is a IMX
[ 1.567292] printk: console [ttymxc0] enabled
[ 1.573895] imx-uart 21ec000.serial: no RTS control, disabling rs485
[ 1.580557] 21ec000.serial: ttymxc2 at MMIO 0x21ec000 (irq = 66, base_baud = 5000000) is a IMX
[ 1.591236] 21fc000.serial: ttymxc5 at MMIO 0x21fc000 (irq = 67, base_baud = 5000000) is a IMX
[ 1.635455] imx_rngc 2284000.rng: Freescale RNGC registered.
[ 1.641970] imx sema4 driver is registered.
[ 1.683909] brd: module loaded
[ 1.707512] loop: module loaded
[ 1.713332] imx ahci driver is registered.
[ 1.724477] gpio_spi@0 enforce active low on chipselect handle
[ 1.735021] spi_imx 2008000.spi: probed
[ 1.741239] spi_imx 2010000.spi: probed
[ 1.747546] libphy: Fixed MDIO Bus: probed
[ 1.753005] CAN device driver interface
[ 1.807582] pps pps0: new PPS source ptp0
[ 1.814708] libphy: fec_enet_mii_bus: probed
[ 1.833899] fec 20b4000.ethernet eth0: registered PHC device 0
[ 1.887467] pps pps1: new PPS source ptp1
[ 1.895735] fec 2188000.ethernet eth1: registered PHC device 1
[ 1.902493] e1000e: Intel(R) PRO/1000 Network Driver - 3.2.6-k
[ 1.908442] e1000e: Copyright(c) 1999 - 2015 Intel Corporation.
[ 1.915652] usbcore: registered new interface driver r8152
[ 1.921406] usbcore: registered new interface driver lan78xx
[ 1.927301] usbcore: registered new interface driver asix
[ 1.932826] usbcore: registered new interface driver ax88179_178a
[ 1.939234] usbcore: registered new interface driver cdc_ether
[ 1.945220] usbcore: registered new interface driver smsc95xx
[ 1.951159] usbcore: registered new interface driver net1080
[ 1.957095] usbcore: registered new interface driver cdc_subset
[ 1.963154] usbcore: registered new interface driver zaurus
[ 1.968920] usbcore: registered new interface driver MOSCHIP usb-ethernet driver
[ 1.976476] usbcore: registered new interface driver cdc_ncm
[ 1.982216] ehci_hcd: USB 2.0 ‘Enhanced’ Host Controller (EHCI) Driver
[ 1.988805] ehci-pci: EHCI PCI platform driver
[ 1.993374] ehci-mxc: Freescale On-Chip EHCI Host driver
[ 1.999628] usbcore: registered new interface driver usb-storage
[ 2.009957] imx_usb 2184000.usb: No over current polarity defined
[ 2.016234] imx_usb 2184000.usb: 2184000.usb supply vbus not found, using dummy regulator
[ 2.040660] mxs_phy 20c9000.usbphy: vbus is not valid
[ 2.058790] imx_usb 2184200.usb: 2184200.usb supply vbus not found, using dummy regulator
[ 2.071741] ci_hdrc ci_hdrc.1: EHCI Host Controller
[ 2.076847] ci_hdrc ci_hdrc.1: new USB bus registered, assigned bus number 1
[ 2.106834] ci_hdrc ci_hdrc.1: USB 2.0 started, EHCI 1.00
[ 2.112740] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 5.04
[ 2.121123] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[ 2.128416] usb usb1: Product: EHCI Host Controller
[ 2.133326] usb usb1: Manufacturer: Linux 5.4.47-00055-g5ec03d06f54e-dirty ehci_hcd
[ 2.141045] usb usb1: SerialNumber: ci_hdrc.1
[ 2.147166] hub 1-0:1.0: USB hub found
[ 2.151076] hub 1-0:1.0: 1 port detected
[ 2.171403] imx6ul-pinctrl 20e0000.iomuxc: pin MX6UL_PAD_GPIO1_IO01 already requested by 2010000.spi; cannot claim for 2040000.tsc
[ 2.183325] imx6ul-pinctrl 20e0000.iomuxc: pin-24 (2040000.tsc) status -22
[ 2.190291] imx6ul-pinctrl 20e0000.iomuxc: could not request pin 24 (MX6UL_PAD_GPIO1_IO01) from group tscgrp on device 20e0000.iomuxc
[ 2.202441] imx6ul-tsc 2040000.tsc: Error applying setting, reverse things back
[ 2.209849] imx6ul-tsc: probe of 2040000.tsc failed with error -22
[ 2.222932] snvs_rtc 20cc000.snvs:snvs-rtc-lp: registered as rtc0
[ 2.229913] i2c /dev entries driver
[ 2.237674] pxp-v4l2 pxp_v4l2: initialized
[ 2.247173] imx2-wdt 20bc000.wdog: timeout 60 sec (nowayout=0)
[ 2.254648] Bluetooth: HCI UART driver ver 2.3
[ 2.259489] Bluetooth: HCI UART protocol H4 registered
[ 2.264660] Bluetooth: HCI UART protocol BCSP registered
[ 2.270156] Bluetooth: HCI UART protocol LL registered
[ 2.275385] Bluetooth: HCI UART protocol Three-wire (H5) registered
[ 2.281796] Bluetooth: HCI UART protocol Marvell registered
[ 2.287579] usbcore: registered new interface driver btusb
[ 2.294931] sdhci: Secure Digital Host Controller Interface driver
[ 2.301247] sdhci: Copyright(c) Pierre Ossman
[ 2.305627] sdhci-pltfm: SDHCI platform and OF driver helper
[ 2.313626] sdhci-esdhc-imx 2190000.usdhc: Got CD GPIO
[ 2.350022] random: fast init done
[ 2.367296] mmc0: SDHCI controller on 2190000.usdhc [2190000.usdhc] using ADMA
[ 2.439460] mmc1: SDHCI controller on 2194000.usdhc [2194000.usdhc] using ADMA
[ 2.451340] caam-snvs 20cc000.caam-snvs: violation handlers armed - init state
[ 2.465536] usbcore: registered new interface driver usbhid
[ 2.471598] usbhid: USB HID core driver
[ 2.509044] fsl-sai 202c000.sai: failed to get mclk0 clock: -2
[ 2.516794] usb 1-1: new high-speed USB device number 2 using ci_hdrc
[ 2.534914] debugfs: Directory ‘202c000.sai’ with parent ‘wm8960-audio’ already present!
[ 2.545137] imx-wm8960 sound: wm8960-hifi <-> 202c000.sai mapping ok
[ 2.559736] imx-wm8960 sound: snd-soc-dummy-dai <-> 2034000.asrc mapping ok
[ 2.567019] mmc1: new DDR MMC card at address 0001
[ 2.573333] imx-wm8960 sound: wm8960-hifi <-> 202c000.sai mapping ok
[ 2.583797] mmcblk1: mmc1:0001 Q2J54A 3.64 GiB
[ 2.591466] mmcblk1boot0: mmc1:0001 Q2J54A partition 1 2.00 MiB
[ 2.598486] mmcblk1boot1: mmc1:0001 Q2J54A partition 2 2.00 MiB
[ 2.605266] mmcblk1rpmb: mmc1:0001 Q2J54A partition 3 512 KiB, chardev (244:0)
[ 2.626395] mmcblk1: p1 p2 p3
[ 2.717836] usb 1-1: New USB device found, idVendor=0424, idProduct=2514, bcdDevice= b.b3
[ 2.726116] usb 1-1: New USB device strings: Mfr=0, Product=0, SerialNumber=0
[ 2.741195] hub 1-1:1.0: USB hub found
[ 2.745305] NET: Registered protocol family 26
[ 2.750006] hub 1-1:1.0: 4 ports detected
[ 2.755849] NET: Registered protocol family 10
[ 2.775642] Segment Routing with IPv6
[ 2.779940] sit: IPv6, IPv4 and MPLS over IPv4 tunneling driver
[ 2.787861] NET: Registered protocol family 17
[ 2.792424] can: controller area network core (rev 20170425 abi 9)
[ 2.799005] NET: Registered protocol family 29
[ 2.803619] can: raw protocol (rev 20170425)
[ 2.808054] can: broadcast manager protocol (rev 20170425 t)
[ 2.813765] can: netlink gateway (rev 20190810) max_hops=1
[ 2.820079] Bluetooth: RFCOMM TTY layer initialized
[ 2.825231] Bluetooth: RFCOMM socket layer initialized
[ 2.830537] Bluetooth: RFCOMM ver 1.11
[ 2.834340] Bluetooth: BNEP (Ethernet Emulation) ver 1.3
[ 2.839812] Bluetooth: BNEP filters: protocol multicast
[ 2.845165] Bluetooth: BNEP socket layer initialized
[ 2.850273] Bluetooth: HIDP (Human Interface Emulation) ver 1.2
[ 2.856233] Bluetooth: HIDP socket layer initialized
[ 2.861418] lib80211: common routines for IEEE802.11 drivers
[ 2.867444] Key type dns_resolver registered
[ 2.880103] mmc0: host does not support reading read-only switch, assuming write-enable
[ 2.890546] mmc0: new high speed SDHC card at address 0003
[ 2.899965] Registering SWP/SWPB emulation handler
[ 2.906696] Loading compiled-in X.509 certificates
[ 2.916827] mmcblk0: mmc0:0003 SD 3.69 GiB
[ 2.929136] mmcblk0: p1 p2 p3
[ 2.983741] imx_thermal tempmon: Industrial CPU temperature grade - max:105C critical:100C passive:95C
[ 2.994669] snvs_rtc 20cc000.snvs:snvs-rtc-lp: setting system clock to 1970-01-01T00:00:00 UTC (0)
[ 3.004284] cfg80211: Loading compiled-in X.509 certificates for regulatory database
[ 3.016216] cfg80211: Loaded X.509 cert ‘sforshee: 00b28ddf47aef9cea7’
[ 3.023256] platform regulatory.0: Direct firmware load for regulatory.db failed with error -2
[ 3.032291] ALSA device list:
[ 3.035282] #0: wm8960-audio
[ 3.038584] platform regulatory.0: Falling back to sysfs fallback for: regulatory.db
[ 3.047610] VFS: Cannot open root device “(null)” or unknown-block(0,0): error -6
[ 3.055239] Please append a correct “root=” boot option; here are the available partitions:
[ 3.063759] 0100 65536 ram0
[ 3.063764] (driver?)
[ 3.069993] 0101 65536 ram1
[ 3.069996] (driver?)
[ 3.076291] 0102 65536 ram2
[ 3.076295] (driver?)
[ 3.082530] usb 1-1.1: new high-speed USB device number 3 using ci_hdrc
[ 3.089229] 0103 65536 ram3
[ 3.089233] (driver?)
[ 3.095452] 0104 65536 ram4
[ 3.095456] (driver?)
[ 3.101869] 0105 65536 ram5
[ 3.101874] (driver?)
[ 3.108128] 0106 65536 ram6
[ 3.108133] (driver?)
[ 3.114248] 0107 65536 ram7
[ 3.114251] (driver?)
[ 3.120413] 0108 65536 ram8
[ 3.120416] (driver?)
[ 3.126529] 0109 65536 ram9
[ 3.126532] (driver?)
[ 3.132738] 010a 65536 ram10
[ 3.132742] (driver?)
[ 3.139040] 010b 65536 ram11
[ 3.139044] (driver?)
[ 3.145326] 010c 65536 ram12
[ 3.145329] (driver?)
[ 3.151654] 010d 65536 ram13
[ 3.151658] (driver?)
[ 3.157911] 010e 65536 ram14
[ 3.157914] (driver?)
[ 3.164117] 010f 65536 ram15
[ 3.164120] (driver?)
[ 3.170352] b300 3817472 mmcblk1
[ 3.170356] driver: mmcblk
[ 3.177231] b301 1024000 mmcblk1p1 00000000-01
[ 3.177234]
[ 3.184043] b302 1536000 mmcblk1p2 00000000-02
[ 3.184045]
[ 3.190881] b303 512000 mmcblk1p3 00000000-03
[ 3.190884]
[ 3.197775] b318 3870720 mmcblk0
[ 3.197779] driver: mmcblk
[ 3.204592] b319 1024000 mmcblk0p1 00000000-01
[ 3.204595]
[ 3.211432] b31a 1536000 mmcblk0p2 00000000-02
[ 3.211435]
[ 3.218346] b31b 512000 mmcblk0p3 00000000-03
[ 3.218349]
[ 3.225246] Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(0,0)
[ 3.233531] —[ end Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(0,0) ]—
在 u-boot 命令行先执行以下命令,然后再看能否起来;
setenv mmcargs setenv bootargs console=${console},${baudrate} root=/dev/mmcblk1p2 rootwait rw
看上去是 u-boot 给 kernel 传的参数没有文件系统分区导致的;
你可以对比一下正常的启动日志;
[ 0.000000] Kernel command line: noinitrd console=ttymxc0,115200
还是原来一样的现象
那你贴一个正常启动日志我看看,顺便把 u-boot 的环境变量给贴出来(启动异常的时候);
正常启动日志:
U-Boot 2020.04-g65baaf3f (Jan 03 2023 - 13:39:43 -0500)
CPU: i.MX6ULL rev1.1 792 MHz (running at 396 MHz)
CPU: Industrial temperature grade (-40C to 105C) at 32C
Reset cause: POR
Model: i.MX6 ULL 14x14 EVK Board
Board: MX6ULL 14x14 EVK
DRAM: 512 MiB
MMC: FSL_SDHC: 0, FSL_SDHC: 1
Loading Environment from MMC… *** Warning - bad CRC, using default environment
[*]-Video Link 0 (1024 x 600)
[0] lcdif@21c8000, video
In: serial
Out: serial
Err: serial
Model: i.MX6 ULL 14x14 EVK Board
Board: MX6ULL 14x14 EVK
switch to partitions #0, OK
mmc0 is current device
flash target is MMC:0
Net: eth1: ethernet@20b4000 [PRIME]
Fastboot: Normal
Normal Boot
Hit any key to stop autoboot: 0
switch to partitions #0, OK
mmc0 is current device
switch to partitions #0, OK
mmc0 is current device
9057536 bytes read in 565 ms (15.3 MiB/s)
Booting from mmc …
38012 bytes read in 19 ms (1.9 MiB/s)
Kernel image @ 0x80800000 [ 0x000000 - 0x8a3500 ]
Flattened Device Tree blob at 83000000
Booting using the fdt blob at 0x83000000
Using Device Tree in place at 83000000, end 8300c47b
Modify /soc/aips-bus@2200000/epdc@228c000:status disabled
ft_system_setup for mx6
Starting kernel …
[ 0.000000] Booting Linux on physical CPU 0x0
[ 0.000000] Linux version 5.4.47-00055-g5ec03d06f54e-dirty (book@100ask) (gcc version 6.2.1 20161016 (Linaro GCC 6.2-2016.11)) #3 SMP PREEMPT Sun Jan 8 09:51:04 EST 2023
[ 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: Freescale i.MX6 ULL 14x14 EVK Board
[ 0.000000] Memory policy: Data cache writealloc
[ 0.000000] Reserved memory: created CMA memory pool at 0x8c000000, size 320 MiB
[ 0.000000] OF: reserved mem: initialized node linux,cma, compatible id shared-dma-pool
[ 0.000000] percpu: Embedded 15 pages/cpu s32076 r8192 d21172 u61440
[ 0.000000] Built 1 zonelists, mobility grouping on. Total pages: 129920
[ 0.000000] Kernel command line: console=ttymxc0,115200 root=/dev/mmcblk0p2 rootwait rw
[ 0.000000] Dentry cache hash table entries: 65536 (order: 6, 262144 bytes, linear)
[ 0.000000] Inode-cache hash table entries: 32768 (order: 5, 131072 bytes, linear)
[ 0.000000] mem auto-init: stack:off, heap alloc:off, heap free:off
[ 0.000000] Memory: 171296K/524288K available (12288K kernel code, 576K rwdata, 4228K rodata, 1024K init, 435K bss, 25312K reserved, 327680K cma-reserved, 0K highmem)
[ 0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
[ 0.000000] rcu: Preemptible hierarchical RCU implementation.
[ 0.000000] rcu: RCU restricting CPUs from NR_CPUS=4 to nr_cpu_ids=1.
[ 0.000000] 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=1
[ 0.000000] NR_IRQS: 16, nr_irqs: 16, preallocated irqs: 16
[ 0.000000] random: get_random_bytes called from start_kernel+0x2d8/0x488 with crng_init=0
[ 0.000000] Switching to timer-based delay loop, resolution 41ns
[ 0.000018] sched_clock: 32 bits at 24MHz, resolution 41ns, wraps every 89478484971ns
[ 0.000062] clocksource: mxc_timer1: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 79635851949 ns
[ 0.003032] Console: colour dummy device 80x30
[ 0.003104] Calibrating delay loop (skipped), value calculated using timer frequency… 48.00 BogoMIPS (lpj=240000)
[ 0.003139] pid_max: default: 32768 minimum: 301
[ 0.003518] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes, linear)
[ 0.003555] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes, linear)
[ 0.005278] CPU: Testing write buffer coherency: ok
[ 0.006006] CPU0: update cpu_capacity 1024
[ 0.006039] CPU0: thread -1, cpu 0, socket 0, mpidr 80000000
[ 0.060586] Setting up static identity map for 0x80100000 - 0x80100060
[ 0.080564] rcu: Hierarchical SRCU implementation.
[ 0.120728] smp: Bringing up secondary CPUs …
[ 0.120764] smp: Brought up 1 node, 1 CPU
[ 0.120785] SMP: Total of 1 processors activated (48.00 BogoMIPS).
[ 0.120801] CPU: All CPU(s) started in SVC mode.
[ 0.121702] devtmpfs: initialized
[ 0.134110] Duplicate name in lcdif@21c8000, renamed to “display#1”
[ 0.141224] VFP support v0.3: implementor 41 architecture 2 part 30 variant 7 rev 5
[ 0.142229] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[ 0.142284] futex hash table entries: 256 (order: 2, 16384 bytes, linear)
[ 0.167478] pinctrl core: initialized pinctrl subsystem
[ 0.169995] NET: Registered protocol family 16
[ 0.188106] DMA: preallocated 256 KiB pool for atomic coherent allocations
[ 0.190961] cpuidle: using governor menu
[ 0.209538] vdd3p0: supplied by regulator-dummy
[ 0.210950] cpu: supplied by regulator-dummy
[ 0.212454] vddsoc: supplied by regulator-dummy
[ 0.237507] No ATAGs?
[ 0.237648] hw-breakpoint: found 5 (+1 reserved) breakpoint and 4 watchpoint registers.
[ 0.237685] hw-breakpoint: maximum watchpoint size is 8 bytes.
[ 0.241955] imx6ul-pinctrl 20e0000.iomuxc: Invalid fsl,pins or pins property in node /soc/aips-bus@2000000/iomuxc@20e0000/imx6ul-evk/enet1grp
[ 0.242238] imx6ul-pinctrl 20e0000.iomuxc: initialized IMX pinctrl driver
[ 0.243124] imx6ul-pinctrl 2290000.iomuxc-snvs: initialized IMX pinctrl driver
[ 0.246255] imx mu driver is registered.
[ 0.247319] imx rpmsg driver is registered.
[ 0.327740] regulator@2 GPIO handle specifies active low - ignored
[ 0.330009] vgaarb: loaded
[ 0.331981] SCSI subsystem initialized
[ 0.343219] usbcore: registered new interface driver usbfs
[ 0.343360] usbcore: registered new interface driver hub
[ 0.343577] usbcore: registered new device driver usb
[ 0.346205] i2c i2c-0: IMX I2C adapter registered
[ 0.348642] i2c i2c-1: IMX I2C adapter registered
[ 0.349602] mc: Linux media interface: v0.10
[ 0.349727] videodev: Linux video capture interface: v2.00
[ 0.349869] pps_core: LinuxPPS API ver. 1 registered
[ 0.349890] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti giometti@linux.it
[ 0.349942] PTP clock support registered
[ 0.353070] MIPI CSI2 driver module loaded
[ 0.353207] Advanced Linux Sound Architecture Driver Initialized.
[ 0.355065] Bluetooth: Core ver 2.22
[ 0.355200] NET: Registered protocol family 31
[ 0.355222] Bluetooth: HCI device and connection manager initialized
[ 0.355258] Bluetooth: HCI socket layer initialized
[ 0.355287] Bluetooth: L2CAP socket layer initialized
[ 0.355362] Bluetooth: SCO socket layer initialized
[ 0.356587] clocksource: Switched to clocksource mxc_timer1
[ 0.357005] VFS: Disk quotas dquot_6.6.0
[ 0.357222] VFS: Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
[ 0.380215] thermal_sys: Registered thermal governor ‘step_wise’
[ 0.380860] NET: Registered protocol family 2
[ 0.382229] tcp_listen_portaddr_hash hash table entries: 512 (order: 0, 6144 bytes, linear)
[ 0.382320] TCP established hash table entries: 4096 (order: 2, 16384 bytes, linear)
[ 0.382449] TCP bind hash table entries: 4096 (order: 3, 32768 bytes, linear)
[ 0.382606] TCP: Hash tables configured (established 4096 bind 4096)
[ 0.382822] UDP hash table entries: 256 (order: 1, 8192 bytes, linear)
[ 0.382893] UDP-Lite hash table entries: 256 (order: 1, 8192 bytes, linear)
[ 0.383306] NET: Registered protocol family 1
[ 0.414856] RPC: Registered named UNIX socket transport module.
[ 0.414891] RPC: Registered udp transport module.
[ 0.414909] RPC: Registered tcp transport module.
[ 0.414925] RPC: Registered tcp NFSv4.1 backchannel transport module.
[ 0.426381] PCI: CLS 0 bytes, default 64
[ 0.428000] hw perfevents: enabled with armv7_cortex_a7 PMU driver, 5 counters available
[ 0.431918] Bus freq driver module loaded
[ 0.434453] Initialise system trusted keyrings
[ 0.435040] workingset: timestamp_bits=14 max_order=17 bucket_order=3
[ 0.462842] NFS: Registering the id_resolver key type
[ 0.462919] Key type id_resolver registered
[ 0.462938] Key type id_legacy registered
[ 0.463037] jffs2: version 2.2. (NAND) © 2001-2006 Red Hat, Inc.
[ 0.464300] fuse: init (API version 7.31)
[ 0.539168] Key type asymmetric registered
[ 0.539203] Asymmetric key parser ‘x509’ registered
[ 0.539271] io scheduler mq-deadline registered
[ 0.539292] io scheduler kyber registered
[ 0.559922] pwm-backlight backlight: backlight supply power not found, using dummy regulator
[ 0.564469] sii902x 1-0039: No reset pin found
[ 0.569019] mxsfb 21c8000.lcdif: 21c8000.lcdif supply lcd not found, using dummy regulator
[ 0.678729] sii902x bound to mxs-lcdif from 21c8000.lcdif
[ 0.704492] Console: switching to colour frame buffer device 128x37
[ 0.808844] mxsfb 21c8000.lcdif: initialized
[ 0.818854] imx-sdma 20ec000.sdma: Direct firmware load for imx/sdma/sdma-imx6q.bin failed with error -2
[ 0.818894] imx-sdma 20ec000.sdma: Falling back to sysfs fallback for: imx/sdma/sdma-imx6q.bin
[ 0.823245] mxs-dma 1804000.dma-apbh: initialized
[ 0.831030] 2020000.serial: ttymxc0 at MMIO 0x2020000 (irq = 23, base_baud = 5000000) is a IMX
[ 1.568968] printk: console [ttymxc0] enabled
[ 1.575542] imx-uart 21ec000.serial: no RTS control, disabling rs485
[ 1.582224] 21ec000.serial: ttymxc2 at MMIO 0x21ec000 (irq = 66, base_baud = 5000000) is a IMX
[ 1.592917] 21fc000.serial: ttymxc5 at MMIO 0x21fc000 (irq = 67, base_baud = 5000000) is a IMX
[ 1.637100] imx_rngc 2284000.rng: Freescale RNGC registered.
[ 1.643566] imx sema4 driver is registered.
[ 1.685604] brd: module loaded
[ 1.709088] loop: module loaded
[ 1.714877] imx ahci driver is registered.
[ 1.725987] gpio_spi@0 enforce active low on chipselect handle
[ 1.736481] spi_imx 2008000.spi: probed
[ 1.742685] spi_imx 2010000.spi: probed
[ 1.748958] libphy: Fixed MDIO Bus: probed
[ 1.754399] CAN device driver interface
[ 1.807523] pps pps0: new PPS source ptp0
[ 1.814639] libphy: fec_enet_mii_bus: probed
[ 1.833865] fec 20b4000.ethernet eth0: registered PHC device 0
[ 1.887434] pps pps1: new PPS source ptp1
[ 1.893828] fec 2188000.ethernet: Invalid MAC address: 00:00:00:00:00:00
[ 1.900728] fec 2188000.ethernet: Using random MAC address: ca:3c:f2:db:4f:02
[ 1.910004] fec 2188000.ethernet eth1: registered PHC device 1
[ 1.916756] e1000e: Intel(R) PRO/1000 Network Driver - 3.2.6-k
[ 1.922629] e1000e: Copyright(c) 1999 - 2015 Intel Corporation.
[ 1.929917] usbcore: registered new interface driver r8152
[ 1.935561] usbcore: registered new interface driver lan78xx
[ 1.941611] usbcore: registered new interface driver asix
[ 1.947212] usbcore: registered new interface driver ax88179_178a
[ 1.953438] usbcore: registered new interface driver cdc_ether
[ 1.959598] usbcore: registered new interface driver smsc95xx
[ 1.965463] usbcore: registered new interface driver net1080
[ 1.971306] usbcore: registered new interface driver cdc_subset
[ 1.977401] usbcore: registered new interface driver zaurus
[ 1.983089] usbcore: registered new interface driver MOSCHIP usb-ethernet driver
[ 1.990706] usbcore: registered new interface driver cdc_ncm
[ 1.996396] ehci_hcd: USB 2.0 ‘Enhanced’ Host Controller (EHCI) Driver
[ 2.002994] ehci-pci: EHCI PCI platform driver
[ 2.007610] ehci-mxc: Freescale On-Chip EHCI Host driver
[ 2.013801] usbcore: registered new interface driver usb-storage
[ 2.024088] imx_usb 2184000.usb: No over current polarity defined
[ 2.030478] imx_usb 2184000.usb: 2184000.usb supply vbus not found, using dummy regulator
[ 2.054879] mxs_phy 20c9000.usbphy: vbus is not valid
[ 2.073147] imx_usb 2184200.usb: 2184200.usb supply vbus not found, using dummy regulator
[ 2.086088] ci_hdrc ci_hdrc.1: EHCI Host Controller
[ 2.091249] ci_hdrc ci_hdrc.1: new USB bus registered, assigned bus number 1
[ 2.126717] ci_hdrc ci_hdrc.1: USB 2.0 started, EHCI 1.00
[ 2.132635] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 5.04
[ 2.141017] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[ 2.148415] usb usb1: Product: EHCI Host Controller
[ 2.153329] usb usb1: Manufacturer: Linux 5.4.47-00055-g5ec03d06f54e-dirty ehci_hcd
[ 2.161063] usb usb1: SerialNumber: ci_hdrc.1
[ 2.167105] hub 1-0:1.0: USB hub found
[ 2.171016] hub 1-0:1.0: 1 port detected
[ 2.191271] imx6ul-pinctrl 20e0000.iomuxc: pin MX6UL_PAD_GPIO1_IO01 already requested by 2010000.spi; cannot claim for 2040000.tsc
[ 2.203191] imx6ul-pinctrl 20e0000.iomuxc: pin-24 (2040000.tsc) status -22
[ 2.210157] imx6ul-pinctrl 20e0000.iomuxc: could not request pin 24 (MX6UL_PAD_GPIO1_IO01) from group tscgrp on device 20e0000.iomuxc
[ 2.222311] imx6ul-tsc 2040000.tsc: Error applying setting, reverse things back
[ 2.229722] imx6ul-tsc: probe of 2040000.tsc failed with error -22
[ 2.237565] Gt9xx driver installing…
[ 2.241682] goodix-ts 1-005d: GTP Driver Version: V2.8.0.2<2017/12/14>
[ 2.248358] goodix-ts 1-005d: GTP I2C Address: 0x5d
[ 2.253298] goodix-ts 1-005d: touch input parameters is [id x y w p]<1 800 480 1024 1024>
[ 2.261689] goodix-ts 1-005d: 1-005d supply vdd_ana not found, using dummy regulator
[ 2.269735] goodix-ts 1-005d: 1-005d supply vcc_i2c not found, using dummy regulator
[ 2.278019] goodix-ts 1-005d: Failed get pinctrl state:output_high
[ 2.284271] goodix-ts 1-005d: Success request irq-gpio
[ 2.289532] goodix-ts 1-005d: Success request rst-gpio
[ 2.294704] goodix-ts 1-005d: try to reset and read Guitar 0
[ 2.300430] goodix-ts 1-005d: Guitar reset
[ 2.335728] goodix-ts 1-005d: I2C Addr is 5d
[ 2.340411] random: fast init done
[ 2.345018] goodix-ts 1-005d: IC Version: 911_1060
[ 2.351483] goodix-ts 1-005d: Driver set not send config
[ 2.385702] goodix-ts 1-005d: Use slot report protocol
[ 2.391684] input: goodix-ts as /devices/virtual/input/input0
[ 2.398096] goodix-ts 1-005d: INT num 77, trigger type:2
[ 2.404060] goodix-ts 1-005d: create proc entry gt9xx_config success
[ 2.410682] goodix-ts 1-005d: Alloc memory size:1534.
[ 2.415778] goodix-ts 1-005d: I2C function: without pre and end cmd!
[ 2.422315] goodix-ts 1-005d: Create proc entry success!
[ 2.433846] snvs_rtc 20cc000.snvs:snvs-rtc-lp: registered as rtc0
[ 2.440481] i2c /dev entries driver
[ 2.448363] pxp-v4l2 pxp_v4l2: initialized
[ 2.457946] imx2-wdt 20bc000.wdog: timeout 60 sec (nowayout=0)
[ 2.465414] Bluetooth: HCI UART driver ver 2.3
[ 2.470253] Bluetooth: HCI UART protocol H4 registered
[ 2.475430] Bluetooth: HCI UART protocol BCSP registered
[ 2.480926] Bluetooth: HCI UART protocol LL registered
[ 2.486157] Bluetooth: HCI UART protocol Three-wire (H5) registered
[ 2.492562] Bluetooth: HCI UART protocol Marvell registered
[ 2.500137] sdhci: Secure Digital Host Controller Interface driver
[ 2.506520] sdhci: Copyright(c) Pierre Ossman
[ 2.511056] sdhci-pltfm: SDHCI platform and OF driver helper
[ 2.520723] sdhci-esdhc-imx 2190000.usdhc: Got CD GPIO
[ 2.536703] usb 1-1: new high-speed USB device number 2 using ci_hdrc
[ 2.575144] mmc0: SDHCI controller on 2190000.usdhc [2190000.usdhc] using ADMA
[ 2.638917] mmc1: SDHCI controller on 2194000.usdhc [2194000.usdhc] using ADMA
[ 2.650746] caam-snvs 20cc000.caam-snvs: violation handlers armed - init state
[ 2.664941] usbcore: registered new interface driver usbhid
[ 2.670902] usbhid: USB HID core driver
[ 2.708920] fsl-sai 202c000.sai: failed to get mclk0 clock: -2
[ 2.733494] debugfs: Directory ‘202c000.sai’ with parent ‘wm8960-audio’ already present!
[ 2.743426] mmc1: new DDR MMC card at address 0001
[ 2.748466] usb 1-1: New USB device found, idVendor=0424, idProduct=2514, bcdDevice= b.b3
[ 2.757265] imx-wm8960 sound: wm8960-hifi <-> 202c000.sai mapping ok
[ 2.764963] usb 1-1: New USB device strings: Mfr=0, Product=0, SerialNumber=0
[ 2.776125] imx-wm8960 sound: snd-soc-dummy-dai <-> 2034000.asrc mapping ok
[ 2.784051] mmcblk1: mmc1:0001 Q2J54A 3.64 GiB
[ 2.789686] hub 1-1:1.0: USB hub found
[ 2.794318] mmcblk1boot0: mmc1:0001 Q2J54A partition 1 2.00 MiB
[ 2.800621] hub 1-1:1.0: 4 ports detected
[ 2.805011] imx-wm8960 sound: wm8960-hifi <-> 202c000.sai mapping ok
[ 2.812418] mmcblk1boot1: mmc1:0001 Q2J54A partition 2 2.00 MiB
[ 2.821987] mmcblk1rpmb: mmc1:0001 Q2J54A partition 3 512 KiB, chardev (244:0)
[ 2.845970] mmcblk1: p1 p2 p3
[ 2.954606] NET: Registered protocol family 26
[ 2.961161] NET: Registered protocol family 10
[ 2.978532] Segment Routing with IPv6
[ 2.982397] sit: IPv6, IPv4 and MPLS over IPv4 tunneling driver
[ 2.990475] NET: Registered protocol family 17
[ 2.994990] can: controller area network core (rev 20170425 abi 9)
[ 3.001599] NET: Registered protocol family 29
[ 3.006207] can: raw protocol (rev 20170425)
[ 3.010641] can: broadcast manager protocol (rev 20170425 t)
[ 3.016351] can: netlink gateway (rev 20190810) max_hops=1
[ 3.022691] Bluetooth: RFCOMM TTY layer initialized
[ 3.027925] Bluetooth: RFCOMM socket layer initialized
[ 3.033178] Bluetooth: RFCOMM ver 1.11
[ 3.037320] Bluetooth: BNEP (Ethernet Emulation) ver 1.3
[ 3.042985] Bluetooth: BNEP filters: protocol multicast
[ 3.048503] Bluetooth: BNEP socket layer initialized
[ 3.053533] Bluetooth: HIDP (Human Interface Emulation) ver 1.2
[ 3.059537] Bluetooth: HIDP socket layer initialized
[ 3.064766] lib80211: common routines for IEEE802.11 drivers
[ 3.070719] Key type dns_resolver registered
[ 3.099994] Registering SWP/SWPB emulation handler
[ 3.106413] Loading compiled-in X.509 certificates
[ 3.146642] usb 1-1.1: new high-speed USB device number 3 using ci_hdrc
[ 3.171455] imx_thermal tempmon: Industrial CPU temperature grade - max:105C critical:100C passive:95C
[ 3.183103] snvs_rtc 20cc000.snvs:snvs-rtc-lp: setting system clock to 1970-01-01T00:00:00 UTC (0)
[ 3.193276] cfg80211: Loading compiled-in X.509 certificates for regulatory database
[ 3.206700] cfg80211: Loaded X.509 cert ‘sforshee: 00b28ddf47aef9cea7’
[ 3.213508] platform regulatory.0: Direct firmware load for regulatory.db failed with error -2
[ 3.222406] platform regulatory.0: Falling back to sysfs fallback for: regulatory.db
[ 3.230669] ALSA device list:
[ 3.233807] #0: wm8960-audio
[ 3.237759] Waiting for root device /dev/mmcblk0p2…
[ 3.249054] mmc0: host does not support reading read-only switch, assuming write-enable
[ 3.259635] mmc0: new high speed SDHC card at address 0003
[ 3.276780] mmcblk0: mmc0:0003 SD 3.69 GiB
[ 3.283599] mmcblk0: p1 p2
[ 3.309325] usb 1-1.1: New USB device found, idVendor=0bda, idProduct=b720, bcdDevice= 2.00
[ 3.322502] usb 1-1.1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[ 3.330575] usb 1-1.1: Product: 802.11n WLAN Adapter
[ 3.335959] usb 1-1.1: Manufacturer: Realtek
[ 3.340612] usb 1-1.1: SerialNumber: 00e04c000001
[ 3.863151] random: crng init done
[ 4.113836] EXT4-fs (mmcblk0p2): recovery complete
[ 4.124317] EXT4-fs (mmcblk0p2): mounted filesystem with ordered data mode. Opts: (null)
[ 4.132672] VFS: Mounted root (ext4 filesystem) on device 179:26.
[ 4.141300] devtmpfs: mounted
[ 4.145821] Freeing unused kernel memory: 1024K
[ 4.150801] Run /sbin/init as init process
/etc/init.d/rcS: line 6: can’t create /proc/sys/kernel/hotplug: nonexistent directory
Please press Enter to activate this console.
/ # [ 33.766764] ltemodule-pwr: disabling
[ 33.770416] wifi-pwr: disabling
/ # [ 64.487165] cfg80211: failed to load regulatory.db
[ 64.492996] imx-sdma 20ec000.sdma: Direct firmware load for imx/sdma/sdma-imx6q.bin failed with error -2
[ 64.502848] imx-sdma 20ec000.sdma: Falling back to sysfs fallback for: imx/sdma/sdma-imx6q.bin
启动异常:
U-Boot 2020.04-g65baaf3f (Jan 03 2023 - 13:39:43 -0500)
CPU: i.MX6ULL rev1.1 792 MHz (running at 396 MHz)
CPU: Industrial temperature grade (-40C to 105C) at 40C
Reset cause: POR
Model: i.MX6 ULL 14x14 EVK Board
Board: MX6ULL 14x14 EVK
DRAM: 512 MiB
MMC: FSL_SDHC: 0, FSL_SDHC: 1
Loading Environment from MMC… *** Warning - bad CRC, using default environment
[*]-Video Link 0 (1024 x 600)
[0] lcdif@21c8000, video
In: serial
Out: serial
Err: serial
Model: i.MX6 ULL 14x14 EVK Board
Board: MX6ULL 14x14 EVK
switch to partitions #0, OK
mmc0 is current device
flash target is MMC:0
Net: eth1: ethernet@20b4000 [PRIME]
Fastboot: Normal
Normal Boot
Hit any key to stop autoboot: 0
=>
=> print
baudrate=115200
board_name=EVK
board_rev=14X14
boot_fdt=try
bootcmd=run findfdt;run findtee;mmc dev ${mmcdev};mmc dev ${mmcdev}; if mmc rescan; then if run loadbootscript; then run bootscript; else if run loadimage; then run mmcboot; else run netboot; fi; fi; else run netboot; fi
bootcmd_mfg=run mfgtool_args;if iminfo ${initrd_addr}; then if test ${tee} = yes; then bootm ${tee_addr} ${initrd_addr} ${fdt_addr}; else bootz ${loadaddr} ${initrd_addr} ${fdt_addr}; fi; else echo “Run fastboot …”; fastboot 0; fi;
bootdelay=6
bootscript=echo Running bootscript from mmc …; source
console=ttymxc0
emmc_ack=1
emmc_dev=1
eth1addr=00:01:3f:2d:3e:4d
ethact=ethernet@20b4000
ethprime=eth1
fastboot_dev=mmc0
fdt_addr=0x83000000
fdt_file=undefined
fdt_high=0xffffffff
fdtcontroladdr=9df6b7f0
findfdt=if test $fdt_file = undefined; then if test $board_name = ULZ-EVK && test $board_rev = 14X14; then setenv fdt_file imx6ulz-14x14-evk.dtb; fi; if test $board_name = EVK && test $board_rev = 9X9; then setenv fdt_file imx6ull-9x9-evk.dtb; fi; if test $board_name = EVK && test $board_rev = 14X14; then setenv fdt_file imx6ull-14x14-evk.dtb; fi; if test $fdt_file = undefined; then echo WARNING: Could not determine dtb to use; fi; fi;
findtee=if test $tee_file = undefined; then if test $board_name = ULZ-EVK && test $board_rev = 14X14; then setenv tee_file uTee-6ulzevk; fi; if test $board_name = EVK && test $board_rev = 9X9; then setenv tee_file uTee-6ullevk; fi; if test $board_name = EVK && test $board_rev = 14X14; then setenv tee_file uTee-6ullevk; fi; if test $tee_file = undefined; then echo WARNING: Could not determine tee to use; fi; fi;
image=zImage
initrd_addr=0x86800000
initrd_high=0xffffffff
ip_dyn=yes
kboot=bootz
loadaddr=0x80800000
loadbootscript=fatload mmc ${mmcdev}:${mmcpart} ${loadaddr} ${script};
loadfdt=fatload mmc ${mmcdev}:${mmcpart} ${fdt_addr} ${fdt_file}
loadimage=fatload mmc ${mmcdev}:${mmcpart} ${loadaddr} ${image}
loadtee=fatload mmc ${mmcdev}:${mmcpart} ${tee_addr} ${tee_file}
mfgtool_args=setenv bootargs console=${console},${baudrate} rdinit=/linuxrc clk_ignore_unused
mmcargs=setenv bootargs console=${console},${baudrate} root=${mmcroot}
mmcautodetect=yes
mmcboot=echo Booting from mmc …; run mmcargs; if test ${tee} = yes; then run loadfdt; run loadtee; bootm ${tee_addr} - ${fdt_addr}; else if test ${boot_fdt} = yes || test ${boot_fdt} = try; then if run loadfdt; then bootz ${loadaddr} - ${fdt_addr}; else if test ${boot_fdt} = try; then bootz; else echo WARN: Cannot load the DT; fi; fi; else bootz; fi; fi;
mmcdev=0
mmcpart=1
mmcroot=/dev/mmcblk0p2 rootwait rw
netargs=setenv bootargs console=${console},${baudrate} root=/dev/nfs ip=dhcp nfsroot=${serverip}:${nfsroot},v3,tcp
netboot=echo Booting from net …; ${usb_net_cmd}; run netargs; if test ${ip_dyn} = yes; then setenv get_cmd dhcp; else setenv get_cmd tftp; fi; ${get_cmd} ${image}; if test ${tee} = yes; then ${get_cmd} ${tee_addr} ${tee_file}; ${get_cmd} ${fdt_addr} ${fdt_file}; bootm ${tee_addr} - ${fdt_addr}; else if test ${boot_fdt} = yes || test ${boot_fdt} = try; then if ${get_cmd} ${fdt_addr} ${fdt_file}; then bootz ${loadaddr} - ${fdt_addr}; else if test ${boot_fdt} = try; then bootz; else echo WARN: Cannot load the DT; fi; fi; else bootz; fi; fi;
script=boot.scr
sd_dev=1
serial#=2f19c1d75a9e9645
splashimage=0x8c000000
tee=no
tee_addr=0x84000000
tee_file=undefined
Environment size: 3388/8188 bytes
=> nfs 80800000 192.168.100.17:/home/book/nfs_rootfs/zImage
*** ERROR: `ipaddr’ not set
=> setenv ipaddr 192.168.100.18
=> nfs 80800000 192.168.100.17:/home/book/nfs_rootfs/zImage
Using ethernet@20b4000 device
File transfer via NFS from server 192.168.100.17; our IP address is 192.168.100.18
Filename ‘/home/book/nfs_rootfs/zImage’.
Load address: 0x80800000
Loading: #################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
###############
done
Bytes transferred = 9059944 (8a3e68 hex)
=> nfs 80800000 192.168.100.17:/home/book/nfs_rootfs/zImage
Using ethernet@20b4000 device
File transfer via NFS from server 192.168.100.17; our IP address is 192.168.100.18
Filename ‘/home/book/nfs_rootfs/zImage’.
Load address: 0x80800000
Loading: #################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
###############
done
Bytes transferred = 9059944 (8a3e68 hex)
=> nfs 83000000 192.168.100.17:/home/book/nfs_rootfs/imx6ull-14x14-evk.dtb
Using ethernet@20b4000 device
File transfer via NFS from server 192.168.100.17; our IP address is 192.168.100.18
Filename ‘/home/book/nfs_rootfs/imx6ull-14x14-evk.dtb’.
Load address: 0x83000000
Loading: ########
done
Bytes transferred = 38012 (947c hex)
=> bootz 80800000 - 83000000
Kernel image @ 0x80800000 [ 0x000000 - 0x8a3e68 ]
Flattened Device Tree blob at 83000000
Booting using the fdt blob at 0x83000000
Using Device Tree in place at 83000000, end 8300c47b
Modify /soc/aips-bus@2200000/epdc@228c000:status disabled
ft_system_setup for mx6
Starting kernel …
[ 0.000000] Booting Linux on physical CPU 0x0
[ 0.000000] Linux version 5.4.47-00055-g5ec03d06f54e-dirty (book@100ask) (gcc version 6.2.1 20161016 (Linaro GCC 6.2-2016.11)) #1 SMP PREEMPT Sun Jan 8 03:49:39 EST 2023
[ 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: Freescale i.MX6 ULL 14x14 EVK Board
[ 0.000000] Memory policy: Data cache writealloc
[ 0.000000] Reserved memory: created CMA memory pool at 0x8c000000, size 320 MiB
[ 0.000000] OF: reserved mem: initialized node linux,cma, compatible id shared-dma-pool
[ 0.000000] percpu: Embedded 15 pages/cpu s32076 r8192 d21172 u61440
[ 0.000000] Built 1 zonelists, mobility grouping on. Total pages: 129920
[ 0.000000] Kernel command line: noinitrd console=ttymxc0,115200
[ 0.000000] Dentry cache hash table entries: 65536 (order: 6, 262144 bytes, linear)
[ 0.000000] Inode-cache hash table entries: 32768 (order: 5, 131072 bytes, linear)
[ 0.000000] mem auto-init: stack:off, heap alloc:off, heap free:off
[ 0.000000] Memory: 171296K/524288K available (12288K kernel code, 577K rwdata, 4232K rodata, 1024K init, 435K bss, 25312K reserved, 327680K cma-reserved, 0K highmem)
[ 0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
[ 0.000000] rcu: Preemptible hierarchical RCU implementation.
[ 0.000000] rcu: RCU restricting CPUs from NR_CPUS=4 to nr_cpu_ids=1.
[ 0.000000] 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=1
[ 0.000000] NR_IRQS: 16, nr_irqs: 16, preallocated irqs: 16
[ 0.000000] random: get_random_bytes called from start_kernel+0x2d8/0x488 with crng_init=0
[ 0.000000] Switching to timer-based delay loop, resolution 41ns
[ 0.000018] sched_clock: 32 bits at 24MHz, resolution 41ns, wraps every 89478484971ns
[ 0.000058] clocksource: mxc_timer1: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 79635851949 ns
[ 0.003024] Console: colour dummy device 80x30
[ 0.003094] Calibrating delay loop (skipped), value calculated using timer frequency… 48.00 BogoMIPS (lpj=240000)
[ 0.003129] pid_max: default: 32768 minimum: 301
[ 0.003513] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes, linear)
[ 0.003549] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes, linear)
[ 0.005276] CPU: Testing write buffer coherency: ok
[ 0.006006] CPU0: update cpu_capacity 1024
[ 0.006039] CPU0: thread -1, cpu 0, socket 0, mpidr 80000000
[ 0.060584] Setting up static identity map for 0x80100000 - 0x80100060
[ 0.080566] rcu: Hierarchical SRCU implementation.
[ 0.120730] smp: Bringing up secondary CPUs …
[ 0.120764] smp: Brought up 1 node, 1 CPU
[ 0.120786] SMP: Total of 1 processors activated (48.00 BogoMIPS).
[ 0.120801] CPU: All CPU(s) started in SVC mode.
[ 0.121715] devtmpfs: initialized
[ 0.133983] Duplicate name in lcdif@21c8000, renamed to “display#1”
[ 0.141138] VFP support v0.3: implementor 41 architecture 2 part 30 variant 7 rev 5
[ 0.142125] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[ 0.142177] futex hash table entries: 256 (order: 2, 16384 bytes, linear)
[ 0.167416] pinctrl core: initialized pinctrl subsystem
[ 0.169943] NET: Registered protocol family 16
[ 0.188093] DMA: preallocated 256 KiB pool for atomic coherent allocations
[ 0.190919] cpuidle: using governor menu
[ 0.209287] vdd3p0: supplied by regulator-dummy
[ 0.210692] cpu: supplied by regulator-dummy
[ 0.212191] vddsoc: supplied by regulator-dummy
[ 0.237205] No ATAGs?
[ 0.237345] hw-breakpoint: found 5 (+1 reserved) breakpoint and 4 watchpoint registers.
[ 0.237380] hw-breakpoint: maximum watchpoint size is 8 bytes.
[ 0.241567] imx6ul-pinctrl 20e0000.iomuxc: Invalid fsl,pins or pins property in node /soc/aips-bus@2000000/iomuxc@20e0000/imx6ul-evk/enet1grp
[ 0.241936] imx6ul-pinctrl 20e0000.iomuxc: initialized IMX pinctrl driver
[ 0.242849] imx6ul-pinctrl 2290000.iomuxc-snvs: initialized IMX pinctrl driver
[ 0.246020] imx mu driver is registered.
[ 0.247079] imx rpmsg driver is registered.
[ 0.337603] regulator@2 GPIO handle specifies active low - ignored
[ 0.339885] vgaarb: loaded
[ 0.341853] SCSI subsystem initialized
[ 0.343392] usbcore: registered new interface driver usbfs
[ 0.343554] usbcore: registered new interface driver hub
[ 0.343773] usbcore: registered new device driver usb
[ 0.346372] i2c i2c-0: IMX I2C adapter registered
[ 0.348796] i2c i2c-1: IMX I2C adapter registered
[ 0.349717] mc: Linux media interface: v0.10
[ 0.349840] videodev: Linux video capture interface: v2.00
[ 0.349982] pps_core: LinuxPPS API ver. 1 registered
[ 0.350003] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti giometti@linux.it
[ 0.350061] PTP clock support registered
[ 0.353240] MIPI CSI2 driver module loaded
[ 0.353377] Advanced Linux Sound Architecture Driver Initialized.
[ 0.355206] Bluetooth: Core ver 2.22
[ 0.355359] NET: Registered protocol family 31
[ 0.355382] Bluetooth: HCI device and connection manager initialized
[ 0.355419] Bluetooth: HCI socket layer initialized
[ 0.355446] Bluetooth: L2CAP socket layer initialized
[ 0.355503] Bluetooth: SCO socket layer initialized
[ 0.356614] clocksource: Switched to clocksource mxc_timer1
[ 0.357019] VFS: Disk quotas dquot_6.6.0
[ 0.357226] VFS: Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
[ 0.380110] thermal_sys: Registered thermal governor ‘step_wise’
[ 0.380755] NET: Registered protocol family 2
[ 0.382126] tcp_listen_portaddr_hash hash table entries: 512 (order: 0, 6144 bytes, linear)
[ 0.382217] TCP established hash table entries: 4096 (order: 2, 16384 bytes, linear)
[ 0.382347] TCP bind hash table entries: 4096 (order: 3, 32768 bytes, linear)
[ 0.382505] TCP: Hash tables configured (established 4096 bind 4096)
[ 0.382717] UDP hash table entries: 256 (order: 1, 8192 bytes, linear)
[ 0.382784] UDP-Lite hash table entries: 256 (order: 1, 8192 bytes, linear)
[ 0.383184] NET: Registered protocol family 1
[ 0.414740] RPC: Registered named UNIX socket transport module.
[ 0.414775] RPC: Registered udp transport module.
[ 0.414792] RPC: Registered tcp transport module.
[ 0.414808] RPC: Registered tcp NFSv4.1 backchannel transport module.
[ 0.426242] PCI: CLS 0 bytes, default 64
[ 0.427873] hw perfevents: enabled with armv7_cortex_a7 PMU driver, 5 counters available
[ 0.431771] Bus freq driver module loaded
[ 0.434301] Initialise system trusted keyrings
[ 0.434875] workingset: timestamp_bits=14 max_order=17 bucket_order=3
[ 0.462745] NFS: Registering the id_resolver key type
[ 0.462831] Key type id_resolver registered
[ 0.462848] Key type id_legacy registered
[ 0.462951] jffs2: version 2.2. (NAND) © 2001-2006 Red Hat, Inc.
[ 0.464226] fuse: init (API version 7.31)
[ 0.539069] Key type asymmetric registered
[ 0.539104] Asymmetric key parser ‘x509’ registered
[ 0.539169] io scheduler mq-deadline registered
[ 0.539187] io scheduler kyber registered
[ 0.559756] pwm-backlight backlight: backlight supply power not found, using dummy regulator
[ 0.564306] sii902x 1-0039: No reset pin found
[ 0.568819] mxsfb 21c8000.lcdif: 21c8000.lcdif supply lcd not found, using dummy regulator
[ 0.678506] sii902x bound to mxs-lcdif from 21c8000.lcdif
[ 1.186724] mxsfb 21c8000.lcdif: mxs wait for pan flip timeout
[ 1.211013] Console: switching to colour frame buffer device 128x37
[ 1.716663] mxsfb 21c8000.lcdif: mxs wait for pan flip timeout
[ 1.820155] mxsfb 21c8000.lcdif: initialized
[ 1.830534] imx-sdma 20ec000.sdma: Direct firmware load for imx/sdma/sdma-imx6q.bin failed with error -2
[ 1.830573] imx-sdma 20ec000.sdma: Falling back to sysfs fallback for: imx/sdma/sdma-imx6q.bin
[ 1.835141] mxs-dma 1804000.dma-apbh: initialized
[ 1.843240] 2020000.serial: ttymxc0 at MMIO 0x2020000 (irq = 23, base_baud = 5000000) is a IMX
[ 2.591202] printk: console [ttymxc0] enabled
[ 2.597974] imx-uart 21ec000.serial: no RTS control, disabling rs485
[ 2.604528] 21ec000.serial: ttymxc2 at MMIO 0x21ec000 (irq = 66, base_baud = 5000000) is a IMX
[ 2.615160] 21fc000.serial: ttymxc5 at MMIO 0x21fc000 (irq = 67, base_baud = 5000000) is a IMX
[ 2.659573] imx_rngc 2284000.rng: Freescale RNGC registered.
[ 2.666003] imx sema4 driver is registered.
[ 2.709374] brd: module loaded
[ 2.733392] loop: module loaded
[ 2.739642] imx ahci driver is registered.
[ 2.751167] gpio_spi@0 enforce active low on chipselect handle
[ 2.761679] spi_imx 2008000.spi: probed
[ 2.767960] spi_imx 2010000.spi: probed
[ 2.774145] libphy: Fixed MDIO Bus: probed
[ 2.779995] CAN device driver interface
[ 2.837545] pps pps0: new PPS source ptp0
[ 2.844599] libphy: fec_enet_mii_bus: probed
[ 2.863924] fec 20b4000.ethernet eth0: registered PHC device 0
[ 2.917443] pps pps1: new PPS source ptp1
[ 2.923775] fec 2188000.ethernet: Invalid MAC address: 00:00:00:00:00:00
[ 2.930673] fec 2188000.ethernet: Using random MAC address: 46:0b:ad:00:2b:e8
[ 2.939959] fec 2188000.ethernet eth1: registered PHC device 1
[ 2.946747] e1000e: Intel(R) PRO/1000 Network Driver - 3.2.6-k
[ 2.952623] e1000e: Copyright(c) 1999 - 2015 Intel Corporation.
[ 2.959897] usbcore: registered new interface driver r8152
[ 2.965547] usbcore: registered new interface driver lan78xx
[ 2.971483] usbcore: registered new interface driver asix
[ 2.977087] usbcore: registered new interface driver ax88179_178a
[ 2.983310] usbcore: registered new interface driver cdc_ether
[ 2.989541] usbcore: registered new interface driver smsc95xx
[ 2.995420] usbcore: registered new interface driver net1080
[ 3.001283] usbcore: registered new interface driver cdc_subset
[ 3.007410] usbcore: registered new interface driver zaurus
[ 3.013116] usbcore: registered new interface driver MOSCHIP usb-ethernet driver
[ 3.020734] usbcore: registered new interface driver cdc_ncm
[ 3.026429] ehci_hcd: USB 2.0 ‘Enhanced’ Host Controller (EHCI) Driver
[ 3.033029] ehci-pci: EHCI PCI platform driver
[ 3.037643] ehci-mxc: Freescale On-Chip EHCI Host driver
[ 3.043871] usbcore: registered new interface driver usb-storage
[ 3.054302] imx_usb 2184000.usb: No over current polarity defined
[ 3.060691] imx_usb 2184000.usb: 2184000.usb supply vbus not found, using dummy regulator
[ 3.097844] imx_usb 2184200.usb: 2184200.usb supply vbus not found, using dummy regulator
[ 3.110890] ci_hdrc ci_hdrc.1: EHCI Host Controller
[ 3.115917] ci_hdrc ci_hdrc.1: new USB bus registered, assigned bus number 1
[ 3.146808] ci_hdrc ci_hdrc.1: USB 2.0 started, EHCI 1.00
[ 3.152736] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 5.04
[ 3.161125] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[ 3.168425] usb usb1: Product: EHCI Host Controller
[ 3.173334] usb usb1: Manufacturer: Linux 5.4.47-00055-g5ec03d06f54e-dirty ehci_hcd
[ 3.181062] usb usb1: SerialNumber: ci_hdrc.1
[ 3.187129] hub 1-0:1.0: USB hub found
[ 3.191041] hub 1-0:1.0: 1 port detected
[ 3.211633] imx6ul-pinctrl 20e0000.iomuxc: pin MX6UL_PAD_GPIO1_IO01 already requested by 2010000.spi; cannot claim for 2040000.tsc
[ 3.223551] imx6ul-pinctrl 20e0000.iomuxc: pin-24 (2040000.tsc) status -22
[ 3.230524] imx6ul-pinctrl 20e0000.iomuxc: could not request pin 24 (MX6UL_PAD_GPIO1_IO01) from group tscgrp on device 20e0000.iomuxc
[ 3.242685] imx6ul-tsc 2040000.tsc: Error applying setting, reverse things back
[ 3.250098] imx6ul-tsc: probe of 2040000.tsc failed with error -22
[ 3.263361] snvs_rtc 20cc000.snvs:snvs-rtc-lp: registered as rtc0
[ 3.270001] i2c /dev entries driver
[ 3.277474] pxp-v4l2 pxp_v4l2: initialized
[ 3.287111] imx2-wdt 20bc000.wdog: timeout 60 sec (nowayout=0)
[ 3.294592] Bluetooth: HCI UART driver ver 2.3
[ 3.299450] Bluetooth: HCI UART protocol H4 registered
[ 3.304633] Bluetooth: HCI UART protocol BCSP registered
[ 3.310133] Bluetooth: HCI UART protocol LL registered
[ 3.315370] Bluetooth: HCI UART protocol Three-wire (H5) registered
[ 3.321796] Bluetooth: HCI UART protocol Marvell registered
[ 3.327596] usbcore: registered new interface driver btusb
[ 3.334984] sdhci: Secure Digital Host Controller Interface driver
[ 3.341303] sdhci: Copyright(c) Pierre Ossman
[ 3.345692] sdhci-pltfm: SDHCI platform and OF driver helper
[ 3.353758] sdhci-esdhc-imx 2190000.usdhc: Got CD GPIO
[ 3.371072] random: fast init done
[ 3.407506] mmc0: SDHCI controller on 2190000.usdhc [2190000.usdhc] using ADMA
[ 3.479841] mmc1: SDHCI controller on 2194000.usdhc [2194000.usdhc] using ADMA
[ 3.491878] caam-snvs 20cc000.caam-snvs: violation handlers armed - init state
[ 3.506151] usbcore: registered new interface driver usbhid
[ 3.512208] usbhid: USB HID core driver
[ 3.550304] fsl-sai 202c000.sai: failed to get mclk0 clock: -2
[ 3.556761] usb 1-1: new high-speed USB device number 2 using ci_hdrc
[ 3.578152] debugfs: Directory ‘202c000.sai’ with parent ‘wm8960-audio’ already present!
[ 3.588206] imx-wm8960 sound: wm8960-hifi <-> 202c000.sai mapping ok
[ 3.601216] imx-wm8960 sound: snd-soc-dummy-dai <-> 2034000.asrc mapping ok
[ 3.608489] mmc1: new DDR MMC card at address 0001
[ 3.614694] imx-wm8960 sound: wm8960-hifi <-> 202c000.sai mapping ok
[ 3.625179] mmcblk1: mmc1:0001 Q2J54A 3.64 GiB
[ 3.632978] mmcblk1boot0: mmc1:0001 Q2J54A partition 1 2.00 MiB
[ 3.640016] mmcblk1boot1: mmc1:0001 Q2J54A partition 2 2.00 MiB
[ 3.646873] mmcblk1rpmb: mmc1:0001 Q2J54A partition 3 512 KiB, chardev (244:0)
[ 3.667736] mmcblk1: p1 p2 p3
[ 3.757597] usb 1-1: New USB device found, idVendor=0424, idProduct=2514, bcdDevice= b.b3
[ 3.765976] usb 1-1: New USB device strings: Mfr=0, Product=0, SerialNumber=0
[ 3.781233] hub 1-1:1.0: USB hub found
[ 3.785407] NET: Registered protocol family 26
[ 3.790122] hub 1-1:1.0: 4 ports detected
[ 3.796036] NET: Registered protocol family 10
[ 3.815914] Segment Routing with IPv6
[ 3.820139] sit: IPv6, IPv4 and MPLS over IPv4 tunneling driver
[ 3.828157] NET: Registered protocol family 17
[ 3.832731] can: controller area network core (rev 20170425 abi 9)
[ 3.839321] NET: Registered protocol family 29
[ 3.843933] can: raw protocol (rev 20170425)
[ 3.848425] can: broadcast manager protocol (rev 20170425 t)
[ 3.854143] can: netlink gateway (rev 20190810) max_hops=1
[ 3.860484] Bluetooth: RFCOMM TTY layer initialized
[ 3.865649] Bluetooth: RFCOMM socket layer initialized
[ 3.870962] Bluetooth: RFCOMM ver 1.11
[ 3.874769] Bluetooth: BNEP (Ethernet Emulation) ver 1.3
[ 3.880248] Bluetooth: BNEP filters: protocol multicast
[ 3.885612] Bluetooth: BNEP socket layer initialized
[ 3.890729] Bluetooth: HIDP (Human Interface Emulation) ver 1.2
[ 3.896738] Bluetooth: HIDP socket layer initialized
[ 3.901841] lib80211: common routines for IEEE802.11 drivers
[ 3.907850] Key type dns_resolver registered
[ 3.940373] Registering SWP/SWPB emulation handler
[ 3.946470] Loading compiled-in X.509 certificates
[ 4.015951] imx_thermal tempmon: Industrial CPU temperature grade - max:105C critical:100C passive:95C
[ 4.028487] snvs_rtc 20cc000.snvs:snvs-rtc-lp: setting system clock to 1970-01-01T00:07:13 UTC (433)
[ 4.039620] cfg80211: Loading compiled-in X.509 certificates for regulatory database
[ 4.052052] cfg80211: Loaded X.509 cert ‘sforshee: 00b28ddf47aef9cea7’
[ 4.058823] mmc0: host does not support reading read-only switch, assuming write-enable
[ 4.067430] platform regulatory.0: Direct firmware load for regulatory.db failed with error -2
[ 4.076462] mmc0: new high speed SDHC card at address 0003
[ 4.082522] ALSA device list:
[ 4.085576] #0: wm8960-audio
[ 4.089678] platform regulatory.0: Falling back to sysfs fallback for: regulatory.db
[ 4.108902] mmcblk0: mmc0:0003 SD 3.69 GiB
[ 4.117181] usb 1-1.1: new high-speed USB device number 3 using ci_hdrc
[ 4.124395] mmcblk0: p1 p2
[ 4.132910] VFS: Cannot open root device “(null)” or unknown-block(0,0): error -6
[ 4.141615] Please append a correct “root=” boot option; here are the available partitions:
[ 4.150900] 0100 65536 ram0
[ 4.150920] (driver?)
[ 4.157807] 0101 65536 ram1
[ 4.157812] (driver?)
[ 4.163955] 0102 65536 ram2
[ 4.163959] (driver?)
[ 4.170183] 0103 65536 ram3
[ 4.170186] (driver?)
[ 4.176391] 0104 65536 ram4
[ 4.176395] (driver?)
[ 4.182654] 0105 65536 ram5
[ 4.182658] (driver?)
[ 4.188829] 0106 65536 ram6
[ 4.188833] (driver?)
[ 4.194953] 0107 65536 ram7
[ 4.194956] (driver?)
[ 4.201187] 0108 65536 ram8
[ 4.201190] (driver?)
[ 4.207352] 0109 65536 ram9
[ 4.207355] (driver?)
[ 4.213473] 010a 65536 ram10
[ 4.213477] (driver?)
[ 4.219708] 010b 65536 ram11
[ 4.219712] (driver?)
[ 4.225915] 010c 65536 ram12
[ 4.225919] (driver?)
[ 4.232182] 010d 65536 ram13
[ 4.232186] (driver?)
[ 4.238416] 010e 65536 ram14
[ 4.238419] (driver?)
[ 4.244621] 010f 65536 ram15
[ 4.244625] (driver?)
[ 4.250973] b300 3817472 mmcblk1
[ 4.250978] driver: mmcblk
[ 4.257922] b301 1024000 mmcblk1p1 00000000-01
[ 4.257925]
[ 4.264757] b302 1536000 mmcblk1p2 00000000-02
[ 4.264760]
[ 4.271600] b303 512000 mmcblk1p3 00000000-03
[ 4.271603]
[ 4.278502] b318 3870720 mmcblk0
[ 4.278506] driver: mmcblk
[ 4.285320] b319 10240 mmcblk0p1 2033a119-01
[ 4.285322]
[ 4.292161] b31a 102400 mmcblk0p2 2033a119-02
[ 4.292164]
[ 4.299030] Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(0,0)
[ 4.307313] —[ end Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(0,0) ]—
以下是我的推测,如果不行,我也没有办法;
正常日志
- 在 uboot 中有打印:Booting from mmc …;表明 mmcboot 有执行,那么 run mmcargs 也会有执行;
- 在 kernel 日志中有打印:[ 0.000000] Kernel command line: console=ttymxc0,115200 root=/dev/mmcblk0p2 rootwait rw
异常日志
- 在 uboot 中没有打印:Booting from mmc …;表明 mmcboot 没有执行,那么 run mmcargs 也没有执行,那么 bootargs 为空;
综上
建议在 uboot 命令行处执行 bootargs 的环境变量配置;
setenv bootargs console=${console},${baudrate} root=/dev/mmcblk0p2 rootwait rw
哥们 看你的内核版本是5.4.47,在哪下载的?没找到韦老师的这个内核版本,能个下载链接吗?
想请教你usb2514怎么挂载成功的,