imx6ul boot suspend with imx_openwrt_23.05

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

imx6ul boot suspend with imx_openwrt_23.05

388 Views
ZongYue
Contributor I

I obtained imx-openwrt-23.05 branch from https://github.com/nxp-imx/imx_openwrt to develop IMX6UL (ARM Cortex-A7), but it will be suspended during Kernel's boot without any response.

I see this branch supporting Cortex-A7 from the git log, may I ask which part of this question can start analyzing from?

The console log as below:

## Booting kernel from Legacy Image at 80800000 ...
Image Name: ARM OpenWrt Linux-5.15.114
Image Type: ARM Linux Kernel Image (uncompressed)
Data Size: 8099360 Bytes = 7.7 MiB
Load Address: 80008000
Entry Point: 80008000
Verifying Checksum ... OK
## Flattened Device Tree blob at 83000000
Booting using the fdt blob at 0x83000000
Loading Kernel Image ... OK
Using Device Tree in place at 83000000, end 8300c675
Modify /soc/aips-bus@02000000/bee@02044000:status disabled
ft_system_setup for mx6

Starting kernel ...

[ 0.000000] Booting Linux on physical CPU 0x0
[ 0.000000] Linux version 5.15.114 (root@build) (arm-openwrt-linux-muslgnueabi-gcc (OpenWrt GCC 11.3.0 r23069-e2701e0f33) 11.3.0, GNU ld (GNU Binutils) 2.37) #0 SMP PREEMPT Sat Jun 3 09:42:00 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 UltraLite 14x14 EVK Board
[ 0.000000] Memory policy: Data cache writealloc
[ 0.000000] Reserved memory: created CMA memory pool at 0xac000000, size 320 MiB
[ 0.000000] OF: reserved mem: initialized node linux,cma, compatible id shared-dma-pool
[ 0.000000] Zone ranges:
[ 0.000000] Normal [mem 0x0000000080000000-0x00000000bfffffff]
[ 0.000000] HighMem empty
[ 0.000000] Movable zone start for each node
[ 0.000000] Early memory node ranges
[ 0.000000] node 0: [mem 0x0000000080000000-0x00000000bfffffff]
[ 0.000000] Initmem setup node 0 [mem 0x0000000080000000-0x00000000bfffffff]
[ 0.000000] percpu: Embedded 12 pages/cpu s16716 r8192 d24244 u49152
[ 0.000000] Built 1 zonelists, mobility grouping on. Total pages: 259840
[ 0.000000] Kernel command line: consoleblank=0 no_console_suspend=1 console=ttymxc0,115200 systemd.unit=manufacturing.target root=/dev/mmcblk1p3 rootwait rw
[ 0.000000] Dentry cache hash table entries: 131072 (order: 7, 524288 bytes, linear)
[ 0.000000] Inode-cache hash table entries: 65536 (order: 6, 262144 bytes, linear)
[ 0.000000] mem auto-init: stack:off, heap alloc:off, heap free:off
[ 0.000000] Memory: 691960K/1048576K available (11264K kernel code, 1280K rwdata, 3416K rodata, 1024K init, 408K bss, 28936K 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 event tracing is enabled.
[ 0.000000] rcu: RCU restricting CPUs from NR_CPUS=4 to nr_cpu_ids=1.
[ 0.000000] Trampoline variant of 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] Switching to timer-based delay loop, resolution 333ns
[ 0.000003] sched_clock: 32 bits at 3000kHz, resolution 333ns, wraps every 715827882841ns
[ 0.000063] clocksource: mxc_timer1: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 637086815595 ns
[ 0.003147] Console: colour dummy device 80x30
[ 0.003265] Calibrating delay loop (skipped), value calculated using timer frequency.. 6.00 BogoMIPS (lpj=30000)
[ 0.003325] pid_max: default: 32768 minimum: 301
[ 0.003862] Mount-cache hash table entries: 2048 (order: 1, 8192 bytes, linear)
[ 0.003935] Mountpoint-cache hash table entries: 2048 (order: 1, 8192 bytes, linear)
[ 0.005990] CPU: Testing write buffer coherency: ok
[ 0.006739] /cpus/cpu@0 missing clock-frequency property
[ 0.006830] CPU0: thread -1, cpu 0, socket 0, mpidr 80000000
[ 0.009553] Setting up static identity map for 0x80100000 - 0x80100060
[ 0.009979] rcu: Hierarchical SRCU implementation.
[ 0.011185] smp: Bringing up secondary CPUs ...
[ 0.011233] smp: Brought up 1 node, 1 CPU
[ 0.011268] SMP: Total of 1 processors activated (6.00 BogoMIPS).
[ 0.011300] CPU: All CPU(s) started in SVC mode.
[ 0.029999] VFP support v0.3: implementor 41 architecture 2 part 30 variant 7 rev 5
[ 0.030789] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[ 0.030884] futex hash table entries: 256 (order: 2, 16384 bytes, linear)
[ 0.056791] pinctrl core: initialized pinctrl subsystem
[ 0.060503] NET: Registered PF_NETLINK/PF_ROUTE protocol family
[ 0.079027] DMA: preallocated 256 KiB pool for atomic coherent allocations
[ 0.082150] thermal_sys: Registered thermal governor 'step_wise'
[ 0.082600] cpuidle: using governor menu
[ 0.082810] CPU identified as i.MX6UL, silicon rev 1.2
[ 0.113289] vdd3p0: supplied by regulator-dummy
[ 0.114561] cpu: supplied by regulator-dummy
[ 0.116051] vddsoc: supplied by regulator-dummy
[ 0.157776] No ATAGs?
[ 0.161445] imx6ul-pinctrl 20e0000.iomuxc: Invalid fsl,pins or pins property in node /soc/aips-bus@02000000/iomuxc@020e0000/csi1grp
[ 0.161836] imx6ul-pinctrl 20e0000.iomuxc: Invalid fsl,pins or pins property in node /soc/aips-bus@02000000/iomuxc@020e0000/flexcan2grp
[ 0.161989] imx6ul-pinctrl 20e0000.iomuxc: Invalid fsl,pins or pins property in node /soc/aips-bus@02000000/iomuxc@020e0000/qspigrp
[ 0.162088] imx6ul-pinctrl 20e0000.iomuxc: Invalid fsl,pins or pins property in node /soc/aips-bus@02000000/iomuxc@020e0000/pf1550
[ 0.162178] imx6ul-pinctrl 20e0000.iomuxc: Invalid fsl,pins or pins property in node /soc/aips-bus@02000000/iomuxc@020e0000/pwm1grp
[ 0.162260] imx6ul-pinctrl 20e0000.iomuxc: Invalid fsl,pins or pins property in node /soc/aips-bus@02000000/iomuxc@020e0000/sim2grp
[ 0.162344] imx6ul-pinctrl 20e0000.iomuxc: Invalid fsl,pins or pins property in node /soc/aips-bus@02000000/iomuxc@020e0000/tscgrp
[ 0.162564] imx6ul-pinctrl 20e0000.iomuxc: Invalid fsl,pins or pins property in node /soc/aips-bus@02000000/iomuxc@020e0000/sim2grp-1
[ 0.162659] imx6ul-pinctrl 20e0000.iomuxc: initialized IMX pinctrl driver
[ 0.233062] vgaarb: loaded
[ 0.234296] SCSI subsystem initialized
[ 0.235643] usbcore: registered new interface driver usbfs
[ 0.235790] usbcore: registered new interface driver hub
[ 0.235919] usbcore: registered new device driver usb
[ 0.239986] i2c i2c-0: IMX I2C adapter registered
[ 0.242998] pca953x 1-0022: supply vcc not found, using dummy regulator
[ 0.243427] pca953x 1-0022: using AI
[ 0.252749] pca953x 1-0022: failed writing register
[ 0.253901] i2c i2c-1: IMX I2C adapter registered
[ 0.255455] mc: Linux media interface: v0.10
[ 0.255618] videodev: Linux video capture interface: v2.00
[ 0.255904] pps_core: LinuxPPS API ver. 1 registered
[ 0.255936] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
[ 0.256000] PTP clock support registered
[ 0.257256] Advanced Linux Sound Architecture Driver Initialized.
[ 0.259282] Bluetooth: Core ver 2.22
[ 0.259475] NET: Registered PF_BLUETOOTH protocol family
[ 0.259506] Bluetooth: HCI device and connection manager initialized
[ 0.259550] Bluetooth: HCI socket layer initialized
[ 0.259581] Bluetooth: L2CAP socket layer initialized
[ 0.259645] Bluetooth: SCO socket layer initialized
[ 0.261052] clocksource: Switched to clocksource mxc_timer1
[ 0.261584] VFS: Disk quotas dquot_6.6.0
[ 0.261759] VFS: Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
[ 0.274155] NET: Registered PF_INET protocol family
[ 0.274742] IP idents hash table entries: 16384 (order: 5, 131072 bytes, linear)
[ 0.277671] tcp_listen_portaddr_hash hash table entries: 512 (order: 0, 6144 bytes, linear)
[ 0.277794] Table-perturb hash table entries: 65536 (order: 6, 262144 bytes, linear)
[ 0.277853] TCP established hash table entries: 8192 (order: 3, 32768 bytes, linear)
[ 0.278048] TCP bind hash table entries: 8192 (order: 4, 65536 bytes, linear)
[ 0.278353] TCP: Hash tables configured (established 8192 bind 8192)
[ 0.278589] UDP hash table entries: 512 (order: 2, 16384 bytes, linear)
[ 0.278705] UDP-Lite hash table entries: 512 (order: 2, 16384 bytes, linear)
[ 0.279300] NET: Registered PF_UNIX/PF_LOCAL protocol family
[ 0.281993] PCI: CLS 0 bytes, default 64
[ 0.290356] Bus freq driver module loaded
[ 0.292250] Initialise system trusted keyrings
[ 0.292873] workingset: timestamp_bits=14 max_order=18 bucket_order=4
[ 0.305835] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[ 0.306187] jffs2: version 2.2 (NAND) (ZLIB) (RTIME) (c) 2001-2006 Red Hat, Inc.
[ 0.307322] fuse: init (API version 7.34)
[ 0.552491] Key type asymmetric registered
[ 0.552561] Asymmetric key parser 'x509' registered
[ 0.553255] io scheduler mq-deadline registered
[ 0.553309] io scheduler kyber registered
[ 0.555886] imx-weim 21b8000.weim: Driver registered.
[ 0.566894] pwm-backlight backlight: supply power not found, using dummy regulator
[ 0.574269] imx-sdma 20ec000.sdma: alloc bd from iram.
[ 0.579865] imx-sdma 20ec000.sdma: Direct firmware load for imx/sdma/sdma-imx6q.bin failed with error -2
[ 0.579940] imx-sdma 20ec000.sdma: Falling back to sysfs fallback for: imx/sdma/sdma-imx6q.bin
[ 0.584640] mxs-dma 1804000.dma-apbh: initialized
[ 0.596181] pfuze100-regulator 0-0008: Full layer: 1, Metal layer: 1
[ 0.596973] pfuze100-regulator 0-0008: FAB: 0, FIN: 0
[ 0.597016] pfuze100-regulator 0-0008: pfuze3000 found.
[ 0.624006] 2020000.serial: ttymxc0 at MMIO 0x2020000 (irq = 28, base_baud = 5000000) is a IMX
[ 1.438811] printk: console [ttymxc0] enabled
[ 1.445565] 2024000.serial: ttymxc7 at MMIO 0x2024000 (irq = 29, base_baud = 5000000) is a IMX
[ 1.457067] 21e8000.serial: ttymxc1 at MMIO 0x21e8000 (irq = 72, base_baud = 5000000) is a IMX
[ 1.467957] 21ec000.serial: ttymxc2 at MMIO 0x21ec000 (irq = 73, base_baud = 5000000) is a IMX
[ 1.479093] 21f4000.serial: ttymxc4 at MMIO 0x21f4000 (irq = 74, base_baud = 5000000) is a IMX
[ 1.490180] 21fc000.serial: ttymxc5 at MMIO 0x21fc000 (irq = 75, base_baud = 5000000) is a IMX
[ 1.502185] imx sema4 driver is registered.
[ 1.543519] brd: module loaded
[ 1.562001] loop: module loaded
[ 1.574155] gpio_spi@0 enforce active low on chipselect handle
[ 1.584745] ksz8863@0 enforce active low on chipselect handle
[ 1.598841] tun: Universal TUN/TAP device driver, 1.6
[ 1.604387] CAN device driver interface
[ 1.617558] pps pps0: new PPS source ptp0
[ 1.623113] fec 2188000.ethernet: Invalid MAC address: 00:00:00:00:00:00
[ 1.629955] fec 2188000.ethernet: Using random MAC address: 4e:0b:3c:f0:62:fb
[ 1.686411] fec 2188000.ethernet eth0: registered PHC device 0
[ 1.695451] usbcore: registered new interface driver r8152
[ 1.701514] usbcore: registered new interface driver lan78xx
[ 1.707307] usbcore: registered new interface driver asix
[ 1.713043] usbcore: registered new interface driver ax88179_178a
[ 1.719249] usbcore: registered new interface driver cdc_ether
[ 1.725507] usbcore: registered new interface driver smsc95xx
[ 1.731483] usbcore: registered new interface driver net1080
[ 1.737254] usbcore: registered new interface driver cdc_subset
[ 1.743347] usbcore: registered new interface driver zaurus
[ 1.749038] usbcore: registered new interface driver MOSCHIP usb-ethernet driver
[ 1.756708] usbcore: registered new interface driver cdc_ncm
[ 1.762541] usbcore: registered new interface driver r8153_ecm
[ 1.768401] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[ 1.774998] ehci-pci: EHCI PCI platform driver
[ 1.779690] usbcore: registered new interface driver usb-storage
[ 1.794030] input: 20cc000.snvs:snvs-powerkey as /devices/platform/soc/2000000.aips-bus/20cc000.snvs/20cc000.snvs:snvs-powerkey/input/input0
[ 1.807893] SPI driver ads7846 has no spi_device_id for ti,tsc2046
[ 1.814356] SPI driver ads7846 has no spi_device_id for ti,ads7843
[ 1.820576] SPI driver ads7846 has no spi_device_id for ti,ads7845
[ 1.826856] SPI driver ads7846 has no spi_device_id for ti,ads7873
[ 1.840128] snvs_rtc 20cc000.snvs:snvs-rtc-lp: registered as rtc0
[ 1.846441] snvs_rtc 20cc000.snvs:snvs-rtc-lp: setting system clock to 1970-01-01T00:00:00 UTC (0)
[ 1.855944] i2c_dev: i2c /dev entries driver
[ 1.869785] Bluetooth: HCI UART driver ver 2.3
[ 1.874404] Bluetooth: HCI UART protocol H4 registered
[ 1.879573] Bluetooth: HCI UART protocol BCSP registered
[ 1.885039] Bluetooth: HCI UART protocol LL registered
[ 1.890269] Bluetooth: HCI UART protocol Three-wire (H5) registered
[ 1.896691] Bluetooth: HCI UART protocol Marvell registered
[ 1.902509] usbcore: registered new interface driver btusb
[ 1.910354] sdhci: Secure Digital Host Controller Interface driver
[ 1.916690] sdhci: Copyright(c) Pierre Ossman
[ 1.921113] sdhci-pltfm: SDHCI platform and OF driver helper
[ 1.935046] hid: raw HID events driver (C) Jiri Kosina
[ 1.940672] usbcore: registered new interface driver usbhid
[ 1.951729] usbhid: USB HID core driver
[ 1.958964] mma8452 0-001e: supply vdd not found, using dummy regulator
[ 1.966204] mma8452 0-001e: supply vddio not found, using dummy regulator
[ 1.981858] mag3110 0-000e: supply vdd not found, using dummy regulator
[ 1.988658] mmc0: SDHCI controller on 2190000.usdhc [2190000.usdhc] using ADMA
[ 1.996042] mmc1: SDHCI controller on 2194000.usdhc [2194000.usdhc] using ADMA
[ 2.004364] mag3110 0-000e: supply vddio not found, using dummy regulator
[ 2.030235] wm8960 1-001a: Failed to issue reset
[ 2.039954] fsl-asoc-card sound: CPU phandle missing or invalid
[ 2.046324] fsl-asoc-card: probe of sound failed with error -22
[ 2.072491] NET: Registered PF_LLC protocol family
[ 2.079265] NET: Registered PF_INET6 protocol family
[ 2.090602] mmc1: new DDR MMC card at address 0001
[ 2.096299] Segment Routing with IPv6
[ 2.101739] In-situ OAM (IOAM) with IPv6
[ 2.106954] mmcblk1: mmc1:0001 W62704 3.53 GiB
[ 2.112206] sit: IPv6, IPv4 and MPLS over IPv4 tunneling driver
[ 2.125385] mmcblk1: p1 p2 p3 p4 < p5 p6 p7 >
[ 2.132846] NET: Registered PF_PACKET protocol family
[ 2.140744] mmcblk1boot0: mmc1:0001 W62704 2.00 MiB
[ 2.146122] can: controller area network core
[ 2.151973] NET: Registered PF_CAN protocol family
[ 2.161235] mmcblk1boot1: mmc1:0001 W62704 2.00 MiB
[ 2.166393] can: raw protocol
[ 2.169491] can: broadcast manager protocol
[ 2.177939] mmcblk1rpmb: mmc1:0001 W62704 512 KiB, chardev (243:0)
[ 2.184444] can: netlink gateway - max_hops=1
[ 2.189740] Bluetooth: RFCOMM TTY layer initialized
[ 2.195380] Bluetooth: RFCOMM socket layer initialized
[ 2.200707] Bluetooth: RFCOMM ver 1.11
[ 2.204679] Bluetooth: BNEP (Ethernet Emulation) ver 1.3
[ 2.210106] Bluetooth: BNEP filters: protocol multicast
[ 2.215509] Bluetooth: BNEP socket layer initialized
[ 2.220584] Bluetooth: HIDP (Human Interface Emulation) ver 1.2
[ 2.226662] Bluetooth: HIDP socket layer initialized
[ 2.232322] lib80211: common routines for IEEE802.11 drivers

0 Kudos
0 Replies