This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

AM3354: Kernel booting issue

Part Number: AM3354
Other Parts Discussed in Thread: TPS65910

Hi,

In custom board of AM3354. When starting boot from SD card. I m getting attached Log and the device stops at that point.

Log - 

Remove CPU  : AM335X-GP rev 2.1
Model: TI AM335x EVM
       Watchdog enabled
DRAM:  512 MiB
NAND:  256 MiB
MMC:   OMAP SD/MMC: 0, OMAP SD/MMC: 1
reading uboot.env

** Unable to read "uboot.env" from mmc0:1 **
Using default environment

<ethaddr> not set. Validating first E-fuse MAC
Net:   eth0: ethernet@4a100000
Warning: usb_ether MAC addresses don't match:
Address in SROM is         de:ad:be:ef:00:01
Address in environment is  68:9e:19:81:96:6a
, eth1: usb_ether
Press SPACE to abort autoboot in 2 seconds
Booting from nand ...

NAND read: device 0 offset 0x80000, size 0x40000
 262144 bytes read: OK

NAND read: device 0 offset 0x200000, size 0x800000
 8388608 bytes read: OK
Bad Linux ARM zImage magic!
switch to partitions #0, OK
mmc0 is current device
SD/MMC found on device 0
reading boot.scr
** Unable to read file boot.scr **
reading uEnv.txt
** Unable to read file uEnv.txt **
switch to partitions #0, OK
mmc0 is current device
Scanning mmc 0:1...
switch to partitions #0, OK
mmc0 is current device
SD/MMC found on device 0
3474872 bytes read in 570 ms (5.8 MiB/s)
43047 bytes read in 43 ms (977.5 KiB/s)
Kernel image @ 0x82000000 [ 0x000000 - 0x3505b8 ]
## Flattened Device Tree blob at 88000000
   Booting using the fdt blob at 0x88000000
   Loading Device Tree to 8fff2000, end 8ffff826 ... OK

Starting kernel ...

[    0.000000] Booting Linux on physical CPU 0x0
[    0.000000] Initializing cgroup subsys cpu
[    0.000000] Initializing cgroup subsys cpuacct
[    0.000000] Linux version 4.4.41-gf9f6f0db2d (root@user-bltsp01373) (gcc version 5.3.1 20160113 (Linaro GCC 5.3-2016.02) ) #30 PREEMPT Fri Aug 18 03:50:29 IST 2017
[    0.000000] CPU: ARMv7 Processor [413fc082] revision 2 (ARMv7), cr=10c5387d
[    0.000000] CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache
[    0.000000] Machine model: TI AM335x EVM
[    0.000000] cma: Reserved 48 MiB at 0x9d000000
[    0.000000] Memory policy: Data cache writeback
[    0.000000] CPU: All CPU(s) started in SVC mode.
[    0.000000] AM335X ES2.1 (sgx neon )
[    0.000000] Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 129920
[    0.000000] Kernel command line: console=ttyO0,115200n8 root=PARTUUID=d8c65ab4-02 rw rootfstype=ext4 rootwait
[    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: 459980K/524288K available (6603K kernel code, 317K rwdata, 2344K rodata, 264K init, 265K bss, 15156K reserved, 49152K 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 - 0xc08c5004   (8949 kB)
[    0.000000]       .init : 0xc08c6000 - 0xc0908000   ( 264 kB)
[    0.000000]       .data : 0xc0908000 - 0xc09574b0   ( 318 kB)
[    0.000000]        .bss : 0xc09574b0 - 0xc0999bd8   ( 266 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] NR_IRQS:16 nr_irqs:16 16
[    0.000000] IRQ: Found an INTC at 0xfa200000 (revision 5.0) with 128 interrupts
[    0.000000] OMAP clockevent source: timer2 at 24000000 Hz
[    0.000031] sched_clock: 32 bits at 24MHz, resolution 41ns, wraps every 89478484971ns
[    0.000081] clocksource: timer1: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 79635851949 ns
[    0.000105] OMAP clocksource: timer1 at 24000000 Hz
[    0.000545] clocksource_probe: no matching clocksources found
[    0.000929] Console: colour dummy device 80x30
[    0.000987] WARNING: Your 'console=ttyO0' has been replaced by 'ttyS0'
[    0.001004] This ensures that you still see kernel messages. Please
[    0.001018] update your kernel commandline.
[    0.001056] Calibrating delay loop... 298.59 BogoMIPS (lpj=1492992)
[    0.067539] pid_max: default: 32768 minimum: 301
[    0.067852] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.067881] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.069447] Initializing cgroup subsys io
[    0.069512] Initializing cgroup subsys memory
[    0.069592] Initializing cgroup subsys devices
[    0.069627] Initializing cgroup subsys freezer
[    0.069659] Initializing cgroup subsys perf_event
[    0.069690] Initializing cgroup subsys pids
[    0.069754] CPU: Testing write buffer coherency: ok
[    0.070535] Setting up static identity map for 0x80008200 - 0x80008260
[    0.075814] devtmpfs: initialized
[    0.110191] VFP support v0.3: implementor 41 architecture 3 part 30 variant c rev 3
[    0.145995] omap_hwmod: debugss: _wait_target_disable failed
[    0.218262] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[    0.226540] pinctrl core: initialized pinctrl subsystem
[    0.229791] NET: Registered protocol family 16
[    0.234972] DMA: preallocated 256 KiB pool for atomic coherent allocations
[    0.257629] cpuidle: using governor ladder
[    0.287608] cpuidle: using governor menu
[    0.299069] OMAP GPIO hardware version 0.1
[    0.320630] omap-gpmc 50000000.gpmc: could not find pctldev for node /ocp/l4_wkup@44c00000/scm@210000/pinmux@800/nandflash_pins_s0, deferring probe
[    0.328164] hw-breakpoint: debug architecture 0x4 unsupported.
[    0.389190] edma 49000000.edma: TI EDMA DMA engine driver
[    0.400412] omap_i2c 44e0b000.i2c: could not find pctldev for node /ocp/l4_wkup@44c00000/scm@210000/pinmux@800/pinmux_i2c0_pins, deferring probe
[    0.400547] omap_i2c 4819c000.i2c: could not find pctldev for node /ocp/l4_wkup@44c00000/scm@210000/pinmux@800/pinmux_i2c2_pins, deferring probe
[    0.400905] media: Linux media interface: v0.10
[    0.401078] Linux video capture interface: v2.00
[    0.401205] pps_core: LinuxPPS API ver. 1 registered
[    0.401226] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
[    0.401311] PTP clock support registered
[    0.401457] EDAC MC: Ver: 3.0.0
[    0.404215] omap-mailbox 480c8000.mailbox: omap mailbox rev 0x400
[    0.405101] Advanced Linux Sound Architecture Driver Initialized.
[    0.407968] clocksource: Switched to clocksource timer1
[    0.435813] NET: Registered protocol family 2
[    0.437557] TCP established hash table entries: 4096 (order: 2, 16384 bytes)
[    0.437701] TCP bind hash table entries: 4096 (order: 2, 16384 bytes)
[    0.437822] TCP: Hash tables configured (established 4096 bind 4096)
[    0.438147] UDP hash table entries: 256 (order: 0, 4096 bytes)
[    0.438198] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
[    0.438569] NET: Registered protocol family 1
[    0.439413] RPC: Registered named UNIX socket transport module.
[    0.439445] RPC: Registered udp transport module.
[    0.439463] RPC: Registered tcp transport module.
[    0.439480] RPC: Registered tcp NFSv4.1 backchannel transport module.
[    0.441528] hw perfevents: enabled with armv7_cortex_a8 PMU driver, 5 counters available
[    0.446416] futex hash table entries: 256 (order: -1, 3072 bytes)
[    0.467516] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[    0.469818] NFS: Registering the id_resolver key type
[    0.469947] Key type id_resolver registered
[    0.469967] Key type id_legacy registered
[    0.470148] ntfs: driver 2.1.32 [Flags: R/O].
[    0.478522] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 247)
[    0.478587] io scheduler noop registered
[    0.478619] io scheduler deadline registered
[    0.479040] io scheduler cfq registered (default)
[    0.482588] pinctrl-single 44e10800.pinmux: 142 pins at pa f9e10800 size 568
[    0.490519] backlight supply power not found, using dummy regulator
[    0.651188] Serial: 8250/16550 driver, 10 ports, IRQ sharing disabled
[    0.660808] 44e09000.serial: ttyS0 at MMIO 0x44e09000 (irq = 158, base_baud = 3000000) is a 8250
[    1.289563] console [ttyS0] enabled
[    1.295731] 48022000.serial: ttyS1 at MMIO 0x48022000 (irq = 159, base_baud = 3000000) is a 8250
[    1.307480] [drm] Initialized drm 1.1.0 20060810
[    1.318494] [drm] Supports vblank timestamp caching Rev 2 (21.10.2013).
[    1.325176] [drm] No driver support for vblank timestamp query.
[    1.379167] Console: switching to colour frame buffer device 100x30
[    1.401709] tilcdc 4830e000.lcdc: fb0:  frame buffer device
[    1.428386] [drm] Initialized tilcdc 1.0.0 20121205 on minor 0
[    1.451343] loop: module loaded
[    1.463629] libphy: Fixed MDIO Bus: probed
[    1.473478] mousedev: PS/2 mouse device common for all mice
[    1.480616] i2c /dev entries driver
[    1.487001] cpuidle: enable-method property 'ti,am3352' found operations
[    1.518507] pinctrl-single 44e10800.pinmux: pin 44e1099c.0 already requested by 481a0000.spi; cannot claim for 47810000.mmc
[    1.529878] pinctrl-single 44e10800.pinmux: pin-103 (47810000.mmc) status -22
[    1.537149] pinctrl-single 44e10800.pinmux: could not request pin 103 (44e1099c.0) from group pinmux_wlan_pins  on device pinctrl-single
[    1.549676] omap_hsmmc 47810000.mmc: Error applying setting, reverse things back
[    1.689929] ledtrig-cpu: registered to indicate activity on CPUs
[    1.721289] NET: Registered protocol family 10
[    1.739279] sit: IPv6 over IPv4 tunneling driver
[    1.746031] NET: Registered protocol family 17
[    1.758094] Key type dns_resolver registered
[    1.762958] omap_voltage_late_init: Voltage driver support not added
[    1.792816] omap-gpmc 50000000.gpmc: GPMC revision 6.0
[    1.808073] gpmc_mem_init: disabling cs 0 mapped at 0x0-0x1000000
[    1.817258] nand: device found, Manufacturer ID: 0x98, Chip ID: 0xda
[    1.837993] nand: Toshiba NAND 256MiB 3,3V 8-bit
[    1.842664] nand: 256 MiB, SLC, erase size: 128 KiB, page size: 2048, OOB size: 128
[    1.858057] nand: using OMAP_ECC_BCH8_CODE_HW ECC scheme
[    1.868210] 10 ofpart partitions found on MTD device 8000000.nand
[    1.874347] Creating 10 MTD partitions on "8000000.nand":
[    1.894756] 0x000000000000-0x000000020000 : "NAND.SPL"
[    1.911022] 0x000000020000-0x000000040000 : "NAND.SPL.backup1"
[    1.930811] 0x000000040000-0x000000060000 : "NAND.SPL.backup2"
[    1.948281] 0x000000060000-0x000000080000 : "NAND.SPL.backup3"
[    1.964979] 0x000000080000-0x0000000c0000 : "NAND.u-boot-spl-os"
[    1.980207] 0x0000000c0000-0x0000001c0000 : "NAND.u-boot"
[    2.001020] 0x0000001c0000-0x0000001e0000 : "NAND.u-boot-env"
[    2.016592] 0x0000001e0000-0x000000200000 : "NAND.u-boot-env.backup1"
[    2.030632] 0x000000200000-0x000000a00000 : "NAND.kernel"
[    2.053991] 0x000000a00000-0x000010000000 : "NAND.file-system"
[    4.308036] omap_i2c 44e0b000.i2c: controller timed out
[    5.348409] tps65910 0-002d: No interrupt support, no core IRQ
[    7.368030] omap_i2c 44e0b000.i2c: controller timed out
[   10.428017] omap_i2c 44e0b000.i2c: controller timed out
[   12.468009] omap_i2c 44e0b000.i2c: controller timed out
[   12.488022] tps65910 0-002d: Error in configuring external control EN1
[   12.494658] tps65910 0-002d: Failed to initialise ext control config
[   14.518020] omap_i2c 44e0b000.i2c: controller timed out
[   17.578012] omap_i2c 44e0b000.i2c: controller timed out
[   17.598012] vrtc: failed to enable
[   17.601737] tps65910 0-002d: failed to register tps65910-pmic regulator
[   17.608499] tps65910-pmic: probe of tps65910-pmic failed with error -110
[   17.616290] omap_i2c 44e0b000.i2c: bus 0 rev0.11 at 400 kHz
[   17.624816] omap_i2c 4819c000.i2c: bus 2 rev0.11 at 400 kHz
[   17.661372] input: volume_keys@0 as /devices/platform/volume_keys@0/input/input0
[   17.672688] hctosys: unable to open rtc device (rtc0)
[   17.686352] vbat: disabling
[   17.689506] lis3_reg: disabling
[   17.692687] wlan-en-regulator: disabling
[   17.696857] ALSA device list:
[   17.701101]   No soundcards found.
[   17.706872] Waiting for root device PARTUUID=d8c65ab4-02...

[   17.706872] Waiting for root device PARTUUID=d8c65ab4-02...

[76.926502] random: nonblocking pool is initialized

We had thought PMIC had gone bad and replaced it. but still same error

Please help on resolving this issue.

Regards

Sujay A

  • The software team have been notified. They will respond here.
  • Hello Sujay,

    Focus on these errors:
    ................................................................
    [ 1.529878] pinctrl-single 44e10800.pinmux: pin-103 (47810000.mmc) status -22
    ................................................................
    [ 17.601737] tps65910 0-002d: failed to register tps65910-pmic regulator
    [ 17.608499] tps65910-pmic: probe of tps65910-pmic failed with error -110

    Seems your custom hardware configuration changes are not reflected in the device tree.

    Best regards,
    Kemal

  • Hi,

    Sorry for interrupting.
    Looks we are having same issue. At booting(NAND), the kernel booting stops and the following message have been displayed
    at terminal(TERATERM).
    **********************************************************************
    Waiting for root device PARTUUID=xxxxxxxx
    **********************************************************************
    In the log, we also see the following message prior to above message:
    **********************************************************************
    omap_i2c 44e0b000.i2c: timeout waiting for bus ready
    tps65910 0-002d: failed to register tps65910-pmic regulator
    tps65910-pmic: probe of tps65910-pmic failed with error -110
    omap_i2c 44e0b000.i2c: bus 0 rev0.11 at 400 kHz
    **********************************************************************

    So, what is the root cause of this message and how to solve the issue?
    If the root cause is configuration of device tree, can you please give us an example of what to change in device tree?

    best regards,
    g.f.
  • Hi g.f

    Cause was I2C bus lines was shorted which was connected to PMIC. Please check if any other IC is connected to the same bus. Please remove it and check .

    Regards
    Sujay A
  • Hi Sujay A,

    Thank you for the reply.
    We are connecting Temp Sensor IC and I/O Expander IC to the same I2C0 Bus which PMIC are connected.
    I will try removing Temp Sensor and I/O Expander IC from the bus.

    best regards,
    g.f.
  • You can find the device tree binding example at: Documentation/devicetree/bindings/mfd/tps65910.txt