Part Number:DRA745
Tool/software: Linux
Hi,expert,
I want to automatically run app.out when the boot the system.
I add init=/home/root/init-demo.sh to uenv.txt.
change LAUNCH_DEMO=1 in init-demo.sh.
But I got an error .the log as below:
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-00029-g1b6c2992-dirty (adas@ps-15b-devik) (gcc version 5.3.1 20160113 (Linaro GCC 5.3-2016.02) ) #24 SMP PREEMPT Wed Mar 20 16:17:13 CST 2019 [ 0.000000] CPU: ARMv7 Processor [412fc0f2] revision 2 (ARMv7), cr=10c5387d [ 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 0x40300000, 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 0x99000000, size 32 MiB [ 0.000000] Reserved memory: initialized node ipu2_cma@88000000, compatible id shared-dma-pool [ 0.000000] Reserved memory: created CMA memory pool at 0x9b000000, size 16 MiB [ 0.000000] Reserved memory: initialized node dsp1_cma@8A000800, compatible id shared-dma-pool [ 0.000000] Reserved memory: created CMA memory pool at 0x9c000000, size 16 MiB [ 0.000000] Reserved memory: initialized node dsp2_cma@8A001000, compatible id shared-dma-pool [ 0.000000] Reserved memory: incorrect alignment of CMA region [ 0.000000] Reserved memory: regions without no-map are not yet supported [ 0.000000] Reserved memory: created DMA memory pool at 0x9d200000, size 32 MiB [ 0.000000] Reserved memory: initialized node cmem@9D200000, compatible id shared-dma-pool [ 0.000000] Reserved memory: regions without no-map are not yet supported [ 0.000000] cma: Reserved 24 MiB at 0x97800000 [ 0.000000] Memory policy: Data cache writealloc [ 0.000000] OMAP4: Map 0x9fe00000 to fe600000 for dram barrier [ 0.000000] On node 0 totalpages: 122368 [ 0.000000] free_area_init_node: node 0, pgdat c08e7340, node_mem_map df64c000 [ 0.000000] Normal zone: 1152 pages used for memmap [ 0.000000] Normal zone: 0 pages reserved [ 0.000000] Normal zone: 122368 pages, LIFO batch:31 [ 0.000000] DRA752 ES1.1 [ 0.000000] PERCPU: Embedded 11 pages/cpu @df5d3000 s14912 r8192 d21952 u45056 [ 0.000000] pcpu-alloc: s14912 r8192 d21952 u45056 alloc=11*4096 [ 0.000000] pcpu-alloc: [0] 0 [0] 1 [ 0.000000] Built 1 zonelists in Zone order, mobility grouping on. Total pages: 121216 [ 0.000000] Kernel command line: console=ttyO0,115200n8 vram=16M root=PARTUUID=2366589b-02 rw rootwait ip=none mem=512M loglevel=8 init=/home/root/init-demo.sh [ 0.000000] PID hash table entries: 2048 (order: 1, 8192 bytes) [ 0.000000] Dentry cache hash table entries: 65536 (order: 6, 262144 bytes) [ 0.000000] Inode-cache hash table entries: 32768 (order: 5, 131072 bytes) [ 0.000000] Memory: 64012K/489472K available (6087K kernel code, 318K rwdata, 2356K rodata, 328K init, 286K bss, 335348K reserved, 90112K cma-reserved, 0K highmem) [ 0.000000] Virtual kernel memory layout: [ 0.000000] vector : 0xffff0000 - 0xffff1000 ( 4 kB) [ 0.000000] fixmap : 0xffc00000 - 0xfff00000 (3072 kB) [ 0.000000] vmalloc : 0xe0800000 - 0xff800000 ( 496 MB) [ 0.000000] lowmem : 0xc0000000 - 0xe0000000 ( 512 MB) [ 0.000000] pkmap : 0xbfe00000 - 0xc0000000 ( 2 MB) [ 0.000000] modules : 0xbf000000 - 0xbfe00000 ( 14 MB) [ 0.000000] .text : 0xc0008000 - 0xc084701c (8445 kB) [ 0.000000] .init : 0xc0848000 - 0xc089a000 ( 328 kB) [ 0.000000] .data : 0xc089a000 - 0xc08e9970 ( 319 kB) [ 0.000000] .bss : 0xc08eb000 - 0xc0932990 ( 287 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.000418] clocksource: 32k_counter: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 58327039986419 ns [ 0.000426] OMAP clocksource: 32k_counter at 32768 Hz [ 0.000956] Console: colour dummy device 80x30 [ 0.000976] WARNING: Your 'console=ttyO0' has been replaced by 'ttyS0' [ 0.000982] This ensures that you still see kernel messages. Please [ 0.000988] update your kernel commandline. [ 0.001000] Calibrating delay loop (skipped), value calculated using timer frequency.. 12.29 BogoMIPS (lpj=61475) [ 0.001013] pid_max: default: 32768 minimum: 301 [ 0.001109] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes) [ 0.001119] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes) [ 0.001747] Initializing cgroup subsys io [ 0.001765] Initializing cgroup subsys memory [ 0.001792] Initializing cgroup subsys devices [ 0.001805] Initializing cgroup subsys freezer [ 0.001817] Initializing cgroup subsys perf_event [ 0.001830] Initializing cgroup subsys pids [ 0.001858] CPU: Testing write buffer coherency: ok [ 0.002084] /cpus/cpu@0 missing clock-frequency property [ 0.002100] /cpus/cpu@1 missing clock-frequency property [ 0.002111] CPU0: thread -1, cpu 0, socket 0, mpidr 80000000 [ 0.002155] Setting up static identity map for 0x80008340 - 0x800083a0 [ 0.080018] CPU1: thread -1, cpu 1, socket 0, mpidr 80000001 [ 0.080083] Brought up 2 CPUs [ 0.080097] SMP: Total of 2 processors activated (24.59 BogoMIPS). [ 0.080104] CPU: All CPU(s) started in HYP mode. [ 0.080110] CPU: Virtualization extensions available. [ 0.081195] devtmpfs: initialized [ 0.111514] VFP support v0.3: implementor 41 architecture 4 part 30 variant f rev 0 [ 0.112466] omap_hwmod: l3_main_2 using broken dt data from ocp [ 0.316080] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns [ 0.316104] futex hash table entries: 512 (order: 3, 32768 bytes) [ 0.318262] pinctrl core: initialized pinctrl subsystem [ 0.319151] NET: Registered protocol family 16 [ 0.320125] DMA: preallocated 256 KiB pool for atomic coherent allocations [ 0.350218] cpuidle: using governor ladder [ 0.380242] cpuidle: using governor menu [ 0.389121] OMAP GPIO hardware version 0.1 [ 0.395916] irq: no irq domain found for /ocp/l4@4a000000/scm@2000/pinmux@1400 ! [ 0.411993] omap-gpmc 50000000.gpmc: GPMC revision 6.0 [ 0.412006] gpmc_mem_init: disabling cs 0 mapped at 0x0-0x1000000 [ 0.420966] hw-breakpoint: found 5 (+1 reserved) breakpoint and 4 watchpoint registers. [ 0.420976] hw-breakpoint: maximum watchpoint size is 8 bytes. [ 0.421498] omap4_sram_init:Unable to allocate sram needed to handle errata I688 [ 0.421507] omap4_sram_init:Unable to get sram pool needed to handle errata I688 [ 0.422026] OMAP DMA hardware revision 0.0 [ 0.462159] omap-dma-engine 4a056000.dma-controller: OMAP DMA engine driver (LinkedList1/2/3 supported) [ 0.463382] edma 43300000.edma: memcpy is disabled [ 0.468353] edma 43300000.edma: TI EDMA DMA engine driver [ 0.472406] omap-iommu 40d01000.mmu: 40d01000.mmu registered [ 0.472601] omap-iommu 40d02000.mmu: 40d02000.mmu registered [ 0.472768] omap-iommu 58882000.mmu: 58882000.mmu registered [ 0.472926] omap-iommu 55082000.mmu: 55082000.mmu registered [ 0.473221] omap-iommu 41501000.mmu: 41501000.mmu registered [ 0.473424] omap-iommu 41502000.mmu: 41502000.mmu registered [ 0.476855] palmas 0-0058: IRQ missing: skipping irq request [ 0.490777] palmas 0-0058: Muxing GPIO 2e, PWM 0, LED 0 [ 0.562763] pcf857x: probe of 0-0021 failed with error -121 [ 0.562808] omap_i2c 48070000.i2c: bus 0 rev0.12 at 400 kHz [ 0.563225] omap_i2c 48060000.i2c: bus 2 rev0.12 at 400 kHz [ 0.563438] media: Linux media interface: v0.10 [ 0.563491] Linux video capture interface: v2.00 [ 0.563534] pps_core: LinuxPPS API ver. 1 registered [ 0.563541] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it> [ 0.563568] PTP clock support registered [ 0.563621] EDAC MC: Ver: 3.0.0 [ 0.564404] omap-mailbox 48840000.mailbox: omap mailbox rev 0x400 [ 0.564700] omap-mailbox 48842000.mailbox: omap mailbox rev 0x400 [ 0.565056] Advanced Linux Sound Architecture Driver Initialized. [ 0.565948] clocksource: Switched to clocksource arch_sys_counter [ 0.577010] NET: Registered protocol family 2 [ 0.577560] TCP established hash table entries: 4096 (order: 2, 16384 bytes) [ 0.577600] TCP bind hash table entries: 4096 (order: 3, 32768 bytes) [ 0.577667] TCP: Hash tables configured (established 4096 bind 4096) [ 0.577709] UDP hash table entries: 256 (order: 1, 8192 bytes) [ 0.577729] UDP-Lite hash table entries: 256 (order: 1, 8192 bytes) [ 0.577933] NET: Registered protocol family 1 [ 0.578190] RPC: Registered named UNIX socket transport module. [ 0.578198] RPC: Registered udp transport module. [ 0.578205] RPC: Registered tcp transport module. [ 0.578212] RPC: Registered tcp NFSv4.1 backchannel transport module. [ 0.578231] PCI: CLS 0 bytes, default 64 [ 0.579330] hw perfevents: enabled with armv7_cortex_a15 PMU driver, 7 counters available [ 0.588620] squashfs: version 4.0 (2009/01/31) Phillip Lougher [ 0.589259] NFS: Registering the id_resolver key type [ 0.589288] Key type id_resolver registered [ 0.589296] Key type id_legacy registered [ 0.589360] ntfs: driver 2.1.32 [Flags: R/O]. [ 0.590800] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 247) [ 0.590817] io scheduler noop registered [ 0.590830] io scheduler deadline registered [ 0.590864] io scheduler cfq registered (default) [ 0.596149] pinctrl-single 4a003400.pinmux: 282 pins at pa fc003400 size 1128 [ 0.599595] PCI host bridge /ocp/axi@0/pcie_rc@51000000 ranges: [ 0.599608] No bus range found for /ocp/axi@0/pcie_rc@51000000, using [bus 00-ff] [ 0.599640] IO 0x20003000..0x20012fff -> 0x00000000 [ 0.599662] MEM 0x20013000..0x2fffffff -> 0x20013000 [ 0.631909] dra7-pcie 51000000.pcie_rc: link is not up [ 0.632077] dra7-pcie 51000000.pcie_rc: PCI host bridge to bus 0000:00 [ 0.632089] pci_bus 0000:00: root bus resource [bus 00-ff] [ 0.632101] pci_bus 0000:00: root bus resource [io 0x0000-0xffff] [ 0.632111] pci_bus 0000:00: root bus resource [mem 0x20013000-0x2fffffff] [ 0.632145] pci 0000:00:00.0: [104c:8888] type 01 class 0x060400 [ 0.632189] pci 0000:00:00.0: reg 0x10: [mem 0x00000000-0x000fffff] [ 0.632211] pci 0000:00:00.0: reg 0x14: [mem 0x00000000-0x0000ffff] [ 0.632281] pci 0000:00:00.0: supports D1 [ 0.632290] pci 0000:00:00.0: PME# supported from D0 D1 D3hot [ 0.632523] PCI: bus0: Fast back to back transfers disabled [ 0.632644] PCI: bus1: Fast back to back transfers enabled [ 0.632727] pci 0000:00:00.0: BAR 0: assigned [mem 0x20100000-0x201fffff] [ 0.632742] pci 0000:00:00.0: BAR 1: assigned [mem 0x20020000-0x2002ffff] [ 0.632755] pci 0000:00:00.0: PCI bridge to [bus 01] [ 0.632992] pcieport 0000:00:00.0: Signaling PME through PCIe PME interrupt [ 0.633005] pcie_pme 0000:00:00.0:pcie01: service driver pcie_pme loaded [ 0.633135] aer 0000:00:00.0:pcie02: service driver aer loaded [ 0.697281] Serial: 8250/16550 driver, 10 ports, IRQ sharing disabled [ 0.700702] 4806a000.serial: ttyS0 at MMIO 0x4806a000 (irq = 301, base_baud = 3000000) is a 8250 [ 1.766914] console [ttyS0] enabled [ 1.771308] 4806c000.serial: ttyS1 at MMIO 0x4806c000 (irq = 302, base_baud = 3000000) is a 8250 [ 1.781020] 48020000.serial: ttyS2 at MMIO 0x48020000 (irq = 303, base_baud = 3000000) is a 8250 [ 1.791352] [drm] Initialized drm 1.1.0 20060810 [ 1.796958] [drm] Supports vblank timestamp caching Rev 2 (21.10.2013). [ 1.803601] [drm] No driver support for vblank timestamp query. [ 1.809778] [drm] Initialized vdrm 1.0.0 20110917 on minor 0 [ 1.817130] OMAP DSS rev 6.1 [ 1.820897] omapdss_dss 58000000.dss: bound 58001000.dispc (ops dispc_component_ops) [ 1.836976] loop: module loaded [ 1.840498] vmemexp device MAJOR num = 245 [ 1.844625] vmemexp class registered [ 1.848362] /dev/vmemexp device registered [ 1.852475] ioctl DBUFIOC_EXPORT_VIRTMEM = -1072899120 [ 1.861533] libphy: Fixed MDIO Bus: probed [ 1.915982] davinci_mdio 48485000.mdio: davinci mdio revision 1.6 [ 1.922104] davinci_mdio 48485000.mdio: no live phy, scanning all [ 1.929719] davinci_mdio: probe of 48485000.mdio failed with error -5 [ 1.936864] cpsw 48484000.ethernet: Detected MACID = 34:03:de:e5:96:48 [ 1.943521] cpsw 48484000.ethernet: cpts: overflow check period 800 [ 1.950533] cpsw 48484000.ethernet: cpsw: Detected MACID = 34:03:de:e5:96:49 [ 1.959261] mousedev: PS/2 mouse device common for all mice [ 1.965537] i2c /dev entries driver [ 1.974637] omap_hsmmc 4809c000.mmc: Got CD GPIO [ 2.026833] ledtrig-cpu: registered to indicate activity on CPUs [ 2.047816] davinci-mcasp 48468000.mcasp: ERRATA i868 workaround is enabled [ 2.055015] davinci-mcasp 4847c000.mcasp: invalid tdm slots: 0 [ 2.077543] NET: Registered protocol family 10 [ 2.086515] sit: IPv6 over IPv4 tunneling driver [ 2.091735] NET: Registered protocol family 17 [ 2.096451] Key type dns_resolver registered [ 2.100889] omap_voltage_late_init: Voltage driver support not added [ 2.107799] Adding alias for supply vdd,cpu0 -> vdd,4a003b20.oppdm [ 2.114007] Adding alias for supply vbb,cpu0 -> vbb,4a003b20.oppdm [ 2.120721] Adding alias for supply vdd,cpu0 -> vdd,4a003b20.oppdm [ 2.126953] Adding alias for supply vbb,cpu0 -> vbb,4a003b20.oppdm [ 2.134293] Power Management for TI OMAP4+ devices. [ 2.139423] Registering SWP/SWPB emulation handler [ 2.145603] dmm 4e000000.dmm: workaround for errata i878 in use [ 2.153318] dmm 4e000000.dmm: initialized all PAT entries [ 2.161272] [drm] Supports vblank timestamp caching Rev 2 (21.10.2013). [ 2.167938] [drm] No driver support for vblank timestamp query. [ 2.174372] [drm] Initialized omapdrm 1.0.0 20110917 on minor 1 [ 2.181846] hctosys: unable to open rtc device (rtc0) [ 2.193213] mmc0: host does not support reading read-only switch, assuming write-enable [ 2.201391] evm_1v8: disabling [ 2.203267] mmc0: new high speed SDHC card at address 59b4 [ 2.210014] vmmcwl_fixed: disabling [ 2.213723] ldousb: disabling [ 2.213850] mmcblk0: mmc0:59b4 USD 7.51 GiB [ 2.217482] mmcblk0: p1 p2 [ 2.224520] ALSA device list: [ 2.227519] No soundcards found. [ 2.232550] EXT4-fs (mmcblk0p2): couldn't mount as ext3 due to feature incompatibilities [ 2.241237] EXT4-fs (mmcblk0p2): couldn't mount as ext2 due to feature incompatibilities [ 2.274320] EXT4-fs (mmcblk0p2): mounted filesystem with ordered data mode. Opts: (null) [ 2.282528] VFS: Mounted root (ext4 filesystem) on device 179:2. [ 2.289374] devtmpfs: mounted [ 2.292629] Freeing unused kernel memory: 328K [ 2.297109] This architecture does not have kernel memory protection. mount: unknown filesystem type 'dev' dra7-ipu2-fw.xem4 loaded already [ 2.929024] [drm] Initialized pvr 1.14.3699939 20110701 on minor 2 [ 3.017318] PVR_K: UM DDK-(3699939) and KM DDK-(3699939) match. [ OK ] Loaded PowerVR consumer services. [ 3.102326] DMA: Module install successful, device major num = 242 [ 3.108730] DRV: Module install successful insmod: ERROR: could not load module ./bin/cmemk.ko: No such file or directory ./disableDssInterruptsOnA15.sh: line 11: @0x4A002ACA:: command not found ./disableDssInterruptsOnA15.sh: line 12: @0x4A002ACA:: command not found ./disableDssInterruptsOnA15.sh: line 13: @0x4A002ACA:: command not found ./disableDssInterruptsOnA15.sh: line 14: @0x4A002ACA:: command not found ./disableDssInterruptsOnA15.sh: line 15: @0x4A002ACA:: command not found ./disableDssInterruptsOnA15.sh: line 16: @0x4A002ACA:: command not found ./disableDssInterruptsOnA15.sh: line 17: @0x4A002ACA:: command not found ./disableDssInterruptsOnA15.sh: line 18: @0x4A002ACA:: command not found ./disableDssInterruptsOnA15.sh: line 19: @0x4A002ACA:: command not found updated 0x4A002ACA value is 00930000 [HOST] OSA: MEM: 0: Mapped 0x9fc00000 to 0xb69ea000 of size 0x00100000 [HOST] OSA: MEM: 1: Mapped 0x84203000 to 0xa6cea000 of size 0x0fd00000 [HOST] OSA: MEM: 2: Mapped 0x9fd00000 to 0xa6c2a000 of size 0x00040000 [HOST] OSA: MEM: 3: Mapped 0x9fdc0000 to 0xa6c6a000 of size 0x00080000 [HOST] OSA: MEM: 4: Mapped 0x00000000 to 0x00000000 of size 0x00000000 [HOST] OSA: HOST Remote Log Shared Memory @ 0x9fd4f140 [HOST] OSA: IPU2 Remote Log Shared Memory @ 0x9fe63da0 [HOST] [HOST ] 9.275910 s: SYSTEM: System A15 Init in progress !!!
Please give some suggestions.