imx8m nano custom board is constantly restarting at start kernel

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

imx8m nano custom board is constantly restarting at start kernel

886件の閲覧回数
viision
Contributor I

Hello,

I've i.MX8m nano custom board and I'm trying to run imx-4.14.98-2.3.2_ga on it.

The problem is that the board is constantly restarting at start kernel :

U-Boot 2018.03-4.14.98-2.3.3+gc20c44482b (Oct 19 2022 - 21:14:42 +0800)

CPU: Freescale i.MX8MNano Quad rev1.0 1500 MHz (running at 1200 MHz)
CPU: Commercial temperature grade (0C to 95C) at 41C
Reset cause: POR
Model: NXP i.MX8MNano DDR4 EVK board
DRAM: 2 GiB
MMC: FSL_SDHC: 0, FSL_SDHC: 1
Loading Environment from MMC... *** Warning - bad CRC, using default environment

Failed (-5)
No panel detected: default to MIPI2HDMI
adv7535_init: No bus 1
Display: MIPI2HDMI (1920x1080)
Video: 1920x1080x24
In: serial
Out: serial
Err: serial

BuildInfo:
- ATF bb209a0
- U-Boot 2018.03-4.14.98-2.3.3+gc20c44482b

switch to partitions #0, OK
mmc1(part 0) is current device
flash target is MMC:1
Net: No ethernet found.
Fastboot: Normal
Normal Boot
Hit any key to stop autoboot: 0
switch to partitions #0, OK
mmc1(part 0) is current device
** Unable to read file boot.scr **
23755264 bytes read in 115 ms (197 MiB/s)
Booting from mmc ...
40992 bytes read in 9 ms (4.3 MiB/s)
## Flattened Device Tree blob at 43000000
Booting using the fdt blob at 0x43000000
Using Device Tree in place at 0000000043000000, end 000000004300d01f

Starting kernel ...

[ 0.000000] Booting Linux on physical CPU 0x0
[ 0.000000] Linux version 4.14.98+gdc4ba17dfdb7 (root@darooms) (gcc version 7.3.0 (GCC)) #2 SMP PREEMPT Fri Oct 21 15:40:49 CST 2022
[ 0.000000] Boot CPU: AArch64 Processor [410fd034]
[ 0.000000] Machine model: NXP i.MX8MNano DDR4 EVK board
[ 0.000000] earlycon: ec_imx6q0 at MMIO 0x0000000030890000 (options '115200')
[ 0.000000] bootconsole [ec_imx6q0] enabled
[ 0.000000] efi: Getting EFI parameters from FDT:
[ 0.000000] efi: UEFI not found.
[ 0.000000] Reserved memory: created CMA memory pool at 0x0000000078000000, size 640 MiB
[ 0.000000] OF: reserved mem: initialized node linux,cma, compatible id shared-dma-pool
[ 0.000000] NUMA: No NUMA configuration found
[ 0.000000] NUMA: Faking a node at [mem 0x0000000000000000-0x00000000bfffffff]
[ 0.000000] NUMA: NODE_DATA [mem 0xbffbfc80-0xbffc1a7f]
[ 0.000000] Zone ranges:
[ 0.000000] DMA [mem 0x0000000040000000-0x00000000bfffffff]
[ 0.000000] Normal empty
[ 0.000000] Movable zone start for each node
[ 0.000000] Early memory node ranges
[ 0.000000] node 0: [mem 0x0000000040000000-0x00000000b7ffffff]
[ 0.000000] node 0: [mem 0x00000000b8400000-0x00000000bfffffff]
[ 0.000000] Initmem setup node 0 [mem 0x0000000040000000-0x00000000bfffffff]
[ 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 @ffff80007ff5a000 s57624 r8192 d32488 u98304
[ 0.000000] Detected VIPT I-cache on CPU0
[ 0.000000] CPU features: enabling workaround for ARM errata 826319, 827319, 824069
[ 0.000000] CPU features: enabling workaround for ARM erratum 845719
[ 0.000000] Speculative Store Bypass Disable mitigation not required
[ 0.000000] Built 1 zonelists, mobility grouping on. Total pages: 515072
[ 0.000000] Policy zone: DMA
[ 0.000000] Kernel command line: console=ttymxc1,115200 earlycon=ec_imx6q,0x30890000,115200 root=/dev/mmcblk2p2 rootwait rw
[ 0.000000] PID hash table entries: 4096 (order: 3, 32768 bytes)
[ 0.000000] Memory: 1380528K/2093056K available (13884K kernel code, 1822K rwdata, 6140K rodata, 1280K init, 435K bss, 57168K reserved, 655360K 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 - 0xffff000008e10000 ( 13888 KB)
[ 0.000000] .rodata : 0xffff000008e10000 - 0xffff000009420000 ( 6208 KB)
[ 0.000000] .init : 0xffff000009420000 - 0xffff000009560000 ( 1280 KB)
[ 0.000000] .data : 0xffff000009560000 - 0xffff000009727a00 ( 1823 KB)
[ 0.000000] .bss : 0xffff000009727a00 - 0xffff000009794740 ( 436 KB)
[ 0.000000] fixed : 0xffff7dfffe7f9000 - 0xffff7dfffec00000 ( 4124 KB)
[ 0.000000] PCI I/O : 0xffff7dfffee00000 - 0xffff7dffffe00000 ( 16 MB)
[ 0.000000] vmemmap : 0xffff7e0000000000 - 0xffff800000000000 ( 2048 GB maximum)
[ 0.000000] 0xffff7e0000000000 - 0xffff7e0002000000 ( 32 MB actual)
[ 0.000000] memory : 0xffff800000000000 - 0xffff800080000000 ( 2048 MB)
[ 0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=4, Nodes=1
[ 0.000000] Preemptible hierarchical RCU implementation.
[ 0.000000] RCU restricting CPUs from NR_CPUS=64 to nr_cpu_ids=4.
[ 0.000000] Tasks RCU enabled.
[ 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: no VLPI support, no direct LPI support
[ 0.000000] ITS: No ITS available, not enabling LPIs
[ 0.000000] GICv3: CPU0: found redistributor 0 region 0:0x0000000038880000
[ 0.000000] i.MX8MN clock driver init done
[ 0.000000] arch_timer: cp15 timer(s) running at 8.00MHz (phys).
[ 0.000000] clocksource: arch_sys_counter: mask: 0xffffffffffffff max_cycles: 0x1d854df40, max_idle_ns: 440795202120 ns
[ 0.000003] sched_clock: 56 bits at 8MHz, resolution 125ns, wraps every 2199023255500ns
[ 0.008547] system counter timer init
[ 0.011755] sched_clock: 56 bits at 8MHz, resolution 125ns, wraps every 2199023255500ns
[ 0.019776] clocksource: imx sysctr: mask: 0xffffffffffffff max_cycles: 0x1d854df40, max_idle_ns: 440795202120 ns
[ 0.030856] Console: colour dummy device 80x25
[ 0.034603] Calibrating delay loop (skipped), value calculated using timer frequency.. 16.00 BogoMIPS (lpj=32000)
[ 0.044899] pid_max: default: 32768 minimum: 301
[ 0.049596] Security Framework initialized
[ 0.054396] Dentry cache hash table entries: 262144 (order: 9, 2097152 bytes)
[ 0.061193] Inode-cache hash table entries: 131072 (order: 8, 1048576 bytes)
[ 0.067930] Mount-cache hash table entries: 4096 (order: 3, 32768 bytes)
[ 0.074658] Mountpoint-cache hash table entries: 4096 (order: 3, 32768 bytes)
[ 0.097881] ASID allocator initialised with 32768 entries
[ 0.105881] Hierarchical SRCU implementation.
[ 0.114326] Cannot find MU entry in device tree
[ 0.116106] CPU identified as i.MX8MN, silicon rev 1.0
[ 0.121783] EFI services will not be available.
[ 0.133748] smp: Bringing up secondary CPUs ...
[ 0.161866] Detected VIPT I-cache on CPU1
[ 0.161890] GICv3: CPU1: found redistributor 1 region 0:0x00000000388a0000
[ 0.161915] CPU1: Booted secondary processor [410fd034]
[ 0.189916] Detected VIPT I-cache on CPU2
[ 0.189932] GICv3: CPU2: found redistributor 2 region 0:0x00000000388c0000
[ 0.189948] CPU2: Booted secondary processor [410fd034]
[ 0.217971] Detected VIPT I-cache on CPU3
[ 0.217988] GICv3: CPU3: found redistributor 3 region 0:0x00000000388e0000
[ 0.218002] CPU3: Booted secondary processor [410fd034]
[ 0.218059] smp: Brought up 1 node, 4 CPUs
[ 0.267880] SMP: Total of 4 processors activated.
[ 0.272600] CPU features: detected feature: GIC system register CPU interface
[ 0.279781] CPU features: detected feature: 32-bit EL0 Support
[ 0.285637] CPU features: detected feature: Kernel page table isolation (KPTI)
[ 0.297518] CPU: All CPU(s) started at EL2
[ 0.298770] alternatives: patching kernel code
[ 0.304176] devtmpfs: initialized
[ 0.311314] random: get_random_u32 called from bucket_table_alloc+0x108/0x260 with crng_init=0
[ 0.317642] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 7645041785100000 ns
[ 0.326953] futex hash table entries: 1024 (order: 5, 131072 bytes)
[ 0.348945] pinctrl core: initialized pinctrl subsystem
[ 0.352679] DMI not present or invalid.
[ 0.355526] NET: Registered protocol family 16
[ 0.363731] cpuidle: using governor menu
[ 0.365492] vdso: 2 pages (1 code @ ffff000008e16000, 1 data @ ffff000009564000)
[ 0.372274] hw-breakpoint: found 6 breakpoint and 4 watchpoint registers.
[ 0.384676] DMA: preallocated 256 KiB pool for atomic allocations
[ 0.388633] Serial: AMBA PL011 UART driver
[ 0.392288] imx rpmsg driver is registered.
[ 0.400495] imx8mn-pinctrl 30330000.pinctrl: initialized IMX pinctrl driver
[ 0.427843] HugeTLB registered 2.00 MiB page size, pre-allocated 0 pages
[ 0.438165] ACPI: Interpreter disabled.
[ 0.441217] vgaarb: loaded
[ 0.442121] SCSI subsystem initialized
[ 0.446272] usbcore: registered new interface driver usbfs
[ 0.451198] usbcore: registered new interface driver hub
[ 0.456608] usbcore: registered new device driver usb
[ 0.461918] usb_phy_generic usbphynop1: usbphynop1 supply vcc not found, using dummy regulator
[ 0.474399] bd71837 0-004b: Device ID=0xA1
[ 0.475645] bd71837 0-004b: gpio_intr = 3
[ 0.479775] bd71837 0-004b: chip_irq=63
[ 0.487901] bd71837-pmic bd71837-pmic: regulator register name 'buck1'
[ 0.508053] bd71837-pmic bd71837-pmic: regulator register name 'buck2'
[ 0.528078] bd71837-pmic bd71837-pmic: regulator register name 'buck3'
[ 0.540118] bd71837-pmic bd71837-pmic: regulator register name 'buck4'
[ 0.552133] bd71837-pmic bd71837-pmic: regulator register name 'buck5'
[ 0.564154] bd71837-pmic bd71837-pmic: regulator register name 'buck6'
[ 0.576186] bd71837-pmic bd71837-pmic: regulator register name 'buck7'
[ 0.588206] bd71837-pmic bd71837-pmic: regulator register name 'buck8'
[ 0.600239] bd71837-pmic bd71837-pmic: regulator register name 'ldo1'
[ 0.620279] bd71837-pmic bd71837-pmic: regulator register name 'ldo2'
[ 0.628286] bd71837-pmic bd71837-pmic: regulator register name 'ldo3'
[ 0.648342] bd71837-pmic bd71837-pmic: regulator register name 'ldo4'
[ 0.660366] bd71837-pmic bd71837-pmic: regulator register name 'ldo5'
[ 0.672390] bd71837-pmic bd71837-pmic: regulator register name 'ldo6'
[ 0.692431] bd71837-pmic bd71837-pmic: regulator register name 'ldo7'
[ 0.716461] i2c i2c-0: IMX I2C adapter registered
[ 0.718321] i2c i2c-0: can't use DMA, using PIO instead.
[ 0.724276] i2c i2c-1: IMX I2C adapter registered
[ 0.728398] i2c i2c-1: can't use DMA, using PIO instead.
[ 0.734257] pca953x 2-0020: 2-0020 supply vcc not found, using dummy regulator
[ 0.745151] pca953x 2-0020: failed reading register
[ 0.747338] i2c i2c-2: IMX I2C adapter registered
[ 0.751924] i2c i2c-2: can't use DMA, using PIO instead.
[ 0.758204] media: Linux media interface: v0.10
[ 0.761831] Linux video capture interface: v2.00
[ 0.766586] pps_core: LinuxPPS API ver. 1 registered
[ 0.771432] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
[ 0.780633] PTP clock support registered
[ 0.784745] EDAC MC: Ver: 3.0.0
[ 0.787925] dmi: Firmware registration failed.
[ 0.792730] Advanced Linux Sound Architecture Driver Initialized.
[ 0.798737] Bluetooth: Core ver 2.22
[ 0.801889] NET: Registered protocol family 31
[ 0.806349] Bluetooth: HCI device and connection manager initialized
[ 0.812735] Bluetooth: HCI socket layer initialized
[ 0.817629] Bluetooth: L2CAP socket layer initialized
[ 0.822715] Bluetooth: SCO socket layer initialized
[ 0.828282] clocksource: Switched to clocksource arch_sys_counter
[ 0.833838] VFS: Disk quotas dquot_6.6.0
[ 0.837711] VFS: Dquot-cache hash table entries: 512 (order 0, 4096 bytes)
[ 0.844684] pnp: PnP ACPI: disabled
[ 0.853129] NET: Registered protocol family 2
[ 0.855046] TCP established hash table entries: 16384 (order: 5, 131072 bytes)
[ 0.862063] TCP bind hash table entries: 16384 (order: 6, 262144 bytes)
[ 0.868779] TCP: Hash tables configured (established 16384 bind 16384)
[ 0.875221] UDP hash table entries: 1024 (order: 3, 32768 bytes)
[ 0.881270] UDP-Lite hash table entries: 1024 (order: 3, 32768 bytes)
[ 0.887770] NET: Registered protocol family 1
[ 0.892292] RPC: Registered named UNIX socket transport module.
[ 0.897965] RPC: Registered udp transport module.
[ 0.902685] RPC: Registered tcp transport module.
[ 0.907409] RPC: Registered tcp NFSv4.1 backchannel transport module.
[ 0.914667] hw perfevents: enabled with armv8_pmuv3 PMU driver, 7 counters available
[ 0.921979] kvm [1]: 8-bit VMID
[ 0.925657] kvm [1]: GICv3: no GICV resource entry
[ 0.929640] kvm [1]: disabling GICv2 emulation
[ 0.934120] kvm [1]: GIC system register CPU interface enabled
[ 0.940026] kvm [1]: vgic interrupt IRQ1
[ 0.943978] kvm [1]: Hyp mode initialized successfully
[ 0.951265] audit: initializing netlink subsys (disabled)
[ 0.954601] audit: type=2000 audit(0.816:1): state=initialized audit_enabled=0 res=1
[ 0.954901] workingset: timestamp_bits=44 max_order=19 bucket_order=0
[ 0.973946] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[ 0.977520] NFS: Registering the id_resolver key type
[ 0.982053] Key type id_resolver registered
[ 0.986231] Key type id_legacy registered
[ 0.990259] nfs4filelayout_init: NFSv4 File Layout Driver Registering...
[ 0.997172] jffs2: version 2.2. (NAND) �0�8 2001-2006 Red Hat, Inc.
[ 1.003525] 9p: Installing v9fs 9p2000 file system support
[ 1.012957] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 244)
[ 1.017553] io scheduler noop registered
[ 1.021587] io scheduler cfq registered (default)
[ 1.026202] io scheduler mq-deadline registered
[ 1.030750] io scheduler kyber registered
[ 1.045791] imx-sdma 302c0000.sdma: no iram assigned, using external mem
[ 1.051608] imx-sdma 302c0000.sdma: Falling back to user helper
[ 1.054301] imx-sdma 30bd0000.sdma: no iram assigned, using external mem
[ 1.067537] mxs-dma 33000000.dma-apbh: initialized
[ 1.071229] Bus freq driver module loaded

 

when this log, board is reatart!

how to find  why is this happening? hardware or software.   

ラベル(1)
0 件の賞賛
返信
2 返答(返信)

868件の閲覧回数
Zhiming_Liu
NXP TechSupport
NXP TechSupport

Hi

You should check all power voltages on your hardware platform and try to remove bus frequence driver in the last log.

0 件の賞賛
返信

852件の閲覧回数
viision
Contributor I
thank you! i test board and BD71850's output power voltages is ok. you say remove bus frequence driver is by kernel menuconfig disable ?
0 件の賞賛
返信