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.

Linux/AM3359: Issue with soft reboot

Part Number: AM3359

Tool/software: Linux

We have a custom board based on AM3359 SITARA processor. Our board is getting booted successfully. Poweroff is also being executed successfully. but when we try to reboot by giving reboot command, it is getting stuck after shutdown step. Not going further.

Anybody please help us in this regard.

Regards

Vamsi

  • Please post Linux version you use and log file.
  • Linux version : ti-processor-sdk-linux-am335x-evm-04.02.00.09

    Log file:

    U-Boot SPL 2017.01-00444-g4e7f468-dirty (Nov 02 2030 - 15:59:26)
    Trying to boot from MMC1
    reading uboot.env
    
    ** Unable to read "uboot.env" from mmc0:1 **
    Using default environment
    
    reading u-boot.img
    reading u-boot.img
    reading u-boot.img
    reading u-boot.img
    
    
    U-Boot 2017.01-00444-g4e7f468-dirty (Nov 02 2030 - 15:59:26 +0530)
    
    CPU  : AM335X-GP rev 2.1
    Model: TI AM335x EVM
    DRAM:  256 MiB
    NAND:  0 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:   cpsw, usb_ether
    Hit any key to stop autoboot:  2  1  0 
    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
    3842560 bytes read in 491 ms (7.5 MiB/s)
    41355 bytes read in 20 ms (2 MiB/s)
    ## Flattened Device Tree blob at 88000000
       Booting using the fdt blob at 0x88000000
       Loading Device Tree to 8df19000, end 8df2618a ... OK
    
    Starting kernel ...
    
    [    0.000000] Booting Linux on physical CPU 0x0
    [    0.000000] Linux version 4.14.40-g4796173fc5 (sbr@sbr-Lenovo-B50-80) (gcc version 7.2.1 20171011 (Linaro GCC 7.2-2017.11)) #2 PREEMPT Wed Oct 31 15:35:54 IST 2018
    [    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] OF: fdt: Machine model: TI AM335x EVM
    [    0.000000] Memory policy: Data cache writeback
    [    0.000000] efi: Getting EFI parameters from FDT:
    [    0.000000] efi: UEFI not found.
    [    0.000000] cma: Reserved 48 MiB at 0x8a800000
    [    0.000000] CPU: All CPU(s) started in SVC mode.
    [    0.000000] AM335X ES2.1 (sgx neon)
    [    0.000000] Built 1 zonelists, mobility grouping on.  Total pages: 64960
    [    0.000000] Kernel command line: console=ttyO0,115200n8 root=PARTUUID=0008b4f9-02 rw rootfstype=ext4 rootwait
    [    0.000000] PID hash table entries: 1024 (order: 0, 4096 bytes)
    [    0.000000] Dentry cache hash table entries: 32768 (order: 5, 131072 bytes)
    [    0.000000] Inode-cache hash table entries: 16384 (order: 4, 65536 bytes)
    [    0.000000] Memory: 197260K/262144K available (8192K kernel code, 318K rwdata, 2428K rodata, 1024K init, 275K bss, 15732K 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 : 0xd0800000 - 0xff800000   ( 752 MB)
    [    0.000000]     lowmem  : 0xc0000000 - 0xd0000000   ( 256 MB)
    [    0.000000]     pkmap   : 0xbfe00000 - 0xc0000000   (   2 MB)
    [    0.000000]     modules : 0xbf000000 - 0xbfe00000   (  14 MB)
    [    0.000000]       .text : 0xc0008000 - 0xc0900000   (9184 kB)
    [    0.000000]       .init : 0xc0c00000 - 0xc0d00000   (1024 kB)
    [    0.000000]       .data : 0xc0d00000 - 0xc0d4fb08   ( 319 kB)
    [    0.000000]        .bss : 0xc0d4fb08 - 0xc0d948c4   ( 276 kB)
    [    0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
    [    0.000000] Preemptible hierarchical RCU implementation.
    [    0.000000] 	Tasks RCU enabled.
    [    0.000000] NR_IRQS: 16, nr_irqs: 16, preallocated irqs: 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.000017] sched_clock: 32 bits at 24MHz, resolution 41ns, wraps every 89478484971ns
    [    0.000042] clocksource: timer1: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 79635851949 ns
    [    0.000056] OMAP clocksource: timer1 at 24000000 Hz
    [    0.000303] timer_probe: no matching timers found
    [    0.000555] Console: colour dummy device 80x30
    [    0.000589] WARNING: Your 'console=ttyO0' has been replaced by 'ttyS0'
    [    0.000599] This ensures that you still see kernel messages. Please
    [    0.000607] update your kernel commandline.
    [    0.000643] Calibrating delay loop... 597.60 BogoMIPS (lpj=2988032)
    [    0.118725] pid_max: default: 32768 minimum: 301
    [    0.118960] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
    [    0.118980] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
    [    0.119919] CPU: Testing write buffer coherency: ok
    [    0.120742] Setting up static identity map for 0x80100000 - 0x80100060
    [    0.120927] Hierarchical SRCU implementation.
    [    0.121348] EFI services will not be available.
    [    0.123111] devtmpfs: initialized
    [    0.134663] random: get_random_u32 called from bucket_table_alloc+0x8c/0x1ac with crng_init=0
    [    0.135206] VFP support v0.3: implementor 41 architecture 3 part 30 variant c rev 3
    [    0.135563] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
    [    0.135591] futex hash table entries: 256 (order: -1, 3072 bytes)
    [    0.140026] pinctrl core: initialized pinctrl subsystem
    [    0.140877] DMI not present or invalid.
    [    0.141374] NET: Registered protocol family 16
    [    0.144166] DMA: preallocated 256 KiB pool for atomic coherent allocations
    [    0.162764] omap_hwmod: debugss: _wait_target_disable failed
    [    0.217539] cpuidle: using governor ladder
    [    0.217584] cpuidle: using governor menu
    [    0.223323] OMAP GPIO hardware version 0.1
    [    0.234571] omap-gpmc 50000000.gpmc: could not find pctldev for node /ocp/l4_wkup@44c00000/scm@210000/pinmux@800/nandflash_pins_s0, deferring probe
    [    0.238525] No ATAGs?
    [    0.238544] hw-breakpoint: debug architecture 0x4 unsupported.
    [    0.256108] edma 49000000.edma: TI EDMA DMA engine driver
    [    0.261237] omap_i2c 44e0b000.i2c: could not find pctldev for node /ocp/l4_wkup@44c00000/scm@210000/pinmux@800/pinmux_i2c0_pins, deferring probe
    [    0.261318] omap_i2c 4802a000.i2c: could not find pctldev for node /ocp/l4_wkup@44c00000/scm@210000/pinmux@800/pinmux_i2c1_pins, deferring probe
    [    0.261512] media: Linux media interface: v0.10
    [    0.261567] Linux video capture interface: v2.00
    [    0.261704] pps_core: LinuxPPS API ver. 1 registered
    [    0.261716] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
    [    0.261745] PTP clock support registered
    [    0.261792] EDAC MC: Ver: 3.0.0
    [    0.262331] dmi: Firmware registration failed.
    [    0.262825] omap-mailbox 480c8000.mailbox: omap mailbox rev 0x400
    [    0.263250] Advanced Linux Sound Architecture Driver Initialized.
    [    0.264627] clocksource: Switched to clocksource timer1
    [    0.275705] NET: Registered protocol family 2
    [    0.276610] TCP established hash table entries: 2048 (order: 1, 8192 bytes)
    [    0.276657] TCP bind hash table entries: 2048 (order: 1, 8192 bytes)
    [    0.276695] TCP: Hash tables configured (established 2048 bind 2048)
    [    0.276814] UDP hash table entries: 256 (order: 0, 4096 bytes)
    [    0.276849] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
    [    0.277037] NET: Registered protocol family 1
    [    0.277541] RPC: Registered named UNIX socket transport module.
    [    0.277560] RPC: Registered udp transport module.
    [    0.277569] RPC: Registered tcp transport module.
    [    0.277578] RPC: Registered tcp NFSv4.1 backchannel transport module.
    [    0.278685] hw perfevents: no interrupt-affinity property for /pmu, guessing.
    [    0.278833] hw perfevents: enabled with armv7_cortex_a8 PMU driver, 5 counters available
    [    0.280698] workingset: timestamp_bits=14 max_order=16 bucket_order=2
    [    0.286502] squashfs: version 4.0 (2009/01/31) Phillip Lougher
    [    0.287411] NFS: Registering the id_resolver key type
    [    0.287484] Key type id_resolver registered
    [    0.287495] Key type id_legacy registered
    [    0.287550] ntfs: driver 2.1.32 [Flags: R/O].
    [    0.289984] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 245)
    [    0.290010] io scheduler noop registered
    [    0.290021] io scheduler deadline registered
    [    0.290309] io scheduler cfq registered (default)
    [    0.290324] io scheduler mq-deadline registered
    [    0.290335] io scheduler kyber registered
    [    0.292158] pinctrl-single 44e10800.pinmux: 142 pins at pa f9e10800 size 568
    [    0.296242] pwm-backlight backlight: backlight supply power not found, using dummy regulator
    [    0.360472] Serial: 8250/16550 driver, 10 ports, IRQ sharing disabled
    [    0.364264] 44e09000.serial: ttyS0 at MMIO 0x44e09000 (irq = 30, base_baud = 3000000) is a 8250
    [    1.014855] console [ttyS0] enabled
    [    1.019613] 48022000.serial: ttyS1 at MMIO 0x48022000 (irq = 31, base_baud = 3000000) is a 8250
    [    1.030782] omap_rng 48310000.rng: Random Number Generator ver. 20
    [    1.039561] panel panel: found backlight
    [    1.043919] OF: graph: no port node found in /ocp/lcdc@4830e000
    [    1.050272] OF: graph: no port node found in /ocp/lcdc@4830e000
    [    1.056803] OF: graph: no port node found in /ocp/lcdc@4830e000
    [    1.062764] [drm] Supports vblank timestamp caching Rev 2 (21.10.2013).
    [    1.069460] [drm] No driver support for vblank timestamp query.
    [    1.122569] Console: switching to colour frame buffer device 100x30
    [    1.145073] tilcdc 4830e000.lcdc: fb0:  frame buffer device
    [    1.151342] [drm] Initialized tilcdc 1.0.0 20121205 for 4830e000.lcdc on minor 0
    [    1.170864] brd: module loaded
    [    1.182392] loop: module loaded
    [    1.188797] libphy: Fixed MDIO Bus: probed
    [    1.264690] davinci_mdio 4a101000.mdio: davinci mdio revision 1.6, bus freq 1000000
    [    1.272400] davinci_mdio 4a101000.mdio: detected phy mask fffffffe
    [    1.279914] libphy: 4a101000.mdio: probed
    [    1.283966] davinci_mdio 4a101000.mdio: phy[0]: device 4a101000.mdio:00, driver TI DP83867
    [    1.293499] cpsw 4a100000.ethernet: Detected MACID = 2c:6b:7d:4a:80:f6
    [    1.300325] cpsw 4a100000.ethernet: initialized cpsw ale version 1.4
    [    1.306837] cpsw 4a100000.ethernet: ALE Table size 1024
    [    1.312180] cpsw 4a100000.ethernet: cpts: overflow check period 500 (jiffies)
    [    1.321177] i2c /dev entries driver
    [    1.325424] IR NEC protocol handler initialized
    [    1.329989] IR RC5(x/sz) protocol handler initialized
    [    1.335116] IR RC6 protocol handler initialized
    [    1.339669] IR JVC protocol handler initialized
    [    1.344233] IR Sony protocol handler initialized
    [    1.348892] IR SANYO protocol handler initialized
    [    1.353617] IR Sharp protocol handler initialized
    [    1.358368] IR MCE Keyboard/mouse protocol handler initialized
    [    1.364226] IR XMP protocol handler initialized
    [    1.370775] cpuidle: enable-method property 'ti,am3352' found operations
    [    1.378099] sdhci: Secure Digital Host Controller Interface driver
    [    1.384314] sdhci: Copyright(c) Pierre Ossman
    [    1.389657] omap_hsmmc 48060000.mmc: Got CD GPIO
    [    1.545118] sdhci-pltfm: SDHCI platform and OF driver helper
    [    1.555031] ledtrig-cpu: registered to indicate activity on CPUs
    [    1.567042] NET: Registered protocol family 10
    [    1.574365] Segment Routing with IPv6
    [    1.578289] sit: IPv6, IPv4 and MPLS over IPv4 tunneling driver
    [    1.585223] NET: Registered protocol family 17
    [    1.590029] Key type dns_resolver registered
    [    1.594584] omap_voltage_late_init: Voltage driver support not added
    [    1.607941] omap-gpmc 50000000.gpmc: GPMC revision 6.0
    [    1.613138] gpmc_mem_init: disabling cs 0 mapped at 0x0-0x1000000
    [    2.014628] nand: timeout while waiting for chip to become ready
    [    2.020719] nand: No NAND device found
    [    2.024495] omap2-nand 8000000.nand: scan failed, may be bus-width mismatch
    [    2.054766] random: fast init done
    [    2.058376] tps65910 0-002d: No interrupt support, no core IRQ
    [    2.066545] vrtc: supplied by vbat
    [    2.073878] vio: supplied by vbat
    [    2.078904] vdd1: supplied by vbat
    [    2.084301] vdd2: supplied by vbat
    [    2.091220] vdig1: supplied by vbat
    [    2.096302] vdig2: supplied by vbat
    [    2.101318] vpll: supplied by vbat
    [    2.106290] vdac: supplied by vbat
    [    2.111209] vaux1: supplied by vbat
    [    2.116197] vaux2: supplied by vbat
    [    2.121158] vaux33: supplied by vbat
    [    2.126375] vmmc: supplied by vbat
    [    2.131304] vbb: supplied by vbat
    [    2.136023] omap_i2c 44e0b000.i2c: bus 0 rev0.11 at 400 kHz
    [    2.143941] omap_i2c 4802a000.i2c: bus 1 rev0.11 at 100 kHz
    [    2.152092] omap_hsmmc 48060000.mmc: Got CD GPIO
    [    2.217751] input: volume_keys0 as /devices/platform/volume_keys0/input/input0
    [    2.229534] hctosys: unable to open rtc device (rtc0)
    [    2.235594] lis3_reg: disabling
    [    2.238831] wlan-en-regulator: disabling
    [    2.243048] ALSA device list:
    [    2.246307]   No soundcards found.
    [    2.253648] Waiting for root device PARTUUID=0008b4f9-02...
    [    2.355079] mmc1: host does not support reading read-only switch, assuming write-enable
    [    2.367811] mmc1: new high speed SDHC card at address aaaa
    [    2.373955] mmcblk1: mmc1:aaaa SC16G 14.8 GiB 
    [    2.383381]  mmcblk1: p1 p2
    [    2.423545] EXT4-fs (mmcblk1p2): mounted filesystem with ordered data mode. Opts: (null)
    [    2.432133] VFS: Mounted root (ext4 filesystem) on device 179:2.
    [    2.443425] devtmpfs: mounted
    [    2.448460] Freeing unused kernel memory: 1024K
    [    2.820864] systemd[1]: System time before build time, advancing clock.
    [    2.887951] systemd[1]: systemd 234 running in system mode. (+PAM -AUDIT -SELINUX +IMA -APPARMOR +SMACK +SYSVINIT +UTMP -LIBCRYPTSETUP -GCRYPT -GNUTLS +ACL +XZ -LZ4 -SECCOMP +BLKID -ELFUTILS +KMOD -IDN2 -IDN default-hierarchy=hybrid)
    [    2.909840] systemd[1]: Detected architecture arm.
    
    Welcome to Arago 2018.04!
    
    [    2.948910] systemd[1]: Set hostname to <am335x-evm>.
    [    3.571063] random: systemd: uninitialized urandom read (16 bytes read)
    [    3.581179] systemd[1]: Created slice User and Session Slice.
    [  OK  ] Created slice User and Session Slice.
    [    3.616360] random: systemd: uninitialized urandom read (16 bytes read)
    [    3.623583] systemd[1]: Listening on Network Service Netlink Socket.
    [  OK  ] Listening on Network Service Netlink Socket.
    [    3.664991] random: systemd: uninitialized urandom read (16 bytes read)
    [    3.697012] systemd[1]: Listening on Process Core Dump Socket.
    [  OK  ] Listening on Process Core Dump Socket.
    [    3.725178] systemd[1]: Reached target Remote File Systems.
    [  OK  ] Reached target Remote File Systems.
    [    3.755505] systemd[1]: Listening on Journal Socket.
    [  OK  ] Listening on Journal Socket.
    [    3.786014] systemd[1]: Listening on udev Kernel Socket.
    [  OK  ] Listening on udev Kernel Socket.
    [    3.815119] systemd[1]: Reached target Swap.
    [  OK  ] Reached target Swap.
    [  OK  ] Started Forward Password Requests to Wall Directory Watch.
    [  OK  ] Started Dispatch Password Requests to Console Directory Watch.
    [  OK  ] Reached target Paths.
    [  OK  ] Listening on udev Control Socket.
    [  OK  ] Listening on /dev/initctl Compatibility Named Pipe.
    [  OK  ] Created slice System Slice.
    [  OK  ] Created slice system-getty.slice.
    [  OK  ] Reached target Slices.
             Starting Load Kernel Modules...
    [  OK  ] Created slice system-serial\x2dgetty.slice.
             Mounting Kernel Debug File System...
    [    4.180325] cryptodev: loading out-of-tree module taints kernel.
    [    4.195677] cryptodev: driver 1.9 loaded.
             Mounting Temporary Directory (/tmp)...
    [  OK  ] Listening on Journal Socket (/dev/log).
             Starting Remount Root and Kernel File Systems...
             Mounting POSIX Message Queue File System...
    [  OK  ] Listening on Syslog Socket.
             Starting Journal Service...
    [    4.399318] EXT4-fs (mmcblk1p2): re-mounted. Opts: (null)
    [  OK  ] Mounted Kernel Debug File System.
    [  OK  ] Mounted POSIX Message Queue File System.
    [  OK  ] Mounted Temporary Directory (/tmp).
    [  OK  ] Started Load Kernel Modules.
    [  OK  ] Started Remount Root and Kernel File Systems.
             Starting Rebuild Hardware Database...
             Starting Create System Users...
             Starting Apply Kernel Variables...
             Mounting Kernel Configuration File System...
    [  OK  ] Mounted Kernel Configuration File System.
    [  OK  ] Started Journal Service.
    [  OK  ] Started Create System Users.
    [  OK  ] Started Apply Kernel Variables.
             Starting Create Static Device Nodes in /dev...
             Starting Flush Journal to Persistent Storage...
    [  OK  ] Started Create Static Device Nodes in /dev.
    [    5.048499] systemd-journald[71]: Received request to flush runtime journal from PID 1
             Starting udev Kernel Device Manager...
    [  OK  ] Reached target Local File Systems (Pre).
             Mounting /var/volatile...
             Mounting /media/ram...
    [  OK  ] Mounted /var/volatile.
    [  OK  ] Mounted /media/ram.
    [  OK  ] Started udev Kernel Device Manager.
    [  OK  ] Started Flush Journal to Persistent Storage.
    [  OK  ] Reached target Local File Systems.
             Starting Create Volatile Files and Directories...
             Starting Rebuild Dynamic Linker Cache...
             Starting Rebuild Journal Catalog...
             Starting Load/Save Random Seed...
    [  OK  ] Started Create Volatile Files and Directories.
    [  OK  ] Started Rebuild Dynamic Linker Cache.
    [  OK  ] Started Load/Save Random Seed.
             Starting Network Time Synchronization...
             Starting Update UTMP about System Boot/Shutdown...
    [  OK  ] Started Rebuild Journal Catalog.
    [  OK  ] Started Update UTMP about System Boot/Shutdown.
    [  OK  ] Started Network Time Synchronization.
    [  OK  ] Reached target System Time Synchronized.
    [  OK  ] Started Rebuild Hardware Database.
             Starting udev Coldplug all Devices...
             Starting Update is Completed...
    [  OK  ] Started Update is Completed.
    [    9.886738] input: matrix_keypad0 as /devices/platform/matrix_keypad0/input/input1
    [  OK  ] Created slice system-systemd\x2dbacklight.slice.
             Starting Load/Save Screen Backlight�ightness of backlight:backlight...
    [   10.045971] omap_wdt: OMAP Watchdog Timer Rev 0x01: initial timeout 60 sec
    [   10.112718] omap_rtc 44e3e000.rtc: already running
    [   10.164121] omap_rtc 44e3e000.rtc: registered as rtc0
    [  OK  ] Found device /dev/ttyS0.
    [  OK  ] Started udev Coldplug all Devices.
    [  OK  ] Started Load/Save Screen Backlight Brightness of backlight:backlight.
    [  OK  ] Reached target System Initialization.
    [  OK  ] Listening on RPCbind Server Activation Socket.
    [  OK  ] Started Daily Cleanup of Temporary Directories.
    [  OK  ] Listening on D-Bus System Message Bus Socket.
    [  OK  ] Reached target Sockets.
    [  OK  ] Reached target Basic System.
    [   10.581999] tlv320aic3x-codec 1-001b: Too high supply voltage(s) AVDD: 3300000, DVDD: 5000000
    [  OK  ] Started Job spooling tools.
    [  OK  ] Reached target Containers.
             Starting Print notice about GPLv3 packages...
             Starting telnetd.service...
    [  OK  ] Started System Logging Service.
    [  OK  ] Started Periodic Command Scheduler.
             Starting Login Service...
    [   11.366922] omap-sham 53100000.sham: hw accel on OMAP rev 4.3
    [  OK  ] Started D-Bus System Message Bus.
    [   11.596648] omap-aes 53500000.aes: OMAP AES hw accel rev: 3.2
    [   11.665015] omap-aes 53500000.aes: will run requests pump with realtime priority
    [   11.847602] wkup_m3_ipc 44e11324.wkup_m3_ipc: could not get rproc handle
    [   11.983856] remoteproc remoteproc0: wkup_m3 is available
    [   11.994065] PM: Cannot get wkup_m3_ipc handle
    [   12.131033] PM: Cannot get wkup_m3_ipc handle
    [   12.144069] remoteproc remoteproc0: powering up wkup_m3
    [   12.252086] remoteproc remoteproc0: Booting fw image am335x-pm-firmware.elf, size 224628
    [   12.252348] remoteproc remoteproc0: remote processor wkup_m3 is now up
    [   12.252374] wkup_m3_ipc 44e11324.wkup_m3_ipc: CM3 Firmware Version = 0x192
    [   12.562705] asoc-simple-card sound: tlv320aic3x-hifi <-> 4803c000.mcasp mapping ok
             Starting RPC Bind Service...
    [   12.634868] asoc-simple-card sound: ASoC: no DMI vendor name!
    [  OK  ] Started Daily rotation of log files.
    [  OK  ] Reached target Timers.
    [   12.778986] PM: bootloader does not support rtc-only!
             Starting Network Service...
    [  OK  ] Started Hardware RNG Entropy Gatherer Daemon.
    [  OK  ] Started Kernel Logging Service.
    [   13.168397] random: crng init done
    [   13.171850] random: 7 urandom warning(s) missed due to ratelimiting
             Starting Save/Restore Sound Card State...
    [  OK  ] Started telnetd.service.
    [  OK  ] Started RPC Bind Service.
    [  OK  ] Found device /dev/ttyS3.
    [  OK  ] Started Network Service.
    [   14.422173] net eth0: initializing cpsw version 1.12 (0)
    [  OK  ] Started Save/Restore Sound Card State.
    [   14.550842] net eth0: phy "4a101000.mdio:00" not found on slave 0, err -19
    [   14.772185] libphy: PHY 4a101000.mdio:01 not found
    [   14.874348] net eth0: phy "4a101000.mdio:01" not found on slave 1, err -19
    [   14.997966] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
    [   15.123551] FAT-fs (mmcblk1p1): Volume was not properly unmounted. Some data may be corrupt. Please run fsck.
    [  OK  ] Started Login Service.
    [  OK  ] Listening on Load/Save RF Kill Switch Status /dev/rfkill Watch.
    [  OK  ] Reached target Network.
             Starting Network Name Resolution...
             Starting Permit User Sessions...
             Starting thttpd.service...
    [  OK  ] Started Permit User Sessions.
    [  OK  ] Started Serial Getty on ttyS0.
    [  OK  ] Started Getty on tty1.
    [  OK  ] Started Serial Getty on ttyS3.
    [  OK  ] Reached target Login Prompts.
             Starting Synchronize System and HW clocks...
    [  OK  ] Started thttpd.service.
    [  OK  ] Started Synchronize System and HW clocks.
             Starting rng-tools.service...
    [  OK  ] Started Network Name Resolution.
    [  OK  ] Reached target Host and Network Name Lookups.
    [  OK  ] Started NFS status monitor for NFSv2/3 locking..
    [  OK  ] Started rng-tools.service.
    [   18.089932] input: ti-tsc as /devices/platform/ocp/44e0d000.tscadc/TI-am335x-tsc/input/input2
    ***************************************************************
    ***************************************************************
    NOTICE: This file system contains the following GPLv3 packages:
    	bash
    	binutils
    	cifs-utils
    	cpio
    	dosfstools
    	elfutils
    	gawk
    	gzip
    	libdw1
    	libelf1
    	libreadline7
    	m4
    	which
    
    If you do not wish to distribute GPLv3 components please remove
    the above packages prior to distribution.  This can be done using
    the opkg remove command.  i.e.:
        opkg remove <package>
    Where <package> is the name printed in the list above
    
    NOTE: If the package is a dependency of another package you
          will be notified of the dependent packages.  You should
          use the --force-removal-of-dependent-packages option to
          also remove the dependent packages as well
    ***************************************************************
    ***************************************************************
    [  OK  ] Started Print notice about GPLv3 packages.
    [   19.298168] am335x-phy-driver 47401300.usb-phy: 47401300.usb-phy supply vcc not found, using dummy regulator
    [   19.325378] usbcore: registered new interface driver usbfs
    [   19.325462] usbcore: registered new interface driver hub
    [   19.329497] usbcore: registered new device driver usb
    [   19.518522] musb-hdrc musb-hdrc.0: MUSB HDRC host driver
    [   19.523937] musb-hdrc musb-hdrc.0: new USB bus registered, assigned bus number 1
    [   19.670873] hub 1-0:1.0: USB hub found
    [   19.705324] hub 1-0:1.0: 1 port detected
    [   19.748217] am335x-phy-driver 47401b00.usb-phy: 47401b00.usb-phy supply vcc not found, using dummy regulator
    [   19.856780] musb-hdrc musb-hdrc.1: MUSB HDRC host driver
    [   19.862208] musb-hdrc musb-hdrc.1: new USB bus registered, assigned bus number 2
    [   19.982514] hub 2-0:1.0: USB hub found
    [   20.010854] hub 2-0:1.0: 1 port detected
    [   20.184304] pruss 4a300000.pruss: creating PRU cores and other child platform devices
    [   20.652662] remoteproc remoteproc1: 4a334000.pru is available
    [   20.724127] pru-rproc 4a334000.pru: PRU rproc node /ocp/pruss_soc_bus@4a326004/pruss@0/pru@34000 probed successfully
    [   20.776747] remoteproc remoteproc2: 4a338000.pru is available
    [   20.782672] pru-rproc 4a338000.pru: PRU rproc node /ocp/pruss_soc_bus@4a326004/pruss@0/pru@38000 probed successfully
    
     _____                    _____           _         _   
    |  _  |___ ___ ___ ___   |  _  |___ ___  |_|___ ___| |_ 
    |     |  _| .'| . | . |  |   __|  _| . | | | -_|  _|  _|
    |__|__|_| |__,|_  |___|  |__|  |_| |___|_| |___|___|_|  
                  |___|                    |___|            
    
    Arago Project http://arago-project.org am335x-evm ttyS0
    
    Arago 2018.04 am335x-evm ttyS0
    
    am335x-evm login: root
    root@am335x-evm:~# reboot
    [  OK  ] Stopped target Sound Card.         Stopping Session c1 of user root.
    [  OK  ] Closed Load/Save RF Kill Switch Status /dev/rfkill Watch.
             Stopping Save/Restore Sound Card State...
    [  OK  ] Stopped target Timers.
             Stopping User Manager for UID 0...
    [  OK  ] Stopped target Multi-User System.
             Stopping thermal-zone-init.service...
    [  OK  ] Stopped target Login Prompts.
             Stopping Getty on tty1...
             Stopping Serial Getty on ttyS3...
             Stopping Job spooling tools...
             Stopping D-Bus System Message Bus...
             Stopping Kernel Logging Service...
             Stopping System Logging Service...
    [  OK  ] Stopped Daily Cleanup of Temporary Directories.
             Stopping Hardware RNG Entropy Gatherer Daemon...
             Stopping NFS status monitor for NFSv2/3 locking....
             Stopping Serial Getty on ttyS0...
             Stopping Periodic Command Scheduler...
    [  OK  ] Stopped Daily rotation of log files.
    [  OK  ] Stopped target System Time Synchronized.
    [  OK  ] Stopped target Containers.
    [  OK  ] Stopped Job spooling tools.
    [  OK  ] Stopped System Logging Service.
    [  OK  ] Stopped Periodic Command Scheduler.
    [  OK  ] Stopped D-Bus System Message Bus.
    [  OK  ] Stopped Hardware RNG Entropy Gatherer Daemon.
    [  OK  ] Stopped Kernel Logging Service.
    [  OK  ] Stopped Serial Getty on ttyS0.
    [  OK  ] Stopped Getty on tty1.
    [  OK  ] Stopped NFS status monitor for NFSv2/3 locking..
    [  OK  ] Stopped User Manager for UID 0.
    [  OK  ] Stopped Serial Getty on ttyS3.
    [  OK  ] Stopped Save/Restore Sound Card State.
    [  OK  ] Stopped thermal-zone-init.service.
    [  OK  ] Stopped Session c1 of user root.
             Stopping rng-tools.service...
    [  OK  ] Removed slice User Slice of root.
             Stopping Login Service...
    [  OK  ] Stopped target Host and Network Name Lookups.
             Stopping Network Name Resolution...
             Stopping RPC Bind Service...
    [  OK  ] Removed slice system-getty.slice.
             Stopping Permit User Sessions...
    [  OK  ] Removed slice system-serial\x2dgetty.slice.
    [  OK  ] Stopped Login Service.
    [  OK  ] Stopped RPC Bind Service.
    [  OK  ] Stopped Network Name Resolution.
    [  OK  ] Stopped rng-tools.service.
    [  OK  ] Stopped Permit User Sessions.
    [  OK  ] Stopped target Remote File Systems.
             Stopping thttpd.service...
    [  OK  ] Stopped target Network.
             Stopping Network Service...
    [  OK  ] Stopped thttpd.service.
    [  OK  ] Stopped Network Service.
             Stopping telnetd.service...
    [  OK  ] Stopped telnetd.service.
    [  OK  ] Stopped target Basic System.
    [  OK  ] Stopped target Slices.
    [  OK  ] Removed slice User and Session Slice.
    [  OK  ] Stopped target Paths.
    [  OK  ] Stopped Forward Password Requests to Wall Directory Watch.
    [  OK  ] Stopped Dispatch Password Requests to Console Directory Watch.
    [  OK  ] Stopped target Sockets.
    [  OK  ] Closed RPCbind Server Activation Socket.
    [  OK  ] Closed Syslog Socket.
    [  OK  ] Closed D-Bus System Message Bus Socket.
    [  OK  ] Stopped target System Initialization.
             Stopping Network Time Synchronization...
             Stopping Load/Save Screen Backlight�ightness of backlight:backlight...
    [  OK  ] Stopped Update is Completed.
    [  OK  ] Stopped Rebuild Hardware Database.
    [  OK  ] Stopped Rebuild Dynamic Linker Cache.
    [  OK  ] Stopped Rebuild Journal Catalog.
             Stopping Load/Save Random Seed...
    [  OK  ] Stopped Apply Kernel Variables.
    [  OK  ] Stopped Load Kernel Modules.
             Stopping Update UTMP about System Boot/Shutdown...
    [  OK  ] Stopped Network Time Synchronization.
    [  OK  ] Stopped Load/Save Screen Backlight Brightness of backlight:backlight.
    [  OK  ] Stopped Load/Save Random Seed.
    [  OK  ] Stopped Update UTMP about System Boot/Shutdown.
    [  OK  ] Removed slice system-systemd\x2dbacklight.slice.
    [  OK  ] Stopped Create Volatile Files and Directories.
    [  OK  ] Stopped target Local File Systems.
             Unmounting /media/ram...
             Unmounting /run/user/0...
             Unmounting /var/volatile...
             Unmounting /run/media/mmcblk1p1...
             Unmounting Temporary Directory (/tmp)...
    [  OK  ] Unmounted /media/ram.
    [  OK  ] Unmounted /run/user/0.
    [  OK  ] Unmounted /var/volatile.
    [  OK  ] Unmounted /run/media/mmcblk1p1.
    [  OK  ] Unmounted Temporary Directory (/tmp).
    [  OK  ] Stopped target Swap.
    [  OK  ] Reached target Unmount All Filesystems.
    [  OK  ] Stopped target Local File Systems (Pre).
    [  OK  ] Stopped Create Static Device Nodes in /dev.
    [  OK  ] Stopped Create System Users.
    [  OK  ] Stopped Remount Root and Kernel File Systems.
    [  OK  ] Reached target Shutdown.
    [   49.323453] watchdog: watchdog0: watchdog did not stop!
    [   49.339090] systemd-shutdow: 28 output lines suppressed due to ratelimiting
    [   49.425969] systemd-shutdown[1]: Sending SIGTERM to remaining processes...
    [   49.457276] systemd-journald[71]: Received SIGTERM from PID 1 (systemd-shutdow).
    [   49.516794] systemd-shutdown[1]: Sending SIGKILL to remaining processes...
    [   49.534111] systemd-shutdown[1]: Hardware watchdog 'OMAP Watchdog', version 0
    [   49.546278] systemd-shutdown[1]: Unmounting file systems.
    [   49.552824] systemd-shutdown[1]: Remounting '/' read-only with options 'data=ordered'.
    [   49.582901] EXT4-fs (mmcblk1p2): re-mounted. Opts: data=ordered
    [   49.602303] systemd-shutdown[1]: Remounting '/' read-only with options 'data=ordered'.
    [   49.611928] EXT4-fs (mmcblk1p2): re-mounted. Opts: data=ordered
    [   49.618420] systemd-shutdown[1]: All filesystems unmounted.
    [   49.624065] systemd-shutdown[1]: Deactivating swaps.
    [   49.629636] systemd-shutdown[1]: All swaps deactivated.
    [   49.635067] systemd-shutdown[1]: Detaching loop devices.
    [   49.685281] reboot: Restarting system
    

  • Vamsi,

    ti-processor-sdk-linux-am335x-evm-04.02.00.09 comes with:

    1. u-boot-2017-01
    2. linux kernel 4.9.59
    3. Linaro GCC 6.2.1 2016.11

    While in your boot log I see you are using linux kernel 4.14.40 and Linaro GCC 7.2.1 2017.11. I would suggest you to try with linux kernel, Linaro GCC and rootfs that comes with PSDK 4.02 and check if the issue is still valid.

    software-dl.ti.com/.../index_FDS.html

    processors.wiki.ti.com/index.php

    Regards,
    Pavel
  • I've downloaded newer version of SDK(ti-processor-sdk-linux-am335x-evm-05.00.00.15) and tried with newly generated MLO & u-boot using values of ddr_defs.h file. Now it's working.

    Thank you.