Part Number: DRA722
Tool/software: Linux
Hi TI engineers:
If we boot system from sdcard, and suspend on un-fixed position, how to debug this kind of problem?
Here is my boot log:
U-Boot 2016.05 (Apr 03 2018 - 15:29:25 +0800)
CPU : DRA722-GP ES2.0
Model: TI DRA742
Board: DRA72x EVM REV
DRAM: 512 MiB
NAND: 0 MiB
MMC: OMAP SD/MMC: 0, OMAP SD/MMC: 1
@eMMC max clock = 26000000@
*** Warning - bad CRC, using default environment
Warning: fastboot.board_rev: unknown board revision
GUID Partition Table Header signature is wrong: 0x0 != 0x5452415020494645
part_get_info_efi: *** ERROR: Invalid GPT ***
GUID Partition Table Header signature is wrong: 0x0 != 0x5452415020494645
part_get_info_efi: *** ERROR: Invalid Backup GPT ***
ERROR: cannot find partition: 'userdata'
at arch/arm/cpu/armv7/omap-common/utils.c:195/mmc_get_part_size()
Warning: fastboot.userdata_size: unable to calc
SCSI: SATA link 0 timeout.
AHCI 0001.0300 32 slots 1 ports 3 Gbps 0x1 impl SATA mode
flags: 64bit ncq stag pm led clo only pmp pio slum part ccc apst
scanning bus for devices...
Found 0 device(s).
Net:
Warning: ethernet@48484000 using MAC address from ROM
eth0: ethernet@48484000
@ADAPTER@
Hit any key to stop autoboot: 0
@SD max clock = 20000000@
switch to partitions #0, OK
mmc0 is current device
@SD max clock = 20000000@
SD/MMC found on device 0
reading boot.scr
** Unable to read file boot.scr **
reading uEnv.txt
222 bytes read in 2 ms (108.4 KiB/s)
Loaded env from uEnv.txt
Importing environment from mmc0 ...
@SD max clock = 20000000@
switch to partitions #0, OK
mmc0 is current device
@SD max clock = 20000000@
SD/MMC found on device 0
3635648 bytes read in 402 ms (8.6 MiB/s)
105775 bytes read in 54 ms (1.9 MiB/s)
Booting from mmc0 ...
Kernel image @ 0x82000000 [ 0x000000 - 0x3779c0 ]
## Flattened Device Tree blob at 88000000
Booting using the fdt blob at 0x88000000
Loading Device Tree to 8ffe3000, end 8ffffd2e ... OK
Starting kernel ...
[ 0.000000] Booting Linux on physical CPU 0x0
[ 0.000000] Initializing cgroup subsys cpuset
[ 0.000000] Initializing cgroup subsys cpu
[ 0.000000] Initializing cgroup subsys cpuacct
[ 0.000000] Linux version 4.4.45 (kenny_tsai@tpedmcbm03) (gcc version 5.3.1 20160113 (Linaro GCC 5.3-2016.02) ) #2 SMP PREEMPT Tue Apr 3 20:18:49 CST 2018
[ 0.000000] CPU: ARMv7 Processor [412fc0f2] revision 2 (ARMv7), cr=30c5387d
[ 0.000000] CPU: PIPT / VIPT nonaliasing data cache, PIPT instruction cache
[ 0.000000] Machine model: TI DRA722
[ 0.000000] cma: Reserved 64 MiB at 0x000000009bc00000
[ 0.000000] Forcing write-allocate cache policy for SMP
[ 0.000000] Memory policy: Data cache writealloc
[ 0.000000] DRA722 ES2.0
[ 0.000000] PERCPU: Embedded 11 pages/cpu @dfd65000 s14848 r8192 d22016 u45056
[ 0.000000] Built 1 zonelists in Zone order, mobility grouping on. Total pages: 129408
[ 0.000000] Kernel command line: console=ttyO3,115200n8 elevator=noop root=/dev/mmcblk0p2 rw rootwait earlyprintk fixrtc omapdrm.num_crtc=2 consoleblank=0 cma=64M rootfstype=ext4 snd.slots_reserved=1,1
[ 0.000000] PID hash table entries: 2048 (order: 1, 8192 bytes)
[ 0.000000] Dentry cache hash table entries: 65536 (order: 6, 262144 bytes)
[ 0.000000] Inode-cache hash table entries: 32768 (order: 5, 131072 bytes)
[ 0.000000] Memory: 440844K/522240K available (6635K kernel code, 364K rwdata, 2472K rodata, 336K init, 302K bss, 15860K reserved, 65536K cma-reserved, 0K highmem)
[ 0.000000] Virtual kernel memory layout:
[ 0.000000] vector : 0xffff0000 - 0xffff1000 ( 4 kB)
[ 0.000000] fixmap : 0xffc00000 - 0xfff00000 (3072 kB)
[ 0.000000] vmalloc : 0xe0800000 - 0xff800000 ( 496 MB)
[ 0.000000] lowmem : 0xc0000000 - 0xe0000000 ( 512 MB)
[ 0.000000] pkmap : 0xbfe00000 - 0xc0000000 ( 2 MB)
[ 0.000000] modules : 0xbf000000 - 0xbfe00000 ( 14 MB)
[ 0.000000] .text : 0xc0008000 - 0xc08ed09c (9109 kB)
[ 0.000000] .init : 0xc08ee000 - 0xc0942000 ( 336 kB)
[ 0.000000] .data : 0xc0942000 - 0xc099d1d0 ( 365 kB)
[ 0.000000] .bss : 0xc099f000 - 0xc09eaa78 ( 303 kB)
[ 0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
[ 0.000000] Preemptible hierarchical RCU implementation.
[ 0.000000] Build-time adjustment of leaf fanout to 32.
[ 0.000000] RCU restricting CPUs from NR_CPUS=2 to nr_cpu_ids=1.
[ 0.000000] RCU: Adjusting geometry for rcu_fanout_leaf=32, nr_cpu_ids=1
[ 0.000000] NR_IRQS:16 nr_irqs:16 16
[ 0.000000] ti_dt_clocks_register: failed to lookup clock node gmac_gmii_ref_clk_div
[ 0.000000] OMAP clockevent source: timer1 at 31475 Hz
[ 0.000000] Architected cp15 timer(s) running at 5.90MHz (phys).
[ 0.000000] clocksource: arch_sys_counter: mask: 0xffffffffffffff max_cycles: 0x15c70fb29, max_idle_ns: 440795202138 ns
[ 0.000005] sched_clock: 56 bits at 5MHz, resolution 169ns, wraps every 4398046511093ns
[ 0.000016] Switching to timer-based delay loop, resolution 169ns
[ 0.000369] clocksource: 32k_counter: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 58327039986419 ns
[ 0.000376] OMAP clocksource: 32k_counter at 32768 Hz
[ 0.000834] Console: colour dummy device 80x30
[ 0.000852] WARNING: Your 'console=ttyO3' has been replaced by 'ttyS3'
[ 0.000858] This ensures that you still see kernel messages. Please
[ 0.000863] update your kernel commandline.
[ 0.000874] Calibrating delay loop (skipped), value calculated using timer frequency.. 11.80 BogoMIPS (lpj=59016)
[ 0.000886] pid_max: default: 32768 minimum: 301
[ 0.000984] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
[ 0.000993] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
[ 0.001511] Initializing cgroup subsys io
[ 0.001528] Initializing cgroup subsys memory
[ 0.001552] Initializing cgroup subsys devices
[ 0.001564] Initializing cgroup subsys freezer
[ 0.001575] Initializing cgroup subsys perf_event
[ 0.001586] Initializing cgroup subsys pids
[ 0.001614] CPU: Testing write buffer coherency: ok
[ 0.001817] /cpus/cpu@0 missing clock-frequency property
[ 0.001830] CPU0: thread -1, cpu 0, socket 0, mpidr 80000000
[ 0.001862] Setting up static identity map for 0x800082c0 - 0x80008320
[ 0.050006] Brought up 1 CPUs
[ 0.050017] SMP: Total of 1 processors activated (11.80 BogoMIPS).
[ 0.050024] CPU: All CPU(s) started in HYP mode.
[ 0.050029] CPU: Virtualization extensions available.
[ 0.050338] devtmpfs: initialized
[ 0.080088] VFP support v0.3: implementor 41 architecture 4 part 30 variant f rev 0
[ 0.081108] omap_hwmod: l3_main_2 using broken dt data from ocp
[ 0.187654] omap_hwmod: dcan1: _wait_target_disable failed
[ 0.273572] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[ 0.281416] pinctrl core: initialized pinctrl subsystem
[ 0.282287] NET: Registered protocol family 16
[ 0.283338] DMA: preallocated 256 KiB pool for atomic coherent allocations
[ 0.310178] cpuidle: using governor ladder
[ 0.340201] cpuidle: using governor menu
[ 0.348831] OMAP GPIO hardware version 0.1
[ 0.352848] GPIO line 161 (radio_rst) hogged as output/low
[ 0.355183] irq: no irq domain found for /ocp/l4@4a000000/scm@2000/pinmux@1400 !
[ 0.370543] omap-gpmc 50000000.gpmc: GPMC revision 6.0
[ 0.370557] gpmc_mem_init: disabling cs 0 mapped at 0x0-0x1000000
[ 0.378999] hw-breakpoint: found 5 (+1 reserved) breakpoint and 4 watchpoint registers.
[ 0.379010] hw-breakpoint: maximum watchpoint size is 8 bytes.
[ 0.379857] OMAP DMA hardware revision 0.0
[ 0.461140] omap-dma-engine 4a056000.dma-controller: OMAP DMA engine driver (LinkedList1/2/3 supported)
[ 0.462328] edma 43300000.edma: memcpy is disabled
[ 0.467176] edma 43300000.edma: TI EDMA DMA engine driver
[ 0.473792] omap_i2c 48070000.i2c: no irq resource?
[ 0.474280] omap_i2c 48072000.i2c: bus 1 rev0.12 at 400 kHz
[ 0.474717] omap_i2c 48060000.i2c: bus 2 rev0.12 at 400 kHz
[ 0.475113] omap_i2c 4807a000.i2c: bus 3 rev0.12 at 400 kHz
[ 0.491058] pca953x 4-0020: failed reading register
[ 0.491079] pca953x: probe of 4-0020 failed with error -121
[ 0.491248] omap_i2c 4807c000.i2c: bus 4 rev0.12 at 400 kHz
[ 0.491425] media: Linux media interface: v0.10
[ 0.491477] Linux video capture interface: v2.00
[ 0.491517] pps_core: LinuxPPS API ver. 1 registered
[ 0.491524] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
[ 0.491552] PTP clock support registered
[ 0.491599] EDAC MC: Ver: 3.0.0
[ 0.501575] Advanced Linux Sound Architecture Driver Initialized.
[ 0.502480] clocksource: Switched to clocksource arch_sys_counter
[ 0.512592] NET: Registered protocol family 2
[ 0.513093] TCP established hash table entries: 4096 (order: 2, 16384 bytes)
[ 0.513131] TCP bind hash table entries: 4096 (order: 3, 32768 bytes)
[ 0.513198] TCP: Hash tables configured (established 4096 bind 4096)
[ 0.513242] UDP hash table entries: 256 (order: 1, 8192 bytes)
[ 0.513262] UDP-Lite hash table entries: 256 (order: 1, 8192 bytes)
[ 0.513454] NET: Registered protocol family 1
[ 0.523748] RPC: Registered named UNIX socket transport module.
[ 0.523757] RPC: Registered udp transport module.
[ 0.523763] RPC: Registered tcp transport module.
[ 0.523769] RPC: Registered tcp NFSv4.1 backchannel transport module.
[ 0.524818] hw perfevents: enabled with armv7_cortex_a15 PMU driver, 7 counters available
[ 0.527394] futex hash table entries: 256 (order: 2, 16384 bytes)
[ 0.545202] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[ 0.555889] NFS: Registering the id_resolver key type
[ 0.555925] Key type id_resolver registered
[ 0.555933] Key type id_legacy registered
[ 0.555987] ntfs: driver 2.1.32 [Flags: R/O].
[ 0.558318] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 247)
[ 0.558334] io scheduler noop registered (default)
[ 0.558346] io scheduler deadline registered
[ 0.558379] io scheduler cfq registered
[ 0.563361] pinctrl-single 4a003400.pinmux: 282 pins at pa fc003400 size 1128
[ 0.563480] pinctrl-single 4a002e8c.pinmux: 1 pins at pa fc002e8c size 4
[ 0.624021] Serial: 8250/16550 driver, 10 ports, IRQ sharing disabled
[ 0.627397] 4806a000.serial: ttyS0 at MMIO 0x4806a000 (irq = 299, base_baud = 3000000) is a 8250
[ 0.628293] 48020000.serial: ttyS2 at MMIO 0x48020000 (irq = 300, base_baud = 3000000) is a 8250
[ 0.629133] console [ttyS3] disabled
[ 0.629179] 4806e000.serial: ttyS3 at MMIO 0x4806e000 (irq = 301, base_baud = 3000000) is a 8250
[ 1.410360] console [ttyS3] enabled
[ 1.414691] 48422000.serial: ttyS7 at MMIO 0x48422000 (irq = 302, base_baud = 3000000) is a 8250
[ 1.424741] [drm] Initialized drm 1.1.0 20060810
[ 1.516726] loop: module loaded
[ 1.520742] nand: No NAND device found
[ 1.524563] omap2-nand 8000000.nand: scan failed, may be bus-width mismatch
[ 1.536964] m25p80 spi32766.0: unrecognized JEDEC id bytes: ff, ff, ff
[ 1.544569] libphy: Fixed MDIO Bus: probed
[ 1.549264] CAN device driver interface
[ 1.554152] c_can_platform 4ae3c000.can: c_can_platform device registered (regs=fce3c000, irq=349)
[ 1.564375] cpsw 48484000.ethernet: gpio request failed, ret -517
[ 1.571590] mousedev: PS/2 mouse device common for all mice
[ 1.587877] i2c /dev entries driver
[ 1.592143] ov490 4-0024: Failed reading register 0x300a!
[ 1.597620] ov490: probe of 4-0024 failed with error -121
[ 1.603784] vpe 489d0000.vpe: loading firmware vpdma-1b8.bin
[ 1.614320] omap_hsmmc 4809c000.mmc: Got CD GPIO
[ 1.619407] vsys_3v3: supplied by evm_12v0
[ 1.623739] vpe 489d0000.vpe: Device registered as /dev/video0
[ 1.629652] evm_3v3: supplied by vsys_3v3
[ 1.633742] evm_3v3_sd: supplied by evm_3v3
[ 1.663066] omap_hsmmc 480b4000.mmc: no pinctrl state for sdr25 mode
[ 1.669451] omap_hsmmc 480b4000.mmc: no pinctrl state for sdr12 mode
[ 1.714389] ledtrig-cpu: registered to indicate activity on CPUs
[ 1.726975] hwspinlock_user gatemp: requested 10 hwspinlocks
[ 1.736506]
[ 1.736506] [spidrv_init]
[ 1.740646] spidrv_init called
[ 1.743742]
[ 1.743742] [mcaspdrv_init]
[ 1.748028] mcaspdrv_init called
[ 1.752335] davinci-mcasp 48460000.mcasp: DAI is shared
[ 1.757674]
[ 1.757674] [McASP1][mcasp->base][FA460000]
[ 1.763518] davinci-mcasp 48468000.mcasp: DAI is shared
[ 1.768811]
[ 1.768811] [McASP3][mcasp->base][FA468000]
[ 1.768811]
[ 1.777188] NET: Registered protocol family 10
[ 1.788663] mmc0: MAN_BKOPS_EN bit is not set
[ 1.793303] sit: IPv6 over IPv4 tunneling driver
[ 1.798490] NET: Registered protocol family 17
[ 1.803040] can: controller area network core (rev 20120528 abi 9)
[ 1.809333] NET: Registered protocol family 29
[ 1.813829] @eMMC max clock = 25000000@
[ 1.817720] can: raw protocol (rev 20120528)
[ 1.822053] mmc0: new MMC card at address 0001
[ 1.826769] Key type dns_resolver registered
[ 1.831210] omap_voltage_late_init: Voltage driver support not added
[ 1.838591] Power Management for TI OMAP4+ devices.
[ 1.843754] Registering SWP/SWPB emulation handler
[ 1.848925] mmcblk0: mmc0:0001 MMC04G 3.57 GiB
[ 1.856037] dmm 4e000000.dmm: initialized all PAT entries
[ 1.865526] mmcblk0boot0: mmc0:0001 MMC04G partition 1 8.00 MiB
[ 1.881717] mmcblk0boot1: mmc0:0001 MMC04G partition 2 8.00 MiB
[ 1.888690] cpsw 48484000.ethernet: gpio request failed, ret -517
[ 1.895979] omap_hsmmc 4809c000.mmc: Got CD GPIO
[ 1.900694] mmcblk0: p1 p2
[ 1.933825] cpsw 48484000.ethernet: gpio request failed, ret -517
[ 1.940473] omap_hsmmc 4809c000.mmc: Got CD GPIO
[ 1.973152] hctosys: unable to open rtc device (rtc0)
[ 1.990222] aic_dvdd: disabling
[ 1.993470] evm_3v3_sd: disabling
[ 1.996800] vmmcwl_fixed: disabling
[ 2.000307] pbias_mmc_omap5: disabling
[ 2.004393] ALSA device list:
[ 2.007375] No soundcards found.
[ 2.091808] EXT4-fs (mmcblk0p2): recovery complete
[ 2.096654] EXT4-fs (mmcblk0p2): mounted filesystem with ordered data mode. Opts: (null)
[ 2.105560] VFS: Mounted root (ext4 filesystem) on device 179:2.
[ 2.113412] devtmpfs: mounted
[ 2.116614] Freeing unused kernel memory: 336K (c08ee000 - c0942000)
[ 2.123014] This architecture does not have kernel memory protection.
[ 3.620358] systemd[1]: System time before build time, advancing clock.
[ 3.952755] random: systemd: uninitialized urandom read (16 bytes read, 6 bits of entropy available)
[ 3.975923] random: systemd: uninitialized urandom read (16 bytes read, 6 bits of entropy available)
[ 3.987485] systemd[1]: systemd 229 running in system mode. (+PAM -AUDIT -SELINUX +IMA -APPARMOR +SMACK +SYSVINIT +UTMP -LIBCRYPTSETUP -GCRYPT +GNUTLS +ACL +XZ -LZ4 -SECCOMP +BLKID -ELFUTILS +KMOD -IDN)
[ 4.006079] systemd[1]: Detected architecture arm.
Welcome to Arago 2016.12!
[ 4.044588] systemd[1]: Set hostname to <dra7xx-evm>. <-----------Suspend here, but can stop on other postion.
Thanks a lot!