Other Parts Discussed in Thread: DRA742, PMP, DRA752
Tool/software: Linux
Dear All,
now i use send command :
dra7xx-evm login: root
cd /opt/vision_sdk
./vision_sdk_load.sh
./app.out
i want use auto login to linux & run app.out, how to do?
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.
Dear Yordan,
Thank your information, i can auto login as root, but auto running load scripts and app.out isn't to use.
I'm fellow that advice put vsdk.service in /etc/systemd/system/multi-user.target.wants/ and autorun.sh in / opt / vision_sdk /.
Dear Shravan,
i'm try but cant run and stop in there. this is my log.
U-Boot SPL 2016.05-00009-gac1d50f (Sep 17 2018 - 14:27:06) DRA752-GP ES2.0 no pinctrl for hs200_1_8v no pinctrl for ddr_1_8v ** First descriptor is NOT a primary desc on 1:1 ** *** Warning - bad CRC, 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 - bad CRC, using default environment reading u-boot.img reading u-boot.img reading u-boot.img reading u-boot.img U-Boot 2016.05-00009-gac1d50f (Sep 17 2018 - 14:27:06 +0800) CPU : DRA752-GP ES2.0 Model: TI DRA742 Board: DRA74x EVM REV H.0 DRAM: 4 GiB MMC: OMAP SD/MMC: 0, OMAP SD/MMC: 1 ** First descriptor is NOT a primary desc on 1:1 ** *** Warning - bad CRC, using default environment 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 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 3554264 bytes read in 72 ms (47.1 MiB/s) 106677 bytes read in 51 ms (2 MiB/s) Booting from mmc0 ... Kernel image @ 0x82000000 [ 0x000000 - 0x363bd8 ] ## Flattened Device Tree blob at 88000000 Booting using the fdt blob at 0x88000000 Loading Device Tree to 8ffe2000, end 8ffff0b4 ... 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-00018-gc66ba60 (owen@owen-virtual-machine) (gcc version 5.3.1 20160113 (Linaro GCC 5.3-2016.02) ) #13 SMP PREEMPT Mon Sep 17 14:27:52 CST 2018 [ 0.000000] CPU: ARMv7 Processor [412fc0f2] revision 2 (ARMv7), cr=30c5387d [ 0.000000] CPU: PIPT / VIPT nonaliasing data cache, PIPT instruction cache [ 0.000000] Machine model: TI 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 64 MiB [ 0.000000] Reserved memory: initialized node cmem@A9000000, compatible id shared-dma-pool [ 0.000000] cma: Reserved 24 MiB at 0x00000000be400000 [ 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 @ef62b000 s14912 r8192 d21952 u45056 [ 0.000000] Built 1 zonelists in Zone order, mobility grouping on. Total pages: 243264 [ 0.000000] Kernel command line: console=ttyO0,115200n8 vram=16M root=PARTUUID=1e7f9ebc-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: 410844K/979968K available (6623K kernel code, 319K rwdata, 2388K rodata, 336K init, 290K bss, 364324K reserved, 204800K cma-reserved, 234496K 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 - 0xc08d502c (9013 kB) [ 0.000000] .init : 0xc08d6000 - 0xc092a000 ( 336 kB) [ 0.000000] .data : 0xc092a000 - 0xc0979f60 ( 320 kB) [ 0.000000] .bss : 0xc097b000 - 0xc09c3800 ( 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.000015] Switching to timer-based delay loop, resolution 162ns [ 0.000331] clocksource: 32k_counter: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 58327039986419 ns [ 0.000338] OMAP clocksource: 32k_counter at 32768 Hz [ 0.000785] Console: colour dummy device 80x30 [ 0.000800] WARNING: Your 'console=ttyO0' has been replaced by 'ttyS0' [ 0.000806] This ensures that you still see kernel messages. Please [ 0.000811] update your kernel commandline. [ 0.000825] Calibrating delay loop (skipped), value calculated using timer frequency.. 12.29 BogoMIPS (lpj=61475) [ 0.000838] pid_max: default: 32768 minimum: 301 [ 0.000935] Mount-cache hash table entries: 2048 (order: 1, 8192 bytes) [ 0.000946] Mountpoint-cache hash table entries: 2048 (order: 1, 8192 bytes) [ 0.001490] Initializing cgroup subsys io [ 0.001506] Initializing cgroup subsys memory [ 0.001531] Initializing cgroup subsys devices [ 0.001544] Initializing cgroup subsys freezer [ 0.001555] Initializing cgroup subsys perf_event [ 0.001566] Initializing cgroup subsys pids [ 0.001593] CPU: Testing write buffer coherency: ok [ 0.001790] /cpus/cpu@0 missing clock-frequency property [ 0.001806] /cpus/cpu@1 missing clock-frequency property [ 0.001817] CPU0: thread -1, cpu 0, socket 0, mpidr 80000000 [ 0.001850] Setting up static identity map for 0x80008380 - 0x800083e0 [ 0.080062] CPU1: thread -1, cpu 1, socket 0, mpidr 80000001 [ 0.080131] Brought up 2 CPUs [ 0.080143] SMP: Total of 2 processors activated (24.59 BogoMIPS). [ 0.080150] CPU: All CPU(s) started in HYP mode. [ 0.080155] CPU: Virtualization extensions available. [ 0.080534] devtmpfs: initialized [ 0.109069] VFP support v0.3: implementor 41 architecture 4 part 30 variant f rev 0 [ 0.110052] omap_hwmod: l3_main_2 using broken dt data from ocp [ 0.313202] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns [ 0.313223] futex hash table entries: 512 (order: 3, 32768 bytes) [ 0.317468] pinctrl core: initialized pinctrl subsystem [ 0.318323] NET: Registered protocol family 16 [ 0.319239] DMA: preallocated 256 KiB pool for atomic coherent allocations [ 0.340228] cpuidle: using governor ladder [ 0.370252] cpuidle: using governor menu [ 0.378794] OMAP GPIO hardware version 0.1 [ 0.385349] irq: no irq domain found for /ocp/l4@4a000000/scm@2000/pinmux@1400 ! [ 0.401735] omap-gpmc 50000000.gpmc: GPMC revision 6.0 [ 0.401749] gpmc_mem_init: disabling cs 0 mapped at 0x0-0x1000000 [ 0.411135] hw-breakpoint: found 5 (+1 reserved) breakpoint and 4 watchpoint registers. [ 0.411144] hw-breakpoint: maximum watchpoint size is 8 bytes. [ 0.411607] omap4_sram_init:Unable to allocate sram needed to handle errata I688 [ 0.411616] omap4_sram_init:Unable to get sram pool needed to handle errata I688 [ 0.412194] OMAP DMA hardware revision 0.0 [ 0.451474] omap-dma-engine 4a056000.dma-controller: OMAP DMA engine driver (LinkedList1/2/3 supported) [ 0.452626] edma 43300000.edma: memcpy is disabled [ 0.457327] edma 43300000.edma: TI EDMA DMA engine driver [ 0.461707] omap-iommu 40d01000.mmu: 40d01000.mmu registered [ 0.461884] omap-iommu 40d02000.mmu: 40d02000.mmu registered [ 0.462045] omap-iommu 58882000.mmu: 58882000.mmu registered [ 0.462200] omap-iommu 55082000.mmu: 55082000.mmu registered [ 0.462491] omap-iommu 41501000.mmu: 41501000.mmu registered [ 0.462675] omap-iommu 41502000.mmu: 41502000.mmu registered [ 0.465708] palmas 0-0058: IRQ missing: skipping irq request [ 0.481133] palmas 0-0058: Muxing GPIO 2e, PWM 0, LED 0 [ 0.553443] pcf857x 0-0020: probed [ 0.554003] pcf857x 0-0021: probed [ 0.554152] omap_i2c 48070000.i2c: bus 0 rev0.12 at 400 kHz [ 0.554551] omap_i2c 48060000.i2c: bus 2 rev0.12 at 400 kHz [ 0.554757] media: Linux media interface: v0.10 [ 0.554809] Linux video capture interface: v2.00 [ 0.554851] pps_core: LinuxPPS API ver. 1 registered [ 0.554859] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it> [ 0.554883] PTP clock support registered [ 0.554929] EDAC MC: Ver: 3.0.0 [ 0.555684] omap-mailbox 48840000.mailbox: omap mailbox rev 0x400 [ 0.555981] omap-mailbox 48842000.mailbox: omap mailbox rev 0x400 [ 0.556309] Advanced Linux Sound Architecture Driver Initialized. [ 0.557149] clocksource: Switched to clocksource arch_sys_counter [ 0.567809] NET: Registered protocol family 2 [ 0.568309] TCP established hash table entries: 8192 (order: 3, 32768 bytes) [ 0.568372] TCP bind hash table entries: 8192 (order: 4, 65536 bytes) [ 0.568497] TCP: Hash tables configured (established 8192 bind 8192) [ 0.568547] UDP hash table entries: 512 (order: 2, 16384 bytes) [ 0.568577] UDP-Lite hash table entries: 512 (order: 2, 16384 bytes) [ 0.568788] NET: Registered protocol family 1 [ 0.569050] RPC: Registered named UNIX socket transport module. [ 0.569059] RPC: Registered udp transport module. [ 0.569065] RPC: Registered tcp transport module. [ 0.569072] RPC: Registered tcp NFSv4.1 backchannel transport module. [ 0.570058] hw perfevents: enabled with armv7_cortex_a15 PMU driver, 7 counters available [ 0.580042] squashfs: version 4.0 (2009/01/31) Phillip Lougher [ 0.580690] NFS: Registering the id_resolver key type [ 0.580721] Key type id_resolver registered [ 0.580729] Key type id_legacy registered [ 0.580783] ntfs: driver 2.1.32 [Flags: R/O]. [ 0.582056] bounce: pool size: 64 pages [ 0.582209] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 247) [ 0.582224] io scheduler noop registered [ 0.582236] io scheduler deadline registered [ 0.582269] io scheduler cfq registered (default) [ 0.587206] pinctrl-single 4a003400.pinmux: 282 pins at pa fc003400 size 1128 [ 0.590349] PCI host bridge /ocp/axi@0/pcie_rc@51000000 ranges: [ 0.590361] No bus range found for /ocp/axi@0/pcie_rc@51000000, using [bus 00-ff] [ 0.590396] IO 0x20003000..0x20012fff -> 0x00000000 [ 0.590417] MEM 0x20013000..0x2fffffff -> 0x20013000 [ 0.620377] dra7-pcie 51000000.pcie_rc: link is not up [ 0.620554] dra7-pcie 51000000.pcie_rc: PCI host bridge to bus 0000:00 [ 0.620566] pci_bus 0000:00: root bus resource [bus 00-ff] [ 0.620577] pci_bus 0000:00: root bus resource [io 0x0000-0xffff] [ 0.620586] pci_bus 0000:00: root bus resource [mem 0x20013000-0x2fffffff] [ 0.620988] PCI: bus0: Fast back to back transfers disabled [ 0.621109] PCI: bus1: Fast back to back transfers enabled [ 0.621192] pci 0000:00:00.0: BAR 0: assigned [mem 0x20100000-0x201fffff] [ 0.621207] pci 0000:00:00.0: BAR 1: assigned [mem 0x20020000-0x2002ffff] [ 0.621219] pci 0000:00:00.0: PCI bridge to [bus 01] [ 0.621432] pcieport 0000:00:00.0: Signaling PME through PCIe PME interrupt [ 0.682241] Serial: 8250/16550 driver, 10 ports, IRQ sharing disabled [ 0.685631] 4806a000.serial: ttyS0 at MMIO 0x4806a000 (irq = 301, base_baud = 3000000) is a 8250 [ 1.695430] console [ttyS0] enabled [ 1.699833] 4806c000.serial: ttyS1 at MMIO 0x4806c000 (irq = 302, base_baud = 3000000) is a 8250 [ 1.709540] 48020000.serial: ttyS2 at MMIO 0x48020000 (irq = 303, base_baud = 3000000) is a 8250 [ 1.719578] [drm] Initialized drm 1.1.0 20060810 [ 1.725589] OMAP DSS rev 6.1 [ 1.729376] omapdss_dss 58000000.dss: bound 58001000.dispc (ops dispc_component_ops) [ 1.745030] loop: module loaded [ 1.748578] vmemexp device MAJOR num = 246 [ 1.752707] vmemexp class registered [ 1.756421] /dev/vmemexp device registered [ 1.760555] ioctl DBUFIOC_EXPORT_VIRTMEM = -1072899120 [ 1.766226] nand: No NAND device found [ 1.770017] omap2-nand 8000000.nand: scan failed, may be bus-width mismatch [ 1.779958] m25p80 spi32766.0: s25fl256s1 (32768 Kbytes) [ 1.785353] 7 ofpart partitions found on MTD device spi32766.0 [ 1.791239] Creating 7 MTD partitions on "spi32766.0": [ 1.796402] 0x000000000000-0x000000040000 : "QSPI.SPL" [ 1.802528] 0x000000040000-0x000000140000 : "QSPI.u-boot" [ 1.808878] 0x000000140000-0x0000001c0000 : "QSPI.u-boot-spl-os" [ 1.815807] 0x0000001c0000-0x0000001d0000 : "QSPI.u-boot-env" [ 1.822508] 0x0000001d0000-0x0000001e0000 : "QSPI.u-boot-env.backup1" [ 1.829912] 0x0000001e0000-0x0000009e0000 : "QSPI.kernel" [ 1.836255] 0x0000009e0000-0x000002000000 : "QSPI.file-system" [ 1.844034] libphy: Fixed MDIO Bus: probed [ 1.897184] davinci_mdio 48485000.mdio: davinci mdio revision 1.6 [ 1.903308] davinci_mdio 48485000.mdio: detected phy mask fffffff3 [ 1.913484] libphy: 48485000.mdio: probed [ 1.917557] davinci_mdio 48485000.mdio: phy[2]: device 48485000.mdio:02, driver unknown [ 1.925597] davinci_mdio 48485000.mdio: phy[3]: device 48485000.mdio:03, driver unknown [ 1.934309] cpsw 48484000.ethernet: Detected MACID = fc:0f:4b:be:c4:be [ 1.941010] cpsw 48484000.ethernet: cpts: overflow check period 800 [ 1.948016] cpsw 48484000.ethernet: cpsw: Detected MACID = fc:0f:4b:be:c4:bf [ 1.956623] mousedev: PS/2 mouse device common for all mice [ 1.962841] i2c /dev entries driver [ 1.971637] omap_hsmmc 4809c000.mmc: Got CD GPIO [ 1.977294] omap_hsmmc 480b4000.mmc: no pinctrl state for sdr25 mode [ 1.983678] omap_hsmmc 480b4000.mmc: no pinctrl state for sdr12 mode [ 1.990236] evm_3v3_sw: supplied by sysen1 [ 2.070952] mmc0: MAN_BKOPS_EN bit is not set [ 2.108597] mmc0: new HS200 MMC card at address 0001 [ 2.124035] mmcblk0: mmc0:0001 MMC08G 7.25 GiB [ 2.139094] mmcblk0boot0: mmc0:0001 MMC08G partition 1 8.00 MiB [ 2.148936] ledtrig-cpu: registered to indicate activity on CPUs [ 2.155311] mmcblk0boot1: mmc0:0001 MMC08G partition 2 8.00 MiB [ 2.163856] aic_dvdd: supplied by evm_3v3_sw [ 2.169775] davinci-mcasp 4847c000.mcasp: invalid tdm slots: 0 [ 2.177203] NET: Registered protocol family 10 [ 2.182455] sit: IPv6 over IPv4 tunneling driver [ 2.187656] NET: Registered protocol family 17 [ 2.192333] Key type dns_resolver registered [ 2.196734] omap_voltage_late_init: Voltage driver support not added [ 2.203635] Adding alias for supply vdd,cpu0 -> vdd,4a003b20.oppdm [ 2.209864] Adding alias for supply vbb,cpu0 -> vbb,4a003b20.oppdm [ 2.216567] Adding alias for supply vdd,cpu0 -> vdd,4a003b20.oppdm [ 2.222799] Adding alias for supply vbb,cpu0 -> vbb,4a003b20.oppdm [ 2.231013] Power Management for TI OMAP4+ devices. [ 2.236079] Registering SWP/SWPB emulation handler [ 2.241848] dmm 4e000000.dmm: workaround for errata i878 in use [ 2.249094] dmm 4e000000.dmm: initialized all PAT entries [ 2.256406] [drm] Supports vblank timestamp caching Rev 2 (21.10.2013). [ 2.263065] [drm] No driver support for vblank timestamp query. [ 2.269369] [drm] Initialized omapdrm 1.0.0 20110917 on minor 0 [ 2.276191] omap_hsmmc 4809c000.mmc: Got CD GPIO [ 2.318380] asoc-simple-card sound0: tlv320aic3x-hifi <-> 48468000.mcasp mapping ok [ 2.338018] input: gpio_keys as /devices/platform/gpio_keys/input/input0 [ 2.347232] hctosys: unable to open rtc device (rtc0) [ 2.360432] evm_1v8: disabling [ 2.363505] aic_dvdd: disabling [ 2.366655] vmmcwl_fixed: disabling [ 2.370396] ldousb: disabling [ 2.373792] ALSA device list: [ 2.376775] #0: DRA7xx-EVM [ 2.380376] Waiting for root device PARTUUID=1e7f9ebc-02... [ 2.594833] mmc2: host does not support reading read-only switch, assuming write-enable [ 2.622253] mmc2: new ultra high speed SDR104 SDHC card at address 0001 [ 2.639329] mmcblk1: mmc2:0001 SD8GB 7.32 GiB [ 2.645017] mmcblk1: p1 p2 [ 2.707669] EXT4-fs (mmcblk1p2): couldn't mount as ext3 due to feature incompatibilities [ 2.716291] EXT4-fs (mmcblk1p2): couldn't mount as ext2 due to feature incompatibilities [ 2.746022] EXT4-fs (mmcblk1p2): recovery complete [ 2.754872] EXT4-fs (mmcblk1p2): mounted filesystem with ordered data mode. Opts: (null) [ 2.763069] VFS: Mounted root (ext4 filesystem) on device 179:50. [ 2.771469] devtmpfs: mounted [ 2.774651] Freeing unused kernel memory: 336K [ 2.779129] This architecture does not have kernel memory protection. [ 2.900529] systemd[1]: System time before build time, advancing clock. [ 2.937087] random: systemd: uninitialized urandom read (16 bytes read, 17 bits of entropy available) [ 2.949893] random: systemd: uninitialized urandom read (16 bytes read, 17 bits of entropy available) [ 2.961237] 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) [ 2.979701] systemd[1]: Detected architecture arm. Welcome to Arago 2016.12! [ 3.008353] systemd[1]: Set hostname to <dra7xx-evm>. [ 3.082369] random: systemd-sysv-ge: uninitialized urandom read (16 bytes read, 19 bits of entropy available) [ 3.082664] random: systemd-gpt-aut: uninitialized urandom read (16 bytes read, 19 bits of entropy available) [ 3.082817] random: systemd-gpt-aut: uninitialized urandom read (16 bytes read, 19 bits of entropy available) [ 3.131460] random: systemd-sysv-ge: uninitialized urandom read (16 bytes read, 21 bits of entropy available) [ 3.150556] random: systemd-sysv-ge: uninitialized urandom read (16 bytes read, 21 bits of entropy available) [ 3.197622] random: systemd: uninitialized urandom read (16 bytes read, 23 bits of entropy available) [ 3.207087] random: systemd: uninitialized urandom read (16 bytes read, 23 bits of entropy available) [ 3.217000] random: systemd: uninitialized urandom read (16 bytes read, 23 bits of entropy available) [ 3.475942] systemd[1]: Configuration file /etc/systemd/system/multi-user.target.wants/vsdk.service is marked executable. Please remove executable permission bits. Proceeding anyway. [ 3.492322] systemd[1]: Configuration file /etc/systemd/system/multi-user.target.wants/vsdk.service is marked world-writable. Please remove world writability permission bits. Proceeding anyway. [ 3.510420] systemd[1]: [/etc/systemd/system/multi-user.target.wants/vsdk.service:3] Failed to add dependency on rc.pvr, ignoring: Invalid argument [ 3.613534] systemd[1]: sysinit.target: Found ordering cycle on sysinit.target/start [ 3.621364] systemd[1]: sysinit.target: Found dependency on alignment.service/start [ 3.629079] systemd[1]: sysinit.target: Found dependency on basic.target/start [ 3.636336] systemd[1]: sysinit.target: Found dependency on sockets.target/start [ 3.643807] systemd[1]: sysinit.target: Found dependency on dropbear.socket/stop [ 3.651258] systemd[1]: sysinit.target: Found dependency on sysinit.target/start [ 3.658721] systemd[1]: sysinit.target: Breaking ordering cycle by deleting job alignment.service/start [ 3.668179] 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 [ 3.699782] systemd[1]: Listening on Journal Socket. [ OK ] Listening on Journal Socket. [ 3.717550] systemd[1]: Listening on Network Service Netlink Socket. [ OK ] Listening on Network Service Netlink Socket. [ 3.748580] systemd[1]: Created slice User and Session Slice. [ OK ] Created slice User and Session Slice. [ 3.767378] systemd[1]: Listening on udev Kernel Socket. [ OK ] Listening on udev Kernel Socket. [ 3.787341] systemd[1]: Reached target Remote File Systems. [ OK ] Reached target Remote File Systems. [ 3.817397] systemd[1]: Listening on Journal Socket (/dev/log). [ OK ] Listening on Journal Socket (/dev/log). [ 3.837360] systemd[1]: Listening on Syslog Socket. [ OK ] Listening on Syslog Socket. [ 3.857455] systemd[1]: Started Forward Password Requests to Wall Directory Watch. [ OK ] Started Forward Password Requests to Wall Directory Watch. [ 3.877413] systemd[1]: Listening on /dev/initctl Compatibility Named Pipe. [ OK ] Listening on /dev/initctl Compatibility Named Pipe. [ 3.897415] systemd[1]: Listening on udev Control Socket. [ OK ] Listening on udev Control Socket. [ 3.917455] systemd[1]: Started Dispatch Password Requests to Console Directory Watch. [ OK ] Started Dispatch Password Requests to Console Directory Watch. [ 3.947339] systemd[1]: Reached target Paths. [ OK ] Reached target Paths. [ 3.975215] systemd[1]: Created slice System Slice. [ OK ] Created slice System Slice. [ 4.027379] systemd[1]: Mounting Debug File System... Mounting Debug File System... [ 4.049447] systemd[1]: Mounting POSIX Message Queue File System... Mounting POSIX Message Queue File System... [ 4.078103] systemd[1]: Created slice system-getty.slice. [ OK ] Created slice system-getty.slice. [ 4.147472] systemd[1]: Starting Setup Virtual Console... Starting Setup Virtual Console... [ 4.182358] systemd[1]: Starting Load Kernel Modules... Starting Load Kernel Modules... [ 4.207392] systemd[1]: Reached target Swap. [ OK ] Reached target Swap. [ 4.229562] systemd[1]: Starting Journal Service... Starting Journal Service... [ 4.259600] 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.287404] systemd[1]: Reached target Slices. [ OK ] Reached target Slices. [ 4.337494] systemd[1]: Starting Remount Root and Kernel File Systems... Starting Remount Root and Kernel File Systems... [ 4.358469] systemd[1]: Created slice system-serial\x2dgetty.slice. [ 4.358737] EXT4-fs (mmcblk1p2): re-mounted. Opts: (null) [ OK ] Created slice system-serial\x2dgetty.slice. [ 4.400646] systemd[1]: Mounting Temporary Directory... Mounting Temporary Directory... [ 4.433282] systemd[1]: Mounted Debug File System. [ OK ] Mounted Debug File System. [ 4.457431] systemd[1]: Mounted POSIX Message Queue File System. [ OK ] Mounted POSIX Message Queue File System. [ 4.488220] systemd[1]: Mounted Temporary Directory. [ OK ] Mounted Temporary Directory. [ 4.517566] systemd[1]: Started Journal Service. [ OK ] Started Journal Service. [ OK ] Started Setup Virtual Console. [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. [ 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 Create Static Device Nodes in /dev. [ OK ] Started Apply Kernel Variables. [ 5.161842] systemd-journald[140]: 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 Kernel Device Manager. [ OK ] Started udev Coldplug all Devices. [ 5.541113] omap-rproc 55020000.ipu: assigned reserved memory node ipu2_cma@95800000 [ 5.572412] remoteproc0: 55020000.ipu is available [ 5.589950] remoteproc0: Note: remoteproc is still under development and considered experimental. [ 5.631495] remoteproc0: THE BINARY FORMAT IS NOT YET FINALIZED, and backward compatibility isn't yet guaranteed. [ OK ] Reached target Local File Systems.[ 5.665690] omap-rproc 40800000.dsp: assigned reserved memory node dsp1_cma@99000000 [ 5.706266] remoteproc1: 40800000.dsp is available Starting Create Volatile Files and Directories...[ 5.743343] remoteproc1: Note: remoteproc is still under development and considered experimental. [ 5.795271] remoteproc1: THE BINARY FORMAT IS NOT YET FINALIZED, and backward compatibility isn't yet guaranteed. Starting Load/Save Random Seed...[ 5.821059] omap_rng 48090000.rng: OMAP Random Number Generator ver. 20 [ 5.837550] omap-rproc 41000000.dsp: assigned reserved memory node dsp2_cma@9f000000 [ OK ] Started Create Volatile Files and Directories. [ 5.886225] remoteproc2: 41000000.dsp is available [ OK ] Started Load/Save Random Seed. [ 5.915286] remoteproc2: Note: remoteproc is still under development and considered experimental. [ 5.935557] remoteproc2: THE BINARY FORMAT IS NOT YET FINALIZED, and backward compatibility isn't yet guaranteed. [ 5.954859] omap-des 480a5000.des: OMAP DES hw accel rev: 2.2 [ OK ] Found device /dev/ttyS0. [ 6.005703] remoteproc0: registered virtio0 (type 7) [ 6.041897] omap_rtc 48838000.rtc: rtc core: registered 48838000.rtc as rtc0 [ 6.183344] remoteproc1: registered virtio1 (type 7) Starting Network Time Synchronization... Starting Update UTMP about System Boot/Shutdown... [ 6.261947] omap-sham 4b101000.sham: hw accel on OMAP rev 4.3 [ 6.311120] SCSI subsystem initialized [ 6.327013] remoteproc2: registered virtio2 (type 7) [ 6.337442] CAN device driver interface [ OK ] Started Network Time Synchronization. [ 6.365963] omap-aes 4b500000.aes: OMAP AES hw accel rev: 3.3 [ 6.418522] omap-aes 4b700000.aes: OMAP AES hw accel rev: 3.3 [ 6.425680] c_can_platform 4ae3c000.can: c_can_platform device registered (regs=fce3c000, irq=358) [ 6.497197] ahci 4a140000.sata: SSS flag set, parallel bus scan disabled [ 6.505277] ahci 4a140000.sata: AHCI 0001.0300 32 slots 1 ports 3 Gbps 0x1 impl platform mode [ OK ] Started Update UTMP about System Boot/Shutdown. [ 6.570537] ahci 4a140000.sata: flags: 64bit ncq sntf stag pm led clo only pmp pio slum part ccc apst [ 6.653588] scsi host0: ahci [ 6.656728] ata1: SATA max UDMA/133 mmio [mem 0x4a140000-0x4a1410ff] port 0x100 irq 342 Starting Synchronize System and HW clocks... [ 6.698532] [drm] Initialized pvr 1.14.3699939 20110701 on minor 1 [ OK ] Reached target System Time Synchronized. [ OK ] Started Synchronize System and HW clocks. [ 6.977934] FAT-fs (mmcblk1p1): Volume was not properly unmounted. Some data may be corrupt. Please run fsck. [ OK ] Listening on Load/Save RF Kill Switch Status /dev/rfkill Watch. [ OK ] Reached target Sound Card. [ 7.027195] ata1: SATA link down (SStatus 0 SControl 300) [ OK ] Reached target System Initialization. [ OK ] Listening on Avahi mDNS/DNS-SD Stack Activation Socket. [ OK ] Started Daily Cleanup of Temporary Directories. [ OK ] Reached target Timers. [ OK ] Listening on RPCbind Server Activation Socket. [ OK ] Listening on D-Bus System Message Bus Socket. [ OK ] Listening on dropbear.socket. [ OK ] Reached target Sockets. [ OK ] Reached target Basic System. [ 7.256091] remoteproc0: powering up 55020000.ipu [ OK ] Started System Logging Service. [ 7.292499] remoteproc0: Booting fw image dra7-ipu2-fw.xem4, size 9552960 [ OK ] Started Launching Vision SDK App. [ 7.303291] omap-iommu 55082000.mmu: 55082000.mmu: version 2.1 Starting Telephony service... Starting uim-sysfs.service... [ 7.359798] remoteproc0: remote processor 55020000.ipu is now up [ 7.373161] virtio_rpmsg_bus virtio0: rpmsg host is online [ 7.380753] remoteproc1: powering up 40800000.dsp [ 7.391236] DMA: Module install successful, device major num = 244 Starting TI MultiCore Tools Daemon...[ 7.398941] DRV: Module install successful Starting Login Service... [ 7.424504] remoteproc1: Booting fw image dra7-dsp1-fw.xe66, size 7455648 [ 7.453626] omap_hwmod: mmu0_dsp1: _wait_target_disable failed [ 7.459520] omap-iommu 40d01000.mmu: 40d01000.mmu: version 3.0 [ 7.465468] omap-iommu 40d02000.mmu: 40d02000.mmu: version 3.0 Starting Print notice about GPLv3 packages... Starting Avahi mDNS/DNS-SD Stack... Starting Permit User Sessions... [ OK ] Started Kernel Logging Service. [ OK ] Started strongSwan IPsec IKEv1/IKEv2 daemon using ipsec.conf. [ OK ] Started D-Bus System Message Bus. [ 7.664224] remoteproc1: remote processor 40800000.dsp is now up [ 7.698934] virtio_rpmsg_bus virtio1: rpmsg host is online [ OK ] Started Telephony service. [ OK ] Started Avahi mDNS/DNS-SD Stack. [ 7.727798] remoteproc2: powering up 41000000.dsp Starting Network Service... Starting Save/Restore Sound Card State... [ 7.777718] remoteproc2: Booting fw image dra7-dsp2-fw.xe66, size 7455648 [ 7.791246] omap_hwmod: mmu0_dsp2: _wait_target_disable failed [ 7.797141] omap-iommu 41501000.mmu: 41501000.mmu: version 3.0 [FAILED[ 7.803102] omap-iommu 41502000.mmu: 41502000.mmu: version 3.0 ] Failed to start TI MultiCore Tools Daemon. See 'systemctl status ti-mct-daemon.service' for details. [ OK ] Started Permit User Sessions. [ OK ] Started Save/Restore Sound Card State. [ 7.904452] remoteproc2: remote processor 41000000.dsp is now up [ 7.932326] virtio_rpmsg_bus virtio2: rpmsg host is online [ 7.943194] Bluetooth: Core ver 2.21 [ 7.946855] NET: Registered protocol family 31 [ 7.960355] Bluetooth: HCI device and connection manager initialized [ 7.973464] NET: Registered protocol family 15 [ 7.986514] virtio_rpmsg_bus virtio0: creating channel rpmsg-proto addr 0x50 [ 7.997416] virtio_rpmsg_bus virtio1: creating channel rpmsg-proto addr 0x50 [ 8.009587] Bluetooth: HCI socket layer initialized [ 8.037672] NET: Registered protocol family 41 [ 8.046628] Bluetooth: L2CAP socket layer initialized [ 8.055216] virtio_rpmsg_bus virtio2: creating channel rpmsg-proto addr 0x50 [ 8.075981] Bluetooth: SCO socket layer initialized [ 8.093240] net eth1: initializing cpsw version 1.15 (0) [ OK ] Started Network Service. [ 8.112362] net eth0: initialized cpsw ale version 1.4 [ 8.138987] net eth0: ALE Table size 1024 [ 8.173014] net eth1: phy found : id is : 0x20005c7a [ 8.213915] IPv6: ADDRCONF(NETDEV_UP): eth1: link is not ready [ 8.244037] net eth0: initializing cpsw version 1.15 (0) [ 8.278065] net eth0: phy found : id is : 0x20005c7a [ 8.288148] usbcore: registered new interface driver usbfs [ 8.294604] Initializing XFRM netlink socket [ 8.299209] usbcore: registered new interface driver hub [ 8.319473] usbcore: registered new device driver usb [ 8.327264] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready [ 8.392494] dwc3 48890000.usb: otg: primary host xhci-hcd.0.auto registered [ 8.410532] dwc3 48890000.usb: otg: shared host xhci-hcd.0.auto registered [ 8.444385] dwc3 48890000.usb: otg: can't start till gadget registers [ 8.463007] xhci-hcd xhci-hcd.1.auto: xHCI Host Controller [ 8.476209] xhci-hcd xhci-hcd.1.auto: new USB bus registered, assigned bus number 1 [ 8.489192] omap_l3_noc 44000000.ocp: L3 application error: target 3 mod:2 (unclearable) [ 8.497341] omap_l3_noc 44000000.ocp: L3 debug error: target 3 mod:2 (unclearable) [ 8.514210] xhci-hcd xhci-hcd.1.auto: hcc params 0x0220f04c hci version 0x100 quirks 0x00210010 [ 8.534820] xhci-hcd xhci-hcd.1.auto: irq 500, io mem 0x488d0000 [ 8.552549] hub 1-0:1.0: USB hub found [ 8.558236] hub 1-0:1.0: 1 port detected [ 8.570666] xhci-hcd xhci-hcd.1.auto: xHCI Host Controller [ 8.592284] random: nonblocking pool is initialized [ 8.604136] xhci-hcd xhci-hcd.1.auto: new USB bus registered, assigned bus number 2 [ 8.632921] usb usb2: We don't know the algorithms for LPM for this host, disabling LPM. [ 8.673055] hub 2-0:1.0: USB hub found [ 8.686352] hub 2-0:1.0: 1 port detected [ OK ] Reached target Network. Starting Lightning Fast Webserver With Light System Requirements... Starting Network Name Resolution... [ OK ] Started Serial Getty on ttyS0. [ OK ] Started Getty on tty1. [ OK ] Started Login Service. [ OK ] Started Network Name Resolution. [ OK ] Started Lightning Fast Webserver With Light System Requirements. [ OK ] Started uim-sysfs.service. Starting rc.pvr.service... [ 10.159817] PVR_K: UM DDK-(3699939) and KM DDK-(3699939) match. [ OK ] [ OK ] Started rc.pvr.service. Starting weston.service... [ OK ] Started weston.service. Starting telnetd.service... Starting tiipclad-daemon.service... [ OK ] Started telnetd.service. [ OK ] Started tiipclad-daemon.service. Starting vsdkautorun.service... Starting thttpd.service... [FAILED] Failed to start vsdkautorun.service. See 'systemctl status vsdkautorun.service' for details. [ OK ] Started thttpd.service. Starting rng-tools.service... *************************************************************** *************************************************************** NOTICE: This file system contains the following GPLv3 packages: autoconf binutils-dev binutils bison-dev bison cpp-symlinks cpp dosfstools g++-symlinks g++ gawk-dev gawk gcc-symlinks gcc gdb gdbc6x gdbserver gstreamer1.0-libav libcairo-perf-utils libgmp10 libidn11 libmpc3 libmpfr4 m4-dev m4 make nettle parted swig-dev swig If you do not wish to distribute GPLv3 components please remove the above packages prior to distribution. This can be done using the opkg remove command. i.e.: opkg remove <package> Where <package> is the name printed in the list above NOTE: If the package is a dependency of another package you will be notified of the dependent packages. You should use the --force-removal-of-dependent-packages option to also remove the dependent packages as well *************************************************************** ***************************************************************
Dear Shravan,
[FAILED] Failed to start vsdkautorun.service.
See 'systemctl status vsdkautorun.service' for details.[ 11.418326] systemd[1]: vsdkautorun.service: Unit entered failed state.
[Unit] Description=Launching Vision SDK App After=rc.pvr [Service] ExecStart=/bin/sh /opt/vision_sdk/autorun.sh Restart=always Type=simple [Install] WantedBy=multi-user-target
echo "Inside the script" > /tmp/vsdk.log cd /opt/vision_sdk ./vision_sdk_load.sh >> /tmp/vsdk.log ./apps.out >> /tmp/vsdk.log
Dear Shravan
this is my new log, vsdkautorun.service and autorun.sh.
echo "Inside the script" > /tmp/vsdk.log cd /opt/vision_sdk ./vision_sdk_load.sh >> /tmp/vsdk.log ./apps.out >> /tmp/vsdk.log
[Unit] Description=Launching Vision SDK App After=rc.pvr [Service] ExecStart=/bin/sh /opt/vision_sdk/autorun.sh Restart=always Type=simple [Install] WantedBy=multi-user-target
Hi Owen,
Thank you for the information. The modules and kernel version are the same.
I would recommend creating a new card with the file-system provided as part of the release, and rebuild vision-SDK, linux.
Don't make the changes for auto-login, and check if you're able to run Vision-SDK.
Only after this is working, please try the change mentioned above for auto-login. You also need to make sure your vision-SDK application takes no input from stdin. Running a process in background will not work if there is user input.
Regards
Shravan