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/TDA2: Linux/TDA2: TDA2 linux Software reboot failure

Part Number: TDA2
Other Parts Discussed in Thread: DRA742

Tool/software: Linux

Hi,

We are developing a custom board based on TDA2 ( using SD card boot), and build the Linux image on VSDKv3.5 source

File: ../../vision_sdk/apps/configs/tda2xx_evm_linux_all/cfg.mk

VSDK_BOARD_TYPE=TDA2XX_EVM

IPU_PRIMARY_CORE=ipu2

Both the u-boot & kernel, user-case application works fine.

System also stop all services and detach device normally when execute "reboot" command via console. 

But system doesn't reboot, it need manually power reset then system reboot.

The log as the attached.

Could you help teach us how to solve the SW reboot issue ? Thanks.

BR,

Sam Hsieh

U-Boot SPL 2016.05 (Feb 21 2019 - 10:03:14)
DRA752-GP ES2.0
no pinctrl for hs200_1_8v
no pinctrl for ddr_1_8v
*** Warning - MMC init failed, using default environment

Trying to boot from MMC1
reading dra7-ipu2-fw.lzop
spl_load_file_fat: error reading file dra7-ipu2-fw.lzop, err - -1
spl: error reading image dra7-ipu2-fw.lzop, err - -1
Error loading remotecore IPU2!,Continuing with boot ...
reading dra7-dsp1-fw.lzop
spl_load_file_fat: error reading file dra7-dsp1-fw.lzop, err - -1
spl: error reading image dra7-dsp1-fw.lzop, err - -1
Error loading remotecore DSP1!,Continuing with boot ...
reading dra7-dsp2-fw.lzop
spl_load_file_fat: error reading file dra7-dsp2-fw.lzop, err - -1
spl: error reading image dra7-dsp2-fw.lzop, err - -1
Error loading remotecore DSP2!,Continuing with boot ...
reading dra7-ipu1-fw.lzop
spl_load_file_fat: error reading file dra7-ipu1-fw.lzop, err - -1
spl: error reading image dra7-ipu1-fw.lzop, err - -1
Error loading remotecore IPU1!,Continuing with boot ...
*** Warning - MMC init failed, using default environment

reading u-boot.img
reading u-boot.img
reading u-boot.img
reading u-boot.img


U-Boot 2016.05 (Feb 21 2019 - 10:03:14 +0800)

CPU  : DRA752-GP ES2.0
Model: TI DRA742
Board: DRA74x EVM REV
DRAM:  1.5 GiB
MMC:   OMAP SD/MMC: 0, OMAP SD/MMC: 1
** First descriptor is NOT a primary desc on 1:1 **
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:199/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
Hit any key to stop autoboot:  0
## Error: "board_findfdt" not defined
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
173 bytes read in 6 ms (27.3 KiB/s)
Loaded env from uEnv.txt
Importing environment from mmc0 ...
switch to partitions #0, OK
mmc0 is current device
SD/MMC found on device 0
3560608 bytes read in 337 ms (10.1 MiB/s)
106933 bytes read in 27 ms (3.8 MiB/s)
Booting from mmc0 ...
Kernel image @ 0x82000000 [ 0x000000 - 0x3654a0 ]
## Flattened Device Tree blob at 88000000
   Booting using the fdt blob at 0x88000000
   Loading Device Tree to 8ffe2000, end 8ffff1b4 ... 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.84-00032-g0f6b93d-dirty (sam@ubuntu-ML-Server) (gcc version 5.3.1 20160113 (Linaro GCC 5.3-2016.02) ) #1 SMP PREEMPT Thu Feb 21 10:05:16 CST 2019
[    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 DRA742
[    0.000000] Reserved memory: created DMA memory pool at 0x0000000040300000, size 3 MiB
[    0.000000] Reserved memory: initialized node cmem@40300000, compatible id shared-dma-pool
[    0.000000] Reserved memory: regions without no-map are not yet supported
[    0.000000] Reserved memory: created CMA memory pool at 0x0000000099000000, size 80 MiB
[    0.000000] Reserved memory: initialized node ipu2_cma@95800000, compatible id shared-dma-pool
[    0.000000] Reserved memory: created CMA memory pool at 0x000000009e000000, size 32 MiB
[    0.000000] Reserved memory: initialized node ipu1_cma@9d000000, compatible id shared-dma-pool
[    0.000000] Reserved memory: regions without no-map are not yet supported
[    0.000000] Reserved memory: created CMA memory pool at 0x00000000a1000000, size 32 MiB
[    0.000000] Reserved memory: initialized node dsp1_cma@99000000, compatible id shared-dma-pool
[    0.000000] Reserved memory: created CMA memory pool at 0x00000000a3000000, size 32 MiB
[    0.000000] Reserved memory: initialized node dsp2_cma@9f000000, compatible id shared-dma-pool
[    0.000000] Reserved memory: regions without no-map are not yet supported
[    0.000000] Reserved memory: created DMA memory pool at 0x00000000a9000000, size 32 MiB
[    0.000000] Reserved memory: initialized node cmem@A9000000, compatible id shared-dma-pool
[    0.000000] cma: Reserved 64 MiB at 0x00000000bbc00000
[    0.000000] Forcing write-allocate cache policy for SMP
[    0.000000] Memory policy: Data cache writealloc
[    0.000000] OMAP4: Map 0x00000000bfd00000 to fe600000 for dram barrier
[    0.000000] DRA752 ES2.0
[    0.000000] PERCPU: Embedded 11 pages/cpu @ef62a000 s14912 r8192 d21952 u45056
[    0.000000] Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 251456
[    0.000000] Kernel command line: console=ttyO0,115200n8 vram=16M root=PARTUUID=ea41f9b5-02 rw rootwait ip=none mem=1024M cma=64M
[    0.000000] PID hash table entries: 4096 (order: 2, 16384 bytes)
[    0.000000] Dentry cache hash table entries: 131072 (order: 7, 524288 bytes)
[    0.000000] Inode-cache hash table entries: 65536 (order: 6, 262144 bytes)
[    0.000000] Memory: 353188K/1012736K available (6635K kernel code, 320K rwdata, 2392K rodata, 336K init, 290K bss, 413788K reserved, 245760K cma-reserved, 193536K highmem)
[    0.000000] Virtual kernel memory layout:
[    0.000000]     vector  : 0xffff0000 - 0xffff1000   (   4 kB)
[    0.000000]     fixmap  : 0xffc00000 - 0xfff00000   (3072 kB)
[    0.000000]     vmalloc : 0xf0800000 - 0xff800000   ( 240 MB)
[    0.000000]     lowmem  : 0xc0000000 - 0xf0000000   ( 768 MB)
[    0.000000]     pkmap   : 0xbfe00000 - 0xc0000000   (   2 MB)
[    0.000000]     modules : 0xbf000000 - 0xbfe00000   (  14 MB)
[    0.000000]       .text : 0xc0008000 - 0xc08d902c   (9029 kB)
[    0.000000]       .init : 0xc08da000 - 0xc092e000   ( 336 kB)
[    0.000000]       .data : 0xc092e000 - 0xc097e120   ( 321 kB)
[    0.000000]        .bss : 0xc0980000 - 0xc09c8800   ( 290 kB)
[    0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=2, 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] ti_dt_clocks_register: failed to lookup clock node gmac_gmii_ref_clk_div
[    0.000000] OMAP clockevent source: timer1 at 32786 Hz
[    0.000000] Architected cp15 timer(s) running at 6.14MHz (phys).
[    0.000000] clocksource: arch_sys_counter: mask: 0xffffffffffffff max_cycles: 0x16af5adb9, max_idle_ns: 440795202250 ns
[    0.000004] sched_clock: 56 bits at 6MHz, resolution 162ns, wraps every 4398046511023ns
[    0.000016] Switching to timer-based delay loop, resolution 162ns
[    0.000334] clocksource: 32k_counter: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 58327039986419 ns
[    0.000342] OMAP clocksource: 32k_counter at 32768 Hz
[    0.000779] Console: colour dummy device 80x30
[    0.000795] WARNING: Your 'console=ttyO0' has been replaced by 'ttyS0'
[    0.000801] This ensures that you still see kernel messages. Please
[    0.000806] update your kernel commandline.
[    0.000820] Calibrating delay loop (skipped), value calculated using timer frequency.. 12.29 BogoMIPS (lpj=61475)
[    0.000832] pid_max: default: 32768 minimum: 301
[    0.000930] Mount-cache hash table entries: 2048 (order: 1, 8192 bytes)
[    0.000939] Mountpoint-cache hash table entries: 2048 (order: 1, 8192 bytes)
[    0.001479] Initializing cgroup subsys io
[    0.001496] Initializing cgroup subsys memory
[    0.001520] Initializing cgroup subsys devices
[    0.001533] Initializing cgroup subsys freezer
[    0.001544] Initializing cgroup subsys perf_event
[    0.001555] Initializing cgroup subsys pids
[    0.001583] CPU: Testing write buffer coherency: ok
[    0.001783] /cpus/cpu@0 missing clock-frequency property
[    0.001800] /cpus/cpu@1 missing clock-frequency property
[    0.001809] CPU0: thread -1, cpu 0, socket 0, mpidr 80000000
[    0.001849] Setting up static identity map for 0x80008380 - 0x800083e0
[    0.080059] CPU1: thread -1, cpu 1, socket 0, mpidr 80000001
[    0.080127] Brought up 2 CPUs
[    0.080140] SMP: Total of 2 processors activated (24.59 BogoMIPS).
[    0.080146] CPU: All CPU(s) started in HYP mode.
[    0.080152] CPU: Virtualization extensions available.
[    0.080527] devtmpfs: initialized
[    0.109160] VFP support v0.3: implementor 41 architecture 4 part 30 variant f rev 0
[    0.110133] omap_hwmod: l3_main_2 using broken dt data from ocp
[    0.313846] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[    0.313871] futex hash table entries: 512 (order: 3, 32768 bytes)
[    0.319054] pinctrl core: initialized pinctrl subsystem
[    0.319924] NET: Registered protocol family 16
[    0.320910] DMA: preallocated 256 KiB pool for atomic coherent allocations
[    0.350242] cpuidle: using governor ladder
[    0.380269] cpuidle: using governor menu
[    0.388882] OMAP GPIO hardware version 0.1
[    0.395362] irq: no irq domain found for /ocp/l4@4a000000/scm@2000/pinmux@1400 !
[    0.411852] omap-gpmc 50000000.gpmc: GPMC revision 6.0
[    0.411866] gpmc_mem_init: disabling cs 0 mapped at 0x0-0x1000000
[    0.419906] hw-breakpoint: found 5 (+1 reserved) breakpoint and 4 watchpoint registers.
[    0.419917] hw-breakpoint: maximum watchpoint size is 8 bytes.
[    0.420401] omap4_sram_init:Unable to allocate sram needed to handle errata I688
[    0.420411] omap4_sram_init:Unable to get sram pool needed to handle errata I688
[    0.420990] OMAP DMA hardware revision 0.0
[    0.461724] omap-dma-engine 4a056000.dma-controller: OMAP DMA engine driver (LinkedList1/2/3 supported)
[    0.462878] edma 43300000.edma: memcpy is disabled
[    0.467627] edma 43300000.edma: TI EDMA DMA engine driver
[    0.471966] omap-iommu 40d01000.mmu: 40d01000.mmu registered
[    0.472144] omap-iommu 40d02000.mmu: 40d02000.mmu registered
[    0.472305] omap-iommu 58882000.mmu: 58882000.mmu registered
[    0.472462] omap-iommu 55082000.mmu: 55082000.mmu registered
[    0.472752] omap-iommu 41501000.mmu: 41501000.mmu registered
[    0.472938] omap-iommu 41502000.mmu: 41502000.mmu registered
[    0.475940] palmas 0-0058: IRQ missing: skipping irq request
[    0.491389] palmas 0-0058: Muxing GPIO 2e, PWM 0, LED 0
[    0.563720] pcf857x 0-0020: probed
[    0.564311] pcf857x 0-0021: probed
[    0.564463] omap_i2c 48070000.i2c: bus 0 rev0.12 at 400 kHz
[    0.564862] omap_i2c 48060000.i2c: bus 2 rev0.12 at 400 kHz
[    0.565061] media: Linux media interface: v0.10
[    0.565112] Linux video capture interface: v2.00
[    0.565151] pps_core: LinuxPPS API ver. 1 registered
[    0.565158] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
[    0.565185] PTP clock support registered
[    0.565233] EDAC MC: Ver: 3.0.0
[    0.565992] omap-mailbox 48840000.mailbox: omap mailbox rev 0x400
[    0.566285] omap-mailbox 48842000.mailbox: omap mailbox rev 0x400
[    0.566624] Advanced Linux Sound Architecture Driver Initialized.
[    0.567505] clocksource: Switched to clocksource arch_sys_counter
[    0.578192] NET: Registered protocol family 2
[    0.578686] TCP established hash table entries: 8192 (order: 3, 32768 bytes)
[    0.578749] TCP bind hash table entries: 8192 (order: 4, 65536 bytes)
[    0.578874] TCP: Hash tables configured (established 8192 bind 8192)
[    0.578921] UDP hash table entries: 512 (order: 2, 16384 bytes)
[    0.578952] UDP-Lite hash table entries: 512 (order: 2, 16384 bytes)
[    0.579158] NET: Registered protocol family 1
[    0.579403] RPC: Registered named UNIX socket transport module.
[    0.579411] RPC: Registered udp transport module.
[    0.579418] RPC: Registered tcp transport module.
[    0.579424] RPC: Registered tcp NFSv4.1 backchannel transport module.
[    0.580427] hw perfevents: enabled with armv7_cortex_a15 PMU driver, 7 counters available
[    0.590517] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[    0.591178] NFS: Registering the id_resolver key type
[    0.591209] Key type id_resolver registered
[    0.591217] Key type id_legacy registered
[    0.591285] ntfs: driver 2.1.32 [Flags: R/O].
[    0.592600] bounce: pool size: 64 pages
[    0.592758] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 247)
[    0.592775] io scheduler noop registered
[    0.592790] io scheduler deadline registered
[    0.592826] io scheduler cfq registered (default)
[    0.597738] pinctrl-single 4a003400.pinmux: 282 pins at pa fc003400 size 1128
[    0.600911] PCI host bridge /ocp/axi@0/pcie_rc@51000000 ranges:
[    0.600923]   No bus range found for /ocp/axi@0/pcie_rc@51000000, using [bus 00-ff]
[    0.600955]    IO 0x20003000..0x20012fff -> 0x00000000
[    0.600976]   MEM 0x20013000..0x2fffffff -> 0x20013000
[    0.630892] dra7-pcie 51000000.pcie_rc: link is not up
[    0.631060] dra7-pcie 51000000.pcie_rc: PCI host bridge to bus 0000:00
[    0.631072] pci_bus 0000:00: root bus resource [bus 00-ff]
[    0.631082] pci_bus 0000:00: root bus resource [io  0x0000-0xffff]
[    0.631093] pci_bus 0000:00: root bus resource [mem 0x20013000-0x2fffffff]
[    0.631503] PCI: bus0: Fast back to back transfers disabled
[    0.631629] PCI: bus1: Fast back to back transfers enabled
[    0.631715] pci 0000:00:00.0: BAR 0: assigned [mem 0x20100000-0x201fffff]
[    0.631730] pci 0000:00:00.0: BAR 1: assigned [mem 0x20020000-0x2002ffff]
[    0.631742] pci 0000:00:00.0: PCI bridge to [bus 01]
[    0.631965] pcieport 0000:00:00.0: Signaling PME through PCIe PME interrupt
[    0.692469] Serial: 8250/16550 driver, 10 ports, IRQ sharing disabled
[    0.695860] 4806a000.serial: ttyS0 at MMIO 0x4806a000 (irq = 301, base_baud = 3000000) is a 8250
[    1.706432] console [ttyS0] enabled
[    1.710829] 4806c000.serial: ttyS1 at MMIO 0x4806c000 (irq = 302, base_baud = 3000000) is a 8250
[    1.720522] 48020000.serial: ttyS2 at MMIO 0x48020000 (irq = 303, base_baud = 3000000) is a 8250
[    1.730553] [drm] Initialized drm 1.1.0 20060810
[    1.736062] [drm] Supports vblank timestamp caching Rev 2 (21.10.2013).
[    1.742749] [drm] No driver support for vblank timestamp query.
[    1.748913] [drm] Initialized vdrm 1.0.0 20110917 on minor 0
[    1.761866] loop: module loaded
[    1.765411] vmemexp device MAJOR num = 245
[    1.769560] vmemexp class registered
[    1.773276] /dev/vmemexp device registered
[    1.777392] ioctl DBUFIOC_EXPORT_VIRTMEM = -1072899120
[    1.783118] nand: No NAND device found
[    1.786889] omap2-nand 8000000.nand: scan failed, may be bus-width mismatch
[    1.796743] m25p80 spi32766.0: found w25q256, expected s25fl256s1
[    1.802905] m25p80 spi32766.0: w25q256 (32768 Kbytes)
[    1.808053] 7 ofpart partitions found on MTD device spi32766.0
[    1.813912] Creating 7 MTD partitions on "spi32766.0":
[    1.819088] 0x000000000000-0x000000040000 : "QSPI.SPL"
[    1.825197] 0x000000040000-0x000000140000 : "QSPI.u-boot"
[    1.831537] 0x000000140000-0x0000001c0000 : "QSPI.u-boot-spl-os"
[    1.838491] 0x0000001c0000-0x0000001d0000 : "QSPI.u-boot-env"
[    1.845160] 0x0000001d0000-0x0000001e0000 : "QSPI.u-boot-env.backup1"
[    1.852568] 0x0000001e0000-0x0000009e0000 : "QSPI.kernel"
[    1.858919] 0x0000009e0000-0x000002000000 : "QSPI.file-system"
[    1.866692] libphy: Fixed MDIO Bus: probed
[    1.873436] mousedev: PS/2 mouse device common for all mice
[    1.879676] i2c /dev entries driver
[    1.888450] omap_hsmmc 4809c000.mmc: Got CD GPIO
[    1.894078] omap_hsmmc 480b4000.mmc: no pinctrl state for sdr25 mode
[    1.900480] omap_hsmmc 480b4000.mmc: no pinctrl state for sdr12 mode
[    1.907015] evm_3v3_sw: supplied by sysen1
[    1.990307] mmc0: MAN_BKOPS_EN bit is not set
[    2.001602] mmc0: new HS200 MMC card at address 0001
[    2.007032] mmcblk0: mmc0:0001 R1J55A 7.28 GiB
[    2.011839] mmcblk0boot0: mmc0:0001 R1J55A partition 1 8.00 MiB
[    2.018038] mmcblk0boot1: mmc0:0001 R1J55A partition 2 8.00 MiB
[    2.070302] ledtrig-cpu: registered to indicate activity on CPUs
[    2.080909] aic_dvdd: supplied by evm_3v3_sw
[    2.087100] davinci-mcasp 4847c000.mcasp: invalid tdm slots: 0
[    2.094623] NET: Registered protocol family 10
[    2.110810] sit: IPv6 over IPv4 tunneling driver
[    2.116009] NET: Registered protocol family 17
[    2.120762] Key type dns_resolver registered
[    2.125174] omap_voltage_late_init: Voltage driver support not added
[    2.132074] Adding alias for supply vdd,cpu0 -> vdd,4a003b20.oppdm
[    2.138308] Adding alias for supply vbb,cpu0 -> vbb,4a003b20.oppdm
[    2.145020] Adding alias for supply vdd,cpu0 -> vdd,4a003b20.oppdm
[    2.151257] Adding alias for supply vbb,cpu0 -> vbb,4a003b20.oppdm
[    2.159436] Power Management for TI OMAP4+ devices.
[    2.164510] Registering SWP/SWPB emulation handler
[    2.170276] dmm 4e000000.dmm: workaround for errata i878 in use
[    2.177566] dmm 4e000000.dmm: initialized all PAT entries
[    2.183675] [drm] Initialized omapdrm 1.0.0 20110917 on minor 1
[    2.190596] omap_hsmmc 4809c000.mmc: Got CD GPIO
[    2.228831] asoc-simple-card sound0: tlv320aic3x-hifi <-> 48468000.mcasp mapping ok
[    2.248475] input: gpio_keys as /devices/platform/gpio_keys/input/input0
[    2.255383] hctosys: unable to open rtc device (rtc0)
[    2.268837] evm_1v8: disabling
[    2.271920] aic_dvdd: disabling
[    2.275071] vmmcwl_fixed: disabling
[    2.278753] ldousb: disabling
[    2.282149] ALSA device list:
[    2.285127]   #0: DRA7xx-EVM
[    2.288678] Waiting for root device PARTUUID=ea41f9b5-02...
[    2.396345] mmc2: host does not support reading read-only switch, assuming write-enable
[    2.404443] mmc2: new SDHC card at address e624
[    2.409352] mmcblk1: mmc2:e624 SU08G 7.40 GiB
[    2.421588]  mmcblk1: p1 p2
[    2.508559] EXT4-fs (mmcblk1p2): couldn't mount as ext3 due to feature incompatibilities
[    2.517292] EXT4-fs (mmcblk1p2): couldn't mount as ext2 due to feature incompatibilities
[    2.973289] EXT4-fs (mmcblk1p2): recovery complete
[    2.980330] EXT4-fs (mmcblk1p2): mounted filesystem with ordered data mode. Opts: (null)
[    2.988509] VFS: Mounted root (ext4 filesystem) on device 179:50.
[    2.996907] devtmpfs: mounted
[    3.000129] Freeing unused kernel memory: 336K
[    3.004591] This architecture does not have kernel memory protection.
[    3.357337] systemd[1]: System time before build time, advancing clock.
[    3.414568] random: systemd: uninitialized urandom read (16 bytes read, 18 bits of entropy available)
[    3.429296] random: systemd: uninitialized urandom read (16 bytes read, 18 bits of entropy available)
[    3.440989] 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)
[    3.459495] systemd[1]: Detected architecture arm.

Welcome to Arago 2016.12!

[    3.489056] systemd[1]: Set hostname to <dra7xx-evm>.
[    3.567160] random: systemd-gpt-aut: uninitialized urandom read (16 bytes read, 19 bits of entropy available)
[    3.578051] random: systemd-gpt-aut: uninitialized urandom read (16 bytes read, 19 bits of entropy available)
[    3.605353] random: systemd-sysv-ge: uninitialized urandom read (16 bytes read, 20 bits of entropy available)
[    3.646523] random: systemd-sysv-ge: uninitialized urandom read (16 bytes read, 21 bits of entropy available)
[    3.664871] random: systemd-sysv-ge: uninitialized urandom read (16 bytes read, 21 bits of entropy available)
[    3.811436] random: systemd: uninitialized urandom read (16 bytes read, 24 bits of entropy available)
[    3.820959] random: systemd: uninitialized urandom read (16 bytes read, 24 bits of entropy available)
[    3.830887] random: systemd: uninitialized urandom read (16 bytes read, 24 bits of entropy available)
[    4.400257] systemd[1]: sysinit.target: Found ordering cycle on sysinit.target/start
[    4.408091] systemd[1]: sysinit.target: Found dependency on alignment.service/start
[    4.415786] systemd[1]: sysinit.target: Found dependency on basic.target/start
[    4.423111] systemd[1]: sysinit.target: Found dependency on sysinit.target/start
[    4.430578] systemd[1]: sysinit.target: Breaking ordering cycle by deleting job alignment.service/start
[    4.440033] systemd[1]: alignment.service: Job alignment.service/start deleted to break ordering cycle starting with sysinit.target/start
[ SKIP ] Ordering cycle found, skipping alignment.service
[    4.482618] systemd[1]: Created slice System Slice.
[  OK  ] Created slice System Slice.
[    4.507743] systemd[1]: Reached target Swap.
[  OK  ] Reached target Swap.
[    4.527851] systemd[1]: Listening on Journal Socket.
[  OK  ] Listening on Journal Socket.
[    4.587749] systemd[1]: Mounting POSIX Message Queue File System...
         Mounting POSIX Message Queue File System...
[    4.611720] systemd[1]: Created slice User and Session Slice.
[  OK  ] Created slice User and Session Slice.
[    4.625843] systemd[1]: Mounting Debug File System...
         Mounting Debug File System...
[    4.651065] systemd[1]: Mounting Temporary Directory...
         Mounting Temporary Directory...
[    4.677718] systemd[1]: Reached target Remote File Systems.
[  OK  ] Reached target Remote File Systems.
[    4.697785] systemd[1]: Reached target Slices.
[  OK  ] Reached target Slices.
[    4.717773] systemd[1]: Listening on udev Kernel Socket.
[  OK  ] Listening on udev Kernel Socket.
[    4.787896] systemd[1]: Starting Load Kernel Modules...
         Starting Load Kernel Modules...
[    4.817845] systemd[1]: Listening on Syslog Socket.
[  OK  ] Listening on Syslog Socket.
[    4.839805] systemd[1]: Starting Setup Virtual Console...
         Starting Setup Virtual Console...
[    4.858387] systemd[1]: Created slice system-getty.slice.
[  OK  ] Created slice system-getty.slice.
[    4.878516] systemd[1]: Created slice system-serial\x2dgetty.slice.
[  OK  ] Created slice system-serial\x2dgetty.slice.
[    4.927894] systemd[1]: Starting Create list of required static device nodes for the current kernel...
         Starting Create list of required st... nodes for the current kernel...
[    4.957930] systemd[1]: Started Dispatch Password Requests to Console Directory Watch.
[  OK  ] Started Dispatch Password Requests to Console Directory Watch.
[    4.987919] systemd[1]: Started Forward Password Requests to Wall Directory Watch.
[  OK  ] Started Forward Password Requests to Wall Directory Watch.
[    5.057863] systemd[1]: Starting Remount Root and Kernel File Systems...
         Starting Remount Root and Kernel File Systems...
[    5.077402] EXT4-fs (mmcblk1p2): re-mounted. Opts: (null)
[    5.088112] systemd[1]: Listening on udev Control Socket.
[  OK  ] Listening on udev Control Socket.
[    5.108164] systemd[1]: Listening on Network Service Netlink Socket.
[  OK  ] Listening on Network Service Netlink Socket.
[    5.127689] systemd[1]: Reached target Paths.
[  OK  ] Reached target Paths.
[    5.147771] systemd[1]: Listening on /dev/initctl Compatibility Named Pipe.
[  OK  ] Listening on /dev/initctl Compatibility Named Pipe.
[    5.177744] systemd[1]: Listening on Journal Socket (/dev/log).
[  OK  ] Listening on Journal Socket (/dev/log).
[    5.227915] systemd[1]: Starting Journal Service...
         Starting Journal Service...
[    5.265398] systemd[1]: Mounted Debug File System.
[  OK  ] Mounted Debug File System.
[    5.287831] systemd[1]: Mounted POSIX Message Queue File System.
[  OK  ] Mounted POSIX Message Queue File System.
[    5.317776] systemd[1]: Mounted Temporary Directory.
[  OK  ] Mounted Temporary Directory.
[    5.337948] systemd[1]: Started Journal Service.
[  OK  ] Started Journal Service.
[FAILED] Failed to start Load Kernel Modules.
See 'systemctl status systemd-modules-load.service' for details.
[  OK  ] Started Setup Virtual Console.
[  OK  ] Started Create list of required sta...ce nodes for the current kernel.
[  OK  ] Started Remount Root and Kernel File Systems.
         Starting udev Coldplug all Devices...
         Starting Create Static Device Nodes in /dev...
         Starting Apply Kernel Variables...
         Starting Flush Journal to Persistent Storage...
[  OK  ] Started Apply Kernel Variables.
[  OK  ] Started Create Static Device Nodes in /dev.
[    6.012966] systemd-journald[158]: Received request to flush runtime journal from PID 1
[  OK  ] Reached target Local File Systems (Pre).
         Mounting /media/ram...
         Mounting /var/volatile...
         Starting udev Kernel Device Manager...
[  OK  ] Mounted /var/volatile.
[  OK  ] Mounted /media/ram.
[  OK  ] Started Flush Journal to Persistent Storage.
[  OK  ] Started udev Coldplug all Devices.
[  OK  ] Started udev Kernel Device Manager.
[    6.525611] omap-rproc 55020000.ipu: assigned reserved memory node ipu2_cma@95800000
[    6.539077]  remoteproc0: 55020000.ipu is available
         Starting Load/Save Random Seed...
[    6.563287]  remoteproc0: Note: remoteproc is still under development and considered experimental.
[  OK  ] Reached target Local File Systems.
[    6.583586]  remoteproc0: THE BINARY FORMAT IS NOT YET FINALIZED, and backward compatibility isn't yet guaranteed.
[    6.610967] omap-rproc 40800000.dsp: assigned reserved memory node dsp1_cma@99000000
         Starting Create Volatile Files and Directories...
[    6.648206]  remoteproc1: 40800000.dsp is available
[  OK  ] Started Load/Save Random Seed.[    6.670439]  remoteproc1: Note: remoteproc is still under development and considered experimental.

[    6.683404]  remoteproc1: THE BINARY FORMAT IS NOT YET FINALIZED, and backward compatibility isn't yet guaranteed.
[  OK  ] Found device /dev/ttyS0.
[    6.699373] omap_rng 48090000.rng: OMAP Random Number Generator ver. 20
[    6.711719] omap-rproc 41000000.dsp: assigned reserved memory node dsp2_cma@9f000000
[    6.722530]  remoteproc2: 41000000.dsp is available
[    6.727431]  remoteproc2: Note: remoteproc is still under development and considered experimental.
[    6.739313]  remoteproc2: THE BINARY FORMAT IS NOT YET FINALIZED, and backward compatibility isn't yet guaranteed.
[  OK  ] Started Create Volatile Files and Directories.
         Starting Update UTMP about System Boot/Shutdown...
         Starting Network Time Synchronization...
[    7.079528] omap-des 480a5000.des: OMAP DES hw accel rev: 2.2
[    7.769614] SCSI subsystem initialized
[    8.324081] [drm] Initialized pvr 1.14.3699939 20110701 on minor 2
[    8.333326] omap_rtc 48838000.rtc: rtc core: registered 48838000.rtc as rtc0
[    8.720662] ahci 4a140000.sata: SSS flag set, parallel bus scan disabled
[    8.727412] ahci 4a140000.sata: AHCI 0001.0300 32 slots 1 ports 3 Gbps 0x1 impl platform mode
[    8.744921] ahci 4a140000.sata: flags: 64bit ncq sntf stag pm led clo only pmp pio slum part ccc apst
[    8.771467] scsi host0: ahci
[    8.774581] ata1: SATA max UDMA/133 mmio [mem 0x4a140000-0x4a1410ff] port 0x100 irq 342
[    9.127525] ata1: SATA link down (SStatus 0 SControl 300)
[    9.416501] omap-aes 4b500000.aes: OMAP AES hw accel rev: 3.3
[    9.423193] omap-aes 4b700000.aes: OMAP AES hw accel rev: 3.3
[    9.430985] omap-sham 4b101000.sham: hw accel on OMAP rev 4.3
[    9.603932]  remoteproc0: registered virtio0 (type 7)
[    9.639682] CAN device driver interface
[  OK  ] Reached target Sound Card.
[  OK  ] Started Update UTMP about System Boot/Shutdown.
[    9.830737]  remoteproc2: registered virtio1 (type 7)
[    9.966478] c_can_platform 4ae3c000.can: c_can_platform device registered (regs=fce3c000, irq=354)
[  OK  ] Started Network Time Synchronization.
[   10.004974]  remoteproc1: registered virtio2 (type 7)
[  OK  ] Reached target System Time Synchronized.
         Starting Synchronize System and HW clocks...
[  OK  ] Started Synchronize System and HW clocks.
[  OK  ] Reached target System Initialization.
[  OK  ] Listening on D-Bus System Message Bus Socket.
[  OK  ] Reached target Sockets.
[  OK  ] Reached target Basic System.
         Starting Login Service...
         Starting Permit User Sessions...
[  OK  ] Started System Logging Service.
[  OK  ] Started D-Bus System Message Bus.
[   10.795721] FAT-fs (mmcblk1p1): Volume was not properly unmounted. Some data may be corrupt. Please run fsck.
[  OK  ] Started Kernel Logging Service.
         Starting Save/Restore Sound Card State...
         Starting rc.pvr.service...
         Starting Network Service...
[  OK  ] Started Daily Cleanup of Temporary Directories.
[  OK  ] Reached target Timers.
[  OK  ] Started Permit User Sessions.
[  OK  ] Started Save/Restore Sound Card State.
[  OK  ] Started Network Service.
[   11.040002] PVR_K: UM DDK-(3699939) and KM DDK-(3699939) match. [ OK ]
[  OK  ] Started rc.pvr.service.
[   11.242847]  remoteproc0: powering up 55020000.ipu
[   11.257383]  remoteproc0: Booting fw image dra7-ipu2-fw.xem4, size 9553028
[   11.266970] omap-iommu 55082000.mmu: 55082000.mmu: version 2.1
[   11.298897]  remoteproc0: remote processor 55020000.ipu is now up
[   11.306350] virtio_rpmsg_bus virtio0: rpmsg host is online
[   11.314818]  remoteproc2: powering up 41000000.dsp
[   11.327747]  remoteproc2: Booting fw image dra7-dsp2-fw.xe66, size 6967530
[   11.342115] omap_hwmod: mmu0_dsp2: _wait_target_disable failed
[   11.348008] omap-iommu 41501000.mmu: 41501000.mmu: version 3.0
[   11.353977] omap-iommu 41502000.mmu: 41502000.mmu: version 3.0
[   11.403274]  remoteproc2: remote processor 41000000.dsp is now up
[   11.419519] virtio_rpmsg_bus virtio1: rpmsg host is online
[   11.425692]  remoteproc1: powering up 40800000.dsp
[   11.454052]  remoteproc1: Booting fw image dra7-dsp1-fw.xe66, size 6967530
[   11.474917] omap_hwmod: mmu0_dsp1: _wait_target_disable failed
[   11.480800] omap-iommu 40d01000.mmu: 40d01000.mmu: version 3.0
[   11.486717] omap-iommu 40d02000.mmu: 40d02000.mmu: version 3.0
[   11.568780]  remoteproc1: remote processor 40800000.dsp is now up
[   11.588565] virtio_rpmsg_bus virtio2: rpmsg host is online
[   11.660430] virtio_rpmsg_bus virtio0: creating channel rpmsg-proto addr 0x50
[   11.679811] virtio_rpmsg_bus virtio2: creating channel rpmsg-proto addr 0x50
[   11.689018] virtio_rpmsg_bus virtio1: creating channel rpmsg-proto addr 0x50
[   11.717869] NET: Registered protocol family 41
[  OK  ] Listening on Load/Save RF Kill Switch Status /dev/rfkill Watch.
         Starting weston.service...
[  OK  ] Reached target Network.
         Starting Network Name Resolution...
[  OK  ] Started Getty on tty1.
[  OK  ] Started Serial Getty on ttyS0.
[  OK  ] Started weston.service.
[  OK  ] Started Login Service.
[  OK  ] Started Network Name Resolution.
         Starting telnetd.service...
         Starting tiipclad-daemon.service...
[  OK  ] Started telnetd.service.
[  OK  ] Started tiipclad-daemon.service.
[   12.247106] usbcore: registered new interface driver usbfs
[   12.252942] usbcore: registered new interface driver hub
[   12.258707] usbcore: registered new device driver usb
[   12.407990] dwc3 48890000.usb: otg: primary host xhci-hcd.0.auto registered
[   12.414990] dwc3 48890000.usb: otg: shared host xhci-hcd.0.auto registered
[   12.422143] dwc3 48890000.usb: otg: can't start till gadget registers
[   12.428878] xhci-hcd xhci-hcd.1.auto: xHCI Host Controller
[   12.434460] xhci-hcd xhci-hcd.1.auto: new USB bus registered, assigned bus number 1
[   12.442565] xhci-hcd xhci-hcd.1.auto: hcc params 0x0220f04c hci version 0x100 quirks 0x00210010
[   12.451495] xhci-hcd xhci-hcd.1.auto: irq 495, io mem 0x488d0000
[   12.459526] hub 1-0:1.0: USB hub found
[   12.463324] hub 1-0:1.0: 1 port detected
[   12.467656] xhci-hcd xhci-hcd.1.auto: xHCI Host Controller
[   12.473177] xhci-hcd xhci-hcd.1.auto: new USB bus registered, assigned bus number 2
[   12.480965] usb usb2: We don't know the algorithms for LPM for this host, disabling LPM.
[   12.490537] hub 2-0:1.0: USB hub found
[   12.494330] hub 2-0:1.0: 1 port detected

 _____                    _____           _         _
|  _  |___ ___ ___ ___   |  _  |___ ___  |_|___ ___| |_
|     |  _| .'| . | . |  |   __|  _| . | | | -_|  _|  _|
|__|__|_| |__,|_  |___|  |__|  |_| |___|_| |___|___|_|
              |___|                    |___|

Arago Project http://arago-project.org dra7xx-evm ttyS0

Arago 2016.12 dra7xx-evm ttyS0

dra7xx-evm login: root (automatic login)

root@dra7xx-evm:~# cat /proc/cmdline
console=ttyO0,115200n8 vram=16M root=PARTUUID=ea41f9b5-02 rw rootwait ip=none mem=1024M cma=64M
root@dra7xx-evm:~# reb[   38.285417] random: nonblocking pool is initialized
root@dra7xx-evm:~#
root@dra7xx-evm:~# reboot
         Unmounting /run/user/0...
[  OK  ] Stopped target Swap.
         Stopping         Stopping Session c1 of user root.
[  OK  ] Stopped target Sound Card.
         Stopping User Manager for UID 0...
[  OK  ] Stopped target Timers.
[  OK  ] Stopped Daily Cleanup of Temporary Directories.
[  OK  ] Stopped Create Static Device Nodes in /dev.
         Stopping Save/Restore Sound Card State...
[  OK  ] Stopped target System Time Synchronized.
         Stopping Network Time Synchronization...
[  OK  ] Stopped Update UTMP about System Runlevel Changes.
[  OK  ] Stopped target Multi-User System.
         Stopping System Logging Service...
         Stopping Kernel Logging Service...
         Stopping telnetd.service...
         Stopping Network Name Resolution...
         Unmounting /run/media/mmcblk1p1...
[  OK  ] Stopped target Login Prompts.
[  OK  ] Stopped Serial Getty on ttyO0.
         Stopping Getty on tty1...
         Stopping Serial Getty on ttyS0...
         Stopping tiipclad-daemon.service...
[  OK  ] Closed Load/Save RF Kill Switch Status /dev/rfkill Watch.
[  OK  ] Stopped Network Time Synchronization.
[  OK  ] Stopped System Logging Service.
[  OK  ] Stopped Kernel Logging Service.
[  OK  ] Stopped Network Name Resolution.
[  OK  ] Stopped Getty on tty1.
[  OK  ] Stopped Serial Getty on ttyS0.
[  OK  ] Stopped User Manager for UID 0.
[FAILED] Failed unmounting /run/user/0.
[  OK  ] Stopped Load/Save Random Seed.
[  OK  ] Stopped Session c1 of user root.
[  OK  ] Stopped Save/Restore Sound Card State.
[  OK  ] Stopped telnetd.service.
[  OK  ] Unmounted /run/media/mmcblk1p1.
[  OK  ] Stopped tiipclad-daemon.service.
[  OK  ] Stopped User Manager for UID 0.
         Stopping weston.service...
[  OK  ] Reached target Unmount All Filesystems.
[  OK  ] Removed slice User Slice of root.
         Stopping Login Service...
[  OK  ] Removed slice system-serial\x2dgetty.slice.
         Stopping Permit User Sessions...
[  OK  ] Removed slice system-getty.slice.
[  OK  ] Stopped target Network.
         Stopping Network Service...
[  OK  ] Stopped Create Volatile Files and Directories.
[  OK  ] Stopped Remount Root and Kernel File Systems.
[  OK  ] Stopped Login Service.
[  OK  ] Stopped Network Service.
[  OK  ] Stopped weston.service.
[  OK  ] Stopped Permit User Sessions.
         Stopping rc.pvr.service...
[  OK  ] Stopped target Remote File Systems.
         Stopping D-Bus System Message Bus...
[  OK  ] Stopped D-Bus System Message Bus.
[  OK  ] Stopped rc.pvr.service.
[  OK  ] Stopped target Basic System.
[  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 Slices.
[  OK  ] Removed slice User and Session Slice.
[  OK  ] Stopped target Sockets.
[  OK  ] Closed Syslog Socket.
[  OK  ] Closed D-Bus System Message Bus Socket.
[  OK  ] Reached target Shutdown.
[  OK  ] Reached target Final Step.
         Starting Reboot...
[   54.347208] systemd-shutdown[1]: Sending SIGTERM to remaining processes...
[   54.370903] systemd-journald[158]: Received SIGTERM from PID 1 (systemd-shutdow).
[   54.390825] ------------[ cut here ]------------
[   54.395475] WARNING: CPU: 0 PID: 703 at mm/page_alloc.c:6827 free_contig_range+0x98/0x9c()
[   54.403810] 2025 pages are still in use!
[   54.407992] Modules linked in: xhci_plat_hcd xhci_hcd usbcore rpmsg_proto dwc3 virtio_rpmsg_bus udc_core c_can_platform c_can can_dev omap_sham omap_aes_driver ahci_platform libahci_platform dwc3_omap extcon_usb_gpio libahci rtc_omap pvrsrvkm(O) libata scsi_mod omap_des extcon omap_rng rng_core omap_remoteproc remoteproc virtio virtio_ring sch_fq_codel [last unloaded: bc_example]
[   54.442077] CPU: 0 PID: 703 Comm: weston Tainted: G           O    4.4.84-00032-g0f6b93d-dirty #1
[   54.450985] Hardware name: Generic DRA74X (Flattened Device Tree)
[   54.457100] Backtrace:
[   54.459575] [<c00131d4>] (dump_backtrace) from [<c00133d0>] (show_stack+0x18/0x1c)
[   54.467173]  r7:c00d939c r6:600b0013 r5:00000000 r4:c094d810
[   54.472890] [<c00133b8>] (show_stack) from [<c02b21a8>] (dump_stack+0x8c/0xa0)
[   54.480143] [<c02b211c>] (dump_stack) from [<c0035340>] (warn_slowpath_common+0x88/0xb8)
[   54.488264]  r7:c00d939c r6:00001aab r5:00000009 r4:ed479bb8
[   54.493977] [<c00352b8>] (warn_slowpath_common) from [<c00353a8>] (warn_slowpath_fmt+0x38/0x40)
[   54.502709]  r8:c09ad880 r7:c09335d0 r6:000bc5e9 r5:000007e9 r4:c0822e84
[   54.509476] [<c0035374>] (warn_slowpath_fmt) from [<c00d939c>] (free_contig_range+0x98/0x9c)
[   54.517946]  r3:000007e9 r2:c0822e84
[   54.521546]  r4:000bc5e9
[   54.524102] [<c00d9304>] (free_contig_range) from [<c011dd30>] (cma_release+0x90/0xb0)
[   54.532049]  r9:ef69a000 r8:ef26a010 r7:00000001 r6:eff05800 r5:c09af470 r4:000bbe00
[   54.539869] [<c011dca0>] (cma_release) from [<c03ecbf8>] (dma_release_from_contiguous+0x38/0x40)
[   54.548687]  r5:0086b800 r4:007e9000
[   54.552295] [<c03ecbc0>] (dma_release_from_contiguous) from [<c001c8d8>] (__arm_dma_free+0x124/0x1fc)
[   54.561553] [<c001c7b4>] (__arm_dma_free) from [<c001c9f8>] (arm_dma_free+0x20/0x28)
[   54.569324]  r10:00000001 r9:c001c9d8 r8:bbe00000 r7:eff05800 r6:007e9000 r5:ef26a010
[   54.577219]  r4:ed42a180
[   54.579770] [<c001c9d8>] (arm_dma_free) from [<c03ae6dc>] (v_gem_free_object+0x10c/0x144)
[   54.587984] [<c03ae5d0>] (v_gem_free_object) from [<c038e4b0>] (drm_gem_object_free+0x38/0x50)
[   54.596628]  r9:c038e78c r8:ed43d180 r7:00000001 r6:ee822c00 r5:ed42a180 r4:ee822c00
[   54.604443] [<c038e478>] (drm_gem_object_free) from [<c038e658>] (drm_gem_object_handle_unreference_unlocked+0xf0/0x124)
[   54.615355]  r5:ee822c34 r4:ed42a180
[   54.618958] [<c038e568>] (drm_gem_object_handle_unreference_unlocked) from [<c038e7e4>] (drm_gem_object_release_handle+0x58/0x70)
[   54.630655]  r5:ed43d180 r4:ed42a180
[   54.634260] [<c038e78c>] (drm_gem_object_release_handle) from [<c02b2c68>] (idr_for_each+0xac/0xe0)
[   54.643341]  r7:00000001 r6:000000ff r5:ed479d28 r4:00000000
[   54.649053] [<c02b2bbc>] (idr_for_each) from [<c038f554>] (drm_gem_release+0x24/0x30)
[   54.656912]  r10:ed43d1fc r9:ee822c34 r8:ee822cf8 r7:ee822cf4 r6:ed43d200 r5:ee822c00
[   54.664809]  r4:ed43d1a0
[   54.667358] [<c038f530>] (drm_gem_release) from [<c038e2a8>] (drm_release+0x3f0/0x4b4)
[   54.675304]  r5:ee822c00 r4:ed43d180
[   54.678906] [<c038deb8>] (drm_release) from [<c01220e4>] (__fput+0x88/0x1d0)
[   54.685980]  r10:ed43d6c8 r9:00000008 r8:eec435d8 r7:eeb65b10 r6:00000000 r5:ee9bcf78
[   54.693878]  r4:ed43d6c0
[   54.696426] [<c012205c>] (__fput) from [<c012228c>] (____fput+0x10/0x14)
[   54.703152]  r10:ed410f84 r9:ee64f200 r8:ec97d6fc r7:eccaec00 r6:ed42acc0 r5:c098181c
[   54.711048]  r4:eccaf060
[   54.713598] [<c012227c>] (____fput) from [<c004e91c>] (task_work_run+0x98/0xcc)
[   54.720937] [<c004e884>] (task_work_run) from [<c0037d60>] (do_exit+0x300/0x9b8)
[   54.728360]  r7:ed479e40 r6:00000001 r5:eccaf078 r4:eccaec00
[   54.734072] [<c0037a60>] (do_exit) from [<c003849c>] (do_group_exit+0x48/0xc4)
[   54.741321]  r7:ed479edc
[   54.743872] [<c0038454>] (do_group_exit) from [<c0042214>] (get_signal+0x22c/0x5b0)
[   54.751556]  r7:ed479edc r6:418004fc r5:ed478000 r4:08430000
[   54.757269] [<c0041fe8>] (get_signal) from [<c0012928>] (do_signal+0xd0/0x3b4)
[   54.764518]  r10:00000000 r9:ed478000 r8:00000001 r7:b6ce0916 r6:ed479ec8 r5:b6ce0914
[   54.772415]  r4:ed479fb0
[   54.774966] [<c0012858>] (do_signal) from [<c0012dd4>] (do_work_pending+0xa8/0xc0)
[   54.782562]  r10:00000000 r9:ed478000 r8:c000fc84 r7:000000fc r6:ed479fb0 r5:c000fc84
[   54.790459]  r4:ed478000
[   54.793009] [<c0012d2c>] (do_work_pending) from [<c000fb2c>] (slow_work_pending+0xc/0x20)
[   54.801216]  r7:000000fc r6:00043608 r5:ffffffff r4:beb267d0
[   54.807349] ---[ end trace c9fd645ba65d31ba ]---
[   54.812468] ------------[ cut here ]------------
[   54.817106] WARNING: CPU: 0 PID: 703 at mm/page_alloc.c:6827 free_contig_range+0x98/0x9c()
[   54.825413] 2025 pages are still in use!
[   54.829418] Modules linked in: xhci_plat_hcd xhci_hcd usbcore rpmsg_proto dwc3 virtio_rpmsg_bus udc_core c_can_platform c_can can_dev omap_sham omap_aes_driver ahci_platform libahci_platform dwc3_omap extcon_usb_gpio libahci rtc_omap pvrsrvkm(O) libata scsi_mod omap_des extcon omap_rng rng_core omap_remoteproc remoteproc virtio virtio_ring sch_fq_codel [last unloaded: bc_example]
[   54.863413] CPU: 0 PID: 703 Comm: weston Tainted: G        W  O    4.4.84-00032-g0f6b93d-dirty #1
[   54.872318] Hardware name: Generic DRA74X (Flattened Device Tree)
[   54.878430] Backtrace:
[   54.880892] [<c00131d4>] (dump_backtrace) from [<c00133d0>] (show_stack+0x18/0x1c)
[   54.888488]  r7:c00d939c r6:600b0013 r5:00000000 r4:c094d810
[   54.894194] [<c00133b8>] (show_stack) from [<c02b21a8>] (dump_stack+0x8c/0xa0)
[   54.901445] [<c02b211c>] (dump_stack) from [<c0035340>] (warn_slowpath_common+0x88/0xb8)
[   54.909563]  r7:c00d939c r6:00001aab r5:00000009 r4:ed479bb8
[   54.915269] [<c00352b8>] (warn_slowpath_common) from [<c00353a8>] (warn_slowpath_fmt+0x38/0x40)
[   54.923998]  r8:c09ad880 r7:c09335d0 r6:000bcde9 r5:000007e9 r4:c0822e84
[   54.930755] [<c0035374>] (warn_slowpath_fmt) from [<c00d939c>] (free_contig_range+0x98/0x9c)
[   54.939223]  r3:000007e9 r2:c0822e84
[   54.942818]  r4:000bcde9
[   54.945365] [<c00d9304>] (free_contig_range) from [<c011dd30>] (cma_release+0x90/0xb0)
[   54.953309]  r9:ef69a000 r8:ef26a010 r7:00000001 r6:eff17800 r5:c09af470 r4:000bc600
[   54.961117] [<c011dca0>] (cma_release) from [<c03ecbf8>] (dma_release_from_contiguous+0x38/0x40)
[   54.969934]  r5:0087d800 r4:007e9000
[   54.973534] [<c03ecbc0>] (dma_release_from_contiguous) from [<c001c8d8>] (__arm_dma_free+0x124/0x1fc)
[   54.982789] [<c001c7b4>] (__arm_dma_free) from [<c001c9f8>] (arm_dma_free+0x20/0x28)
[   54.990558]  r10:00000002 r9:c001c9d8 r8:bc600000 r7:eff17800 r6:007e9000 r5:ef26a010
[   54.998445]  r4:ed42aa80
[   55.000992] [<c001c9d8>] (arm_dma_free) from [<c03ae6dc>] (v_gem_free_object+0x10c/0x144)
[   55.009202] [<c03ae5d0>] (v_gem_free_object) from [<c038e4b0>] (drm_gem_object_free+0x38/0x50)
[   55.017845]  r9:c038e78c r8:ed43d180 r7:00000001 r6:ee822c00 r5:ed42aa80 r4:ee822c00
[   55.025649] [<c038e478>] (drm_gem_object_free) from [<c038e658>] (drm_gem_object_handle_unreference_unlocked+0xf0/0x124)
[   55.036559]  r5:ee822c34 r4:ed42aa80
[   55.040158] [<c038e568>] (drm_gem_object_handle_unreference_unlocked) from [<c038e7e4>] (drm_gem_object_release_handle+0x58/0x70)
[   55.051852]  r5:ed43d180 r4:ed42aa80
[   55.055451] [<c038e78c>] (drm_gem_object_release_handle) from [<c02b2c68>] (idr_for_each+0xac/0xe0)
[   55.064529]  r7:00000001 r6:000000ff r5:ed479d28 r4:00000000
[   55.070236] [<c02b2bbc>] (idr_for_each) from [<c038f554>] (drm_gem_release+0x24/0x30)
[   55.078093]  r10:ed43d1fc r9:ee822c34 r8:ee822cf8 r7:ee822cf4 r6:ed43d200 r5:ee822c00
[   55.085982]  r4:ed43d1a0
[   55.088528] [<c038f530>] (drm_gem_release) from [<c038e2a8>] (drm_release+0x3f0/0x4b4)
[   55.096471]  r5:ee822c00 r4:ed43d180
[   55.100070] [<c038deb8>] (drm_release) from [<c01220e4>] (__fput+0x88/0x1d0)
[   55.107142]  r10:ed43d6c8 r9:00000008 r8:eec435d8 r7:eeb65b10 r6:00000000 r5:ee9bcf78
[   55.115033]  r4:ed43d6c0
[   55.117578] [<c012205c>] (__fput) from [<c012228c>] (____fput+0x10/0x14)
[   55.124301]  r10:ed410f84 r9:ee64f200 r8:ec97d6fc r7:eccaec00 r6:ed42acc0 r5:c098181c
[   55.132188]  r4:eccaf060
[   55.134734] [<c012227c>] (____fput) from [<c004e91c>] (task_work_run+0x98/0xcc)
[   55.142070] [<c004e884>] (task_work_run) from [<c0037d60>] (do_exit+0x300/0x9b8)
[   55.149491]  r7:ed479e40 r6:00000001 r5:eccaf078 r4:eccaec00
[   55.155197] [<c0037a60>] (do_exit) from [<c003849c>] (do_group_exit+0x48/0xc4)
[   55.162444]  r7:ed479edc
[   55.164988] [<c0038454>] (do_group_exit) from [<c0042214>] (get_signal+0x22c/0x5b0)
[   55.172672]  r7:ed479edc r6:418004fc r5:ed478000 r4:08430000
[   55.178378] [<c0041fe8>] (get_signal) from [<c0012928>] (do_signal+0xd0/0x3b4)
[   55.185624]  r10:00000000 r9:ed478000 r8:00000001 r7:b6ce0916 r6:ed479ec8 r5:b6ce0914
[   55.193513]  r4:ed479fb0
[   55.196059] [<c0012858>] (do_signal) from [<c0012dd4>] (do_work_pending+0xa8/0xc0)
[   55.203655]  r10:00000000 r9:ed478000 r8:c000fc84 r7:000000fc r6:ed479fb0 r5:c000fc84
[   55.211543]  r4:ed478000
[   55.214090] [<c0012d2c>] (do_work_pending) from [<c000fb2c>] (slow_work_pending+0xc/0x20)
[   55.222296]  r7:000000fc r6:00043608 r5:ffffffff r4:beb267d0
[   55.228787] ---[ end trace c9fd645ba65d31bb ]---
[   55.233702] ------------[ cut here ]------------
[   55.238351] WARNING: CPU: 0 PID: 703 at mm/page_alloc.c:6827 free_contig_range+0x98/0x9c()
[   55.246645] 2025 pages are still in use!
[   55.250588] Modules linked in: xhci_plat_hcd xhci_hcd usbcore rpmsg_proto dwc3 virtio_rpmsg_bus udc_core c_can_platform c_can can_dev omap_sham omap_aes_driver ahci_platform libahci_platform dwc3_omap extcon_usb_gpio libahci rtc_omap pvrsrvkm(O) libata scsi_mod omap_des extcon omap_rng rng_core omap_remoteproc remoteproc virtio virtio_ring sch_fq_codel [last unloaded: bc_example]
[   55.284592] CPU: 0 PID: 703 Comm: weston Tainted: G        W  O    4.4.84-00032-g0f6b93d-dirty #1
[   55.293497] Hardware name: Generic DRA74X (Flattened Device Tree)
[   55.299610] Backtrace:
[   55.302072] [<c00131d4>] (dump_backtrace) from [<c00133d0>] (show_stack+0x18/0x1c)
[   55.309667]  r7:c00d939c r6:600b0013 r5:00000000 r4:c094d810
[   55.315375] [<c00133b8>] (show_stack) from [<c02b21a8>] (dump_stack+0x8c/0xa0)
[   55.322625] [<c02b211c>] (dump_stack) from [<c0035340>] (warn_slowpath_common+0x88/0xb8)
[   55.330744]  r7:c00d939c r6:00001aab r5:00000009 r4:ed479bb8
[   55.336450] [<c00352b8>] (warn_slowpath_common) from [<c00353a8>] (warn_slowpath_fmt+0x38/0x40)
[   55.345180]  r8:c09ad880 r7:c09335d0 r6:000bd5e9 r5:000007e9 r4:c0822e84
[   55.351938] [<c0035374>] (warn_slowpath_fmt) from [<c00d939c>] (free_contig_range+0x98/0x9c)
[   55.360406]  r3:000007e9 r2:c0822e84
[   55.364002]  r4:000bd5e9
[   55.366550] [<c00d9304>] (free_contig_range) from [<c011dd30>] (cma_release+0x90/0xb0)
[   55.374494]  r9:ef69a000 r8:ef26a010 r7:00000001 r6:eff29800 r5:c09af470 r4:000bce00
[   55.382304] [<c011dca0>] (cma_release) from [<c03ecbf8>] (dma_release_from_contiguous+0x38/0x40)
[   55.391120]  r5:0088f800 r4:007e9000
[   55.394722] [<c03ecbc0>] (dma_release_from_contiguous) from [<c001c8d8>] (__arm_dma_free+0x124/0x1fc)
[   55.403978] [<c001c7b4>] (__arm_dma_free) from [<c001c9f8>] (arm_dma_free+0x20/0x28)
[   55.411749]  r10:00000003 r9:c001c9d8 r8:bce00000 r7:eff29800 r6:007e9000 r5:ef26a010
[   55.419640]  r4:ed42ad80
[   55.422187] [<c001c9d8>] (arm_dma_free) from [<c03ae6dc>] (v_gem_free_object+0x10c/0x144)
[   55.430397] [<c03ae5d0>] (v_gem_free_object) from [<c038e4b0>] (drm_gem_object_free+0x38/0x50)
[   55.439039]  r9:c038e78c r8:ed43d180 r7:00000001 r6:ee822c00 r5:ed42ad80 r4:ee822c00
[   55.446846] [<c038e478>] (drm_gem_object_free) from [<c038e658>] (drm_gem_object_handle_unreference_unlocked+0xf0/0x124)
[   55.457757]  r5:ee822c34 r4:ed42ad80
[   55.461357] [<c038e568>] (drm_gem_object_handle_unreference_unlocked) from [<c038e7e4>] (drm_gem_object_release_handle+0x58/0x70)
[   55.473051]  r5:ed43d180 r4:ed42ad80
[   55.476652] [<c038e78c>] (drm_gem_object_release_handle) from [<c02b2c68>] (idr_for_each+0xac/0xe0)
[   55.485731]  r7:00000001 r6:000000ff r5:ed479d28 r4:00000000
[   55.491437] [<c02b2bbc>] (idr_for_each) from [<c038f554>] (drm_gem_release+0x24/0x30)
[   55.499295]  r10:ed43d1fc r9:ee822c34 r8:ee822cf8 r7:ee822cf4 r6:ed43d200 r5:ee822c00
[   55.507183]  r4:ed43d1a0
[   55.509729] [<c038f530>] (drm_gem_release) from [<c038e2a8>] (drm_release+0x3f0/0x4b4)
[   55.517674]  r5:ee822c00 r4:ed43d180
[   55.521273] [<c038deb8>] (drm_release) from [<c01220e4>] (__fput+0x88/0x1d0)
[   55.528346]  r10:ed43d6c8 r9:00000008 r8:eec435d8 r7:eeb65b10 r6:00000000 r5:ee9bcf78
[   55.536237]  r4:ed43d6c0
[   55.538783] [<c012205c>] (__fput) from [<c012228c>] (____fput+0x10/0x14)
[   55.545508]  r10:ed410f84 r9:ee64f200 r8:ec97d6fc r7:eccaec00 r6:ed42acc0 r5:c098181c
[   55.553398]  r4:eccaf060
[   55.555944] [<c012227c>] (____fput) from [<c004e91c>] (task_work_run+0x98/0xcc)
[   55.563280] [<c004e884>] (task_work_run) from [<c0037d60>] (do_exit+0x300/0x9b8)
[   55.570702]  r7:ed479e40 r6:00000001 r5:eccaf078 r4:eccaec00
[   55.576408] [<c0037a60>] (do_exit) from [<c003849c>] (do_group_exit+0x48/0xc4)
[   55.583654]  r7:ed479edc
[   55.586201] [<c0038454>] (do_group_exit) from [<c0042214>] (get_signal+0x22c/0x5b0)
[   55.593884]  r7:ed479edc r6:418004fc r5:ed478000 r4:08430000
[   55.599590] [<c0041fe8>] (get_signal) from [<c0012928>] (do_signal+0xd0/0x3b4)
[   55.606838]  r10:00000000 r9:ed478000 r8:00000001 r7:b6ce0916 r6:ed479ec8 r5:b6ce0914
[   55.614729]  r4:ed479fb0
[   55.617278] [<c0012858>] (do_signal) from [<c0012dd4>] (do_work_pending+0xa8/0xc0)
[   55.624874]  r10:00000000 r9:ed478000 r8:c000fc84 r7:000000fc r6:ed479fb0 r5:c000fc84
[   55.632764]  r4:ed478000
[   55.635312] [<c0012d2c>] (do_work_pending) from [<c000fb2c>] (slow_work_pending+0xc/0x20)
[   55.643519]  r7:000000fc r6:00043608 r5:ffffffff r4:beb267d0
[   55.649460] ---[ end trace c9fd645ba65d31bc ]---
[   55.716876] systemd-shutdown[1]: Sending SIGKILL to remaining processes...
[   55.735705] systemd-shutdown[1]: Unmounting file systems.
[   55.741529] systemd-shutdown[1]: Remounting '/run/user/0' read-only with options 'size=59932k,mode=700'.
[   55.751362] systemd-shutdown[1]: Unmounting /run/user/0.
[   55.787617] systemd-shutdown[1]: Remounting '/var/volatile' read-only with options 'size=51200k'.
[   55.796553] systemd-shutdown[1]: Unmounting /var/volatile.
[   55.827604] systemd-shutdown[1]: Remounting '/media/ram' read-only with options 'size=16384k'.
[   55.836277] systemd-shutdown[1]: Unmounting /media/ram.
[   55.867557] systemd-shutdown[1]: Remounting '/tmp' read-only with options ''.
[   55.874744] systemd-shutdown[1]: Unmounting /tmp.
[   55.907654] systemd-shutdown[1]: Remounting '/' read-only with options 'data=ordered'.
[   56.673303] EXT4-fs (mmcblk1p2): re-mounted. Opts: data=ordered
[   56.682733] systemd-shutdown[1]: Remounting '/' read-only with options 'data=ordered'.
[   56.690789] EXT4-fs (mmcblk1p2): re-mounted. Opts: data=ordered
[   56.696755] systemd-shutdown[1]: Remounting '/' read-only with options 'data=ordered'.
[   56.704784] EXT4-fs (mmcblk1p2): re-mounted. Opts: data=ordered
[   56.710825] systemd-shutdown[1]: All filesystems unmounted.
[   56.716427] systemd-shutdown[1]: Deactivating swaps.
[   56.721623] systemd-shutdown[1]: All swaps deactivated.
[   56.726879] systemd-shutdown[1]: Detaching loop devices.
[   56.740826] systemd-shutdown[1]: All loop devices detached.
[   56.746433] systemd-shutdown[1]: Detaching DM devices.
[   56.751927] systemd-shutdown[1]: All DM devices detached.
[   56.773276] systemd-shutdown[1]: Rebooting.
[   56.783052] reboot: Restarting system

  • HI

    For reboot command to work we should be able to gracefully shutdown all active devices/drivers.

    From the logs the kernel seems to have hit an error condition trying to free up a display subsystem allocated buffer.

    Can you review and confirm what was running while the reboot command is being attempted - which peripherals , cores were active?

    Is this feature required for development, debug environment or in production environment  - can you elaborate on the intended purpose

  • Hi Sam,

    You may find this thread useful.
    e2e.ti.com/.../749458

    Regards
    Shravan
  • Hi Shravan,Sriram

    I have executed the unload and reload a remotecore at runtime from Linux before execute "reboot" command.

    $ cd /sys/bus/platform/drivers/omap-rproc/ 
    $ echo 55020000.ipu > unbind
    $ echo 55020000.ipu > bind

    but the result is the same phenomenon, need power reset manually.

    Because the user-case is that 3D SRV on TDA2 board controlled by another ECU, it need reboot system without power reset.

    In general, the reboot command should be triggered CPU reset, then reload boot image and execute re-initialize CPU& memory.

    But it seems that the system is hang up at the time after display the message of "reboot: restarting system" .

    regards,

    Sam.

  • Hi
    In addition to the CPU reset, the reboot sequence should also cleanup peripheral state - For instance, teardown gracefully any DMA operations in flight etc. Linux as part of the reboot sequence, will invoke all registered driver remove() hooks. The failure log seems to indicate that the driver stop/cleanup sequence encountered an error when trying to free up the buffers.
    Need to diagnose and identify the offending module and the reason for the failure - can you pay closer attention to GPU, display module usage when the reboot is initiated
  • Hi

    From the log message: Modules linked in: ... [last unloaded: bc_example],

    I traced the all loaded modules in system by lsmod command, observed that the "bc_example" module on the list.

    then unload the module by rmmod command,

    We couldn't unload the pvrsrvkmm module successfully, the error message is in use.

    From the Backtrace stack: it locates at DRM device driver(Direct Render )

    FILE: ti_components/os_tools/linux/kernel/omap/drivers/gpu/drm/drm_gem.c.

    I confirmed that the there is no modification in the driver of kernel.

    Does it result from the configuration issue of Linux kernel?

      

    BR,

    Sam Hsieh

    root@dra7xx-evm:~# lsmod
    Module                  Size  Used by
    xhci_plat_hcd           5183  0
    xhci_hcd              108888  1 xhci_plat_hcd
    usbcore               194450  2 xhci_plat_hcd,xhci_hcd
    bc_example              7058  0
    rpmsg_proto             7791  0
    dwc3                   64067  0
    udc_core               12063  1 dwc3
    virtio_rpmsg_bus       12974  1 rpmsg_proto
    pvrsrvkm              412372  3 bc_example
    ahci_platform           3218  0
    libahci_platform        8821  1 ahci_platform
    libahci                27699  2 libahci_platform,ahci_platform
    libata                195741  3 libahci,libahci_platform,ahci_platform
    dwc3_omap               4926  0
    extcon_usb_gpio         3756  0
    scsi_mod              129524  1 libata
    extcon                 13815  3 dwc3,dwc3_omap,extcon_usb_gpio
    c_can_platform          6604  0
    omap_aes_driver        19230  0
    c_can                   9590  1 c_can_platform
    omap_sham              21089  0
    can_dev                12991  1 c_can
    rtc_omap                8272  0
    omap_des               11446  0
    omap_rng                4835  0
    rng_core                7691  1 omap_rng
    omap_remoteproc        13155  3
    remoteproc             27185  3 omap_remoteproc,virtio_rpmsg_bus,rpmsg_proto
    virtio                  7452  2 remoteproc,virtio_rpmsg_bus
    virtio_ring            12291  2 remoteproc,virtio_rpmsg_bus
    sch_fq_codel            8059  1
    
    root@dra7xx-evm:~# rmmod pvrsrvkm
    rmmod: ERROR: Module pvrsrvkm is in use
    root@dra7xx-evm:~# rmmod pvrsrvkm
    rmmod: ERROR: Module pvrsrvkm is in use
    root@dra7xx-evm:~# modinfo pvrsrvkm
    filename:       /lib/modules/4.4.84-00032-g0f6b93d-dirty/extra/pvrsrvkm.ko
    license:        Dual MIT/GPL
    author:         Imagination Technologies Ltd. <gpl-support@imgtec.com>
    license:        Dual MIT/GPL
    author:         Imagination Technologies Ltd. <gpl-support@imgtec.com>
    srcversion:     533BB7E5866E52F63B9ACCB
    alias:          of:N*T*Cti,dra7-sgx544*
    depends:
    vermagic:       4.4.84-00032-g0f6b93d-dirty SMP preempt mod_unload modversions ARMv7 p2v8
    parm:           gPVRDebugLevel:Sets the level of debug output (default 0x7) (uint)
    
    

    4150.kernel_config.txt

  • Hi
    Yes, as i had written earlier the clean up with GPU driver seems to be failing. Do you have HMI , wayland compositor running while you try to initiate a reboot.
    Can you check by manually stopping the wayland compositor as well.
    Also, do elaborate on what was running from GPU, display perspective while the reboot is being attempted.
  • Hi Sam,

    As part of Vision-SDK main menu can you select
    "z: Exit - AND SHUTDOWN Remote CPUs" and then try reboot?

    Regards
    Shravan
  • Hi Shravan,

    I selected the item of  SHUTDOWN Remote CPUs, then executed "reboot" command.

    BTW, I also try to kill the process of "runWeston" then execute reboot command. 

     683 root      2668 S    {runWeston} /bin/sh /usr/bin/runWeston

    But both the result are the same phenomenon, system still can't boot up. The log as the attached.

    Could you help suggest us how to look into issue? Thanks.

    regards,

    Sam.

  • Hi,

    The GPU applications need to be shutdown first. This includes any Wayland applications which are running and Weston.

    After that point, GPU shutdown sequence is as follows:
    /etc/init.d/rc.pvr stop

    Please do this and let us know if you see a problem. The Linux file system initialization is done using systemd init which runs rc.pvr script. The shutdown sequence needs to also go through systemd.

    Regards,
    Anand
  • Hi Anand,

    Thank you for your reply.

    I executed the script of "/etc/init.d/rc.pvr stop", but it shows the error message of

    rmmod: ERROR: Module pvrsrvkm is in use
    Couldn't unload modules


    It seems that couldn't unload pvrsrvkm module, the same phenomenon.

    Could you help suggest us how to debug the dependency? Thanks.

    regards,

    Sam Hsieh

    root@dra7xx-evm:~# <
    U-Boot SPL 2016.05 (Feb 27 2019 - 21:47:31)
    DRA752-GP ES2.0
    no pinctrl for hs200_1_8v
    no pinctrl for ddr_1_8v
    *** Warning - MMC init failed, using default environment
    
    Trying to boot from MMC1
    reading dra7-ipu2-fw.lzop
    spl_load_file_fat: error reading file dra7-ipu2-fw.lzop, err - -1
    spl: error reading image dra7-ipu2-fw.lzop, err - -1
    Error loading remotecore IPU2!,Continuing with boot ...
    reading dra7-dsp1-fw.lzop
    spl_load_file_fat: error reading file dra7-dsp1-fw.lzop, err - -1
    spl: error reading image dra7-dsp1-fw.lzop, err - -1
    Error loading remotecore DSP1!,Continuing with boot ...
    reading dra7-dsp2-fw.lzop
    spl_load_file_fat: error reading file dra7-dsp2-fw.lzop, err - -1
    spl: error reading image dra7-dsp2-fw.lzop, err - -1
    Error loading remotecore DSP2!,Continuing with boot ...
    reading dra7-ipu1-fw.lzop
    spl_load_file_fat: error reading file dra7-ipu1-fw.lzop, err - -1
    spl: error reading image dra7-ipu1-fw.lzop, err - -1
    Error loading remotecore IPU1!,Continuing with boot ...
    *** Warning - MMC init failed, using default environment
    
    reading u-boot.img
    reading u-boot.img
    reading u-boot.img
    reading u-boot.img
    
    
    U-Boot 2016.05 (Feb 27 2019 - 21:47:31 +0800)
    
    CPU  : DRA752-GP ES2.0
    Model: TI DRA742
    Board: DRA74x EVM REV
    DRAM:  1.5 GiB
    MMC:   OMAP SD/MMC: 0, OMAP SD/MMC: 1
    ** First descriptor is NOT a primary desc on 1:1 **
    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:199/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
    Hit any key to stop autoboot:  0
    ## Error: "board_findfdt" not defined
    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
    173 bytes read in 6 ms (27.3 KiB/s)
    Loaded env from uEnv.txt
    Importing environment from mmc0 ...
    switch to partitions #0, OK
    mmc0 is current device
    SD/MMC found on device 0
    3560352 bytes read in 338 ms (10 MiB/s)
    106933 bytes read in 27 ms (3.8 MiB/s)
    Booting from mmc0 ...
    Kernel image @ 0x82000000 [ 0x000000 - 0x3653a0 ]
    ## Flattened Device Tree blob at 88000000
       Booting using the fdt blob at 0x88000000
       Loading Device Tree to 8ffe2000, end 8ffff1b4 ... 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.84-00032-g0f6b93d-dirty (sam@ubuntu-ML-Server) (gcc version 5.3.1 20160113 (Linaro GCC 5.3-2016.02) ) #2 SMP PREEMPT Wed Feb 27 21:47:36 CST 2019
    [    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 DRA742
    [    0.000000] Reserved memory: created DMA memory pool at 0x0000000040300000, size 3 MiB
    [    0.000000] Reserved memory: initialized node cmem@40300000, compatible id shared-dma-pool
    [    0.000000] Reserved memory: regions without no-map are not yet supported
    [    0.000000] Reserved memory: created CMA memory pool at 0x0000000099000000, size 80 MiB
    [    0.000000] Reserved memory: initialized node ipu2_cma@95800000, compatible id shared-dma-pool
    [    0.000000] Reserved memory: created CMA memory pool at 0x000000009e000000, size 32 MiB
    [    0.000000] Reserved memory: initialized node ipu1_cma@9d000000, compatible id shared-dma-pool
    [    0.000000] Reserved memory: regions without no-map are not yet supported
    [    0.000000] Reserved memory: created CMA memory pool at 0x00000000a1000000, size 32 MiB
    [    0.000000] Reserved memory: initialized node dsp1_cma@99000000, compatible id shared-dma-pool
    [    0.000000] Reserved memory: created CMA memory pool at 0x00000000a3000000, size 32 MiB
    [    0.000000] Reserved memory: initialized node dsp2_cma@9f000000, compatible id shared-dma-pool
    [    0.000000] Reserved memory: regions without no-map are not yet supported
    [    0.000000] Reserved memory: created DMA memory pool at 0x00000000a9000000, size 32 MiB
    [    0.000000] Reserved memory: initialized node cmem@A9000000, compatible id shared-dma-pool
    [    0.000000] cma: Reserved 64 MiB at 0x00000000bbc00000
    [    0.000000] Forcing write-allocate cache policy for SMP
    [    0.000000] Memory policy: Data cache writealloc
    [    0.000000] OMAP4: Map 0x00000000bfd00000 to fe600000 for dram barrier
    [    0.000000] DRA752 ES2.0
    [    0.000000] PERCPU: Embedded 11 pages/cpu @ef62a000 s14912 r8192 d21952 u45056
    [    0.000000] Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 251456
    [    0.000000] Kernel command line: console=ttyO0,115200n8 vram=16M root=PARTUUID=47fcf07e-02 rw rootwait ip=none mem=1024M cma=64M
    [    0.000000] PID hash table entries: 4096 (order: 2, 16384 bytes)
    [    0.000000] Dentry cache hash table entries: 131072 (order: 7, 524288 bytes)
    [    0.000000] Inode-cache hash table entries: 65536 (order: 6, 262144 bytes)
    [    0.000000] Memory: 353188K/1012736K available (6635K kernel code, 320K rwdata, 2392K rodata, 336K init, 290K bss, 413788K reserved, 245760K cma-reserved, 193536K highmem)
    [    0.000000] Virtual kernel memory layout:
    [    0.000000]     vector  : 0xffff0000 - 0xffff1000   (   4 kB)
    [    0.000000]     fixmap  : 0xffc00000 - 0xfff00000   (3072 kB)
    [    0.000000]     vmalloc : 0xf0800000 - 0xff800000   ( 240 MB)
    [    0.000000]     lowmem  : 0xc0000000 - 0xf0000000   ( 768 MB)
    [    0.000000]     pkmap   : 0xbfe00000 - 0xc0000000   (   2 MB)
    [    0.000000]     modules : 0xbf000000 - 0xbfe00000   (  14 MB)
    [    0.000000]       .text : 0xc0008000 - 0xc08d902c   (9029 kB)
    [    0.000000]       .init : 0xc08da000 - 0xc092e000   ( 336 kB)
    [    0.000000]       .data : 0xc092e000 - 0xc097e120   ( 321 kB)
    [    0.000000]        .bss : 0xc0980000 - 0xc09c8800   ( 290 kB)
    [    0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=2, 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] ti_dt_clocks_register: failed to lookup clock node gmac_gmii_ref_clk_div
    [    0.000000] OMAP clockevent source: timer1 at 32786 Hz
    [    0.000000] Architected cp15 timer(s) running at 6.14MHz (phys).
    [    0.000000] clocksource: arch_sys_counter: mask: 0xffffffffffffff max_cycles: 0x16af5adb9, max_idle_ns: 440795202250 ns
    [    0.000005] sched_clock: 56 bits at 6MHz, resolution 162ns, wraps every 4398046511023ns
    [    0.000016] Switching to timer-based delay loop, resolution 162ns
    [    0.000330] clocksource: 32k_counter: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 58327039986419 ns
    [    0.000338] OMAP clocksource: 32k_counter at 32768 Hz
    [    0.000772] Console: colour dummy device 80x30
    [    0.000788] WARNING: Your 'console=ttyO0' has been replaced by 'ttyS0'
    [    0.000794] This ensures that you still see kernel messages. Please
    [    0.000799] update your kernel commandline.
    [    0.000813] Calibrating delay loop (skipped), value calculated using timer frequency.. 12.29 BogoMIPS (lpj=61475)
    [    0.000825] pid_max: default: 32768 minimum: 301
    [    0.000922] Mount-cache hash table entries: 2048 (order: 1, 8192 bytes)
    [    0.000932] Mountpoint-cache hash table entries: 2048 (order: 1, 8192 bytes)
    [    0.001474] Initializing cgroup subsys io
    [    0.001490] Initializing cgroup subsys memory
    [    0.001514] Initializing cgroup subsys devices
    [    0.001528] Initializing cgroup subsys freezer
    [    0.001539] Initializing cgroup subsys perf_event
    [    0.001550] Initializing cgroup subsys pids
    [    0.001575] CPU: Testing write buffer coherency: ok
    [    0.001774] /cpus/cpu@0 missing clock-frequency property
    [    0.001789] /cpus/cpu@1 missing clock-frequency property
    [    0.001800] CPU0: thread -1, cpu 0, socket 0, mpidr 80000000
    [    0.001835] Setting up static identity map for 0x80008380 - 0x800083e0
    [    0.080065] CPU1: thread -1, cpu 1, socket 0, mpidr 80000001
    [    0.080135] Brought up 2 CPUs
    [    0.080148] SMP: Total of 2 processors activated (24.59 BogoMIPS).
    [    0.080154] CPU: All CPU(s) started in HYP mode.
    [    0.080160] CPU: Virtualization extensions available.
    [    0.080534] devtmpfs: initialized
    [    0.109047] VFP support v0.3: implementor 41 architecture 4 part 30 variant f rev 0
    [    0.110022] omap_hwmod: l3_main_2 using broken dt data from ocp
    [    0.314218] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
    [    0.314241] futex hash table entries: 512 (order: 3, 32768 bytes)
    [    0.319178] pinctrl core: initialized pinctrl subsystem
    [    0.320044] NET: Registered protocol family 16
    [    0.321024] DMA: preallocated 256 KiB pool for atomic coherent allocations
    [    0.350240] cpuidle: using governor ladder
    [    0.380262] cpuidle: using governor menu
    [    0.388874] OMAP GPIO hardware version 0.1
    [    0.395346] irq: no irq domain found for /ocp/l4@4a000000/scm@2000/pinmux@1400 !
    [    0.411849] omap-gpmc 50000000.gpmc: GPMC revision 6.0
    [    0.411863] gpmc_mem_init: disabling cs 0 mapped at 0x0-0x1000000
    [    0.419909] hw-breakpoint: found 5 (+1 reserved) breakpoint and 4 watchpoint registers.
    [    0.419919] hw-breakpoint: maximum watchpoint size is 8 bytes.
    [    0.420404] omap4_sram_init:Unable to allocate sram needed to handle errata I688
    [    0.420413] omap4_sram_init:Unable to get sram pool needed to handle errata I688
    [    0.420993] OMAP DMA hardware revision 0.0
    [    0.461601] omap-dma-engine 4a056000.dma-controller: OMAP DMA engine driver (LinkedList1/2/3 supported)
    [    0.462750] edma 43300000.edma: memcpy is disabled
    [    0.467525] edma 43300000.edma: TI EDMA DMA engine driver
    [    0.471894] omap-iommu 40d01000.mmu: 40d01000.mmu registered
    [    0.472072] omap-iommu 40d02000.mmu: 40d02000.mmu registered
    [    0.472234] omap-iommu 58882000.mmu: 58882000.mmu registered
    [    0.472390] omap-iommu 55082000.mmu: 55082000.mmu registered
    [    0.472679] omap-iommu 41501000.mmu: 41501000.mmu registered
    [    0.472863] omap-iommu 41502000.mmu: 41502000.mmu registered
    [    0.475867] palmas 0-0058: IRQ missing: skipping irq request
    [    0.491317] palmas 0-0058: Muxing GPIO 2e, PWM 0, LED 0
    [    0.563628] pcf857x 0-0020: probed
    [    0.564197] pcf857x 0-0021: probed
    [    0.564347] omap_i2c 48070000.i2c: bus 0 rev0.12 at 400 kHz
    [    0.564741] omap_i2c 48060000.i2c: bus 2 rev0.12 at 400 kHz
    [    0.564939] media: Linux media interface: v0.10
    [    0.564989] Linux video capture interface: v2.00
    [    0.565029] pps_core: LinuxPPS API ver. 1 registered
    [    0.565036] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
    [    0.565062] PTP clock support registered
    [    0.565111] EDAC MC: Ver: 3.0.0
    [    0.565866] omap-mailbox 48840000.mailbox: omap mailbox rev 0x400
    [    0.566156] omap-mailbox 48842000.mailbox: omap mailbox rev 0x400
    [    0.566494] Advanced Linux Sound Architecture Driver Initialized.
    [    0.567370] clocksource: Switched to clocksource arch_sys_counter
    [    0.577995] NET: Registered protocol family 2
    [    0.578487] TCP established hash table entries: 8192 (order: 3, 32768 bytes)
    [    0.578550] TCP bind hash table entries: 8192 (order: 4, 65536 bytes)
    [    0.578675] TCP: Hash tables configured (established 8192 bind 8192)
    [    0.578723] UDP hash table entries: 512 (order: 2, 16384 bytes)
    [    0.578754] UDP-Lite hash table entries: 512 (order: 2, 16384 bytes)
    [    0.578961] NET: Registered protocol family 1
    [    0.579225] RPC: Registered named UNIX socket transport module.
    [    0.579234] RPC: Registered udp transport module.
    [    0.579241] RPC: Registered tcp transport module.
    [    0.579248] RPC: Registered tcp NFSv4.1 backchannel transport module.
    [    0.580252] hw perfevents: enabled with armv7_cortex_a15 PMU driver, 7 counters available
    [    0.590322] squashfs: version 4.0 (2009/01/31) Phillip Lougher
    [    0.590979] NFS: Registering the id_resolver key type
    [    0.591013] Key type id_resolver registered
    [    0.591021] Key type id_legacy registered
    [    0.591090] ntfs: driver 2.1.32 [Flags: R/O].
    [    0.592394] bounce: pool size: 64 pages
    [    0.592552] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 247)
    [    0.592571] io scheduler noop registered
    [    0.592585] io scheduler deadline registered
    [    0.592621] io scheduler cfq registered (default)
    [    0.597532] pinctrl-single 4a003400.pinmux: 282 pins at pa fc003400 size 1128
    [    0.600691] PCI host bridge /ocp/axi@0/pcie_rc@51000000 ranges:
    [    0.600703]   No bus range found for /ocp/axi@0/pcie_rc@51000000, using [bus 00-ff]
    [    0.600736]    IO 0x20003000..0x20012fff -> 0x00000000
    [    0.600758]   MEM 0x20013000..0x2fffffff -> 0x20013000
    [    0.630607] dra7-pcie 51000000.pcie_rc: link is not up
    [    0.630774] dra7-pcie 51000000.pcie_rc: PCI host bridge to bus 0000:00
    [    0.630787] pci_bus 0000:00: root bus resource [bus 00-ff]
    [    0.630797] pci_bus 0000:00: root bus resource [io  0x0000-0xffff]
    [    0.630807] pci_bus 0000:00: root bus resource [mem 0x20013000-0x2fffffff]
    [    0.631217] PCI: bus0: Fast back to back transfers disabled
    [    0.631340] PCI: bus1: Fast back to back transfers enabled
    [    0.631424] pci 0000:00:00.0: BAR 0: assigned [mem 0x20100000-0x201fffff]
    [    0.631440] pci 0000:00:00.0: BAR 1: assigned [mem 0x20020000-0x2002ffff]
    [    0.631452] pci 0000:00:00.0: PCI bridge to [bus 01]
    [    0.631674] pcieport 0000:00:00.0: Signaling PME through PCIe PME interrupt
    [    0.691911] Serial: 8250/16550 driver, 10 ports, IRQ sharing disabled
    [    0.695309] 4806a000.serial: ttyS0 at MMIO 0x4806a000 (irq = 301, base_baud = 3000000) is a 8250
    [    1.705886] console [ttyS0] enabled
    [    1.710291] 4806c000.serial: ttyS1 at MMIO 0x4806c000 (irq = 302, base_baud = 3000000) is a 8250
    [    1.719985] 48020000.serial: ttyS2 at MMIO 0x48020000 (irq = 303, base_baud = 3000000) is a 8250
    [    1.730025] [drm] Initialized drm 1.1.0 20060810
    [    1.735537] [drm] Supports vblank timestamp caching Rev 2 (21.10.2013).
    [    1.742225] [drm] No driver support for vblank timestamp query.
    [    1.748392] [drm] Initialized vdrm 1.0.0 20110917 on minor 0
    [    1.761356] loop: module loaded
    [    1.764904] vmemexp device MAJOR num = 245
    [    1.769051] vmemexp class registered
    [    1.772766] /dev/vmemexp device registered
    [    1.776880] ioctl DBUFIOC_EXPORT_VIRTMEM = -1072899120
    [    1.782598] nand: No NAND device found
    [    1.786369] omap2-nand 8000000.nand: scan failed, may be bus-width mismatch
    [    1.796234] m25p80 spi32766.0: found w25q256, expected s25fl256s1
    [    1.802397] m25p80 spi32766.0: w25q256 (32768 Kbytes)
    [    1.807549] 7 ofpart partitions found on MTD device spi32766.0
    [    1.813407] Creating 7 MTD partitions on "spi32766.0":
    [    1.818584] 0x000000000000-0x000000040000 : "QSPI.SPL"
    [    1.824698] 0x000000040000-0x000000140000 : "QSPI.u-boot"
    [    1.831045] 0x000000140000-0x0000001c0000 : "QSPI.u-boot-spl-os"
    [    1.837985] 0x0000001c0000-0x0000001d0000 : "QSPI.u-boot-env"
    [    1.844657] 0x0000001d0000-0x0000001e0000 : "QSPI.u-boot-env.backup1"
    [    1.852072] 0x0000001e0000-0x0000009e0000 : "QSPI.kernel"
    [    1.858422] 0x0000009e0000-0x000002000000 : "QSPI.file-system"
    [    1.866196] libphy: Fixed MDIO Bus: probed
    [    1.872955] mousedev: PS/2 mouse device common for all mice
    [    1.879187] i2c /dev entries driver
    [    1.887960] omap_hsmmc 4809c000.mmc: Got CD GPIO
    [    1.893583] omap_hsmmc 480b4000.mmc: no pinctrl state for sdr25 mode
    [    1.899986] omap_hsmmc 480b4000.mmc: no pinctrl state for sdr12 mode
    [    1.906520] evm_3v3_sw: supplied by sysen1
    [    1.990167] mmc0: MAN_BKOPS_EN bit is not set
    [    2.001477] mmc0: new HS200 MMC card at address 0001
    [    2.006903] mmcblk0: mmc0:0001 R1J55A 7.28 GiB
    [    2.011714] mmcblk0boot0: mmc0:0001 R1J55A partition 1 8.00 MiB
    [    2.017915] mmcblk0boot1: mmc0:0001 R1J55A partition 2 8.00 MiB
    [    2.069239] ledtrig-cpu: registered to indicate activity on CPUs
    [    2.078350] aic_dvdd: supplied by evm_3v3_sw
    [    2.084256] davinci-mcasp 4847c000.mcasp: invalid tdm slots: 0
    [    2.091787] NET: Registered protocol family 10
    [    2.096867] sit: IPv6 over IPv4 tunneling driver
    [    2.102117] NET: Registered protocol family 17
    [    2.106791] Key type dns_resolver registered
    [    2.111223] omap_voltage_late_init: Voltage driver support not added
    [    2.118119] Adding alias for supply vdd,cpu0 -> vdd,4a003b20.oppdm
    [    2.124326] Adding alias for supply vbb,cpu0 -> vbb,4a003b20.oppdm
    [    2.131059] Adding alias for supply vdd,cpu0 -> vdd,4a003b20.oppdm
    [    2.137269] Adding alias for supply vbb,cpu0 -> vbb,4a003b20.oppdm
    [    2.145509] Power Management for TI OMAP4+ devices.
    [    2.150611] Registering SWP/SWPB emulation handler
    [    2.156341] dmm 4e000000.dmm: workaround for errata i878 in use
    [    2.163610] dmm 4e000000.dmm: initialized all PAT entries
    [    2.169728] [drm] Initialized omapdrm 1.0.0 20110917 on minor 1
    [    2.176631] omap_hsmmc 4809c000.mmc: Got CD GPIO
    [    2.228231] asoc-simple-card sound0: tlv320aic3x-hifi <-> 48468000.mcasp mapping ok
    [    2.247896] input: gpio_keys as /devices/platform/gpio_keys/input/input0
    [    2.254778] hctosys: unable to open rtc device (rtc0)
    [    2.268094] evm_1v8: disabling
    [    2.271166] aic_dvdd: disabling
    [    2.274317] vmmcwl_fixed: disabling
    [    2.278030] ldousb: disabling
    [    2.281448] ALSA device list:
    [    2.284425]   #0: DRA7xx-EVM
    [    2.287966] Waiting for root device PARTUUID=47fcf07e-02...
    [    2.386244] mmc2: host does not support reading read-only switch, assuming write-enable
    [    2.394354] mmc2: new SDHC card at address e624
    [    2.409352] mmcblk1: mmc2:e624 SU08G 7.40 GiB
    [    2.421037]  mmcblk1: p1 p2
    [    2.508449] EXT4-fs (mmcblk1p2): couldn't mount as ext3 due to feature incompatibilities
    [    2.517227] EXT4-fs (mmcblk1p2): couldn't mount as ext2 due to feature incompatibilities
    [    2.945104] EXT4-fs (mmcblk1p2): recovery complete
    [    2.951994] EXT4-fs (mmcblk1p2): mounted filesystem with ordered data mode. Opts: (null)
    [    2.960256] VFS: Mounted root (ext4 filesystem) on device 179:50.
    [    2.968731] devtmpfs: mounted
    [    2.971933] Freeing unused kernel memory: 336K
    [    2.976394] This architecture does not have kernel memory protection.
    [    3.330949] systemd[1]: System time before build time, advancing clock.
    [    3.388043] random: systemd: uninitialized urandom read (16 bytes read, 18 bits of entropy available)
    [    3.402679] random: systemd: uninitialized urandom read (16 bytes read, 19 bits of entropy available)
    [    3.414373] 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)
    [    3.432923] systemd[1]: Detected architecture arm.
    
    Welcome to Arago 2016.12!
    
    [    3.458774] systemd[1]: Set hostname to <dra7xx-evm>.
    [    3.556329] random: systemd-sysv-ge: uninitialized urandom read (16 bytes read, 20 bits of entropy available)
    [    3.599307] random: systemd-gpt-aut: uninitialized urandom read (16 bytes read, 20 bits of entropy available)
    [    3.610634] random: systemd-gpt-aut: uninitialized urandom read (16 bytes read, 20 bits of entropy available)
    [    3.621989] random: systemd-sysv-ge: uninitialized urandom read (16 bytes read, 21 bits of entropy available)
    [    3.641943] random: systemd-sysv-ge: uninitialized urandom read (16 bytes read, 21 bits of entropy available)
    [    3.800868] random: systemd: uninitialized urandom read (16 bytes read, 24 bits of entropy available)
    [    3.810365] random: systemd: uninitialized urandom read (16 bytes read, 24 bits of entropy available)
    [    3.820226] random: systemd: uninitialized urandom read (16 bytes read, 24 bits of entropy available)
    [    4.388911] systemd[1]: sysinit.target: Found ordering cycle on sysinit.target/start
    [    4.396700] systemd[1]: sysinit.target: Found dependency on alignment.service/start
    [    4.404450] systemd[1]: sysinit.target: Found dependency on basic.target/start
    [    4.411735] systemd[1]: sysinit.target: Found dependency on sockets.target/start
    [    4.419185] systemd[1]: sysinit.target: Found dependency on dbus.socket/start
    [    4.426355] systemd[1]: sysinit.target: Found dependency on sysinit.target/start
    [    4.433827] systemd[1]: sysinit.target: Breaking ordering cycle by deleting job alignment.service/start
    [    4.443285] systemd[1]: alignment.service: Job alignment.service/start deleted to break ordering cycle starting with sysinit.target/start
    [ SKIP ] Ordering cycle found, skipping alignment.service
    [    4.479555] systemd[1]: Started Forward Password Requests to Wall Directory Watch.
    [  OK  ] Started Forward Password Requests to Wall Directory Watch.
    [    4.524060] systemd[1]: Listening on Network Service Netlink Socket.
    [  OK  ] Listening on Network Service Netlink Socket.
    [    4.547646] systemd[1]: Listening on udev Kernel Socket.
    [  OK  ] Listening on udev Kernel Socket.
    [    4.567700] systemd[1]: Started Dispatch Password Requests to Console Directory Watch.
    [  OK  ] Started Dispatch Password Requests to Console Directory Watch.
    [    4.600632] systemd[1]: Created slice System Slice.
    [  OK  ] Created slice System Slice.
    [    4.628178] systemd[1]: Created slice system-getty.slice.
    [  OK  ] Created slice system-getty.slice.
    [    4.658131] systemd[1]: Created slice system-serial\x2dgetty.slice.
    [  OK  ] Created slice system-serial\x2dgetty.slice.
    [    4.677643] systemd[1]: Listening on /dev/initctl Compatibility Named Pipe.
    [  OK  ] Listening on /dev/initctl Compatibility Named Pipe.
    [    4.697718] systemd[1]: Listening on Journal Socket.
    [  OK  ] Listening on Journal Socket.
    [    4.747754] systemd[1]: Starting Setup Virtual Console...
             Starting Setup Virtual Console...
    [    4.779657] systemd[1]: Starting Remount Root and Kernel File Systems...
             Starting Remount Root and Kernel File Systems...
    [    4.802155] EXT4-fs (mmcblk1p2): re-mounted. Opts: (null)
    [    4.857701] systemd[1]: Starting Load Kernel Modules...
             Starting Load Kernel Modules...
    [    4.879844] systemd[1]: Mounting Debug File System...
             Mounting Debug File System...
    [    4.910681] systemd[1]: Mounting Temporary Directory...
             Mounting Temporary Directory...
    [    4.939653] systemd[1]: Mounting POSIX Message Queue File System...
             Mounting POSIX Message Queue File System...
    [    4.967571] systemd[1]: Reached target Swap.
    [  OK  ] Reached target Swap.
    [    4.987625] systemd[1]: Reached target Remote File Systems.
    [  OK  ] Reached target Remote File Systems.
    [    5.017634] systemd[1]: Listening on Journal Socket (/dev/log).
    [  OK  ] Listening on Journal Socket (/dev/log).
    [    5.037544] systemd[1]: Reached target Paths.
    [  OK  ] Reached target Paths.
    [    5.057588] systemd[1]: Listening on Syslog Socket.
    [  OK  ] Listening on Syslog Socket.
    [    5.107718] systemd[1]: Starting Journal Service...
             Starting Journal Service...
    [    5.129993] systemd[1]: Starting Create list of required static device nodes for the current kernel...
             Starting Create list of required st... nodes for the current kernel...
    [    5.158237] systemd[1]: Created slice User and Session Slice.
    [  OK  ] Created slice User and Session Slice.
    [    5.187656] systemd[1]: Reached target Slices.
    [  OK  ] Reached target Slices.
    [    5.207736] systemd[1]: Listening on udev Control Socket.
    [  OK  ] Listening on udev Control Socket.
    [    5.272012] systemd[1]: Mounted Debug File System.
    [  OK  ] Mounted Debug File System.
    [    5.297662] systemd[1]: Mounted POSIX Message Queue File System.
    [  OK  ] Mounted POSIX Message Queue File System.
    [    5.327615] systemd[1]: Mounted Temporary Directory.
    [  OK  ] Mounted Temporary Directory.
    [    5.347783] systemd[1]: Started Journal Service.
    [  OK  ] Started Journal Service.
    [  OK  ] Started Setup Virtual Console.
    [  OK  ] Started Remount Root and Kernel File Systems.
    [FAILED] Failed to start Load Kernel Modules.
    See 'systemctl status systemd-modules-load.service' for details.
    [  OK  ] Started Create list of required sta...ce nodes for the current kernel.
             Starting Create Static Device Nodes in /dev...
             Starting Apply Kernel Variables...
             Starting udev Coldplug all Devices...
             Starting Flush Journal to Persistent Storage...
    [  OK  ] Started Apply Kernel Variables.
    [  OK  ] Started Create Static Device Nodes in /dev.
    [    6.035780] systemd-journald[147]: Received request to flush runtime journal from PID 1
    [  OK  ] Started Flush Journal to Persistent Storage.
    [  OK  ] Reached target Local File Systems (Pre).
             Mounting /media/ram...
             Mounting /var/volatile...
             Starting udev Kernel Device Manager...
    [  OK  ] Mounted /var/volatile.
    [  OK  ] Mounted /media/ram.
    [  OK  ] Started udev Kernel Device Manager.
    [  OK  ] Reached target Local File Systems.
             Starting Create Volatile Files and Directories...
             Starting Load/Save Random Seed...
    [  OK  ] Started Create Volatile Files and Directories.
    [  OK  ] Started Load/Save Random Seed.
    [  OK  ] Started udev Coldplug all Devices.
    [    6.596979] omap-rproc 55020000.ipu: assigned reserved memory node ipu2_cma@95800000
    [    6.605595]  remoteproc0: 55020000.ipu is available
    [    6.615589]  remoteproc0: Note: remoteproc is still under development and considered experimental.
    [    6.630446]  remoteproc0: THE BINARY FORMAT IS NOT YET FINALIZED, and backward compatibility isn't yet guaranteed.
    [    6.651079] omap-rproc 40800000.dsp: assigned reserved memory node dsp1_cma@99000000
    [    6.672767]  remoteproc1: 40800000.dsp is available
    [    6.685920]  remoteproc1: Note: remoteproc is still under development and considered experimental.
    [    6.703428]  remoteproc1: THE BINARY FORMAT IS NOT YET FINALIZED, and backward compatibility isn't yet guaranteed.
    [    6.726428] omap-rproc 41000000.dsp: assigned reserved memory node dsp2_cma@9f000000
    [    6.735349]  remoteproc2: 41000000.dsp is available
    [    6.749654]  remoteproc2: Note: remoteproc is still under development and considered experimental.
    [    6.761518]  remoteproc2: THE BINARY FORMAT IS NOT YET FINALIZED, and backward compatibility isn't yet guaranteed.
    [  OK  ] Found device /dev/ttyS0.
             Starting Update UTMP about System Boot/Shutdown...
             Starting Network Time Synchronization...
    [    6.932318] omap-des 480a5000.des: OMAP DES hw accel rev: 2.2
    [    7.093317] omap_rtc 48838000.rtc: rtc core: registered 48838000.rtc as rtc0
    [    7.518466] SCSI subsystem initialized
    [    7.633853] omap_rng 48090000.rng: OMAP Random Number Generator ver. 20
    [    8.260808] omap-aes 4b500000.aes: OMAP AES hw accel rev: 3.3
    [    8.293300] omap-aes 4b700000.aes: OMAP AES hw accel rev: 3.3
    [    8.303199] omap-sham 4b101000.sham: hw accel on OMAP rev 4.3
    [    8.323427] CAN device driver interface
    [  OK  ] Started Network Time Synchronization.
    [    8.468452] c_can_platform 4ae3c000.can: c_can_platform device registered (regs=fce3c000, irq=354)
             Starting Synchronize System and HW clocks...
    [  OK  ] Reached target System Time Synchronized.
    [  OK  ] Started Synchronize System and HW clocks.
    [    9.328231] [drm] Initialized pvr 1.14.3699939 20110701 on minor 2
    [  OK  ] Started Update UTMP about System Boot/Shutdown.
    [  OK  ] Reached target System Initialization.
    [  OK  ] Started Daily Cleanup of Temporary Directories.
    [  OK  ] Reached target Timers.
    [  OK  ] Listening on D-Bus System Message Bus Socket.
    [  OK  ] Reached target Sockets.
    [    9.532952]  remoteproc0: registered virtio0 (type 7)
    [  OK  ] Reached target Basic System.
             Starting Login Service...
    [  OK  ] Started Kernel Logging Service.
    [   10.029519]  remoteproc2: registered virtio1 (type 7)
    [   10.043471]  remoteproc1: registered virtio2 (type 7)
             Starting Save/Restore Sound Card State...
             Starting Permit User Sessions...
    [  OK  ] Started D-Bus System Message Bus.
    [   10.502360]  remoteproc0: powering up 55020000.ipu
    [   10.519884]  remoteproc0: Booting fw image dra7-ipu2-fw.xem4, size 9553028
    [   10.526886] omap-iommu 55082000.mmu: 55082000.mmu: version 2.1
    [   10.567839]  remoteproc0: remote processor 55020000.ipu is now up
    [   10.575546] virtio_rpmsg_bus virtio0: rpmsg host is online
    [   10.583768]  remoteproc2: powering up 41000000.dsp
    [   10.654904] ahci 4a140000.sata: SSS flag set, parallel bus scan disabled
    [   10.661707] ahci 4a140000.sata: AHCI 0001.0300 32 slots 1 ports 3 Gbps 0x1 impl platform mode
    [   10.671144] ahci 4a140000.sata: flags: 64bit ncq sntf stag pm led clo only pmp pio slum part ccc apst
    [   10.683968]  remoteproc2: Booting fw image dra7-dsp2-fw.xe66, size 6967530
    [   10.697804] omap_hwmod: mmu0_dsp2: _wait_target_disable failed
    [   10.703695] omap-iommu 41501000.mmu: 41501000.mmu: version 3.0
    [   10.709632] omap-iommu 41502000.mmu: 41502000.mmu: version 3.0
    [   10.717659] scsi host0: ahci
    [   10.722455] ata1: SATA max UDMA/133 mmio [mem 0x4a140000-0x4a1410ff] port 0x100 irq 342
    [   10.765138]  remoteproc2: remote processor 41000000.dsp is now up
    [   10.772921] virtio_rpmsg_bus virtio1: rpmsg host is online
    [   10.779504]  remoteproc1: powering up 40800000.dsp
    [   10.792428]  remoteproc1: Booting fw image dra7-dsp1-fw.xe66, size 6967530
    [   10.806120] omap_hwmod: mmu0_dsp1: _wait_target_disable failed
    [   10.812010] omap-iommu 40d01000.mmu: 40d01000.mmu: version 3.0
    [   10.817955] omap-iommu 40d02000.mmu: 40d02000.mmu: version 3.0
    [   10.850425]  remoteproc1: remote processor 40800000.dsp is now up
    [   10.867716] virtio_rpmsg_bus virtio2: rpmsg host is online
    [   10.933069] virtio_rpmsg_bus virtio0: creating channel rpmsg-proto addr 0x50
    [   10.940331] virtio_rpmsg_bus virtio2: creating channel rpmsg-proto addr 0x50
    [   10.949684] virtio_rpmsg_bus virtio1: creating channel rpmsg-proto addr 0x50
    [   10.995905] NET: Registered protocol family 41
    [   11.004148] FAT-fs (mmcblk1p1): Volume was not properly unmounted. Some data may be corrupt. Please run fsck.
             Starting Network Service...
    [   11.077632] ata1: SATA link down (SStatus 0 SControl 300)
    [  OK  ] Started System Logging Service.
             Starting rc.pvr.service...
    [  OK  ] Listening on Load/Save RF Kill Switch Status /dev/rfkill Watch.
    [  OK  ] Reached target Sound Card.
    [  OK  ] Started Network Service.
    [  OK  ] Started Permit User Sessions.
    [  OK  ] Started Save/Restore Sound Card State.
    [   11.406056] usbcore: registered new interface driver usbfs
    [   11.412380] usbcore: registered new interface driver hub
    [   11.418512] usbcore: registered new device driver usb
    [   11.553319] PVR_K: UM DDK-(3699939) and KM DDK-(3699939) match. [ OK ]
    [   11.581088] dwc3 48890000.usb: otg: primary host xhci-hcd.0.auto registered
    [   11.598774] dwc3 48890000.usb: otg: shared host xhci-hcd.0.auto registered
    [   11.605837] dwc3 48890000.usb: otg: can't start till gadget registers
    [   11.614802] xhci-hcd xhci-hcd.1.auto: xHCI Host Controller
    [   11.625412] xhci-hcd xhci-hcd.1.auto: new USB bus registered, assigned bus number 1
    [   11.636044] xhci-hcd xhci-hcd.1.auto: hcc params 0x0220f04c hci version 0x100 quirks 0x00210010
    [   11.649039] xhci-hcd xhci-hcd.1.auto: irq 495, io mem 0x488d0000
    [   11.663414] hub 1-0:1.0: USB hub found
    [   11.669278] hub 1-0:1.0: 1 port detected
    [   11.673580] xhci-hcd xhci-hcd.1.auto: xHCI Host Controller
    [   11.681956] xhci-hcd xhci-hcd.1.auto: new USB bus registered, assigned bus number 2
    [   11.691414] usb usb2: We don't know the algorithms for LPM for this host, disabling LPM.
    [   11.703493] hub 2-0:1.0: USB hub found
    [  OK  ] Started rc.pvr.service.[   11.708379] hub 2-0:1.0: 1 port detected
    
             Starting weston.service...
    [  OK  ] Started Getty on tty1.
    [  OK  ] Started Serial Getty on ttyS0.
    [  OK  ] Reached target Network.
             Starting Network Name Resolution...
    [  OK  ] Started weston.service.
    [  OK  ] Started Login Service.
             Starting telnetd.service...
             Starting tiipclad-daemon.service...
    [  OK  ] Started Network Name Resolution.
    [  OK  ] Started telnetd.service.
    [  OK  ] Started tiipclad-daemon.service.
    
     _____                    _____           _         _
    |  _  |___ ___ ___ ___   |  _  |___ ___  |_|___ ___| |_
    |     |  _| .'| . | . |  |   __|  _| . | | | -_|  _|  _|
    |__|__|_| |__,|_  |___|  |__|  |_| |___|_| |___|___|_|
                  |___|                    |___|
    
    Arago Project http://arago-project.org dra7xx-evm ttyS0
    
    Arago 2016.12 dra7xx-evm ttyS0
    
    dra7xx-evm login: root (automatic login)
    
    root@dra7xx-evm:~# /etc/ini[   49.101149] random: nonblocking pool is initialized
    root@dra7xx-evm:~#
    root@dra7xx-evm:~# /etc/init.d/rc.pvr stop
    rmmod: ERROR: Module pvrsrvkm is in use
    Couldn't unload modules
    root@dra7xx-evm:~# cat /etc/powervr.ini
    [default]
    #WindowSystem=libpvrws_WAYLAND.so
    
    [weston]
    DbmDriverName=vdrm
    
    root@dra7xx-evm:~# cat /proc/pvr/version
    Version SGX_DDK sgxddk MAIN@3699939 (release) omap_linux
    System Version String: SGX revision = 116
    root@dra7xx-evm:~# lsmod
    Module                  Size  Used by
    xhci_plat_hcd           5183  0
    xhci_hcd              108888  1 xhci_plat_hcd
    usbcore               194450  2 xhci_plat_hcd,xhci_hcd
    rpmsg_proto             7791  0
    ahci_platform           3218  0
    dwc3                   64067  0
    libahci_platform        8821  1 ahci_platform
    virtio_rpmsg_bus       12974  1 rpmsg_proto
    libahci                27699  2 libahci_platform,ahci_platform
    udc_core               12063  1 dwc3
    libata                195741  3 libahci,libahci_platform,ahci_platform
    extcon_usb_gpio         3756  0
    dwc3_omap               4926  0
    pvrsrvkm              412372  2
    c_can_platform          6604  0
    c_can                   9590  1 c_can_platform
    can_dev                12991  1 c_can
    extcon                 13815  3 dwc3,dwc3_omap,extcon_usb_gpio
    omap_sham              21089  0
    omap_aes_driver        19230  0
    omap_rng                4835  0
    scsi_mod              129524  1 libata
    rtc_omap                8272  0
    rng_core                7691  1 omap_rng
    omap_des               11446  0
    omap_remoteproc        13155  3
    remoteproc             27185  3 omap_remoteproc,virtio_rpmsg_bus,rpmsg_proto
    virtio                  7452  2 remoteproc,virtio_rpmsg_bus
    virtio_ring            12291  2 remoteproc,virtio_rpmsg_bus
    sch_fq_codel            8059  1
    root@dra7xx-evm:~# reboot
    [  OK  ] Stopped Create Static Device Nodes in /dev.
    [  OK  ] Stopped Setup Virtual Console.
    [  OK  ] Stopped target Swap.
             Stopping Load/Save Random Seed...
    [  OK  ] Stopped target Multi-User System.
             Stopping tiipclad-daemon.service...
    [  OK  ] Closed Load/Save RF Kill Switch Status /dev/rfkill Watch.
    [  OK  ] Stopped target Local File Systems.
             U         Stopping Session c1 of user root.
             Stopping User Manager for UID 0...
    [  OK  ] Stopped Daily Cleanup of Temporary Directories.
             Stopping Save/Restore Sound Card State...
    [  OK  ] Stopped target Login Prompts.
             Stopping Getty on tty1...
             Stopping Serial Getty on ttyS0...
    [  OK  ] Stopped target Sound Card.
             Stopping telnetd.service...
             Stopping Kernel Logging Service...
             Stopping Network Name Resolution...
    [  OK  ] Stopped Network Time Synchronization.
    [  OK  ] Stopped Kernel Logging Service.
    [  OK  ] Stopped System Logging Service.
    [  OK  ] Stopped Getty on tty1.
    [  OK  ] Stopped Serial Getty on ttyS0.
    [  OK  ] Stopped Network Name Resolution.
    [  OK  ] Stopped User Manager for UID 0.
    [  OK  ] Stopped Load/Save Random Seed.
    [  OK  ] Stopped tiipclad-daemon.service.
    [FAILED] Failed unmounting /run/user/0.
    [  OK  ] Unmounted /run/media/mmcblk1p1.
    [  OK  ] Stopped Session c1 of user root.
    [  OK  ] Stopped Save/Restore Sound Card State.
    [  OK  ] Stopped telnetd.service.
    [  OK  ] Stopped User Manager for UID 0.
             Stopping weston.service...
    [  OK  ] Removed slice User Slice of root.
             Stopping Login Service...
    [  OK  ] Stopped target Network.
             Stopping Network Service...
    [  OK  ] Removed slice system-serial\x2dgetty.slice.
             Stopping Permit User Sessions...
    [  OK  ] Removed slice system-getty.slice.
    [  OK  ] Stopped Remount Root and Kernel File Systems.
    [  OK  ] Stopped Login Service.
    [  OK  ] Stopped Network Service.
    [  OK  ] Stopped weston.service.
    [  OK  ] Stopped Permit User Sessions.
    [  OK  ] Stopped target Remote File Systems.
             Stopping rc.pvr.service...
             Stopping D-Bus System Message Bus...
    [  OK  ] Stopped Apply Kernel Variables.
    [  OK  ] Stopped D-Bus System Message Bus.
    [  OK  ] Stopped rc.pvr.service.
    [  OK  ] Stopped target Basic System.
    [  OK  ] Stopped target Slices.
    [  OK  ] Removed slice User and Session Slice.
             Unmounting Temporary Directory...
    [  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 Syslog Socket.
    [  OK  ] Closed D-Bus System Message Bus Socket.
    [  OK  ] Reached target Shutdown.
    [  204.758878] systemd-shutdown[1]: Sending SIGTERM to remaining processes...
    [  204.787804] systemd-journald[147]: Received SIGTERM from PID 1 (systemd-shutdow).
    [  204.798694] ------------[ cut here ]------------
    [  204.803342] WARNING: CPU: 1 PID: 729 at mm/page_alloc.c:6827 free_contig_range+0x98/0x9c()
    [  204.812054] 2025 pages are still in use!
    [  204.815993] Modules linked in: xhci_plat_hcd xhci_hcd usbcore rpmsg_proto ahci_platform dwc3 libahci_platform virtio_rpmsg_bus libahci udc_core libata extcon_usb_gpio dwc3_omap pvrsrvkm(O) c_can_platform c_can can_dev extcon omap_sham omap_aes_driver omap_rng scsi_mod rtc_omap rng_core omap_des omap_remoteproc remoteproc virtio virtio_ring sch_fq_codel [last unloaded: bc_example]
    [  204.850124] CPU: 1 PID: 729 Comm: weston Tainted: G           O    4.4.84-00032-g0f6b93d-dirty #2
    [  204.859031] Hardware name: Generic DRA74X (Flattened Device Tree)
    [  204.865146] Backtrace:
    [  204.867619] [<c00131d4>] (dump_backtrace) from [<c00133d0>] (show_stack+0x18/0x1c)
    [  204.875216]  r7:c00d939c r6:600b0013 r5:00000000 r4:c094d810
    [  204.880933] [<c00133b8>] (show_stack) from [<c02b21a8>] (dump_stack+0x8c/0xa0)
    [  204.888188] [<c02b211c>] (dump_stack) from [<c0035340>] (warn_slowpath_common+0x88/0xb8)
    [  204.896308]  r7:c00d939c r6:00001aab r5:00000009 r4:ec5d7bb8
    [  204.902020] [<c00352b8>] (warn_slowpath_common) from [<c00353a8>] (warn_slowpath_fmt+0x38/0x40)
    [  204.910751]  r8:c09ad880 r7:c09335d0 r6:000bc5e9 r5:000007e9 r4:c0822e84
    [  204.917517] [<c0035374>] (warn_slowpath_fmt) from [<c00d939c>] (free_contig_range+0x98/0x9c)
    [  204.925986]  r3:000007e9 r2:c0822e84
    [  204.929585]  r4:000bc5e9
    [  204.932138] [<c00d9304>] (free_contig_range) from [<c011dd30>] (cma_release+0x90/0xb0)
    [  204.940084]  r9:ef69a000 r8:ef26a010 r7:00000001 r6:eff05800 r5:c09af470 r4:000bbe00
    [  204.947901] [<c011dca0>] (cma_release) from [<c03ecbf8>] (dma_release_from_contiguous+0x38/0x40)
    [  204.956719]  r5:0086b800 r4:007e9000
    [  204.960325] [<c03ecbc0>] (dma_release_from_contiguous) from [<c001c8d8>] (__arm_dma_free+0x124/0x1fc)
    [  204.969584] [<c001c7b4>] (__arm_dma_free) from [<c001c9f8>] (arm_dma_free+0x20/0x28)
    [  204.977355]  r10:00000001 r9:c001c9d8 r8:bbe00000 r7:eff05800 r6:007e9000 r5:ef26a010
    [  204.985251]  r4:ee7b4000
    [  204.987803] [<c001c9d8>] (arm_dma_free) from [<c03ae6dc>] (v_gem_free_object+0x10c/0x144)
    [  204.996017] [<c03ae5d0>] (v_gem_free_object) from [<c038e4b0>] (drm_gem_object_free+0x38/0x50)
    [  205.004660]  r9:c038e78c r8:ee75ce40 r7:00000001 r6:ee822c00 r5:ee7b4000 r4:ee822c00
    [  205.012472] [<c038e478>] (drm_gem_object_free) from [<c038e658>] (drm_gem_object_handle_unreference_unlocked+0xf0/0x124)
    [  205.023384]  r5:ee822c34 r4:ee7b4000
    [  205.026987] [<c038e568>] (drm_gem_object_handle_unreference_unlocked) from [<c038e7e4>] (drm_gem_object_release_handle+0x58/0x70)
    [  205.038683]  r5:ee75ce40 r4:ee7b4000
    [  205.042288] [<c038e78c>] (drm_gem_object_release_handle) from [<c02b2c68>] (idr_for_each+0xac/0xe0)
    [  205.051367]  r7:00000001 r6:000000ff r5:ec5d7d28 r4:00000000
    [  205.057078] [<c02b2bbc>] (idr_for_each) from [<c038f554>] (drm_gem_release+0x24/0x30)
    [  205.064937]  r10:ee75cebc r9:ee822c34 r8:ee822cf8 r7:ee822cf4 r6:ee75cec0 r5:ee822c00
    [  205.072831]  r4:ee75ce60
    [  205.075380] [<c038f530>] (drm_gem_release) from [<c038e2a8>] (drm_release+0x3f0/0x4b4)
    [  205.083327]  r5:ee822c00 r4:ee75ce40
    [  205.086928] [<c038deb8>] (drm_release) from [<c01220e4>] (__fput+0x88/0x1d0)
    [  205.094003]  r10:ee75c848 r9:00000008 r8:eec435d8 r7:eeb80a10 r6:00000000 r5:ee9bcf78
    [  205.101899]  r4:ee75c840
    [  205.104447] [<c012205c>] (__fput) from [<c012228c>] (____fput+0x10/0x14)
    [  205.111173]  r10:ee661a04 r9:eebbfd40 r8:ed48ec7c r7:ee7a3c00 r6:ee7b4900 r5:c098181c
    [  205.119069]  r4:ee7a4060
    [  205.121618] [<c012227c>] (____fput) from [<c004e91c>] (task_work_run+0x98/0xcc)
    [  205.128957] [<c004e884>] (task_work_run) from [<c0037d60>] (do_exit+0x300/0x9b8)
    [  205.136380]  r7:ec5d7e40 r6:00000001 r5:ee7a4078 r4:ee7a3c00
    [  205.142093] [<c0037a60>] (do_exit) from [<c003849c>] (do_group_exit+0x48/0xc4)
    [  205.149341]  r7:ec5d7edc
    [  205.151892] [<c0038454>] (do_group_exit) from [<c0042214>] (get_signal+0x22c/0x5b0)
    [  205.159575]  r7:ec5d7edc r6:418004fc r5:ec5d6000 r4:08430000
    [  205.165288] [<c0041fe8>] (get_signal) from [<c0012928>] (do_signal+0xd0/0x3b4)
    [  205.172536]  r10:00000000 r9:ec5d6000 r8:fffffffc r7:b6d87916 r6:ec5d7ec8 r5:b6d87914
    [  205.180432]  r4:ec5d7fb0
    [  205.182982] [<c0012858>] (do_signal) from [<c0012dd4>] (do_work_pending+0xa8/0xc0)
    [  205.190579]  r10:00000000 r9:ec5d6000 r8:c000fc84 r7:000000fc r6:ec5d7fb0 r5:c000fc84
    [  205.198475]  r4:ec5d6000
    [  205.201025] [<c0012d2c>] (do_work_pending) from [<c000fb2c>] (slow_work_pending+0xc/0x20)
    [  205.209232]  r7:000000fc r6:00043608 r5:ffffffff r4:bee877d0
    [  205.215392] ---[ end trace bb1f77db84193301 ]---
    [  205.220465] ------------[ cut here ]------------
    [  205.225125] WARNING: CPU: 1 PID: 729 at mm/page_alloc.c:6827 free_contig_range+0x98/0x9c()
    [  205.233554] 2025 pages are still in use!
    [  205.237500] Modules linked in: xhci_plat_hcd xhci_hcd usbcore rpmsg_proto ahci_platform dwc3 libahci_platform virtio_rpmsg_bus libahci udc_core libata extcon_usb_gpio dwc3_omap pvrsrvkm(O) c_can_platform c_can can_dev extcon omap_sham omap_aes_driver omap_rng scsi_mod rtc_omap rng_core omap_des omap_remoteproc remoteproc virtio virtio_ring sch_fq_codel [last unloaded: bc_example]
    [  205.271498] CPU: 1 PID: 729 Comm: weston Tainted: G        W  O    4.4.84-00032-g0f6b93d-dirty #2
    [  205.280403] Hardware name: Generic DRA74X (Flattened Device Tree)
    [  205.286516] Backtrace:
    [  205.288979] [<c00131d4>] (dump_backtrace) from [<c00133d0>] (show_stack+0x18/0x1c)
    [  205.296575]  r7:c00d939c r6:600b0013 r5:00000000 r4:c094d810
    [  205.302283] [<c00133b8>] (show_stack) from [<c02b21a8>] (dump_stack+0x8c/0xa0)
    [  205.309533] [<c02b211c>] (dump_stack) from [<c0035340>] (warn_slowpath_common+0x88/0xb8)
    [  205.317651]  r7:c00d939c r6:00001aab r5:00000009 r4:ec5d7bb8
    [  205.323357] [<c00352b8>] (warn_slowpath_common) from [<c00353a8>] (warn_slowpath_fmt+0x38/0x40)
    [  205.332086]  r8:c09ad880 r7:c09335d0 r6:000bcde9 r5:000007e9 r4:c0822e84
    [  205.338846] [<c0035374>] (warn_slowpath_fmt) from [<c00d939c>] (free_contig_range+0x98/0x9c)
    [  205.347313]  r3:000007e9 r2:c0822e84
    [  205.350910]  r4:000bcde9
    [  205.353457] [<c00d9304>] (free_contig_range) from [<c011dd30>] (cma_release+0x90/0xb0)
    [  205.361402]  r9:ef69a000 r8:ef26a010 r7:00000001 r6:eff17800 r5:c09af470 r4:000bc600
    [  205.369210] [<c011dca0>] (cma_release) from [<c03ecbf8>] (dma_release_from_contiguous+0x38/0x40)
    [  205.378026]  r5:0087d800 r4:007e9000
    [  205.381628] [<c03ecbc0>] (dma_release_from_contiguous) from [<c001c8d8>] (__arm_dma_free+0x124/0x1fc)
    [  205.390884] [<c001c7b4>] (__arm_dma_free) from [<c001c9f8>] (arm_dma_free+0x20/0x28)
    [  205.398654]  r10:00000002 r9:c001c9d8 r8:bc600000 r7:eff17800 r6:007e9000 r5:ef26a010
    [  205.406544]  r4:ee7b40c0
    [  205.409090] [<c001c9d8>] (arm_dma_free) from [<c03ae6dc>] (v_gem_free_object+0x10c/0x144)
    [  205.417300] [<c03ae5d0>] (v_gem_free_object) from [<c038e4b0>] (drm_gem_object_free+0x38/0x50)
    [  205.425942]  r9:c038e78c r8:ee75ce40 r7:00000001 r6:ee822c00 r5:ee7b40c0 r4:ee822c00
    [  205.433750] [<c038e478>] (drm_gem_object_free) from [<c038e658>] (drm_gem_object_handle_unreference_unlocked+0xf0/0x124)
    [  205.444660]  r5:ee822c34 r4:ee7b40c0
    [  205.448258] [<c038e568>] (drm_gem_object_handle_unreference_unlocked) from [<c038e7e4>] (drm_gem_object_release_handle+0x58/0x70)
    [  205.459952]  r5:ee75ce40 r4:ee7b40c0
    [  205.463552] [<c038e78c>] (drm_gem_object_release_handle) from [<c02b2c68>] (idr_for_each+0xac/0xe0)
    [  205.472629]  r7:00000001 r6:000000ff r5:ec5d7d28 r4:00000000
    [  205.478333] [<c02b2bbc>] (idr_for_each) from [<c038f554>] (drm_gem_release+0x24/0x30)
    [  205.486190]  r10:ee75cebc r9:ee822c34 r8:ee822cf8 r7:ee822cf4 r6:ee75cec0 r5:ee822c00
    [  205.494078]  r4:ee75ce60
    [  205.496624] [<c038f530>] (drm_gem_release) from [<c038e2a8>] (drm_release+0x3f0/0x4b4)
    [  205.504568]  r5:ee822c00 r4:ee75ce40
    [  205.508168] [<c038deb8>] (drm_release) from [<c01220e4>] (__fput+0x88/0x1d0)
    [  205.515241]  r10:ee75c848 r9:00000008 r8:eec435d8 r7:eeb80a10 r6:00000000 r5:ee9bcf78
    [  205.523129]  r4:ee75c840
    [  205.525674] [<c012205c>] (__fput) from [<c012228c>] (____fput+0x10/0x14)
    [  205.532398]  r10:ee661a04 r9:eebbfd40 r8:ed48ec7c r7:ee7a3c00 r6:ee7b4900 r5:c098181c
    [  205.540285]  r4:ee7a4060
    [  205.542831] [<c012227c>] (____fput) from [<c004e91c>] (task_work_run+0x98/0xcc)
    [  205.550169] [<c004e884>] (task_work_run) from [<c0037d60>] (do_exit+0x300/0x9b8)
    [  205.557590]  r7:ec5d7e40 r6:00000001 r5:ee7a4078 r4:ee7a3c00
    [  205.563296] [<c0037a60>] (do_exit) from [<c003849c>] (do_group_exit+0x48/0xc4)
    [  205.570542]  r7:ec5d7edc
    [  205.573087] [<c0038454>] (do_group_exit) from [<c0042214>] (get_signal+0x22c/0x5b0)
    [  205.580771]  r7:ec5d7edc r6:418004fc r5:ec5d6000 r4:08430000
    [  205.586476] [<c0041fe8>] (get_signal) from [<c0012928>] (do_signal+0xd0/0x3b4)
    [  205.593723]  r10:00000000 r9:ec5d6000 r8:fffffffc r7:b6d87916 r6:ec5d7ec8 r5:b6d87914
    [  205.601613]  r4:ec5d7fb0
    [  205.604161] [<c0012858>] (do_signal) from [<c0012dd4>] (do_work_pending+0xa8/0xc0)
    [  205.611758]  r10:00000000 r9:ec5d6000 r8:c000fc84 r7:000000fc r6:ec5d7fb0 r5:c000fc84
    [  205.619646]  r4:ec5d6000
    [  205.622193] [<c0012d2c>] (do_work_pending) from [<c000fb2c>] (slow_work_pending+0xc/0x20)
    [  205.630398]  r7:000000fc r6:00043608 r5:ffffffff r4:bee877d0
    [  205.636133] ---[ end trace bb1f77db84193302 ]---
    [  205.641064] ------------[ cut here ]------------
    [  205.645704] WARNING: CPU: 1 PID: 729 at mm/page_alloc.c:6827 free_contig_range+0x98/0x9c()
    [  205.654010] 2025 pages are still in use!
    [  205.657949] Modules linked in: xhci_plat_hcd xhci_hcd usbcore rpmsg_proto ahci_platform dwc3 libahci_platform virtio_rpmsg_bus libahci udc_core libata extcon_usb_gpio dwc3_omap pvrsrvkm(O) c_can_platform c_can can_dev extcon omap_sham omap_aes_driver omap_rng scsi_mod rtc_omap rng_core omap_des omap_remoteproc remoteproc virtio virtio_ring sch_fq_codel [last unloaded: bc_example]
    [  205.691930] CPU: 1 PID: 729 Comm: weston Tainted: G        W  O    4.4.84-00032-g0f6b93d-dirty #2
    [  205.700835] Hardware name: Generic DRA74X (Flattened Device Tree)
    [  205.706948] Backtrace:
    [  205.709410] [<c00131d4>] (dump_backtrace) from [<c00133d0>] (show_stack+0x18/0x1c)
    [  205.717006]  r7:c00d939c r6:600b0013 r5:00000000 r4:c094d810
    [  205.722712] [<c00133b8>] (show_stack) from [<c02b21a8>] (dump_stack+0x8c/0xa0)
    [  205.729961] [<c02b211c>] (dump_stack) from [<c0035340>] (warn_slowpath_common+0x88/0xb8)
    [  205.738080]  r7:c00d939c r6:00001aab r5:00000009 r4:ec5d7bb8
    [  205.743785] [<c00352b8>] (warn_slowpath_common) from [<c00353a8>] (warn_slowpath_fmt+0x38/0x40)
    [  205.752516]  r8:c09ad880 r7:c09335d0 r6:000bd5e9 r5:000007e9 r4:c0822e84
    [  205.759274] [<c0035374>] (warn_slowpath_fmt) from [<c00d939c>] (free_contig_range+0x98/0x9c)
    [  205.767742]  r3:000007e9 r2:c0822e84
    [  205.771337]  r4:000bd5e9
    [  205.773887] [<c00d9304>] (free_contig_range) from [<c011dd30>] (cma_release+0x90/0xb0)
    [  205.781832]  r9:ef69a000 r8:ef26a010 r7:00000001 r6:eff29800 r5:c09af470 r4:000bce00
    [  205.789639] [<c011dca0>] (cma_release) from [<c03ecbf8>] (dma_release_from_contiguous+0x38/0x40)
    [  205.798456]  r5:0088f800 r4:007e9000
    [  205.802057] [<c03ecbc0>] (dma_release_from_contiguous) from [<c001c8d8>] (__arm_dma_free+0x124/0x1fc)
    [  205.811313] [<c001c7b4>] (__arm_dma_free) from [<c001c9f8>] (arm_dma_free+0x20/0x28)
    [  205.819083]  r10:00000003 r9:c001c9d8 r8:bce00000 r7:eff29800 r6:007e9000 r5:ef26a010
    [  205.826972]  r4:ee7b4a80
    [  205.829522] [<c001c9d8>] (arm_dma_free) from [<c03ae6dc>] (v_gem_free_object+0x10c/0x144)
    [  205.837733] [<c03ae5d0>] (v_gem_free_object) from [<c038e4b0>] (drm_gem_object_free+0x38/0x50)
    [  205.846374]  r9:c038e78c r8:ee75ce40 r7:00000001 r6:ee822c00 r5:ee7b4a80 r4:ee822c00
    [  205.854178] [<c038e478>] (drm_gem_object_free) from [<c038e658>] (drm_gem_object_handle_unreference_unlocked+0xf0/0x124)
    [  205.865088]  r5:ee822c34 r4:ee7b4a80
    [  205.868687] [<c038e568>] (drm_gem_object_handle_unreference_unlocked) from [<c038e7e4>] (drm_gem_object_release_handle+0x58/0x70)
    [  205.880381]  r5:ee75ce40 r4:ee7b4a80
    [  205.883982] [<c038e78c>] (drm_gem_object_release_handle) from [<c02b2c68>] (idr_for_each+0xac/0xe0)
    [  205.893061]  r7:00000001 r6:000000ff r5:ec5d7d28 r4:00000000
    [  205.898766] [<c02b2bbc>] (idr_for_each) from [<c038f554>] (drm_gem_release+0x24/0x30)
    [  205.906623]  r10:ee75cebc r9:ee822c34 r8:ee822cf8 r7:ee822cf4 r6:ee75cec0 r5:ee822c00
    [  205.914513]  r4:ee75ce60
    [  205.917058] [<c038f530>] (drm_gem_release) from [<c038e2a8>] (drm_release+0x3f0/0x4b4)
    [  205.925002]  r5:ee822c00 r4:ee75ce40
    [  205.928600] [<c038deb8>] (drm_release) from [<c01220e4>] (__fput+0x88/0x1d0)
    [  205.935673]  r10:ee75c848 r9:00000008 r8:eec435d8 r7:eeb80a10 r6:00000000 r5:ee9bcf78
    [  205.943562]  r4:ee75c840
    [  205.946107] [<c012205c>] (__fput) from [<c012228c>] (____fput+0x10/0x14)
    [  205.952831]  r10:ee661a04 r9:eebbfd40 r8:ed48ec7c r7:ee7a3c00 r6:ee7b4900 r5:c098181c
    [  205.960720]  r4:ee7a4060
    [  205.963265] [<c012227c>] (____fput) from [<c004e91c>] (task_work_run+0x98/0xcc)
    [  205.970602] [<c004e884>] (task_work_run) from [<c0037d60>] (do_exit+0x300/0x9b8)
    [  205.978023]  r7:ec5d7e40 r6:00000001 r5:ee7a4078 r4:ee7a3c00
    [  205.983727] [<c0037a60>] (do_exit) from [<c003849c>] (do_group_exit+0x48/0xc4)
    [  205.990974]  r7:ec5d7edc
    [  205.993520] [<c0038454>] (do_group_exit) from [<c0042214>] (get_signal+0x22c/0x5b0)
    [  206.001203]  r7:ec5d7edc r6:418004fc r5:ec5d6000 r4:08430000
    [  206.006910] [<c0041fe8>] (get_signal) from [<c0012928>] (do_signal+0xd0/0x3b4)
    [  206.014157]  r10:00000000 r9:ec5d6000 r8:fffffffc r7:b6d87916 r6:ec5d7ec8 r5:b6d87914
    [  206.022048]  r4:ec5d7fb0
    [  206.024595] [<c0012858>] (do_signal) from [<c0012dd4>] (do_work_pending+0xa8/0xc0)
    [  206.032192]  r10:00000000 r9:ec5d6000 r8:c000fc84 r7:000000fc r6:ec5d7fb0 r5:c000fc84
    [  206.040081]  r4:ec5d6000
    [  206.042629] [<c0012d2c>] (do_work_pending) from [<c000fb2c>] (slow_work_pending+0xc/0x20)
    [  206.050835]  r7:000000fc r6:00043608 r5:ffffffff r4:bee877d0
    [  206.056784] ---[ end trace bb1f77db84193303 ]---
    [  206.123673] systemd-shutdown[1]: Sending SIGKILL to remaining processes...
    [  206.142707] systemd-shutdown[1]: Unmounting file systems.
    [  206.148669] systemd-shutdown[1]: Remounting '/run/user/0' read-only with options 'size=59932k,mode=700'.
    [  206.158260] systemd-shutdown[1]: Unmounting /run/user/0.
    [  206.187441] systemd-shutdown[1]: Remounting '/var/volatile' read-only with options 'size=51200k'.
    [  206.196377] systemd-shutdown[1]: Unmounting /var/volatile.
    [  206.227493] systemd-shutdown[1]: Remounting '/media/ram' read-only with options 'size=16384k'.
    [  206.236166] systemd-shutdown[1]: Unmounting /media/ram.
    [  206.267414] systemd-shutdown[1]: Remounting '/tmp' read-only with options ''.
    [  206.274603] systemd-shutdown[1]: Unmounting /tmp.
    [  206.307482] systemd-shutdown[1]: Remounting '/' read-only with options 'data=ordered'.
    [  206.471145] EXT4-fs (mmcblk1p2): re-mounted. Opts: data=ordered
    [  206.480180] systemd-shutdown[1]: Remounting '/' read-only with options 'data=ordered'.
    [  206.488216] EXT4-fs (mmcblk1p2): re-mounted. Opts: data=ordered
    [  206.494177] systemd-shutdown[1]: Remounting '/' read-only with options 'data=ordered'.
    [  206.502205] EXT4-fs (mmcblk1p2): re-mounted. Opts: data=ordered
    [  206.508230] systemd-shutdown[1]: All filesystems unmounted.
    [  206.513829] systemd-shutdown[1]: Deactivating swaps.
    [  206.518980] systemd-shutdown[1]: All swaps deactivated.
    [  206.524233] systemd-shutdown[1]: Detaching loop devices.
    [  206.536507] systemd-shutdown[1]: All loop devices detached.
    [  206.542162] systemd-shutdown[1]: Detaching DM devices.
    [  206.547676] systemd-shutdown[1]: All DM devices detached.
    [  206.569995] systemd-shutdown[1]: Rebooting.
    [  206.580185] reboot: Restarting system
    
    

  • Hi Sam,

    The log shows the following sequence during startup. The rc.pvr (SGX) is started. The Weston has a dependency on OpenGLES. It is started after rc.pvr.

    [ OK ] Started rc.pvr.service.[ 11.708379] hub 2-0:1.0: 1 port detected

    Starting weston.service...
    [ OK ] Started Getty on tty1.
    [ OK ] Started Serial Getty on ttyS0.
    [ OK ] Reached target Network.
    Starting Network Name Resolution...
    [ OK ] Started weston.service.

    On the teardown path, the Weston service needs to be shutdown first. I see that Weston is being stopped by systemd followed by rc.pvr. Hence, the sequencing is correct. However, the logs show the following error triggered by Weston which suggests that Weston shutdown is not successful.

    [ 205.271498] CPU: 1 PID: 729 Comm: weston Tainted: G W O 4.4.84-00032-g0f6b93d-dirty #2

    Can you please try the following on target and share the results? This should be done after system initialization is completed.

    /etc/init.d/weston stop
    /etc/init.d/rc.pvr stop

    Regards,
    Anand
  • Hi  Anand,

    Here the test result of the commands (shutdown Weston service).

    root@dra7xx-evm:~# /etc/init.d/weston stop
    Stopping Weston
    Terminated
    root@dra7xx-evm:~# /etc/init.d/rc.pvr stop
    rmmod: ERROR: Module pvrsrvkm is in use
    Couldn't unload modules

    BTW, I observed that the special phenomenon about Weston service:

    #1)   The process of Weston (PID=701) 

    701 root     55092 S    weston --idle-time=0

    root@dra7xx-evm:~# kill 701

    root@dra7xx-evm:~# /etc/init.d/rc.pvr stop
    Unloaded PowerVR consumer services.

             but got the same phenomenon after executed reboot command.

    #2) run the Weston commands:

    root@dra7xx-evm:~# weston
    Date: 2018-09-17 UTC
    [09:37:15.528] weston 1.9.0
                   http://wayland.freedesktop.org
                   Bug reports to: bugs.freedesktop.org/enter_bug.cgi
                   Build: 1.8.93-2-gb05cdb8 configure.ac: bump to version 1.9.0 for the official release (2015-09-21 18:11:26 -0700)
    [09:37:15.528] OS: Linux, 4.4.84-00032-g0f6b93d-dirty, #2 SMP PREEMPT Wed Feb 27 21:47:36 CST 2019, armv7l
    [09:37:15.528] Using config file '/etc//weston.ini'
    [09:37:15.528] Loading module '/usr/lib/weston/wayland-backend.so'
    [09:37:15.529] Failed to load module: /usr/lib/weston/wayland-backend.so: cannot open shared object file: No such file or directory

      I couldn't found the module file of  "wayland-backend.so" in the root filesystem.

    BR,

    Sam Hsieh

  • Hi,

    I assume you are using VisionSDK Linux 3.5 on an TDA2xx SoC. Is this correct? Which end application is this targeted for? Head Unit, Cluster, Surround View, Front Camera, etc?

    I am asking the question because your setup has Weston running. An ADAS application is analytics based and does not typically use Weston. The display, compositor, etc are usually a part of Infotainment applications like head unit.

    We also have different SDKs targeted for Infotainment vs ADAS markets. VisionSDK is used for ADAS applications.

    Regards,
    Anand
  • Hi Anand,

    Yes, We used VisionSDK v3.5 on TDA2xx SOC.

    We aimed at the 3D surround view application (ADAS),  used 4 CHs AVB camera input via ethernet port, then output AVBTP video stream (H.264) to remote ECU after TDA2xx GeoAlign & Synthesis,

    I tried to remove initiate Weston running by the command of "update-rc.d -f Weston remove", it got the same phenomenon after reboot.

    BTW, I also got the same phenomenon when run "reset" at u-boot command prompt.

    => reset
    resetting …

    Could you let us know how trigger system/CPU boot up again ? thanks.

    BR,

    Sam Hsieh  

  • Hi Sam,

    Thanks for the details.

    I believe we have rootcaused the issue of PVR not being unloaded during reboot. The Weston service is shutdown by systemd. But, in reality, the Weston process is still running in background. Due to this, PVR driver sees that pvrsrvkm module is still in use. The rc.pvr shutdown fails becuase of that. If you manually kill weston process before reboot command, the PVR errors are not seen.

    Having said that, I think we may have missed the problem statement. We have been going after the PVR unable to load error. However, it looks like your main problem is that board is not rebooting. Is the assessment correct?

    Just so that we are on the same page - please confirm the following:
    1. You had removed weston with update-rc.d. When you issued reboot, I assume unload of PVR services was successful. When you mentioned same phenomenon, what do you mean? That the board does not reboot correctly?
    2. When you trigger a reset from u-boot prompt, the board does not reboot. At this point, drivers are not loaded and filesystem is not initialized. Even then, the reset does not trigger CPU boot up.

    Regaards,
    Anand
  • Hi Anand,

    I tested your mentioned the issue of PVR unload before execute reboot commend.  And the detailed log as the attached.

    Yes, my main problem is the TDA2XX EVM board could not rebooting correctly from shell command, it need manually power reset then system reboot.

    Due to I can't make sure whether if  the A15 be triggered reset & boot up,  try to simulate like power reset.

    PS: Current TDA2xx boot from SD card.

    BR,

    Sam Hsieh

    reboot_fail_0312.log 

  • Hi Anand,

    Could you help update why the board could not reboot correctly after issue reboot command? Thanks.

    BR,
    Sam Hsieh
  • Hi Sam,

    I mainly look at Graphics portion of TDA2x / J6. The baseport team is looking into the reboot issue and will respond.

    Regards,
    Anand
  • Hi Anand,

    Thank you for your feedback.

    BTW, TDA2 board could not reboot correctly even though press the Warn reset (CPU reset button on EVM).

    It could reboot only press the Cold reset (Power reset button of EVM).

    We are looking forward to receive your Baseport team feedback. 

    BR,

    Sam Hsieh

  • Hi
    Can you check on the EVM revision that you are using . Some of the earlier samples had an errata related to handling of warm reset -please refer to the official errata document for further details

    Additionally we had verified that we are able to successfully able to reboot from SW with the SDK binaries.
    Can you review any additional changes that you may have done - init sequence, startup scripts etc
  • Hi Sriram,

    Thank you for your feedback.

    Our board as the following:

    CPU  : DRA752-GP ES2.0
    Model: TI DRA742
    Board: DRA74x EVM REV (H)
    DRAM:  1.5 GiB
    MMC:   OMAP SD/MMC: 0, OMAP SD/MMC: 1

    B, I observed that the http://www.ti.com/lit/er/sprz397i/sprz397i.pdf

    i729: DDR Access Hang after Warm Reset

    It described that the workaround solution to use external circuitry to apply reset on DDR RESET# pin when warm reset assert.

    Does it mean that the schematics?

    BR,

    Sam Hsieh

  • Hi

    On some of the earlier EVM revisions, the workaround employed was to convert the Warm Reset request into PORz at the PMIC side.

    For the EVM revision that you are using, believe the issue should have been addressed already.

    As a sanity check did you verify with the default SDK pre-built images and check if the reset works on your setup

  • Hi Sriram,

    Thank you for your suggestion.

    But I don't find out the pre-built Linux image (It stored the BIOS pre-built image of VisionSDK v3.6) on site

    http://software-dl.ti.com/processor-sdk-vision/esd/TDAx/vision-sdk/latest/index_FDS.html .

    Could you help let me know where could download the pre-built image ? Thanks.

    BR,

    Sam Hsieh

  • Sam

    The package includes pre-built binary for kernel, bootloader and the target filesystem.

    For the M4, DSP firmware you will need to build the image following instructions from the Vision SDK Linux Userguide

  • Hi Srirama,

    I download the latest pre-built image (VISION SDK Linux File System) from the   http://software-dl.ti.com/processor-sdk-vision/esd/TDAx/vision-sdk/latest/index_FDS.html

    And copy the following files into $INSTALL_DIR/vision_sdk/binaries/apps/tda2xx_evm_linux_all/hlos/linux/boot folder

    • tisdk-rootfs-image-dra7xx-evm.tar.xz (vsdk v3.6 root filesystem )
    • MLO
    • u-boot.img
    • uenv.txt

     

    Then make a bootable SD by the following command:

     

                   cd $INSTALL_DIR/vision_sdk/build     (Important! must be in this directory)

                   ./hlos/scripts/linux/mksdboot.sh --device /dev/sde --appname apps --makeconfig tda2xx_evm_linux_all

    And check this SD can boot the EVM, but it still can't trigger EVM boot up successfully after run "reboot command.

    The reboot log message & pre-build image as the attached.

    Could you help validate whether if the TDA2X EVM need to be revised ? Thanks.

    regards,

    Sam Hsieh

     

    U-Boot SPL 2016.05-00010-g9551b3d (Jul 18 2018 - 13:28:14)
    DRA752-GP ES2.0
    no pinctrl for hs200_1_8v
    no pinctrl for ddr_1_8v
    *** Warning - MMC init failed, using default environment
    
    Trying to boot from MMC1
    reading dra7-ipu2-fw.lzop
    spl_load_file_fat: error reading file dra7-ipu2-fw.lzop, err - -1
    spl: error reading image dra7-ipu2-fw.lzop, err - -1
    Error loading remotecore IPU2!,Continuing with boot ...
    reading dra7-dsp1-fw.lzop
    spl_load_file_fat: error reading file dra7-dsp1-fw.lzop, err - -1
    spl: error reading image dra7-dsp1-fw.lzop, err - -1
    Error loading remotecore DSP1!,Continuing with boot ...
    reading dra7-dsp2-fw.lzop
    spl_load_file_fat: error reading file dra7-dsp2-fw.lzop, err - -1
    spl: error reading image dra7-dsp2-fw.lzop, err - -1
    Error loading remotecore DSP2!,Continuing with boot ...
    reading dra7-ipu1-fw.lzop
    spl_load_file_fat: error reading file dra7-ipu1-fw.lzop, err - -1
    spl: error reading image dra7-ipu1-fw.lzop, err - -1
    Error loading remotecore IPU1!,Continuing with boot ...
    *** Warning - MMC init failed, using default environment
    
    reading u-boot.img
    reading u-boot.img
    reading u-boot.img
    reading u-boot.img
    
    
    U-Boot 2016.05-00010-g9551b3d (Jul 18 2018 - 13:28:14 +0800)
    
    CPU  : DRA752-GP ES2.0
    Model: TI DRA742
    Board: DRA74x EVM REV
    DRAM:  1.5 GiB
    MMC:   OMAP SD/MMC: 0, OMAP SD/MMC: 1
    ** First descriptor is NOT a primary desc on 1:1 **
    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:199/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
    Hit any key to stop autoboot:  0
    ## Error: "board_findfdt" not defined
    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
    165 bytes read in 3 ms (53.7 KiB/s)
    Loaded env from uEnv.txt
    Importing environment from mmc0 ...
    switch to partitions #0, OK
    mmc0 is current device
    SD/MMC found on device 0
    3553296 bytes read in 265 ms (12.8 MiB/s)
    ** File not found /boot/dra7-evm-infoadas.dtb **
    Booting from mmc0 ...
    Kernel image @ 0x82000000 [ 0x000000 - 0x363810 ]
    ERROR: Did not find a cmdline Flattened Device Tree
    Could not find a valid device tree
    ** First descriptor is NOT a primary desc on 1:1 **
    switch to partitions #0, OK
    mmc1(part 0) is current device
    ** First descriptor is NOT a primary desc on 1:1 **
    mmc - MMC sub system
    
    Usage:
    mmc info - display info of the current MMC device
    mmc read addr blk# cnt
    mmc write addr blk# cnt
    mmc erase blk# cnt
    mmc rescan
    mmc part - lists available partition on current mmc device
    mmc dev [dev] [part] - show or set current mmc device [partition]
    mmc list - lists available devices
    mmc hwpartition [args...] - does hardware partitioning
      arguments (sizes in 512-byte blocks):
        [user [enh start cnt] [wrrel {on|off}]] - sets user data area attributes
        [gp1|gp2|gp3|gp4 cnt [enh] [wrrel {on|off}]] - general purpose partition
        [check|set|complete] - mode, complete set partitioning completed
      WARNING: Partitioning is a write-once setting once it is set to complete.
      Power cycling is required to initialize partitions after set to complete.
    mmc bootbus dev boot_bus_width reset_boot_bus_width boot_mode
     - Set the BOOT_BUS_WIDTH field of the specified device
    mmc bootpart-resize <dev> <boot part size MB> <RPMB part size MB>
     - Change sizes of boot and RPMB partitions of specified device
    mmc partconf dev boot_ack boot_partition partition_access
     - Change the bits of the PARTITION_CONFIG field of the specified device
    mmc rst-function dev value
     - Change the RST_n_FUNCTION field of the specified device
       WARNING: This is a write-once field and 0 / 1 / 2 are the only valid values.
    mmc setdsr <value> - set DSR register value
    
    mmc - MMC sub system
    
    Usage:
    mmc info - display info of the current MMC device
    mmc read addr blk# cnt
    mmc write addr blk# cnt
    mmc erase blk# cnt
    mmc rescan
    mmc part - lists available partition on current mmc device
    mmc dev [dev] [part] - show or set current mmc device [partition]
    mmc list - lists available devices
    mmc hwpartition [args...] - does hardware partitioning
      arguments (sizes in 512-byte blocks):
        [user [enh start cnt] [wrrel {on|off}]] - sets user data area attributes
        [gp1|gp2|gp3|gp4 cnt [enh] [wrrel {on|off}]] - general purpose partition
        [check|set|complete] - mode, complete set partitioning completed
      WARNING: Partitioning is a write-once setting once it is set to complete.
      Power cycling is required to initialize partitions after set to complete.
    mmc bootbus dev boot_bus_width reset_boot_bus_width boot_mode
     - Set the BOOT_BUS_WIDTH field of the specified device
    mmc bootpart-resize <dev> <boot part size MB> <RPMB part size MB>
     - Change sizes of boot and RPMB partitions of specified device
    mmc partconf dev boot_ack boot_partition partition_access
     - Change the bits of the PARTITION_CONFIG field of the specified device
    mmc rst-function dev value
     - Change the RST_n_FUNCTION field of the specified device
       WARNING: This is a write-once field and 0 / 1 / 2 are the only valid values.
    mmc setdsr <value> - set DSR register value
    
    Booting from eMMC ...
    Wrong Image Format for bootm command
    ERROR: can't get kernel image!
    => boot
    ## Error: "board_findfdt" not defined
    ** First descriptor is NOT a primary desc on 1:1 **
    switch to partitions #0, OK
    mmc1(part 0) is current device
    ** First descriptor is NOT a primary desc on 1:1 **
    SD/MMC found on device 1
    ** Unrecognized filesystem type **
    ** Unrecognized filesystem type **
    ** First descriptor is NOT a primary desc on 1:1 **
    switch to partitions #0, OK
    mmc1(part 0) is current device
    ** First descriptor is NOT a primary desc on 1:1 **
    SD/MMC found on device 1
    3553296 bytes read in 264 ms (12.8 MiB/s)
    108307 bytes read in 51 ms (2 MiB/s)
    Booting from mmc1 ...
    Kernel image @ 0x82000000 [ 0x000000 - 0x363810 ]
    ## Flattened Device Tree blob at 88000000
       Booting using the fdt blob at 0x88000000
       Loading Device Tree to 8ffe2000, end 8ffff712 ... OK
    Using machid 0xfe6 from environment
    
    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.84-g742f84423d (tiiappadmin@swubn03) (gcc version 5.3.1 20160113 (Linaro GCC 5.3-2016.02) ) #1 SMP PREEMPT Wed Jan 2 18:58:14 IST 2019
    [    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 DRA742
    [    0.000000] Reserved memory: created CMA memory pool at 0x0000000095800000, size 56 MiB
    [    0.000000] Reserved memory: initialized node ipu2_cma@95800000, compatible id shared-dma-pool
    [    0.000000] Reserved memory: created CMA memory pool at 0x0000000099000000, size 64 MiB
    [    0.000000] Reserved memory: initialized node dsp1_cma@99000000, compatible id shared-dma-pool
    [    0.000000] Reserved memory: created CMA memory pool at 0x000000009d000000, size 32 MiB
    [    0.000000] Reserved memory: initialized node ipu1_cma@9d000000, compatible id shared-dma-pool
    [    0.000000] Reserved memory: created CMA memory pool at 0x000000009f000000, size 8 MiB
    [    0.000000] Reserved memory: initialized node dsp2_cma@9f000000, compatible id shared-dma-pool
    [    0.000000] cma: Reserved 24 MiB at 0x00000000be000000
    [    0.000000] Forcing write-allocate cache policy for SMP
    [    0.000000] Memory policy: Data cache writealloc
    [    0.000000] OMAP4: Map 0x00000000bfd00000 to fe600000 for dram barrier
    [    0.000000] DRA752 ES2.0
    [    0.000000] PERCPU: Embedded 11 pages/cpu @ef631000 s14912 r8192 d21952 u45056
    [    0.000000] Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 258368
    [    0.000000] Kernel command line: console=ttyO0,115200n8 vram=16M root=PARTUUID=24f460fe-02 rw rootwait ip=none mem=1024M
    [    0.000000] PID hash table entries: 4096 (order: 2, 16384 bytes)
    [    0.000000] Dentry cache hash table entries: 131072 (order: 7, 524288 bytes)
    [    0.000000] Inode-cache hash table entries: 65536 (order: 6, 262144 bytes)
    [    0.000000] Memory: 831020K/1040384K available (6615K kernel code, 319K rwdata, 2456K rodata, 340K init, 290K bss, 20948K reserved, 188416K cma-reserved, 233472K highmem)
    [    0.000000] Virtual kernel memory layout:
    [    0.000000]     vector  : 0xffff0000 - 0xffff1000   (   4 kB)
    [    0.000000]     fixmap  : 0xffc00000 - 0xfff00000   (3072 kB)
    [    0.000000]     vmalloc : 0xf0800000 - 0xff800000   ( 240 MB)
    [    0.000000]     lowmem  : 0xc0000000 - 0xf0000000   ( 768 MB)
    [    0.000000]     pkmap   : 0xbfe00000 - 0xc0000000   (   2 MB)
    [    0.000000]     modules : 0xbf000000 - 0xbfe00000   (  14 MB)
    [    0.000000]       .text : 0xc0008000 - 0xc08e402c   (9073 kB)
    [    0.000000]       .init : 0xc08e5000 - 0xc093a000   ( 340 kB)
    [    0.000000]       .data : 0xc093a000 - 0xc0989ee0   ( 320 kB)
    [    0.000000]        .bss : 0xc098b000 - 0xc09d3800   ( 290 kB)
    [    0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=2, 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] ti_dt_clocks_register: failed to lookup clock node gmac_gmii_ref_clk_div
    [    0.000000] OMAP clockevent source: timer1 at 32786 Hz
    [    0.000000] Architected cp15 timer(s) running at 6.14MHz (phys).
    [    0.000000] clocksource: arch_sys_counter: mask: 0xffffffffffffff max_cycles: 0x16af5adb9, max_idle_ns: 440795202250 ns
    [    0.000005] sched_clock: 56 bits at 6MHz, resolution 162ns, wraps every 4398046511023ns
    [    0.000016] Switching to timer-based delay loop, resolution 162ns
    [    0.000337] clocksource: 32k_counter: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 58327039986419 ns
    [    0.000345] OMAP clocksource: 32k_counter at 32768 Hz
    [    0.000792] Console: colour dummy device 80x30
    [    0.000807] WARNING: Your 'console=ttyO0' has been replaced by 'ttyS0'
    [    0.000813] This ensures that you still see kernel messages. Please
    [    0.000818] update your kernel commandline.
    [    0.000831] Calibrating delay loop (skipped), value calculated using timer frequency.. 12.29 BogoMIPS (lpj=61475)
    [    0.000845] pid_max: default: 32768 minimum: 301
    [    0.000944] Mount-cache hash table entries: 2048 (order: 1, 8192 bytes)
    [    0.000955] Mountpoint-cache hash table entries: 2048 (order: 1, 8192 bytes)
    [    0.001503] Initializing cgroup subsys io
    [    0.001520] Initializing cgroup subsys memory
    [    0.001545] Initializing cgroup subsys devices
    [    0.001557] Initializing cgroup subsys freezer
    [    0.001568] Initializing cgroup subsys perf_event
    [    0.001579] Initializing cgroup subsys pids
    [    0.001606] CPU: Testing write buffer coherency: ok
    [    0.001809] /cpus/cpu@0 missing clock-frequency property
    [    0.001825] /cpus/cpu@1 missing clock-frequency property
    [    0.001836] CPU0: thread -1, cpu 0, socket 0, mpidr 80000000
    [    0.001872] Setting up static identity map for 0x80008380 - 0x800083e0
    [    0.080062] CPU1: thread -1, cpu 1, socket 0, mpidr 80000001
    [    0.080130] Brought up 2 CPUs
    [    0.080143] SMP: Total of 2 processors activated (24.59 BogoMIPS).
    [    0.080149] CPU: All CPU(s) started in HYP mode.
    [    0.080155] CPU: Virtualization extensions available.
    [    0.080535] devtmpfs: initialized
    [    0.109464] VFP support v0.3: implementor 41 architecture 4 part 30 variant f rev 0
    [    0.110448] omap_hwmod: l3_main_2 using broken dt data from ocp
    [    0.316249] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
    [    0.316270] futex hash table entries: 512 (order: 3, 32768 bytes)
    [    0.319893] pinctrl core: initialized pinctrl subsystem
    [    0.320799] NET: Registered protocol family 16
    [    0.321728] DMA: preallocated 256 KiB pool for atomic coherent allocations
    [    0.350229] cpuidle: using governor ladder
    [    0.380254] cpuidle: using governor menu
    [    0.389044] OMAP GPIO hardware version 0.1
    [    0.393224] GPIO line 161 (radio_rst) hogged as output/low
    [    0.395605] irq: no irq domain found for /ocp/l4@4a000000/scm@2000/pinmux@1400 !
    [    0.413218] omap-gpmc 50000000.gpmc: GPMC revision 6.0
    [    0.413232] gpmc_mem_init: disabling cs 0 mapped at 0x0-0x1000000
    [    0.425264] hw-breakpoint: found 5 (+1 reserved) breakpoint and 4 watchpoint registers.
    [    0.425274] hw-breakpoint: maximum watchpoint size is 8 bytes.
    [    0.425741] omap4_sram_init:Unable to allocate sram needed to handle errata I688
    [    0.425750] omap4_sram_init:Unable to get sram pool needed to handle errata I688
    [    0.426336] OMAP DMA hardware revision 0.0
    [    0.471651] omap-dma-engine 4a056000.dma-controller: OMAP DMA engine driver (LinkedList1/2/3 supported)
    [    0.472879] edma 43300000.edma: memcpy is disabled
    [    0.477634] edma 43300000.edma: TI EDMA DMA engine driver
    [    0.482235] omap-iommu 40d01000.mmu: 40d01000.mmu registered
    [    0.482413] omap-iommu 40d02000.mmu: 40d02000.mmu registered
    [    0.482571] omap-iommu 58882000.mmu: 58882000.mmu registered
    [    0.482727] omap-iommu 55082000.mmu: 55082000.mmu registered
    [    0.483026] omap-iommu 41501000.mmu: 41501000.mmu registered
    [    0.483218] omap-iommu 41502000.mmu: 41502000.mmu registered
    [    0.486455] palmas 0-0058: IRQ missing: skipping irq request
    [    0.500745] palmas 0-0058: Muxing GPIO 2e, PWM 0, LED 0
    [    0.573062] pcf857x 0-0020: probed
    [    0.573638] pcf857x 0-0021: probed
    [    0.573791] omap_i2c 48070000.i2c: bus 0 rev0.12 at 400 kHz
    [    0.590784] GPIO line 463 (vin6_sel_s0) hogged as output/low
    [    0.590882] pcf857x 1-0026: probed
    [    0.591476] omap_i2c 48072000.i2c: bus 1 rev0.12 at 400 kHz
    [    0.591853] omap_i2c 48060000.i2c: bus 2 rev0.12 at 400 kHz
    [    0.610650] pcf857x: probe of 3-0021 failed with error -121
    [    0.610688] omap_i2c 4807a000.i2c: bus 3 rev0.12 at 400 kHz
    [    0.610909] media: Linux media interface: v0.10
    [    0.610959] Linux video capture interface: v2.00
    [    0.610999] pps_core: LinuxPPS API ver. 1 registered
    [    0.611006] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
    [    0.611032] PTP clock support registered
    [    0.611077] EDAC MC: Ver: 3.0.0
    [    0.611855] omap-mailbox 48840000.mailbox: omap mailbox rev 0x400
    [    0.612150] omap-mailbox 48842000.mailbox: omap mailbox rev 0x400
    [    0.612519] Advanced Linux Sound Architecture Driver Initialized.
    [    0.613354] clocksource: Switched to clocksource arch_sys_counter
    [    0.623751] NET: Registered protocol family 2
    [    0.624247] TCP established hash table entries: 8192 (order: 3, 32768 bytes)
    [    0.624311] TCP bind hash table entries: 8192 (order: 4, 65536 bytes)
    [    0.624436] TCP: Hash tables configured (established 8192 bind 8192)
    [    0.624485] UDP hash table entries: 512 (order: 2, 16384 bytes)
    [    0.624516] UDP-Lite hash table entries: 512 (order: 2, 16384 bytes)
    [    0.624722] NET: Registered protocol family 1
    [    0.624967] RPC: Registered named UNIX socket transport module.
    [    0.624975] RPC: Registered udp transport module.
    [    0.624981] RPC: Registered tcp transport module.
    [    0.624988] RPC: Registered tcp NFSv4.1 backchannel transport module.
    [    0.626019] hw perfevents: enabled with armv7_cortex_a15 PMU driver, 7 counters available
    [    0.636121] squashfs: version 4.0 (2009/01/31) Phillip Lougher
    [    0.636771] NFS: Registering the id_resolver key type
    [    0.636797] Key type id_resolver registered
    [    0.636804] Key type id_legacy registered
    [    0.636877] ntfs: driver 2.1.32 [Flags: R/O].
    [    0.638171] bounce: pool size: 64 pages
    [    0.638325] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 247)
    [    0.638339] io scheduler noop registered
    [    0.638350] io scheduler deadline registered
    [    0.638383] io scheduler cfq registered (default)
    [    0.643315] pinctrl-single 4a003400.pinmux: 282 pins at pa fc003400 size 1128
    [    0.646633] PCI host bridge /ocp/axi@0/pcie_rc@51000000 ranges:
    [    0.646646]   No bus range found for /ocp/axi@0/pcie_rc@51000000, using [bus 00-ff]
    [    0.646679]    IO 0x20003000..0x20012fff -> 0x00000000
    [    0.646699]   MEM 0x20013000..0x2fffffff -> 0x20013000
    [    0.676851] dra7-pcie 51000000.pcie_rc: link is not up
    [    0.677016] dra7-pcie 51000000.pcie_rc: PCI host bridge to bus 0000:00
    [    0.677029] pci_bus 0000:00: root bus resource [bus 00-ff]
    [    0.677040] pci_bus 0000:00: root bus resource [io  0x0000-0xffff]
    [    0.677050] pci_bus 0000:00: root bus resource [mem 0x20013000-0x2fffffff]
    [    0.677455] PCI: bus0: Fast back to back transfers disabled
    [    0.677578] PCI: bus1: Fast back to back transfers enabled
    [    0.677662] pci 0000:00:00.0: BAR 0: assigned [mem 0x20100000-0x201fffff]
    [    0.677677] pci 0000:00:00.0: BAR 1: assigned [mem 0x20020000-0x2002ffff]
    [    0.677690] pci 0000:00:00.0: PCI bridge to [bus 01]
    [    0.677912] pcieport 0000:00:00.0: Signaling PME through PCIe PME interrupt
    [    0.738197] Serial: 8250/16550 driver, 10 ports, IRQ sharing disabled
    [    0.741555] 4806a000.serial: ttyS0 at MMIO 0x4806a000 (irq = 301, base_baud = 3000000) is a 8250
    [    1.728662] console [ttyS0] enabled
    [    1.733049] 4806c000.serial: ttyS1 at MMIO 0x4806c000 (irq = 302, base_baud = 3000000) is a 8250
    [    1.742752] 48020000.serial: ttyS2 at MMIO 0x48020000 (irq = 303, base_baud = 3000000) is a 8250
    [    1.752877] [drm] Initialized drm 1.1.0 20060810
    [    1.759619] OMAP DSS rev 6.1
    [    1.763405] omapdss_dss 58000000.dss: bound 58001000.dispc (ops dispc_component_ops)
    [    1.771834] omapdss_dss 58000000.dss: bound 58040000.encoder (ops hdmi5_component_ops)
    [    1.781732] connector-hdmi connector@1: failed to find video source
    [    1.794443] loop: module loaded
    [    1.798582] nand: No NAND device found
    [    1.802353] omap2-nand 8000000.nand: scan failed, may be bus-width mismatch
    [    1.812230] m25p80 spi32766.0: found w25q256, expected s25fl256s1
    [    1.818391] m25p80 spi32766.0: w25q256 (32768 Kbytes)
    [    1.823536] 7 ofpart partitions found on MTD device spi32766.0
    [    1.829395] Creating 7 MTD partitions on "spi32766.0":
    [    1.834572] 0x000000000000-0x000000040000 : "QSPI.SPL"
    [    1.840673] 0x000000040000-0x000000140000 : "QSPI.u-boot"
    [    1.847036] 0x000000140000-0x0000001c0000 : "QSPI.u-boot-spl-os"
    [    1.854012] 0x0000001c0000-0x0000001d0000 : "QSPI.u-boot-env"
    [    1.860700] 0x0000001d0000-0x0000001e0000 : "QSPI.u-boot-env.backup1"
    [    1.868134] 0x0000001e0000-0x0000009e0000 : "QSPI.kernel"
    [    1.874485] 0x0000009e0000-0x000002000000 : "QSPI.file-system"
    [    1.882230] libphy: Fixed MDIO Bus: probed
    [    1.933384] davinci_mdio 48485000.mdio: davinci mdio revision 1.6
    [    1.939509] davinci_mdio 48485000.mdio: detected phy mask fffffff3
    [    1.949685] libphy: 48485000.mdio: probed
    [    1.953734] davinci_mdio 48485000.mdio: phy[2]: device 48485000.mdio:02, driver unknown
    [    1.961775] davinci_mdio 48485000.mdio: phy[3]: device 48485000.mdio:03, driver unknown
    [    1.970500] cpsw 48484000.ethernet: Detected MACID = f0:b5:d1:16:51:9c
    [    1.977159] cpsw 48484000.ethernet: cpts: overflow check period 800
    [    1.984129] cpsw 48484000.ethernet: cpsw: Detected MACID = f0:b5:d1:16:51:9d
    [    1.992807] mousedev: PS/2 mouse device common for all mice
    [    1.999097] i2c /dev entries driver
    [    2.003296] tvp5158 1-0058: Unable to of_probe
    [    2.008124] ov1063x 1-0037: Failed writing register 0x0103!
    [    2.013751] ov1063x: probe of 1-0037 failed with error -121
    [    2.020102] vpe 489d0000.vpe: loading firmware vpdma-1b8.bin
    [    2.027185] vip 48970000.vip: loading firmware vpdma-1b8.bin
    [    2.037632] omap_hsmmc 4809c000.mmc: Got CD GPIO
    [    2.043259] omap_hsmmc 480b4000.mmc: no pinctrl state for sdr25 mode
    [    2.049720] omap_hsmmc 480b4000.mmc: no pinctrl state for sdr12 mode
    [    2.053382] vip 48970000.vip: VPDMA firmware loaded
    [    2.056225] vpe 489d0000.vpe: Device registered as /dev/video0
    [    2.067111] evm_3v3_sw: supplied by sysen1
    [    2.146158] mmc0: MAN_BKOPS_EN bit is not set
    [    2.157467] mmc0: new HS200 MMC card at address 0001
    [    2.162907] mmcblk0: mmc0:0001 R1J55A 7.28 GiB
    [    2.167714] mmcblk0boot0: mmc0:0001 R1J55A partition 1 8.00 MiB
    [    2.173888] mmcblk0boot1: mmc0:0001 R1J55A partition 2 8.00 MiB
    [    2.225225] ledtrig-cpu: registered to indicate activity on CPUs
    [    2.236419] hwspinlock_user gatemp: requested 20 hwspinlocks
    [    2.243407] aic_dvdd: supplied by evm_3v3_sw
    [    2.250174] davinci-mcasp 48464000.mcasp: DAI is shared
    [    2.256303] davinci-mcasp 48474000.mcasp: DAI is shared
    [    2.261753] davinci-mcasp 4847c000.mcasp: invalid tdm slots: 0
    [    2.268847] omap-hdmi-audio omap-hdmi-audio.0.auto: snd-soc-dummy-dai <-> 58040000.encoder mapping ok
    [    2.279725] NET: Registered protocol family 10
    [    2.295025] sit: IPv6 over IPv4 tunneling driver
    [    2.300214] NET: Registered protocol family 17
    [    2.304964] Key type dns_resolver registered
    [    2.309365] omap_voltage_late_init: Voltage driver support not added
    [    2.316281] Adding alias for supply vdd,cpu0 -> vdd,4a003b20.oppdm
    [    2.322491] Adding alias for supply vbb,cpu0 -> vbb,4a003b20.oppdm
    [    2.329240] Adding alias for supply vdd,cpu0 -> vdd,4a003b20.oppdm
    [    2.335479] Adding alias for supply vbb,cpu0 -> vbb,4a003b20.oppdm
    [    2.343695] Power Management for TI OMAP4+ devices.
    [    2.348803] Registering SWP/SWPB emulation handler
    [    2.354588] dmm 4e000000.dmm: workaround for errata i878 in use
    [    2.361798] dmm 4e000000.dmm: initialized all PAT entries
    [    2.369001] tvp5158 1-0058: Unable to of_probe
    [    2.373948] omap_hsmmc 4809c000.mmc: Got CD GPIO
    [    2.414587] asoc-simple-card sound0: tlv320aic3x-hifi <-> 48468000.mcasp mapping ok
    [    2.434763] asoc-simple-card jamr3_sound: tlv320aic3x-hifi <-> 48474000.mcasp mapping ok
    [    2.466047] [drm] Supports vblank timestamp caching Rev 2 (21.10.2013).
    [    2.472690] [drm] No driver support for vblank timestamp query.
    [    2.555430] omap_hsmmc 4809c000.mmc: card busy
    [    2.685470] omap_hsmmc 4809c000.mmc: card busy
    [    2.754498] [drm] Enabling DMM ywrap scrolling
    [    2.790189] Console: switching to colour frame buffer device 240x67
    [    2.811326] omapdrm omapdrm.0: fb0: omapdrm frame buffer device
    [    2.819350] omap_hsmmc 4809c000.mmc: card busy
    [    2.843818] [drm] Initialized omapdrm 1.0.0 20110917 on minor 0
    [    2.850001] tvp5158 1-0058: Unable to of_probe
    [    2.855508] input: gpio_keys as /devices/platform/gpio_keys/input/input0
    [    2.862467] hctosys: unable to open rtc device (rtc0)
    [    2.862541] tvp5158 1-0058: Unable to of_probe
    [    2.882245] evm_1v8: disabling
    [    2.885341] aic_dvdd: disabling
    [    2.888494] vmmcwl_fixed: disabling
    [    2.892180] ldousb: disabling
    [    2.895632] ALSA device list:
    [    2.898611]   #0: DRA7xx-EVM
    [    2.901499]   #1: HDMI 58040000.encoder
    [    2.905361]   #2: DRA7xx-JAMR3
    [    2.909248] Waiting for root device PARTUUID=24f460fe-02...
    [    2.935459] omap_hsmmc 4809c000.mmc: card busy
    [    3.065460] omap_hsmmc 4809c000.mmc: card busy
    [    3.195434] omap_hsmmc 4809c000.mmc: card busy
    [    3.325535] omap_hsmmc 4809c000.mmc: card busy
    [    3.455451] omap_hsmmc 4809c000.mmc: card busy
    [    3.585451] omap_hsmmc 4809c000.mmc: card busy
    [    3.715451] omap_hsmmc 4809c000.mmc: card busy
    [    3.763366] mmc2: Skipping voltage switch
    [    3.830498] mmc2: host does not support reading read-only switch, assuming write-enable
    [    3.840470] mmc2: new high speed SDHC card at address 0007
    [    3.856483] mmcblk1: mmc2:0007 SD16G 14.5 GiB
    [    3.862151]  mmcblk1: p1 p2
    [    3.865735] tvp5158 1-0058: Unable to of_probe
    [    3.904178] EXT4-fs (mmcblk1p2): couldn't mount as ext3 due to feature incompatibilities
    [    3.913071] EXT4-fs (mmcblk1p2): couldn't mount as ext2 due to feature incompatibilities
    [    3.960372] EXT4-fs (mmcblk1p2): mounted filesystem with ordered data mode. Opts: (null)
    [    3.968544] VFS: Mounted root (ext4 filesystem) on device 179:50.
    [    3.978956] devtmpfs: mounted
    [    3.982142] Freeing unused kernel memory: 340K
    [    3.986623] This architecture does not have kernel memory protection.
    [    4.242132] systemd[1]: System time before build time, advancing clock.
    [    4.282332] random: systemd: uninitialized urandom read (16 bytes read, 24 bits of entropy available)
    [    4.295484] random: systemd: uninitialized urandom read (16 bytes read, 24 bits of entropy available)
    [    4.307230] 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.325778] systemd[1]: Detected architecture arm.
    
    Welcome to Arago 2016.12!
    
    [    4.354679] systemd[1]: Set hostname to <dra7xx-evm>.
    [    4.415410] random: systemd-sysv-ge: uninitialized urandom read (16 bytes read, 25 bits of entropy available)
    [    4.453197] random: systemd-gpt-aut: uninitialized urandom read (16 bytes read, 26 bits of entropy available)
    [    4.464527] random: systemd-gpt-aut: uninitialized urandom read (16 bytes read, 26 bits of entropy available)
    [    4.481575] random: systemd-sysv-ge: uninitialized urandom read (16 bytes read, 27 bits of entropy available)
    [    4.494854] random: systemd-sysv-ge: uninitialized urandom read (16 bytes read, 27 bits of entropy available)
    [    4.597439] random: systemd: uninitialized urandom read (16 bytes read, 30 bits of entropy available)
    [    4.606960] random: systemd: uninitialized urandom read (16 bytes read, 30 bits of entropy available)
    [    4.616852] random: systemd: uninitialized urandom read (16 bytes read, 30 bits of entropy available)
    [    5.057244] systemd[1]: alignment.service: Found ordering cycle on alignment.service/start
    [    5.065611] systemd[1]: alignment.service: Found dependency on sysinit.target/start
    [    5.073307] systemd[1]: alignment.service: Found dependency on alignment.service/start
    [    5.081346] systemd[1]: alignment.service: Breaking ordering cycle by deleting job alignment.service/start
    [    5.091080] systemd[1]: alignment.service: Job alignment.service/start deleted to break ordering cycle starting with alignment.service/start
    [ SKIP ] Ordering cycle found, skipping alignment.service
    [    5.125511] systemd[1]: Listening on udev Kernel Socket.
    [  OK  ] Listening on udev Kernel Socket.
    [    5.153758] systemd[1]: Started Dispatch Password Requests to Console Directory Watch.
    [  OK  ] Started Dispatch Password Requests to Console Directory Watch.
    [    5.198332] systemd[1]: Started Forward Password Requests to Wall Directory Watch.
    [  OK  ] Started Forward Password Requests to Wall Directory Watch.
    [    5.234793] systemd[1]: Created slice User and Session Slice.
    [  OK  ] Created slice User and Session Slice.
    [    5.263747] systemd[1]: Listening on Network Service Netlink Socket.
    [  OK  ] Listening on Network Service Netlink Socket.
    [    5.293653] systemd[1]: Listening on Syslog Socket.
    [  OK  ] Listening on Syslog Socket.
    [    5.313536] systemd[1]: Reached target Swap.
    [  OK  ] Reached target Swap.
    [    5.333615] systemd[1]: Listening on /dev/initctl Compatibility Named Pipe.
    [  OK  ] Listening on /dev/initctl Compatibility Named Pipe.
    [    5.363546] systemd[1]: Reached target Remote File Systems.
    [  OK  ] Reached target Remote File Systems.
    [    5.393543] systemd[1]: Reached target Paths.
    [  OK  ] Reached target Paths.
    [    5.413606] systemd[1]: Listening on Journal Socket (/dev/log).
    [  OK  ] Listening on Journal Socket (/dev/log).
    [    5.444098] systemd[1]: Created slice System Slice.
    [  OK  ] Created slice System Slice.
    [    5.474172] systemd[1]: Created slice system-serial\x2dgetty.slice.
    [  OK  ] Created slice system-serial\x2dgetty.slice.
    [    5.503553] systemd[1]: Reached target Slices.
    [  OK  ] Reached target Slices.
    [    5.524080] systemd[1]: Created slice system-getty.slice.
    [  OK  ] Created slice system-getty.slice.
    [    5.553649] systemd[1]: Listening on Journal Socket.
    [  OK  ] Listening on Journal Socket.
    [    5.613776] systemd[1]: Starting Journal Service...
             Starting Journal Service...
    [    5.656209] systemd[1]: Starting Load Kernel Modules...
             Starting Load Kernel Modules...
    [    5.694049] systemd[1]: Mounting Temporary Directory...
    [    5.700267] CMEMK module: reference Linux version 4.4.84
    [    5.706777] no physical memory specified
    [    5.710748] cmemk initialized
             Mounting Temporary Directory...
    [    5.735761] systemd[1]: Mounting POSIX Message Queue File System...
    [    5.742633] cryptodev: driver 1.8 loaded.
             Mounting POSIX Message Queue File System...
    [    5.775875] systemd[1]: Mounting Debug File System...
             Mounting Debug File System...
    [    5.805835] systemd[1]: Starting Create list of required static device nodes for the current kernel...
             Starting Create list of required st... nodes for the current kernel...
    [    5.835719] systemd[1]: Starting Remount Root and Kernel File Systems...
             Starting Remount Root and Kernel File Systems...
    [    5.852781] EXT4-fs (mmcblk1p2): re-mounted. Opts: (null)
    [    5.865738] systemd[1]: Starting Setup Virtual Console...
             Starting Setup Virtual Console...
    [    5.893954] systemd[1]: Listening on udev Control Socket.
    [  OK  ] Listening on udev Control Socket.
    [    5.947950] systemd[1]: Mounted Debug File System.
    [  OK  ] Mounted Debug File System.
    [    5.973694] systemd[1]: Mounted POSIX Message Queue File System.
    [  OK  ] Mounted POSIX Message Queue File System.
    [    5.993584] systemd[1]: Mounted Temporary Directory.
    [  OK  ] Mounted Temporary Directory.
    [    6.013779] systemd[1]: Started Journal Service.
    [  OK  ] Started Journal Service.
    [  OK  ] Started Load Kernel Modules.
    [  OK  ] Started Create list of required sta...ce nodes for the current kernel.
    [  OK  ] Started Remount Root and Kernel File Systems.
    [  OK  ] Started Setup Virtual Console.
             Starting udev Coldplug all Devices...
             Starting Create Static Device Nodes in /dev...
             Starting Apply Kernel Variables...
             Starting Flush Journal to Persistent Storage...
    [  OK  ] Started Create Static Device Nodes in /dev.
    [  OK  ] Started Apply Kernel Variables.
    [    6.653898] systemd-journald[127]: Received request to flush runtime journal from PID 1
             Starting udev Kernel Device Manager...
    [  OK  ] Reached target Local File Systems (Pre).
             Mounting /media/ram...
             Mounting /var/volatile...
    [  OK  ] Mounted /var/volatile.
    [  OK  ] Mounted /media/ram.
    [  OK  ] Started udev Kernel Device Manager.
    [  OK  ] Started Flush Journal to Persistent Storage.
    [  OK  ] Started udev Coldplug all Devices.
    [    7.003069] omap-rproc 58820000.ipu: assigned reserved memory node ipu1_cma@9d000000
    [    7.025803]  remoteproc0: 58820000.ipu is available
    [    7.030729]  remoteproc0: Note: remoteproc is still under development and considered experimental.
    [    7.064862]  remoteproc0: THE BINARY FORMAT IS NOT YET FINALIZED, and backward compatibility isn't yet guaranteed.
    [    7.076761] tvp5158 1-0058: Unable to of_probe
    [    7.081803]  remoteproc0: Direct firmware load for dra7-ipu1-fw.xem4 failed with error -2
    [    7.092530] omap-rproc 55020000.ipu: assigned reserved memory node ipu2_cma@95800000
    [    7.102131]  remoteproc0: failed to load dra7-ipu1-fw.xem4
    [    7.107814]  remoteproc1: 55020000.ipu is available
    [    7.114290]  remoteproc1: Note: remoteproc is still under development and considered experimental.
    [    7.124574]  remoteproc1: THE BINARY FORMAT IS NOT YET FINALIZED, and backward compatibility isn't yet guaranteed.
             Starting Load/Save Random Seed...
    [    7.150172] tvp5158 1-0058: Unable to of_probe
    [    7.157696] omap-rproc 40800000.dsp: assigned reserved memory node dsp1_cma@99000000
    [    7.182166]  remoteproc2: 40800000.dsp is available
    [    7.187332]  remoteproc2: Note: remoteproc is still under development and considered experimental.
    [  OK  ] Reached target Local File Systems.
    [    7.212707]  remoteproc2: THE BINARY FORMAT IS NOT YET FINALIZED, and backward compatibility isn't yet guaranteed.
    [    7.236415]  remoteproc2: Direct firmware load for dra7-dsp1-fw.xe66 failed with error -2
    [    7.246209] tvp5158 1-0058: Unable to of_probe
    [    7.252682] omap-rproc 41000000.dsp: assigned reserved memory node dsp2_cma@9f000000
    [    7.268839]  remoteproc2: failed to load dra7-dsp1-fw.xe66
    [    7.279691]  remoteproc3: 41000000.dsp is available
    [    7.284681]  remoteproc3: Note: remoteproc is still under development and considered experimental.
    [    7.294602]  remoteproc3: THE BINARY FORMAT IS NOT YET FINALIZED, and backward compatibility isn't yet guaranteed.
             Starting Create Volatile Files and Directories...
    [    7.317897]  remoteproc3: Direct firmware load for dra7-dsp2-fw.xe66 failed with error -2
    [    7.329149] tvp5158 1-0058: Unable to of_probe
    [    7.329756]  remoteproc3: failed to load dra7-dsp2-fw.xe66
    [  OK  [    7.412131] omap_rng 48090000.rng: OMAP Random Number Generator ver. 20
    ] Started Load/Save Random Seed.[    7.424091] tvp5158 1-0058: Unable to of_probe
    
    [  OK  ] Started Create Volatile Files and Directories.
    [    7.442996]  remoteproc1: registered virtio0 (type 7)
    [    7.456358] omap-des 480a5000.des: OMAP DES hw accel rev: 2.2
    [  OK  ] Found device /dev/ttyS0.
    [    7.526794] tvp5158 1-0058: Unable to of_probe
    [    7.531693] omap_rtc 48838000.rtc: rtc core: registered 48838000.rtc as rtc0
    [    7.548323] tvp5158 1-0058: Unable to of_probe
    [    7.653846] SCSI subsystem initialized
             Starting Update UTMP about System Boot/Shutdown...
             Starting Network Time Synchronization...
    [    7.729808] ahci 4a140000.sata: SSS flag set, parallel bus scan disabled
    [    7.752846] ahci 4a140000.sata: AHCI 0001.0300 32 slots 1 ports 3 Gbps 0x1 impl platform mode
    [    7.775572] CAN device driver interface
    [    7.814194] ahci 4a140000.sata: flags: 64bit ncq sntf stag pm led clo only pmp pio slum part ccc apst
    [  OK  ] Started Network Time Synchronization.
    [    7.867112] scsi host0: ahci
    [    7.870321] ata1: SATA max UDMA/133 mmio [mem 0x4a140000-0x4a1410ff] port 0x100 irq 345
    [    7.899230] tvp5158 1-0058: Unable to of_probe
    [    7.904564] omap_wdt: OMAP Watchdog Timer Rev 0x01: initial timeout 60 sec
    [    7.914460] tvp5158 1-0058: Unable t of_probe
    [  OK  ] Started Update UTMP about System Boot/Shutdown.
    [    7.930073] omap-sham 4b101000.sham: hw accel on OMAP rev 4.3
             Starting Synchronize System and HW clocks...
    [    8.052277] tvp5158 1-0058: Unable to of_probe
    [    8.057530] omap-aes 4b500000.aes: OMAP AES hw accel rev: 3.3
    [  OK  ] Reached target System Time Synchronized.
    [    8.09851] omap-aes 4b700000.aes: OMAP AES hw accel rev: 3.3
    [    8.098609] tvp5158 1-0058: Unable to of_probe
    [    8.109472] tvp5158 1-0058: Unable to of_probe
    [    8.116225] c_can_platform 4ae3c000.can: c_can_platform device registered (regs=fce3c000, irq=365)
    [  OK  ] Started Synchronize System and HW clocks.
    [    8.137850] tvp5158 1-0058: Unable to of_probe
    [    8.178797] [drm] Initialized pvr 1.14.3699939 20110701 on minor 1
    [    8.190128] tvp5158 1-0058: Unable to of_probe
    [    8.228141] tvp5158 1-0058: Unable to of_probe
    [    8.237494] ata1: SATA link down (SStatus 0 SControl 300)
    [  OK  ] Reached target Sound Card.
    [  OK  ] Reached target System Initialization.
    [  OK  ] Listening on dropbear.socket.
    [  OK  ] Started Daily Cleanup of Temporary Directories.
    [  OK  ] Reached target Timers.
    [  OK  ] Listening on D-Bus System Message Bus Socket.
    [  OK  ] Reached target Sockets.
    [  OK  ] Reached target Basic System.
    [  OK  ] Started D-Bus System Message Bus.
    [    8.783212]  remoteproc1: powering up 55020000.ipu
    [    8.812642]  remoteproc1: Booting fw image dra7-ipu2-fw.xem4, size 3743164
    [    8.822921] omap-iommu 55082000.mmu: 55082000.mmu: version 2.1
    [    8.882390]  remoteproc1: remote processor 55020000.ipu is now up
    [    8.889239] virtio_rpmsg_bus virtio0: rpmsg host is online
    [    8.892395] virtio_rpmsg_bus virtio0: creating channel rpmsg-rpc addr 0x65
    [    8.893278] virtio_rpmsg_bus virtio0: creating channel rpmsg-rpc addr 0x66
    [    8.909895] tvp5158 1-0058: Unable to of_probe
             Starting Login Service...
    [    8.940599] rpmsg_rpc rpmsg0: probing service dce-callback with src 1024 dst 101
    [    8.949916] tvp5158 1-0058: Unable to of_probe
    [    8.954447] rpmsg_rpc rpmsg0: published functions = 4
    [    8.959714] rpmsg_rpc rpmsg1: probing service rpmsg-dce with src 1025 dst 102
    [    8.967588] tvp5158 1-0058: Unable to of_probe
    [    8.967854] rpmsg_rpc rpmsg1: published functions = 9
             Starting rc.pvr.service...
    [    9.053174] tvp5158 1-0058: Unable to of_probe
    [  OK  ] Started System Logging Service.
             Starting Save/Restore Sound Card State...
    [    9.109947] PVR_K: UM DDK-(3699939) and KM DDK-(3699939) match. [ OK ]
             Starting Permit User Sessions...
             Starting Network Service...
    [  OK  ] Started Kernel Logging Service.
    [  OK  ] Started rc.pvr.service.
    [  OK  ] Started Save/Restore Sound Card State.[    9.234540] net eth1: initializing cpsw version 1.15 (0)
    
    [  OK  ] Started Permit User Sessions.[    9.256580] net eth0: initialized cpsw ale version 1.4
    
    [    9.270118] net eth0: ALE Table size 1024
    [  OK  ] Started Network Service.[    9.285115] tvp5158 1-0058: Unable to of_probe
    
    [    9.294895] net eth1: phy found : id is : 0x20005c7a
    [    9.316457] IPv6: ADDRCONF(NETDEV_UP): eth1: link is not ready
    [    9.331714] net eth0: initializing cpsw version 1.15 (0)
    [    9.337321] tvp5158 1-0058: Unable to of_probe
    [    9.362154] tvp5158 1-0058: Unable to of_probe
    [    9.380286] usbcore: registered new interface driver usbfs
    [    9.390579] net eth0: phy found : id is : 0x20005c7a
    [    9.402262] usbcore: registered new interface driver hub
    [    9.420634] usbcore: registered new device driver usb
    [    9.433402] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
    [    9.460494] dwc3 48890000.usb: otg: primary host xhci-hcd.1.auto registered
    [    9.468221] dwc3 48890000.usb: otg: shared host xhci-hcd.1.auto registered
    [    9.477038] dwc3 48890000.usb: otg: can't start till gadget registers
    [    9.484930] xhci-hcd xhci-hcd.2.auto: xHCI Host Controller
    [    9.485066] tvp5158 1-0058: Unable to of_probe
    [    9.496967] xhci-hcd xhci-hcd.2.auto: new USB bus registered, assigned bus number 1
    [    9.505873] xhci-hcd xhci-hcd.2.auto: hcc params 0x0220f04c hci version 0x100 quirks 0x00210010
    [    9.515522] xhci-hcd xhci-hcd.2.auto: irq 511, io mem 0x488d0000
    [    9.522171] hub 1-0:1.0: USB hub found
    [    9.527841] hub 1-0:1.0: 1 port detected
    [    9.532100] xhci-hcd xhci-hcd.2.auto: xHCI Host Controller
    [    9.532127] tvp5158 1-0058: Unable to of_probe
    [    9.545343] xhci-hcd xhci-hcd.2.auto: new USB bus registered, assigned bus number 2
    [    9.553097] usb usb2: We don't know the algorithms for LPM for this host, disabling LPM.
    [    9.563180] hub 2-0:1.0: USB hub found
    [    9.567956] hub 2-0:1.0: 1 port detected
    [    9.572224] tvp5158 1-0058: Unable to of_probe
    [    9.578195] tvp5158 1-0058: Unable to of_probe
    [  OK  ] Started Login Service.
    [  OK  ] Listening on Load/Save RF Kill Switch Status /dev/rfkill Watch.
    [  OK  ] Reached target Network.
             Starting Network Name Resolution...
    [  OK  ] Started Getty on tty1.
    [  OK  ] Started Serial Getty on ttyS0.
             Starting weston.service...
    [  OK  ] Started Network Name Resolution.
    [  OK  ] Started weston.service.
             Starting telnetd.service...
             Starting tiipclad-daemon.service...
    [  OK  ] Started telnetd.service.
    [  OK  ] Started tiipclad-daemon.service.
    [   11.859928] random: nonblocking pool is initialized
    
     _____                    _____           _         _
    |  _  |___ ___ ___ ___   |  _  |___ ___  |_|___ ___| |_
    |     |  _| .'| . | . |  |   __|  _| . | | | -_|  _|  _|
    |__|__|_| |__,|_  |___|  |__|  |_| |___|_| |___|___|_|
                  |___|                    |___|
    
    Arago Project http://arago-project.org dra7xx-evm ttyS0
    
    Arago 2016.12 dra7xx-evm ttyS0
    
    dra7xx-evm login: root
    root@dra7xx-evm:~# reboot
    [  OK  ] Stopped target System Time Synchronized.
             Stopping Network Time Synchronization...
    [  OK  ] Stopped target Sound Card.
    [  OK  ] Stopped target Multi-User System.
             Stopping Network Name Resolution...
             Starting Update UT         Stopping Session c1 of user root.
             Stopping System Logging Service...
    [  OK  ] Stopped target Login Prompts.
    [  OK  ] Stopped Serial Getty on ttyO0.
             Stopping Kernel Logging Service...
             Unmounting /run/media/mmcblk1p1...
    [  OK  ] Closed Load/Save RF Kill Switch Status /dev/rfkill Watch.
             Unmounting /run/user/0...
             Stopping telnetd.service...
             Stopping Getty on tty1...
    [  OK  ] Stopped target Timers.
    [  OK  ] Stopped Daily Cleanup of Temporary Directories.
             Stopping Serial Getty on ttyS0...
             Stopping tiipclad-daemon.service...
             Stopping Save/Restore Sound Card State...
             Stopping User Manager for UID 0...
    [  OK  ] Stopped Network Time Synchronization.
    [  OK  ] Stopped System Logging Service.
    [  OK  ] Stopped Kernel Logging Service.
    [  OK  ] Stopped Network Name Resolution.
    [  OK  ] Stopped Getty on tty1.
    [  OK  ] Stopped Serial Getty on ttyS0.
    [  OK  ] Started Update UTMP about System Runlevel Changes.
    [  OK  ] Removed slice system-serial\x2dgetty.slice.
    [  OK  ] Removed slice system-getty.slice.
    [  OK  ] Stopped target Network.
             Stopping Network Service...
    [  OK  ] Stopped Network Service.
    [  OK  ] Stopped Apply Kernel Variables.
    [  OK  ] Stopped Load Kernel Modules.
             Stopping D-Bus System Message Bus...
    [  OK  ] Stopped D-Bus System Message Bus.
    [  OK  ] Stopped Session c1 of user root.
    [  OK  ] Unmounted /run/media/mmcblk1p1.
    [  OK  ] Stopped User Manager for UID 0.
    [FAILED] Failed unmounting /run/user/0.
    [  OK  ] Stopped telnetd.service.
    [  OK  ] Stopped tiipclad-daemon.service.
             Stopping weston.service...
    [  OK  ] Stopped target Local File Systems (Pre).
    [  OK  ] Stopped Remount Root and Kernel File Systems.
    [  OK  ] Removed slice User Slice of root.
             Stopping Login Service...
             Stopping Permit User Sessions...
    [  OK  ] Stopped Login Service.
    [  OK  ] Stopped weston.service.
    [  OK  ] Stopped Permit User Sessions.
    [  OK  ] Stopped target Remote File Systems.
             Stopping rc.pvr.service...
    [  OK  ] Stopped rc.pvr.service.
    [  OK  ] Stopped Save/Restore Sound Card State.
    [  OK  ] Stopped target Basic System.
    [  OK  ] Stopped target Slices.
    [  OK  ] Removed slice User and Session Slice.
    [  OK  ] Stopped target Sockets.
    [  OK  ] Closed D-Bus System Message Bus Socket.
    [  OK  ] Closed dropbear.socket.
    [  OK  ] Closed Syslog Socket.
    [  OK  ] Stopped target Paths.
    [  OK  ] Stopped Forward Password Requests to Wall Directory Watch.
    [  OK  ] Reached target Shutdown.
             Unmounting Temporary Directory...
    [FAILED] Failed unmounting Temporary Directory.
    [  OK  ] Reached target Unmount All Filesystems.
    [  OK  ] Reached target Final Step.
             Starting Reboot...
    [   37.674824] watchdog watchdog0: watchdog did not stop!
    [   38.181632] systemd-shutdown[1]: Sending SIGTERM to remaining processes...
    [   38.205833] systemd-journald[127]: Received SIGTERM from PID 1 (systemd-shutdow).
    [   38.346515] systemd-shutdown[1]: Sending SIGKILL to remaining processes...
    [   38.370746] systemd-shutdown[1]: Hardware watchdog 'OMAP Watchdog', version 0
    [   38.379442] systemd-shutdown[1]: Unmounting file systems.
    [   38.391524] systemd-shutdown[1]: Remounting '/run/user/0' read-only with options 'size=101980k,mode=700'.
    [   38.401255] systemd-shutdown[1]: Unmounting /run/user/0.
    [   38.433586] systemd-shutdown[1]: Remounting '/var/volatile' read-only with options 'size=51200k'.
    [   38.442538] systemd-shutdown[1]: Unmounting /var/volatile.
    [   38.473505] systemd-shutdown[1]: Remounting '/media/ram' read-only with options 'size=16384k'.
    [   38.482202] systemd-shutdown[1]: Unmounting /media/ram.
    [   38.513427] systemd-shutdown[1]: Remounting '/tmp' read-only with options ''.
    [   38.520639] systemd-shutdown[1]: Unmounting /tmp.
    [   38.563521] systemd-shutdown[1]: Remounting '/' read-only with options 'data=ordered'.
    [   45.182324] EXT4-fs (mmcblk1p2): re-mounted. Opts: data=ordered
    [   45.191222] systemd-shutdown[1]: Remounting '/' read-only with options 'data=ordered'.
    [   45.199280] EXT4-fs (mmcblk1p2): re-mounted. Opts: data=ordered
    [   45.205304] systemd-shutdown[1]: Remounting '/' read-only with options 'data=ordered'.
    [   45.213291] EXT4-fs (mmcblk1p2): re-mounted. Opts: data=ordered
    [   45.219361] systemd-shutdown[1]: All filesystems unmounted.
    [   45.224984] systemd-shutdown[1]: Deactivating swaps.
    [   45.230140] systemd-shutdown[1]: All swaps deactivated.
    [   45.235448] systemd-shutdown[1]: Detaching loop devices.
    [   45.247241] systemd-shutdown[1]: All loop devices detached.
    [   45.252854] systemd-shutdown[1]: Detaching DM devices.
    [   45.258375] systemd-shutdown[1]: All DM devices detached.
    [   45.275941] systemd-shutdown[1]: Rebooting.
    [   45.315620] reboot: Restarting system
    
    

  • Hi
    We have validated reboot command on DRA76x, DRA75x, DRA72x as part of the release checkout from Vision SDK 3.05 release onwards.
    Would it be possible for you to try on some other board
  • Hi
    do you have further updates , have you been able to verify the behavior on another . Please post back if your issue is still not resolved