嵌入式爱好者

查看: 28580|回复: 11

[Ubuntu] 请教一个关于修改eMMC模式的问题

[复制链接]

1

主题

7

帖子

25

积分

扫一扫,手机访问本帖
发表于 2021-10-18 15:09:13 | 显示全部楼层 |阅读模式
问题描述:我这块板子有时候可以正常启动,有时候不能。硬件的师傅告诉可能是MMC速率模式不对,让我降低一下频率。目前是52MHz,需要降低到26MHz。在boot里面找了很久关于MMC相关的代码,也尝试修改了很地方,都没办法修改成功,求教MMC修改速率模式的位置。

运行报错:(系统起不来时就一直停在打印的这个位置,进不了系统,这是打印信息的最后一行[    3.636735] Waiting for root device PARTUUID=c3e88deb-04...)

U-Boot 2018.03-dirty (Oct 18 2021 - 10:27:31 +0800), Build: T0001 Build-1.0.0.2

SoC:  LS1043AE Rev1.1 (0x87920011)
Clock Configuration:
       CPU0(A53):1600 MHz  CPU1(A53):1600 MHz  CPU2(A53):1600 MHz  
       CPU3(A53):1600 MHz  
       Bus:      400  MHz  DDR:      1600 MT/s  FMAN:     500  MHz
Reset Configuration Word (RCW):
       00000000: 08100010 0a000000 00000000 00000000
       00000010: 14550002 00004012 40044000 c1002000
       00000020: 00000000 00000000 00000000 00238800
       00000030: 20024500 00061102 00000096 00000001
Model: LS1043A RDB Board
I2C:   ready
DRAM:  Initialzing DDR using fixed setting
Configuring DDR for 1600 MT/s data rate
ddr_freq_mhz 1600
FSLDDR: 0x01080f04 = 0x12000000
1.9 GiB (DDR4, 32-bit, CL=12, ECC off)
Using SERDES1 Protocol: 5205 (0x1455)
SEC0: RNG instantiated
PPA Firmware: Version LSDK-18.06-Kyland
MMC:   FSL_SDHC: 0
Loading Environment from SPI Flash... SF: Detected gd25lq128d with page size 256 Bytes, erase size 4 KiB, total 16 MiB
OK
EEPROM: Read failed.
In:    serial
Out:   serial
Err:   serial
SCSI:  PCIe0: pcie@3400000 disabled
PCIe1: pcie@3500000 Root Complex: no link
PCIe2: pcie@3600000 Root Complex: no link
Error: SCSI Controller(s) 1B4B:9170 not found
Net:   SF: Detected gd25lq128d with page size 256 Bytes, erase size 4 KiB, total 16 MiB
Fman1: Uploading microcode version 106.4.18
Could not get PHY for FSL_MDIO0: addr 4
Failed to connect
Could not get PHY for FSL_MDIO0: addr 5
Failed to connect
Could not get PHY for FSL_MDIO0: addr 1
Failed to connect
Could not get PHY for FSL_MDIO0: addr 0
Failed to connect
Could not get PHY for FSL_MDIO0: addr 6
Failed to connect
Could not get PHY for FSL_MDIO0: addr 7
Failed to connect
Could not get PHY for FM_TGEC_MDIO: addr 0
Failed to connect
FM1@DTSEC1, FM1@DTSEC2, FM1@DTSEC3 [PRIME], FM1@DTSEC4, FM1@DTSEC5, FM1@DTSEC6, FM1@TGEC1
Hit any key to stop autoboot:  0
--enter mmc_select_mode_and_width--
trying mode MMC High Speed (52MHz) width 8 (at 52 MHz)
----1898---err -70--
trying mode MMC High Speed (52MHz) width 4 (at 52 MHz)
switch to partitions #0, OK
mmc0(part 0) is current device
** Unrecognized filesystem type **
** Unrecognized filesystem type **
Scanning mmc 0:3...
Found U-Boot script /boot/ls1043ardb_boot.scr
890 bytes read in 18 ms (47.9 KiB/s)
## Executing script at 80000000
** Unable to read file /boot/uEnv.txt **
15874560 bytes read in 816 ms (18.6 MiB/s)
30786 bytes read in 17 ms (1.7 MiB/s)
## Flattened Device Tree blob at 90000000
   Booting using the fdt blob at 0x90000000
   Using Device Tree in place at 0000000090000000, end 000000009001a841

Starting kernel ...

[    0.000000] Booting Linux on physical CPU 0x0
[    0.000000] Linux version 4.9.63 (rd@kyland) (gcc version 5.5.0 (LEDE GCC 5.5.0 unknown) ) #0 SMP PREEMPT Tue May 11 05:52:41 UTC 2021
[    0.000000] Boot CPU: AArch64 Processor [410fd034]
[    0.000000] earlycon: uart8250 at MMIO 0x00000000021c0500 (options '')
[    0.000000] bootconsole [uart8250] enabled
[    0.000000] efi: Getting EFI parameters from FDT:
[    0.000000] efi: UEFI not found.
[    0.000000] OF: reserved mem: initialized node qman-fqd, compatible id fsl,qman-fqd
[    0.000000] OF: reserved mem: initialized node qman-pfdr, compatible id fsl,qman-pfdr
[    0.000000] OF: reserved mem: initialized node usdpaa_mem, compatible id fsl,usdpaa-mem
[    0.000000] OF: reserved mem: initialized node bman-fbpr, compatible id fsl,bman-fbpr
[    0.000000] cma: Reserved 16 MiB at 0x00000000f7000000
[    0.000000] NUMA: No NUMA configuration found
[    0.000000] NUMA: Faking a node at [mem 0x0000000000000000-0x00000000fbdfffff]
[    0.000000] NUMA: Adding memblock [0x80000000 - 0xf7ffffff] on node 0
[    0.000000] NUMA: Adding memblock [0xfb000000 - 0xfb7fffff] on node 0
[    0.000000] NUMA: Adding memblock [0xfbc00000 - 0xfbdfffff] on node 0
[    0.000000] NUMA: Initmem setup node 0 [mem 0x80000000-0xfbdfffff]
[    0.000000] NUMA: NODE_DATA [mem 0xfbdc96c0-0xfbdcae7f]
[    0.000000] Zone ranges:
[    0.000000]   DMA      [mem 0x0000000080000000-0x00000000fbdfffff]
[    0.000000]   Normal   empty
[    0.000000] Movable zone start for each node
[    0.000000] Early memory node ranges
[    0.000000]   node   0: [mem 0x0000000080000000-0x00000000f7ffffff]
[    0.000000]   node   0: [mem 0x00000000fb000000-0x00000000fb7fffff]
[    0.000000]   node   0: [mem 0x00000000fbc00000-0x00000000fbdfffff]
[    0.000000] Initmem setup node 0 [mem 0x0000000080000000-0x00000000fbdfffff]
[    0.000000] psci: probing for conduit method from DT.
[    0.000000] psci: PSCIv0.2 detected in firmware.
[    0.000000] psci: Using standard PSCI v0.2 function IDs
[    0.000000] psci: Trusted OS migration not required
[    0.000000] percpu: Embedded 22 pages/cpu @ffff80007bd6c000 s52696 r8192 d29224 u90112
[    0.000000] Detected VIPT I-cache on CPU0
[    0.000000] CPU features: enabling workaround for ARM erratum 845719
[    0.000000] Built 1 zonelists in Node order, mobility grouping on.  Total pages: 486152
[    0.000000] Policy zone: DMA
[    0.000000] Kernel command line: console=ttyS0,115200 earlycon=uart8250,mmio,0x21c0500 root=PARTUUID=c3e88deb-04 rw rootwait
[    0.000000] PID hash table entries: 4096 (order: 3, 32768 bytes)
[    0.000000] Memory: 1647868K/1976320K available (10684K kernel code, 654K rwdata, 3460K rodata, 640K init, 954K bss, 312068K reserved, 16384K cma-reserved)
[    0.000000] Virtual kernel memory layout:
[    0.000000]     modules : 0xffff000000000000 - 0xffff000008000000   (   128 MB)
[    0.000000]     vmalloc : 0xffff000008000000 - 0xffff7dffbfff0000   (129022 GB)
[    0.000000]       .text : 0xffff000008080000 - 0xffff000008af0000   ( 10688 KB)
[    0.000000]     .rodata : 0xffff000008af0000 - 0xffff000008e60000   (  3520 KB)
[    0.000000]       .init : 0xffff000008e60000 - 0xffff000008f00000   (   640 KB)
[    0.000000]       .data : 0xffff000008f00000 - 0xffff000008fa3a00   (   655 KB)
[    0.000000]        .bss : 0xffff000008fa3a00 - 0xffff00000909222c   (   955 KB)
[    0.000000]     fixed   : 0xffff7dfffe7fd000 - 0xffff7dfffec00000   (  4108 KB)
[    0.000000]     PCI I/O : 0xffff7dfffee00000 - 0xffff7dffffe00000   (    16 MB)
[    0.000000]     vmemmap : 0xffff7e0000000000 - 0xffff800000000000   (  2048 GB maximum)
[    0.000000]               0xffff7e0000000000 - 0xffff7e0001ef8000   (    30 MB actual)
[    0.000000]     memory  : 0xffff800000000000 - 0xffff80007be00000   (  1982 MB)
[    0.000000] Preemptible hierarchical RCU implementation.
[    0.000000]  Build-time adjustment of leaf fanout to 64.
[    0.000000]  RCU restricting CPUs from NR_CPUS=64 to nr_cpu_ids=4.
[    0.000000] RCU: Adjusting geometry for rcu_fanout_leaf=64, nr_cpu_ids=4
[    0.000000] NR_IRQS:64 nr_irqs:64 0
[    0.000000] GIC: Adjusting CPU inte**ce base to 0x000000000142f000
[    0.000000] GIC: Using split EOI/Deactivate mode
[    0.000000] arm_arch_timer: Enabling workaround for FSL erratum A-008585
[    0.000000] arm_arch_timer: Architected cp15 timer(s) running at 25.00MHz (phys).
[    0.000000] clocksource: arch_sys_counter: mask: 0xffffffffffffff max_cycles: 0x5c40939b5, max_idle_ns: 440795202646 ns
[    0.000002] sched_clock: 56 bits at 25MHz, resolution 40ns, wraps every 4398046511100ns
[    0.008395] Console: colour dummy device 80x25
[    0.012892] Calibrating delay loop (skipped), value calculated using timer frequency.. 50.00 BogoMIPS (lpj=100000)
[    0.023297] pid_max: default: 32768 minimum: 301
[    0.028008] Security Framework initialized
[    0.032440] Dentry cache hash table entries: 262144 (order: 9, 2097152 bytes)
[    0.040589] Inode-cache hash table entries: 131072 (order: 8, 1048576 bytes)
[    0.048095] Mount-cache hash table entries: 4096 (order: 3, 32768 bytes)
[    0.054834] Mountpoint-cache hash table entries: 4096 (order: 3, 32768 bytes)
[    0.062578] ASID allocator initialised with 65536 entries
[    0.100198] EFI services will not be available.
[    0.144873] Detected VIPT I-cache on CPU1
[    0.144902] CPU1: Booted secondary processor [410fd034]
[    0.176905] Detected VIPT I-cache on CPU2
[    0.176920] CPU2: Booted secondary processor [410fd034]
[    0.208944] Detected VIPT I-cache on CPU3
[    0.208958] CPU3: Booted secondary processor [410fd034]
[    0.208993] Brought up 4 CPUs
[    0.239773] SMP: Total of 4 processors activated.
[    0.244499] CPU features: detected feature: 32-bit EL0 Support
[    0.250383] CPU: All CPU(s) started at EL2
[    0.254503] alternatives: patching kernel code
[    0.263591] DMI not present or invalid.
[    0.267572] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 7645041785100000 ns
[    0.277383] futex hash table entries: 1024 (order: 4, 65536 bytes)
[    0.284007] xor: measuring software checksum speed
[    0.328848]    8regs     :  3168.000 MB/sec
[    0.373074]    8regs_prefetch:  2814.000 MB/sec
[    0.417650]    32regs    :  3510.000 MB/sec
[    0.461875]    32regs_prefetch:  3171.000 MB/sec
[    0.466511] xor: using function: 32regs (3510.000 MB/sec)
[    0.472617] NET: Registered protocol family 16
[    0.497104] cpuidle: using governor menu
[    0.501401] Bman ver:0a02,02,01
[    0.505973] qman-fqd addr 0x00000000fb800000 size 0x400000
[    0.511486] qman-pfdr addr 0x00000000f8000000 size 0x2000000
[    0.517174] Qman ver:0a01,03,02,00
[    0.520689] vdso: 2 pages (1 code @ ffff000008af6000, 1 data @ ffff000008f05000)
[    0.528549] DMA: preallocated 256 KiB pool for atomic allocations
[    0.534754] Serial: AMBA PL011 UART driver
[    0.539690] Machine: LS1043A RDB Board
[    0.543456] SoC family: QorIQ LS1043A
[    0.547128] SoC ID: svr:0x87920011, Revision: 1.1
[    0.584169] HugeTLB registered 2 MB page size, pre-allocated 0 pages
[    0.656018] raid6: int64x1  gen()   524 MB/s
[    0.728053] raid6: int64x1  xor()   489 MB/s
[    0.800100] raid6: int64x2  gen()   815 MB/s
[    0.872114] raid6: int64x2  xor()   710 MB/s
[    0.944139] raid6: int64x4  gen()  1224 MB/s
[    1.016182] raid6: int64x4  xor()   880 MB/s
[    1.088222] raid6: int64x8  gen()  1497 MB/s
[    1.160257] raid6: int64x8  xor()   964 MB/s
[    1.232349] raid6: neonx1   gen()   941 MB/s
[    1.304367] raid6: neonx1   xor()   856 MB/s
[    1.376405] raid6: neonx2   gen()  1564 MB/s
[    1.448437] raid6: neonx2   xor()  1324 MB/s
[    1.520466] raid6: neonx4   gen()  2103 MB/s
[    1.592515] raid6: neonx4   xor()  1468 MB/s
[    1.664542] raid6: neonx8   gen()  2091 MB/s
[    1.736587] raid6: neonx8   xor()  1510 MB/s
[    1.740874] raid6: using algorithm neonx4 gen() 2103 MB/s
[    1.746296] raid6: .... xor() 1468 MB/s, rmw enabled
[    1.751280] raid6: using intx1 recovery algorithm
[    1.756095] ACPI: Interpreter disabled.
[    1.761851] RCPM: layerscape_rcpm_init: Can't find the RCPM node.
[    1.768534] vgaarb: loaded
[    1.771421] SCSI subsystem initialized
[    1.775494] usbcore: registered new inte**ce driver usbfs
[    1.781039] usbcore: registered new inte**ce driver hub
[    1.786416] usbcore: registered new device driver usb
[    1.791753] imx-i2c 2180000.i2c: fsl-scl-gpio not found
[    1.797044] imx-i2c 2180000.i2c: can't get pinctrl, bus recovery not supported
[    1.804384] i2c i2c-0: IMX I2C adapter registered
[    1.809144] i2c i2c-0: using dma0chan16 (tx) and dma0chan17 (rx) for DMA transfers
[    1.816815] imx-i2c 2190000.i2c: fsl-scl-gpio not found
[    1.822085] imx-i2c 2190000.i2c: can't get pinctrl, bus recovery not supported
[    1.829408] i2c i2c-1: IMX I2C adapter registered
[    1.834137] i2c i2c-1: can't use DMA, using PIO instead.
[    1.839505] imx-i2c 21a0000.i2c: fsl-scl-gpio not found
[    1.844783] imx-i2c 21a0000.i2c: can't get pinctrl, bus recovery not supported
[    1.852208] i2c i2c-2: IMX I2C adapter registered
[    1.856936] i2c i2c-2: can't use DMA, using PIO instead.
[    1.862306] imx-i2c 21b0000.i2c: fsl-scl-gpio not found
[    1.867578] imx-i2c 21b0000.i2c: can't get pinctrl, bus recovery not supported
[    1.874893] i2c i2c-3: IMX I2C adapter registered
[    1.879621] i2c i2c-3: can't use DMA, using PIO instead.
[    1.885075] Linux video capture inte**ce: v2.00
[    1.889737] pps_core: LinuxPPS API ver. 1 registered
[    1.894726] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
[    1.903918] PTP clock support registered
[    1.907947] dmi: Firmware registration failed.
[    1.912430] bman-fbpr addr 0x00000000fa000000 size 0x1000000
[    1.918138] Bman err interrupt handler present
[    1.923003] Bman portal initialised, cpu 0
[    1.927190] Bman portal initialised, cpu 1
[    1.931371] Bman portal initialised, cpu 2
[    1.935556] Bman portal initialised, cpu 3
[    1.939669] Bman portals initialised
[    1.944139] Qman err interrupt handler present
[    1.948803] QMan: Allocated lookup table at ffff000009989000, entry count 65537
[    1.956509] Qman portal initialised, cpu 0
[    1.960684] Qman portal initialised, cpu 1
[    1.964859] Qman portal initialised, cpu 2
[    1.969034] Qman portal initialised, cpu 3
[    1.973150] Qman portals initialised
[    1.976799] Bman: BPID allocator includes range 32:32
[    1.981921] Qman: FQID allocator includes range 256:256
[    1.987173] Qman: FQID allocator includes range 32768:32768
[    1.992817] Qman: CGRID allocator includes range 0:256
[    1.998113] Qman: pool channel allocator includes range 1025:15
[    2.004147] USDPAA region at e0000000:10000000(e0000:10000), 1 TLB1 entries)
[    2.011257] fsl-ifc 1530000.ifc: Freescale Integrated Flash Controller
[    2.017825] fsl-ifc 1530000.ifc: IFC version 1.4, 8 banks
[    2.023473] Advanced Linux Sound Architecture Driver Initialized.
[    2.030078] clocksource: Switched to clocksource arch_sys_counter
[    2.036301] VFS: Disk quotas dquot_6.6.0
[    2.040275] VFS: Dquot-cache hash table entries: 512 (order 0, 4096 bytes)
[    2.047322] pnp: PnP ACPI: disabled
[    2.054169] NET: Registered protocol family 2
[    2.058867] TCP established hash table entries: 16384 (order: 5, 131072 bytes)
[    2.066254] TCP bind hash table entries: 16384 (order: 6, 262144 bytes)
[    2.073108] TCP: Hash tables configured (established 16384 bind 16384)
[    2.079721] UDP hash table entries: 1024 (order: 3, 32768 bytes)
[    2.085792] UDP-Lite hash table entries: 1024 (order: 3, 32768 bytes)
[    2.092366] NET: Registered protocol family 1
[    2.097028] kvm [1]: 8-bit VMID
[    2.100185] kvm [1]: IDMAP page: 81ae3000
[    2.104213] kvm [1]: HYP VA range: 800000000000:ffffffffffff
[    2.110393] kvm [1]: Hyp mode initialized successfully
[    2.115585] kvm [1]: vgic-v2@1440000
[    2.119240] kvm [1]: vgic interrupt IRQ1
[    2.123188] kvm [1]: virtual timer IRQ4
[    2.128320] audit: initializing netlink subsys (disabled)
[    2.133775] audit: type=2000 audit(2.056:1): initialized
[    2.139129] No memory allocated for crashlog
[    2.143518] workingset: timestamp_bits=44 max_order=19 bucket_order=0
[    2.150350] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[    2.156231] jffs2: version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc.
[    2.166193] fuse init (API version 7.26)
[    2.170198] SGI XFS with security attributes, realtime, no debug enabled
[    2.178757] async_tx: api initialized (async)
[    2.183171] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 248)
[    2.190651] io scheduler noop registered
[    2.194606] io scheduler cfq registered (default)
[    2.201129] OF: PCI: host bridge /soc/pcie@3500000 ranges:
[    2.206657] OF: PCI:    IO 0x4800010000..0x480001ffff -> 0x00000000
[    2.212962] OF: PCI:   MEM 0x4840000000..0x487fffffff -> 0x40000000
[    2.219372] layerscape-pcie 3500000.pcie: PCI host bridge to bus 0000:00
[    2.226112] pci_bus 0000:00: root bus resource [bus 00-ff]
[    2.231628] pci_bus 0000:00: root bus resource [io  0x0000-0xffff]
[    2.237841] pci_bus 0000:00: root bus resource [mem 0x4840000000-0x487fffffff] (bus address [0x40000000-0x7fffffff])
[    2.248680] pci 0000:00:00.0: BAR 6: assigned [mem 0x4840000000-0x48400007ff pref]
[    2.256292] pci 0000:00:00.0: PCI bridge to [bus 01]
[    2.261433] pcieport 0000:00:00.0: Signaling PME through PCIe PME interrupt
[    2.268576] OF: PCI: host bridge /soc/pcie@3600000 ranges:
[    2.274098] OF: PCI:    IO 0x5000010000..0x500001ffff -> 0x00000000
[    2.280399] OF: PCI:   MEM 0x5040000000..0x507fffffff -> 0x40000000
[    2.286794] layerscape-pcie 3600000.pcie: PCI host bridge to bus 0001:00
[    2.293532] pci_bus 0001:00: root bus resource [bus 00-ff]
[    2.299049] pci_bus 0001:00: root bus resource [io  0x10000-0x1ffff] (bus address [0x0000-0xffff])
[    2.308057] pci_bus 0001:00: root bus resource [mem 0x5040000000-0x507fffffff] (bus address [0x40000000-0x7fffffff])
[    2.318857] pci 0001:00:00.0: BAR 6: assigned [mem 0x5040000000-0x50400007ff pref]
[    2.326471] pci 0001:00:00.0: PCI bridge to [bus 01]
[    2.331581] pcieport 0001:00:00.0: Signaling PME through PCIe PME interrupt
[    2.340215] Freescale LS2 console driver
[    2.344209] fsl-ls2-console: device fsl_mc_console registered
[    2.350025] fsl-ls2-console: device fsl_aiop_console registered
[    2.356452] xenfs: not registering filesystem on non-xen platform
[    2.364209] Serial: 8250/16550 driver, 4 ports, IRQ sharing enabled
[    2.371451] console [ttyS0] disabled
[    2.375072] 21c0500.serial: ttyS0 at MMIO 0x21c0500 (irq = 39, base_baud = 25000000) is a 16550A
[    2.383924] console [ttyS0] enabled
[    2.383924] console [ttyS0] enabled
[    2.390907] bootconsole [uart8250] disabled
[    2.390907] bootconsole [uart8250] disabled
[    2.399469] 21c0600.serial: ttyS1 at MMIO 0x21c0600 (irq = 39, base_baud = 25000000) is a 16550A
[    2.408424] 21d0500.serial: ttyS2 at MMIO 0x21d0500 (irq = 40, base_baud = 25000000) is a 16550A
[    2.417379] 21d0600.serial: ttyS3 at MMIO 0x21d0600 (irq = 40, base_baud = 25000000) is a 16550A
[    2.432323] brd: module loaded
[    2.438154] loop: module loaded
[    2.441568] hisi_sas: driver version v1.6
[    2.446723] ahci-qoriq 3200000.sata: AHCI 0001.0301 32 slots 1 ports 6 Gbps 0x1 impl platform mode
[    2.455683] ahci-qoriq 3200000.sata: flags: 64bit ncq sntf pm clo only pmp fbs pio slum part ccc sds apst
[    2.465808] scsi host0: ahci-qoriq
[    2.469348] ata1: SATA max UDMA/133 mmio [mem 0x03200000-0x0320ffff] port 0x100 irq 51
[    2.478172] fsl-quadspi 1550000.quadspi: unrecognized JEDEC id bytes: c8, 60, 18
[    2.485564] fsl-quadspi 1550000.quadspi: Freescale QuadSPI probe failed
[    2.492196] fsl-quadspi: probe of 1550000.quadspi failed with error -2
[    2.499438] libphy: Fixed MDIO Bus: probed
[    2.504257] tun: Universal TUN/TAP device driver, 1.6
[    2.509305] tun: (C) 1999-2004 Max Krasnyansky <maxk@qualcomm.com>
[    2.515555] CAN device driver inte**ce
[    2.519427] usbcore: registered new inte**ce driver ucan
[    2.525439] libphy: Freescale XGMAC MDIO Bus: probed
[    2.531458] libphy: Freescale XGMAC MDIO Bus: probed
[    2.537037] libphy: Freescale XGMAC MDIO Bus: probed
[    2.542234] libphy: Freescale XGMAC MDIO Bus: probed
[    2.547394] libphy: Freescale XGMAC MDIO Bus: probed
[    2.552552] libphy: Freescale XGMAC MDIO Bus: probed
[    2.557711] libphy: Freescale XGMAC MDIO Bus: probed
[    2.562873] libphy: Freescale XGMAC MDIO Bus: probed
[    2.568036] libphy: Freescale XGMAC MDIO Bus: probed
[    2.584955] Freescale FM module, FMD API version 21.1.0
[    2.592494] Freescale FM Ports module
[    2.596158] fsl_mac: fsl_mac: FSL FMan MAC API based driver
[    2.602002] SetupSgmiiInternalPhy[133]: enetMode = 0xa03e8, tmpReg16 = 0x140, p_Memac->macId = 0
[    2.610856] SetupSgmiiInternalPhy[133]: enetMode = 0xa03e8, tmpReg16 = 0x140, p_Memac->macId = 0
[    2.619707] SetupSgmiiInternalPhy[133]: enetMode = 0xa03e8, tmpReg16 = 0x140, p_Memac->macId = 0
[    2.628559] SetupSgmiiInternalPhy[133]: enetMode = 0xa03e8, tmpReg16 = 0x140, p_Memac->macId = 0
[    2.637345] fsl_mac 1ae0000.ethernet: FMan MEMAC
[    2.641964] fsl_mac 1ae0000.ethernet: FMan MAC address: 8a:51:3e:c0:31:d9
[    2.648902] SetupSgmiiInternalPhy[133]: enetMode = 0xa03e8, tmpReg16 = 0x0, p_Memac->macId = 1
[    2.657583] SetupSgmiiInternalPhy[133]: enetMode = 0xa03e8, tmpReg16 = 0x0, p_Memac->macId = 1
[    2.666261] SetupSgmiiInternalPhy[133]: enetMode = 0xa03e8, tmpReg16 = 0x0, p_Memac->macId = 1
[    2.674938] SetupSgmiiInternalPhy[133]: enetMode = 0xa03e8, tmpReg16 = 0x0, p_Memac->macId = 1
[    2.683545] fsl_mac 1ae2000.ethernet: FMan MEMAC
[    2.688159] fsl_mac 1ae2000.ethernet: FMan MAC address: 86:b5:9b:c8:26:9b
[    2.695024] fsl_mac 1ae4000.ethernet: FMan MEMAC
[    2.699641] fsl_mac 1ae4000.ethernet: FMan MAC address: ea:a3:0b:99:fe:ef
[    2.706508] fsl_mac 1ae6000.ethernet: FMan MEMAC
[    2.711125] fsl_mac 1ae6000.ethernet: FMan MAC address: 76:34:b9:28:0f:28
[    2.718062] SetupSgmiiInternalPhy[133]: enetMode = 0xa03e8, tmpReg16 = 0x0, p_Memac->macId = 4
[    2.726740] SetupSgmiiInternalPhy[133]: enetMode = 0xa03e8, tmpReg16 = 0x0, p_Memac->macId = 4
[    2.735420] SetupSgmiiInternalPhy[133]: enetMode = 0xa03e8, tmpReg16 = 0x0, p_Memac->macId = 4
[    2.744097] SetupSgmiiInternalPhy[133]: enetMode = 0xa03e8, tmpReg16 = 0x0, p_Memac->macId = 4
[    2.752704] fsl_mac 1ae8000.ethernet: FMan MEMAC
[    2.757319] fsl_mac 1ae8000.ethernet: FMan MAC address: 72:bd:b8:28:79:99
[    2.764262] SetupSgmiiInternalPhy[133]: enetMode = 0xa03e8, tmpReg16 = 0x0, p_Memac->macId = 5
[    2.772940] SetupSgmiiInternalPhy[133]: enetMode = 0xa03e8, tmpReg16 = 0x0, p_Memac->macId = 5
[    2.781617] SetupSgmiiInternalPhy[133]: enetMode = 0xa03e8, tmpReg16 = 0x0, p_Memac->macId = 5
[    2.790294] SetupSgmiiInternalPhy[133]: enetMode = 0xa03e8, tmpReg16 = 0x0, p_Memac->macId = 5
[    2.792283] ata1: SATA link down (SStatus 0 SControl 300)
[    2.804289] fsl_mac 1aea000.ethernet: FMan MEMAC
[    2.808905] fsl_mac 1aea000.ethernet: FMan MAC address: fa:ab:c6:60:7a:f5
[    2.815941] fsl_mac 1af0000.ethernet: FMan MEMAC
[    2.820558] fsl_mac 1af0000.ethernet: FMan MAC address: 0a:80:04:47:3a:56
[    2.827378] fsl_dpa: FSL DPAA Ethernet driver
[    2.831834] fsl_advanced: FSL DPAA Advanced drivers:
[    2.836794] fsl_proxy: FSL DPAA Proxy initialization driver
[    2.842861] fsl_proxy-proxy soc:fsl,dpaa:ethernet@0: probed MAC device with MAC address: 8a:51:3e:c0:31:d9
[    2.852891] fsl_proxy-proxy soc:fsl,dpaa:ethernet@1: probed MAC device with MAC address: 86:b5:9b:c8:26:9b
[    2.862916] fsl_proxy-proxy soc:fsl,dpaa:ethernet@2: probed MAC device with MAC address: ea:a3:0b:99:fe:ef
[    2.872945] fsl_proxy-proxy soc:fsl,dpaa:ethernet@3: probed MAC device with MAC address: 76:34:b9:28:0f:28
[    2.882971] fsl_proxy-proxy soc:fsl,dpaa:ethernet@4: probed MAC device with MAC address: 72:bd:b8:28:79:99
[    2.893003] fsl_proxy-proxy soc:fsl,dpaa:ethernet@5: probed MAC device with MAC address: fa:ab:c6:60:7a:f5
[    2.903034] fsl_proxy-proxy soc:fsl,dpaa:ethernet@8: probed MAC device with MAC address: 0a:80:04:47:3a:56
[    2.912705] fsl_oh: FSL FMan Offline Parsing port driver
[    2.918136] fsl_oh soc:fsl,dpaa:dpa-fman0-oh@2: Found OH node handle compatible with fsl,dpa-oh
[    2.926841] fsl_oh soc:fsl,dpaa:dpa-fman0-oh@2: Allocating 0 ingress frame queues duples
[    2.934979] fsl_oh soc:fsl,dpaa:dpa-fman0-oh@2: OH port /soc/fman@1a00000/port@83000 has no buffer pool. Fragmentation will not be enabled
[    2.947517] fsl_oh soc:fsl,dpaa:dpa-fman0-oh@2: OH port /soc/fman@1a00000/port@83000 enabled.
[    2.956039] fsl_oh soc:fsl,dpaa:dpa-fman0-oh@2: Default egress frame queue: 91
[    2.963256] fsl_oh soc:fsl,dpaa:dpa-fman0-oh@2: Default error frame queue: 90
[    2.970386] fsl_oh soc:fsl,dpaa:dpa-fman0-oh@2: Initialized queues:
[    2.976982] e1000: Intel(R) PRO/1000 Network Driver - version 7.3.21-k8-NAPI
[    2.984025] e1000: Copyright (c) 1999-2006 Intel Corporation.
[    2.989817] e1000e: Intel(R) PRO/1000 Network Driver - 3.2.6-k
[    2.995646] e1000e: Copyright(c) 1999 - 2015 Intel Corporation.
[    3.001596] igb: Intel(R) Gigabit Ethernet Network Driver - version 5.4.0-k
[    3.008552] igb: Copyright (c) 2007-2014 Intel Corporation.
[    3.014151] igbvf: Intel(R) Gigabit Virtual Function Network Driver - version 2.4.0-k
[    3.021974] igbvf: Copyright (c) 2009 - 2012 Intel Corporation.
[    3.027914] sky2: driver version 1.30
[    3.031799] GobiNet: Quectel_WCDMA&LTE_Linux&Android_GobiNet_Driver_V1.3.0
[    3.038703] usbcore: registered new inte**ce driver GobiNet
[    3.044700] VFIO - User Level meta-driver version: 0.3
[    3.050511] dwc3 3000000.usb3: request value same as default, ignoring
[    3.057209] dwc3 3100000.usb3: request value same as default, ignoring
[    3.064494] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[    3.071017] ehci-pci: EHCI PCI platform driver
[    3.075482] ehci-platform: EHCI generic platform driver
[    3.080846] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
[    3.087027] ohci-pci: OHCI PCI platform driver
[    3.091490] ohci-platform: OHCI generic platform driver
[    3.097116] xhci-hcd xhci-hcd.0.auto: xHCI Host Controller
[    3.102608] xhci-hcd xhci-hcd.0.auto: new USB bus registered, assigned bus number 1
[    3.110464] xhci-hcd xhci-hcd.0.auto: hcc params 0x0220f66d hci version 0x100 quirks 0x02010010
[    3.119187] xhci-hcd xhci-hcd.0.auto: irq 48, io mem 0x02f00000
[    3.125412] hub 1-0:1.0: USB hub found
[    3.129169] hub 1-0:1.0: 1 port detected
[    3.133289] xhci-hcd xhci-hcd.0.auto: xHCI Host Controller
[    3.138775] xhci-hcd xhci-hcd.0.auto: new USB bus registered, assigned bus number 2
[    3.146455] usb usb2: We don't know the algorithms for LPM for this host, disabling LPM.
[    3.154787] hub 2-0:1.0: USB hub found
[    3.158544] hub 2-0:1.0: 1 port detected
[    3.162633] xhci-hcd xhci-hcd.1.auto: xHCI Host Controller
[    3.168125] xhci-hcd xhci-hcd.1.auto: new USB bus registered, assigned bus number 3
[    3.175965] xhci-hcd xhci-hcd.1.auto: hcc params 0x0220f66d hci version 0x100 quirks 0x02010010
[    3.184683] xhci-hcd xhci-hcd.1.auto: irq 49, io mem 0x03000000
[    3.190844] hub 3-0:1.0: USB hub found
[    3.194603] hub 3-0:1.0: 1 port detected
[    3.198657] xhci-hcd xhci-hcd.1.auto: xHCI Host Controller
[    3.204144] xhci-hcd xhci-hcd.1.auto: new USB bus registered, assigned bus number 4
[    3.211821] usb usb4: We don't know the algorithms for LPM for this host, disabling LPM.
[    3.220153] hub 4-0:1.0: USB hub found
[    3.223908] hub 4-0:1.0: 1 port detected
[    3.227997] xhci-hcd xhci-hcd.2.auto: xHCI Host Controller
[    3.233486] xhci-hcd xhci-hcd.2.auto: new USB bus registered, assigned bus number 5
[    3.241365] xhci-hcd xhci-hcd.2.auto: hcc params 0x0220f66d hci version 0x100 quirks 0x02010010
[    3.250086] xhci-hcd xhci-hcd.2.auto: irq 50, io mem 0x03100000
[    3.256247] hub 5-0:1.0: USB hub found
[    3.260004] hub 5-0:1.0: 1 port detected
[    3.264056] xhci-hcd xhci-hcd.2.auto: xHCI Host Controller
[    3.269583] xhci-hcd xhci-hcd.2.auto: new USB bus registered, assigned bus number 6
[    3.277261] usb usb6: We don't know the algorithms for LPM for this host, disabling LPM.
[    3.285590] hub 6-0:1.0: USB hub found
[    3.289345] hub 6-0:1.0: 1 port detected
[    3.293477] usbcore: registered new inte**ce driver cdc_acm
[    3.299131] cdc_acm: USB Abstract Control Model driver for USB modems and ISDN adapters
[    3.307239] usbcore: registered new inte**ce driver usb-storage
[    3.313290] usbcore: registered new inte**ce driver usbserial
[    3.319144] usbcore: registered new inte**ce driver usbserial_generic
[    3.325684] usbserial: USB Serial support registered for generic
[    3.331749] usbcore: registered new inte**ce driver option
[    3.337334] usbserial: USB Serial support registered for GSM modem (1-port)
[    3.345773] mousedev: PS/2 mouse device common for all mice
[    3.351771] i2c /dev entries driver
[    3.355813] usbcore: registered new inte**ce driver uvcvideo
[    3.361553] USB Video Class driver (1.1.1)
[    3.366848] imx2-wdt 2ad0000.wdog: timeout 60 sec (nowayout=0)
[    3.373032] qoriq_cpufreq: Freescale QorIQ CPU frequency scaling driver
[    3.380048] sdhci: Secure Digital Host Controller Inte**ce driver
[    3.386225] sdhci: Copyright(c) Pierre Ossman
[    3.390648] Synopsys Designware ** Card Inte**ce Driver
[    3.397121] sdhci-pltfm: SDHCI platform and OF driver helper
[    3.442091] mmc0: SDHCI controller on 1560000.esdhc [1560000.esdhc] using ADMA 64-bit
[    3.457666] ledtrig-cpu: registered to indicate activity on CPUs
[    3.472787] platform caam_qi: Linux CAAM Queue I/F driver initialised
[    3.481246] caam 1700000.crypto: device ID = 0x0a12060000000000 (Era 8)
[    3.489869] caam 1700000.crypto: job rings = 3, qi = 1, dpaa2 = no
[    3.505279] caam algorithms registered in /proc/crypto
[    3.512138] platform caam_qi: algorithms registered in /proc/crypto
[    3.519337] caam_jr 1710000.jr: registering rng-caam
[    3.524353] caam 1700000.crypto: caam pkc algorithms registered in /proc/crypto
[    3.532383] usbcore: registered new inte**ce driver usbhid
[    3.537951] usbhid: USB HID core driver
[    3.542861] Freescale USDPAA process driver
[    3.547113] Freescale USDPAA process IRQ driver
[    3.552749] Initializing XFRM netlink socket
[    3.554975] mmc0: mmc_select_hs200 failed, error -84
[    3.554980] mmc0: error -84 whilst initialising MMC card
[    3.567361] NET: Registered protocol family 10
[    3.572219] sit: IPv6, IPv4 and MPLS over IPv4 tunneling driver
[    3.578525] NET: Registered protocol family 17
[    3.582975] can: controller area network core (rev 20120528 abi 9)
[    3.589199] NET: Registered protocol family 29
[    3.593638] can: raw protocol (rev 20120528)
[    3.597909] 8021q: 802.1Q VLAN Support v1.8
[    3.602102] Key type dns_resolver registered
[    3.606375] Key type ceph registered
[    3.610003] libceph: loaded (mon/osd proto 15/24)
[    3.615081] registered taskstats version 1
[    3.619610] Btrfs loaded, crc32c=crc32c-generic
[    3.624966] hctosys: unable to open rtc device (rtc0)
[    3.630170] ALSA device list:
[    3.633126]   No soundcards found.
[    3.636735] Waiting for root device PARTUUID=c3e88deb-04...

回复

使用道具 举报

0

主题

471

帖子

919

积分

发表于 2021-10-19 09:17:06 | 显示全部楼层
使用出厂镜像也会出现这个问题吗?

点评

是的,也是卡在这里,不过会出现[ 3.650004] mmc0: error -110 whilst initialising MMC card,所以我才想着修改速率。还有搜索不到这个报错  详情 回复 发表于 2021-10-19 16:44
点评回复 支持 反对

使用道具 举报

1

主题

7

帖子

25

积分

 楼主| 发表于 2021-10-19 16:44:58 | 显示全部楼层
djh 发表于 2021-10-19 09:17
使用出厂镜像也会出现这个问题吗?

是的,也是卡在这里,不过会出现[   3.650004] mmc0: error -110 whilst initialising MMC card,所以我才想着修改速率。还有搜索不到这个报错

点评

djh
您用的是那一版出厂镜像啊?用的我们的底板吗? 请将详细的log信息整理成txt文档的格式发一下吧  详情 回复 发表于 2021-10-20 08:38
点评回复 支持 反对

使用道具 举报

0

主题

471

帖子

919

积分

发表于 2021-10-20 08:38:17 | 显示全部楼层
iolML 发表于 2021-10-19 16:44
是的,也是卡在这里,不过会出现[   3.650004] mmc0: error -110 whilst initialising MMC card,所以我 ...

您用的是那一版出厂镜像啊?用的我们的底板吗?
请将详细的log信息整理成txt文档的格式发一下吧

点评

是出场镜像,底板用的也是你们的  详情 回复 发表于 2021-10-20 09:58
点评回复 支持 反对

使用道具 举报

1

主题

7

帖子

25

积分

 楼主| 发表于 2021-10-20 09:58:44 | 显示全部楼层
djh 发表于 2021-10-20 08:38
您用的是那一版出厂镜像啊?用的我们的底板吗?
请将详细的log信息整理成txt文档的格式发一下吧

是出场镜像,底板用的也是你们的

boot startup log.rar

9.55 KB, 下载次数: 1, 下载积分: 贡献 1

点评

djh
看打印信息烧写的uboot和文件系统都不是我们的出厂镜像啊,先定位问题,建议您烧写一下出厂镜像测试一下,如果用的同一块核心板和底板出厂镜像没有问题的话,那说明您编译的镜像存在一些问题  详情 回复 发表于 2021-10-20 11:51
点评回复 支持 反对

使用道具 举报

0

主题

471

帖子

919

积分

发表于 2021-10-20 11:51:38 | 显示全部楼层
iolML 发表于 2021-10-20 09:58
是出场镜像,底板用的也是你们的

看打印信息烧写的uboot和文件系统都不是我们的出厂镜像啊,先定位问题,建议您烧写一下出厂镜像测试一下,如果用的同一块核心板和底板出厂镜像没有问题的话,那说明您编译的镜像存在一些问题

点评

我问了下,我们是哪类一个开源的uboot和自己做的文件系统烧写进去的,最初是可以用的,后来因为硬件需要限制需要固定速率模式,所以才导致了现在的log结果。那我想请教下,你们的这个型号核心板的速率是自动协商嘛?  详情 回复 发表于 2021-10-20 15:49
点评回复 支持 反对

使用道具 举报

1

主题

7

帖子

25

积分

 楼主| 发表于 2021-10-20 15:49:50 | 显示全部楼层
djh 发表于 2021-10-20 11:51
看打印信息烧写的uboot和文件系统都不是我们的出厂镜像啊,先定位问题,建议您烧写一下出厂镜像测试一下 ...

我问了下,我们是哪类一个开源的uboot和自己做的文件系统烧写进去的,最初是可以用的,后来因为硬件需要限制需要固定速率模式,所以才导致了现在的log结果。那我想请教下,你们的这个型号核心板的速率是自动协商嘛?uboot和内核的速率模式可以固定成一个速率模式嘛?

点评

djh
是根据在设备树里面定义的去适配的,设备树路径:flexbuild/packages/linux/linux/arch/arm64/boot/dts/freescale/fsl-ls1043a-rdb.dts[attachimg]11895[/attachimg] 关于这一部分的相关介绍可以看看CPU手册的P1021  详情 回复 发表于 2021-10-21 09:13
点评回复 支持 反对

使用道具 举报

0

主题

471

帖子

919

积分

发表于 2021-10-21 09:13:26 | 显示全部楼层
iolML 发表于 2021-10-20 15:49
我问了下,我们是哪类一个开源的uboot和自己做的文件系统烧写进去的,最初是可以用的,后来因为硬件需要 ...

是根据在设备树里面定义的去适配的,设备树路径:flexbuild/packages/linux/linux/arch/arm64/boot/dts/freescale/fsl-ls1043a-rdb.dts 设备树定义.png
关于这一部分的相关介绍可以看看CPU手册的P1021页,有详细介绍
CPU支持的模式.png


点评

另外还有个问题,在系统代码里面也有类似自定义配置的文件吗?这些配置是否也需要跟boot里面的相似的配置达成一致?  详情 回复 发表于 2021-10-21 10:12
十分感谢,帮了我大忙了,真的感谢  详情 回复 发表于 2021-10-21 10:11
点评回复 支持 反对

使用道具 举报

1

主题

7

帖子

25

积分

 楼主| 发表于 2021-10-21 10:11:21 | 显示全部楼层
djh 发表于 2021-10-21 09:13
是根据在设备树里面定义的去适配的,设备树路径:flexbuild/packages/linux/linux/arch/arm64/boot/dts/f ...

十分感谢,帮了我大忙了,真的感谢:handshake
点评回复 支持 反对

使用道具 举报

1

主题

7

帖子

25

积分

 楼主| 发表于 2021-10-21 10:12:30 | 显示全部楼层
djh 发表于 2021-10-21 09:13
是根据在设备树里面定义的去适配的,设备树路径:flexbuild/packages/linux/linux/arch/arm64/boot/dts/f ...

另外还有个问题,在系统代码里面也有类似自定义配置的文件吗?这些配置是否也需要跟boot里面的相似的配置达成一致?

点评

djh
没有相关的配置文件, 关于第二个问题不是很清楚  详情 回复 发表于 2021-10-21 11:50
点评回复 支持 反对

使用道具 举报

0

主题

471

帖子

919

积分

发表于 2021-10-21 11:50:30 | 显示全部楼层
iolML 发表于 2021-10-21 10:12
另外还有个问题,在系统代码里面也有类似自定义配置的文件吗?这些配置是否也需要跟boot里面的相似的配置 ...

没有相关的配置文件,
关于第二个问题不是很清楚

点评

奥,好的谢谢解答  详情 回复 发表于 2021-10-21 13:05
点评回复 支持 反对

使用道具 举报

1

主题

7

帖子

25

积分

 楼主| 发表于 2021-10-21 13:05:23 | 显示全部楼层
djh 发表于 2021-10-21 11:50
没有相关的配置文件,
关于第二个问题不是很清楚

奥,好的谢谢解答
点评回复 支持 反对

使用道具 举报

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

本版积分规则

QQ|小黑屋| 飞凌嵌入式 ( 冀ICP备12004394号-1 )

GMT+8, 2024-11-24 18:16

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

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