完善资料让更多小伙伴认识你,还能领取20积分哦, 立即完善>
在AN13709看到的猎鹰模式,尝试完成 I.MX8M Plus 的猎鹰模式的 spl 直接跳转内核,目前成功实现 spl 跳转内核,但目录出入dmesg。
在最下面的 [ 0.000000] snvs_pwrkey: 30370000.snvs:snvs-powerkey 的探测失败,错误为 -22 [ 0.000000] i2c /dev 条目驱动程序 就是内核启动打印的最后的信息,之后就停在这里再也没有后续了。 官方人员可以否给我一些建议以方便我继续进行最终实现猎鹰模式。我将不胜感激。 U-Boot SPL 2020.04 (Apr 20 2023 - 11:47:41 +0800) spl_init pmic_alloc: new pmic struct: 0x184000 pmic_get: pmic PCA9450 -> 0x184000 Bus: 0 PMIC:PCA9450 probed! i2c_write_data: chip=0x25, len=0x0 write_data: i2c_write_data: chip=0x25, len=0x1 write_data: 0x29 i2c_write_data: chip=0x25, len=0x1 write_data: 0x1c i2c_write_data: chip=0x25, len=0x1 write_data: 0x14 i2c_write_data: chip=0x25, len=0x1 write_data: 0x59 i2c_write_data: chip=0x25, len=0x1 write_data: 0x1c i2c_write_data: chip=0x25, len=0x1 write_data: 0xa1 DDRINFO: start DRAM init DDRINFO: cfg clk DDRINFO: DRAM rate 4000MTS DDRINFO: ddrc config start DDRINFO: ddrc config done DDRINFO:ddrphy config start DRAM PHY training for 4000MTS check ddr_pmu_train_imem code check ddr_pmu_train_imem code pass check ddr4_pmu_train_dmem code check ddr_pmu_train_dmem code pass [PMU Major message = 0x0000000d] [PMU Major message = 0x00000000] [PMU Major message = 0x00000002] [PMU Major message = 0x00000001] [PMU Major message = 0x0000000a] [PMU Major message = 0x000000fd] [PMU Major message = 0x000000fe] [PMU Major message = 0x00000004] [PMU Major message = 0x00000003] [PMU Major message = 0x00000009] [PMU Major message = 0x00000007] Training PASS DRAM PHY training for 400MTS check ddr_pmu_train_imem code check ddr_pmu_train_imem code pass check ddr4_pmu_train_dmem code check ddr_pmu_train_dmem code pass [PMU Major message = 0x0000000d] [PMU Major message = 0x00000000] [PMU Major message = 0x00000002] [PMU Major message = 0x00000001] [PMU Major message = 0x000000fd] [PMU Major message = 0x000000fe] [PMU Major message = 0x00000004] [PMU Major message = 0x00000003] [PMU Major message = 0x00000009] [PMU Major message = 0x00000007] Training PASS DRAM PHY training for 100MTS check ddr_pmu_train_imem code check ddr_pmu_train_imem code pass check ddr4_pmu_train_dmem code check ddr_pmu_train_dmem code pass [PMU Major message = 0x0000000d] [PMU Major message = 0x00000000] [PMU Major message = 0x00000002] [PMU Major message = 0x00000001] [PMU Major message = 0x000000fd] [PMU Major message = 0x000000fe] [PMU Major message = 0x00000004] [PMU Major message = 0x00000003] [PMU Major message = 0x00000009] [PMU Major message = 0x00000007] Training PASS DRAM PHY training for 4000MTS check ddr_pmu_train_imem code check ddr_pmu_train_imem code pass check ddr4_pmu_train_dmem code check ddr_pmu_train_dmem code pass [PMU Major message = 0x00000000] [PMU Major message = 0x00000005] [PMU Major message = 0x00000005] [PMU Major message = 0x00000006] [PMU Major message = 0x00000006] [PMU Major message = 0x00000007] Training PASS DDRINFO: ddrphy config done DDRINFO:ddrphy calibration done DDRINFO: ddrmix config done >>SPL: board_init_r() using memory lx-lx for malloc() Normal Boot Trying to boot from MMC1 clock is disabled (0Hz) clock is enabled (400000Hz) clock is enabled (400000Hz) clock is enabled (50000000Hz) spl: mmc boot mode: raw spl_start_uboot retval :0 1:set define fault load FDT file to RAM hdr read sector ebf584, count=1 entry mmc_load_legacy function SPL: payload image: Linux kernel load addr: 0x4047ffc0 size: 28013120 read d5ba sectors from 0xebf584 to 0x4047ffc0 ATF:read 0x60 sectors from 0xECDF80 to 0x970000 FDT-args:read 3d sectors from ebf520 to 43000000 Jumping to atf then linux NOTICE: BL31: v2.2(release): NOTICE: BL31: Built : 03:43:09, Apr 18 2023 [ 0.000000] Booting Linux on physical CPU 0x0000000000 [0x410fd034] [ 0.000000] Linux version 5.4.70 (mengfei@ubuntu2004-17) (gcc version 9.2.0 (GCC)) #1 SMP PREEMPT Fri Apr 7 17:08:53 HKT 2023 [ 0.000000] Machine model: NXP i.MX8MPlus LPDDR4 EVK board [ 0.000000] earlycon: ec_imx6q0 at MMIO 0x0000000030890000 (options '115200') [ 0.000000] printk: bootconsole [ec_imx6q0] enabled [ 0.000000] efi: Getting EFI parameters from FDT: [ 0.000000] efi: UEFI not found. [ 0.000000] cma: Reserved 320 MiB at 0x00000000ec000000 [ 0.000000] NUMA: No NUMA configuration found [ 0.000000] NUMA: Faking a node at [mem 0x0000000040000000-0x00000001bfffffff] [ 0.000000] NUMA: NODE_DATA [mem 0x1bf3d6500-0x1bf3d7fff] [ 0.000000] Zone ranges: [ 0.000000] DMA32 [mem 0x0000000040000000-0x00000000ffffffff] [ 0.000000] Normal [mem 0x0000000100000000-0x00000001bfffffff] [ 0.000000] Movable zone start for each node [ 0.000000] Early memory node ranges [ 0.000000] node 0: [mem 0x0000000040000000-0x00000001bfffffff] [ 0.000000] Initmem setup node 0 [mem 0x0000000040000000-0x00000001bfffffff] [ 0.000000] psci: probing for conduit method from DT. [ 0.000000] psci: PSCIv1.1 detected in firmware. [ 0.000000] psci: Using standard PSCI v0.2 function IDs [ 0.000000] psci: MIGRATE_INFO_TYPE not supported. [ 0.000000] psci: SMC Calling Convention v1.1 [ 0.000000] percpu: Embedded 24 pages/cpu s58904 r8192 d31208 u98304 [ 0.000000] Detected VIPT I-cache on CPU0 [ 0.000000] CPU features: detected: ARM erratum 845719 [ 0.000000] CPU features: detected: GIC system register CPU interface [ 0.000000] Speculative Store Bypass Disable mitigation not required [ 0.000000] Built 1 zonelists, mobility grouping on. Total pages: 1548288 [ 0.000000] Policy zone: Normal [ 0.000000] Kernel command line: console=ttymxc1,115200 earlycon=ec_imx6q,0x30890000,115200 [ 0.000000] Dentry cache hash table entries: 1048576 (order: 11, 8388608 bytes, linear) [ 0.000000] Inode-cache hash table entries: 524288 (order: 10, 4194304 bytes, linear) [ 0.000000] mem auto-init: stack:off, heap alloc:off, heap free:off [ 0.000000] software IO TLB: mapped [mem 0xe8000000-0xec000000] (64MB) [ 0.000000] Memory: 5745992K/6291456K available (16636K kernel code, 1244K rwdata, 6556K rodata, 2880K init, 1017K bss, 217784K reserved, 327680K cma-reserved) [ 0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=4, Nodes=1 [ 0.000000] rcu: Preemptible hierarchical RCU implementation. [ 0.000000] rcu: RCU restricting CPUs from NR_CPUS=256 to nr_cpu_ids=4. [ 0.000000] Tasks RCU enabled. [ 0.000000] rcu: RCU calculated value of scheduler-enlistment delay is 25 jiffies. [ 0.000000] rcu: Adjusting geometry for rcu_fanout_leaf=16, nr_cpu_ids=4 [ 0.000000] NR_IRQS: 64, nr_irqs: 64, preallocated irqs: 0 [ 0.000000] GICv3: GIC: Using split EOI/Deactivate mode [ 0.000000] GICv3: 160 SPIs implemented [ 0.000000] GICv3: 0 Extended SPIs implemented [ 0.000000] GICv3: Distributor has no Range Selector support [ 0.000000] GICv3: 16 PPIs implemented [ 0.000000] GICv3: no VLPI support, no direct LPI support [ 0.000000] GICv3: CPU0: found redistributor 0 region 0:0x0000000038880000 [ 0.000000] ITS: No ITS available, not enabling LPIs [ 0.000000] random: get_random_bytes called from start_kernel+0x2b8/0x44c with crng_init=0 [ 0.000000] irq: no irq domain found for gpc@303a0000 ! [ 0.000000] irq: no irq domain found for gpc@303a0000 ! [ 0.000000] irq: no irq domain found for gpc@303a0000 ! [ 0.000000] irq: no irq domain found for gpc@303a0000 ! [ 0.000000] arch_timer: No interrupt available, giving up [ 0.000000] Failed to initialize '/timer': -22 [ 0.000000] irq: no irq domain found for gpc@303a0000 ! [ 0.000000] Failed to map interrupt for /soc@0/bus@30400000/timer@306a0000 [ 0.000000] Failed to initialize '/soc@0/bus@30400000/timer@306a0000': -22 [ 0.000000] timer_probe: no matching timers found [ 0.000000] Console: colour dummy device 80x25 [ 0.000000] sched_clock: 64 bits at 250 Hz, resolution 4000000ns, wraps every 9007199254000000ns [ 0.000000] Calibrating delay loop (skipped), value calculated using timer frequency.. 16.00 BogoMIPS (lpj=32000) [ 0.000000] pid_max: default: 32768 minimum: 301 [ 0.000000] LSM: Security Framework initializing [ 0.000000] Mount-cache hash table entries: 16384 (order: 5, 131072 bytes, linear) [ 0.000000] Mountpoint-cache hash table entries: 16384 (order: 5, 131072 bytes, linear) [ 0.000000] ASID allocator initialised with 32768 entries [ 0.000000] rcu: Hierarchical SRCU implementation. [ 0.000000] EFI services will not be available. [ 0.000000] smp: Bringing up secondary CPUs ... [ 0.000000] Detected VIPT I-cache on CPU1 [ 0.000000] GICv3: CPU1: found redistributor 1 region 0:0x00000000388a0000 [ 0.000000] CPU1: Booted secondary processor 0x0000000001 [0x410fd034] [ 0.000000] Detected VIPT I-cache on CPU2 [ 0.000000] GICv3: CPU2: found redistributor 2 region 0:0x00000000388c0000 [ 0.000000] CPU2: Booted secondary processor 0x0000000002 [0x410fd034] [ 0.000000] Detected VIPT I-cache on CPU3 [ 0.000000] GICv3: CPU3: found redistributor 3 region 0:0x00000000388e0000 [ 0.000000] CPU3: Booted secondary processor 0x0000000003 [0x410fd034] [ 0.000000] smp: Brought up 1 node, 4 CPUs [ 0.000000] SMP: Total of 4 processors activated. [ 0.000000] CPU features: detected: 32-bit EL0 Support [ 0.000000] CPU features: detected: CRC32 instructions [ 0.000000] CPU: All CPU(s) started at EL2 [ 0.000000] alternatives: patching kernel code [ 0.000000] devtmpfs: initialized [ 0.000000] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 7645041785100000 ns [ 0.000000] futex hash table entries: 1024 (order: 4, 65536 bytes, linear) [ 0.000000] pinctrl core: initialized pinctrl subsystem [ 0.000000] DMI not present or invalid. [ 0.000000] NET: Registered protocol family 16 [ 0.000000] DMA: preallocated 256 KiB pool for atomic allocations [ 0.000000] audit: initializing netlink subsys (disabled) [ 0.000000] audit: type=2000 audit(0.000:1): state=initialized audit_enabled=0 res=1 [ 0.000000] cpuidle: using governor menu [ 0.000000] hw-breakpoint: found 6 breakpoint and 4 watchpoint registers. [ 0.000000] Serial: AMBA PL011 UART driver [ 0.000000] imx mu driver is registered. [ 0.000000] imx rpmsg driver is registered. [ 0.000000] imx8mp-pinctrl 30330000.pinctrl: initialized IMX pinctrl driver [ 0.000000] HugeTLB registered 1.00 GiB page size, pre-allocated 0 pages [ 0.000000] HugeTLB registered 32.0 MiB page size, pre-allocated 0 pages [ 0.000000] HugeTLB registered 2.00 MiB page size, pre-allocated 0 pages [ 0.000000] HugeTLB registered 64.0 KiB page size, pre-allocated 0 pages [ 0.000000] cryptd: max_cpu_qlen set to 1000 [ 0.000000] ACPI: Interpreter disabled. [ 0.000000] iommu: Default domain type: Translated [ 0.000000] vgaarb: loaded [ 0.000000] SCSI subsystem initialized [ 0.000000] usbcore: registered new interface driver usbfs [ 0.000000] usbcore: registered new interface driver hub [ 0.000000] usbcore: registered new device driver usb [ 0.000000] imx-i2c 30a20000.i2c: can't get irq number [ 0.000000] imx-i2c 30a30000.i2c: can't get irq number [ 0.000000] imx-i2c 30a40000.i2c: can't get irq number [ 0.000000] mc: Linux media interface: v0.10 [ 0.000000] videodev: Linux video capture interface: v2.00 [ 0.000000] pps_core: LinuxPPS API ver. 1 registered [ 0.000000] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it> [ 0.000000] PTP clock support registered [ 0.000000] EDAC MC: Ver: 3.0.0 [ 0.000000] No BMan portals available! [ 0.000000] QMan: Allocated lookup table at (____ptrval____), entry count 65537 [ 0.000000] No QMan portals available! [ 0.000000] No USDPAA memory, no 'fsl,usdpaa-mem' in device-tree [ 0.000000] FPGA manager framework [ 0.000000] Advanced Linux Sound Architecture Driver Initialized. [ 0.000000] Bluetooth: Core ver 2.22 [ 0.000000] NET: Registered protocol family 31 [ 0.000000] Bluetooth: HCI device and connection manager initialized [ 0.000000] Bluetooth: HCI socket layer initialized [ 0.000000] Bluetooth: L2CAP socket layer initialized [ 0.000000] Bluetooth: SCO socket layer initialized [ 0.000000] VFS: Disk quotas dquot_6.6.0 [ 0.000000] VFS: Dquot-cache hash table entries: 512 (order 0, 4096 bytes) [ 0.000000] pnp: PnP ACPI: disabled [ 0.000000] thermal_sys: Registered thermal governor 'step_wise' [ 0.000000] thermal_sys: Registered thermal governor 'power_allocator' [ 0.000000] NET: Registered protocol family 2 [ 0.000000] tcp_listen_portaddr_hash hash table entries: 4096 (order: 4, 65536 bytes, linear) [ 0.000000] TCP established hash table entries: 65536 (order: 7, 524288 bytes, linear) [ 0.000000] TCP bind hash table entries: 65536 (order: 8, 1048576 bytes, linear) [ 0.000000] TCP: Hash tables configured (established 65536 bind 65536) [ 0.000000] UDP hash table entries: 4096 (order: 5, 131072 bytes, linear) [ 0.000000] UDP-Lite hash table entries: 4096 (order: 5, 131072 bytes, linear) [ 0.000000] NET: Registered protocol family 1 [ 0.000000] RPC: Registered named UNIX socket transport module. [ 0.000000] RPC: Registered udp transport module. [ 0.000000] RPC: Registered tcp transport module. [ 0.000000] RPC: Registered tcp NFSv4.1 backchannel transport module. [ 0.000000] PCI: CLS 0 bytes, default 64 [ 0.000000] kvm [1]: IPA Size Limit: 40bits [ 0.000000] kvm [1]: GICv3: no GICV resource entry [ 0.000000] kvm [1]: disabling GICv2 emulation [ 0.000000] kvm [1]: GIC system register CPU interface enabled [ 0.000000] kvm [1]: vgic interrupt IRQ1 [ 0.000000] kvm [1]: kvm_arch_timer: uninitialized timecounter [ 0.000000] Initialise system trusted keyrings [ 0.000000] workingset: timestamp_bits=44 max_order=21 bucket_order=0 [ 0.000000] squashfs: version 4.0 (2009/01/31) Phillip Lougher [ 0.000000] NFS: Registering the id_resolver key type [ 0.000000] Key type id_resolver registered [ 0.000000] Key type id_legacy registered [ 0.000000] nfs4filelayout_init: NFSv4 File Layout Driver Registering... [ 0.000000] jffs2: version 2.2. (NAND) © 2001-2006 Red Hat, Inc. [ 0.000000] 9p: Installing v9fs 9p2000 file system support [ 0.000000] Key type asymmetric registered [ 0.000000] Asymmetric key parser 'x509' registered [ 0.000000] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 244) [ 0.000000] io scheduler mq-deadline registered [ 0.000000] io scheduler kyber registered [ 0.000000] imx8mq-usb-phy 381f0040.usb-phy: failed to get imx8mq usb phy clock [ 0.000000] imx8mq-usb-phy: probe of 381f0040.usb-phy failed with error -2 [ 0.000000] imx8mq-usb-phy 382f0040.usb-phy: failed to get imx8mq usb phy clock [ 0.000000] imx8mq-usb-phy: probe of 382f0040.usb-phy failed with error -2 [ 0.000000] EINJ: ACPI disabled. [ 0.000000] i.MX8MP clock driver probe done [ 0.000000] mxs-dma 33000000.dma-apbh: initialized [ 0.000000] Bus freq driver module loaded [ 0.000000] Serial: 8250/16550 driver, 4 ports, IRQ sharing enabled [ 0.000000] imx-uart 30890000.serial: failed to request irq: -22 [ 0.000000] imx-uart: probe of 30890000.serial failed with error -22 [ 0.000000] imx-lcdifv3 32e80000.lcd-controller: No irq get [ 0.000000] loop: module loaded [ 0.000000] imx ahci driver is registered. [ 0.000000] libphy: Fixed MDIO Bus: probed [ 0.000000] tun: Universal TUN/TAP device driver, 1.6 [ 0.000000] thunder_xcv, ver 1.0 [ 0.000000] thunder_bgx, ver 1.0 [ 0.000000] nicpf, ver 1.0 [ 0.000000] pps pps0: new PPS source ptp0 [ 0.000000] fec 30be0000.ethernet: Invalid MAC address: 00:00:00:00:00:00 [ 0.000000] fec 30be0000.ethernet: Using random MAC address: b6:a7:7b:fd:49:54 [ 0.000000] Freescale FM module, FMD API version 21.1.0 [ 0.000000] Freescale FM Ports module [ 0.000000] fsl_mac: fsl_mac: FSL FMan MAC API based driver [ 0.000000] fsl_dpa: FSL DPAA Ethernet driver [ 0.000000] fsl_advanced: FSL DPAA Advanced drivers: [ 0.000000] fsl_proxy: FSL DPAA Proxy initialization driver [ 0.000000] fsl_oh: FSL FMan Offline Parsing port driver [ 0.000000] hclge is initializing [ 0.000000] hns3: Hisilicon Ethernet Network Driver for Hip08 Family - version [ 0.000000] hns3: Copyright (c) 2017 Huawei Corporation. [ 0.000000] e1000: Intel(R) PRO/1000 Network Driver - version 7.3.21-k8-NAPI [ 0.000000] e1000: Copyright (c) 1999-2006 Intel Corporation. [ 0.000000] e1000e: Intel(R) PRO/1000 Network Driver - 3.2.6-k [ 0.000000] e1000e: Copyright(c) 1999 - 2015 Intel Corporation. [ 0.000000] igb: Intel(R) Gigabit Ethernet Network Driver - version 5.6.0-k [ 0.000000] igb: Copyright (c) 2007-2014 Intel Corporation. [ 0.000000] igbvf: Intel(R) Gigabit Virtual Function Network Driver - version 2.4.0-k [ 0.000000] igbvf: Copyright (c) 2009 - 2012 Intel Corporation. [ 0.000000] sky2: driver version 1.30 [ 0.000000] VFIO - User Level meta-driver version: 0.3 [ 0.000000] dwc3 38100000.usb: Failed to get clk 'ref': -2 [ 0.000000] dwc3 38200000.usb: Failed to get clk 'ref': -2 [ 0.000000] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver [ 0.000000] ehci-pci: EHCI PCI platform driver [ 0.000000] ehci-platform: EHCI generic platform driver [ 0.000000] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver [ 0.000000] ohci-pci: OHCI PCI platform driver [ 0.000000] ohci-platform: OHCI generic platform driver [ 0.000000] usbcore: registered new interface driver uas [ 0.000000] usbcore: registered new interface driver usb-storage [ 0.000000] usbcore: registered new interface driver usbserial_generic [ 0.000000] usbserial: USB Serial support registered for generic [ 0.000000] usbcore: registered new interface driver ftdi_sio [ 0.000000] usbserial: USB Serial support registered for FTDI USB Serial Device [ 0.000000] usbcore: registered new interface driver usb_serial_simple [ 0.000000] usbserial: USB Serial support registered for carelink [ 0.000000] usbserial: USB Serial support registered for zio [ 0.000000] usbserial: USB Serial support registered for funsoft [ 0.000000] usbserial: USB Serial support registered for flashloader [ 0.000000] usbserial: USB Serial support registered for google [ 0.000000] usbserial: USB Serial support registered for libtransistor [ 0.000000] usbserial: USB Serial support registered for vivopay [ 0.000000] usbserial: USB Serial support registered for moto_modem [ 0.000000] usbserial: USB Serial support registered for motorola_tetra [ 0.000000] usbserial: USB Serial support registered for novatel_gps [ 0.000000] usbserial: USB Serial support registered for hp4x [ 0.000000] usbserial: USB Serial support registered for suunto [ 0.000000] usbserial: USB Serial support registered for siemens_mpi [ 0.000000] usbcore: registered new interface driver usb_ehset_test [ 0.000000] snvs_pwrkey: probe of 30370000.snvs:snvs-powerkey failed with error -22 [ 0.000000] i2c /dev entries driver |
|
相关推荐
|
|
只有小组成员才能发言,加入小组>>
1935个成员聚集在这个小组
加入小组我的项目我做主,使用GN+Ninja来完成构建系统(VSCode开发RT106X)
36430 浏览 0 评论
NXP IMX8应用处理器快速入门必备:技巧、使用、设计指南
5031 浏览 1 评论
6115 浏览 1 评论
6822 浏览 0 评论
NXP i.MX6UL开发板(linux系统烧录+规格+硬件+模块移植)使用手册
4254 浏览 0 评论
655浏览 2评论
求助,S32G上Core M启动后如何让Core A在Flash指定位置加载uboot?
646浏览 2评论
ESP32-WROVER-IE + LAN8720以太网,GPIO0电压只有1.6v,无法正常进入spi flash boot模式如何解决?
647浏览 2评论
求分享适用于PN7160 Android的NFC工厂测试应用程序
737浏览 2评论
850浏览 2评论
小黑屋| 手机版| Archiver| 电子发烧友 ( 湘ICP备2023018690号 )
GMT+8, 2024-12-29 02:58 , Processed in 1.084698 second(s), Total 74, Slave 58 queries .
Powered by 电子发烧友网
© 2015 bbs.elecfans.com
关注我们的微信
下载发烧友APP
电子发烧友观察
版权所有 © 湖南华秋数字科技有限公司
电子发烧友 (电路图) 湘公网安备 43011202000918 号 电信与信息服务业务经营许可证:合字B2-20210191 工商网监 湘ICP备2023018690号