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.

TDA2EXEVM: early boot late attach

Part Number: TDA2EXEVM

Hi all,

we are using tda2ex evm with vision sdk 2.12

we are trying  early boot late attach. we are using IPU2 core only. I have followed below link

http://processors.wiki.ti.com/index.php/Early_Boot_and_Late_Attach_in_Linux 

While booting ipu2 kernel panic occur. below i have attached my boot log.

U-Boot SPL 2016.05 (Sep 01 2017 - 14:25:09)
DRA722-GP ES2.0
Trying to boot from MMC1
reading dra7-ipu2-fw.xem4
reading u-boot.img
reading u-boot.img
reading u-boot.img
reading u-boot.img


U-Boot 2016.05 (Sep 01 2017 - 14:25:09 +0530)

CPU  : DRA722-GP ES2.0
Model: TI DRA722
Board: DRA72x EVM REV <NULL>
DRAM:  1 GiB
MMC:   OMAP SD/MMC: 0, OMAP SD/MMC: 1
Hit any key to stop autoboot:  0 
Saving Environment to MMC...
Writing to redundant MMC(1)... done
switch to partitions #0, OK
mmc0 is current device
SD/MMC found on device 0
2684344 bytes read in 124 ms (20.6 MiB/s)
105398 bytes read in 11 ms (9.1 MiB/s)
Booting from mmc0 ...
Kernel image @ 0x82000000 [ 0x000000 - 0x28f5b8 ]
## Flattened Device Tree blob at 88000000
   Booting using the fdt blob at 0x88000000
   Loading Device Tree to 8ffe3000, end 8ffffbb5 ... OK

Starting kernel ...

Booting Linux on physical CPU 0x0
Initializing cgroup subsys cpuset
Initializing cgroup subsys cpu
Initializing cgroup subsys cpuacct
Linux version 4.4.23 (niraj@FSETBLR1LX013) (gcc version 5.3.1 20160113 (Linaro GCC 5.3-2016.02) ) #1 SMP PREEMPT Wed Aug 30 11:24:01 IST 2017
CPU: ARMv7 Processor [412fc0f2] revision 2 (ARMv7), cr=30c5387d
CPU: PIPT / VIPT nonaliasing data cache, PIPT instruction cache
Machine model: TI DRA722 Rev C EVM
Reserved memory: regions without no-map are not yet supported
Reserved memory: created CMA memory pool at 0x0000000094000000, size 80 MiB
Reserved memory: initialized node ipu2_cma@95800000, compatible id shared-dma-pool
Reserved memory: created CMA memory pool at 0x0000000099000000, size 64 MiB
Reserved memory: initialized node dsp1_cma@99000000, compatible id shared-dma-pool
Reserved memory: created CMA memory pool at 0x000000009d000000, size 32 MiB
Reserved memory: initialized node ipu1_cma@9d000000, compatible id shared-dma-pool
Reserved memory: regions without no-map are not yet supported
Reserved memory: created DMA memory pool at 0x00000000a8000000, size 32 MiB
Reserved memory: initialized node cmem@A6000000, compatible id shared-dma-pool
cma: Reserved 24 MiB at 0x00000000be400000
Forcing write-allocate cache policy for SMP
Memory policy: Data cache writealloc
OMAP4: Map 0x00000000bfd00000 to fe600000 for dram barrier
DRA722 ES2.0
PERCPU: Embedded 11 pages/cpu @ef635000 s14720 r8192 d22144 u45056
Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 251456
Kernel command line: console=ttyS0,115200n8 root=PARTUUID=eb2d6480-02 rw lpj=61475 rootfstype=ext4 rootwait
PID hash table entries: 4096 (order: 2, 16384 bytes)
Dentry cache hash table entries: 131072 (order: 7, 524288 bytes)
Inode-cache hash table entries: 65536 (order: 6, 262144 bytes)
Memory: 497240K/1012736K available (3727K kernel code, 251K rwdata, 772K rodata, 252K init, 232K bss, 310696K reserved, 204800K cma-reserved, 234496K highmem)
Virtual kernel memory layout:
    vector  : 0xffff0000 - 0xffff1000   (   4 kB)
    fixmap  : 0xffc00000 - 0xfff00000   (3072 kB)
    vmalloc : 0xf0800000 - 0xff800000   ( 240 MB)
    lowmem  : 0xc0000000 - 0xf0000000   ( 768 MB)
    pkmap   : 0xbfe00000 - 0xc0000000   (   2 MB)
    modules : 0xbf000000 - 0xbfe00000   (  14 MB)
      .text : 0xc0008000 - 0xc046cf74   (4500 kB)
      .init : 0xc046d000 - 0xc04ac000   ( 252 kB)
      .data : 0xc04ac000 - 0xc04ead68   ( 252 kB)
       .bss : 0xc04ec000 - 0xc0526298   ( 233 kB)
SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
Preemptible hierarchical RCU implementation.
        Build-time adjustment of leaf fanout to 32.
        RCU restricting CPUs from NR_CPUS=2 to nr_cpu_ids=1.
RCU: Adjusting geometry for rcu_fanout_leaf=32, nr_cpu_ids=1
NR_IRQS:16 nr_irqs:16 16
ti_dt_clocks_register: failed to lookup clock node atl_clkin0_ck
ti_dt_clocks_register: failed to lookup clock node atl_clkin1_ck
ti_dt_clocks_register: failed to lookup clock node atl_clkin2_ck
ti_dt_clocks_register: failed to lookup clock node atl_clkin3_ck
ti_dt_clocks_register: failed to lookup clock node gmac_gmii_ref_clk_div
OMAP clockevent source: timer1 at 32786 Hz
Architected cp15 timer(s) running at 6.14MHz (phys).
clocksource: arch_sys_counter: mask: 0xffffffffffffff max_cycles: 0x16af5adb9, max_idle_ns: 440795202250 ns
sched_clock: 56 bits at 6MHz, resolution 162ns, wraps every 4398046511023ns
Switching to timer-based delay loop, resolution 162ns
clocksource: 32k_counter: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 58327039986419 ns
OMAP clocksource: 32k_counter at 32768 Hz
Console: colour dummy device 80x30
Calibrating delay loop (skipped) preset value.. 12.29 BogoMIPS (lpj=61475)
pid_max: default: 32768 minimum: 301
Mount-cache hash table entries: 2048 (order: 1, 8192 bytes)
Mountpoint-cache hash table entries: 2048 (order: 1, 8192 bytes)
Initializing cgroup subsys io
Initializing cgroup subsys memory
Initializing cgroup subsys devices
Initializing cgroup subsys freezer
Initializing cgroup subsys perf_event
Initializing cgroup subsys pids
CPU: Testing write buffer coherency: ok
CPU0: update cpu_capacity 1024
CPU0: thread -1, cpu 0, socket 0, mpidr 80000000
Setting up static identity map for 0x800082c0 - 0x80008318
Brought up 1 CPUs
SMP: Total of 1 processors activated (12.29 BogoMIPS).
CPU: All CPU(s) started in HYP mode.
CPU: Virtualization extensions available.
devtmpfs: initialized
VFP support v0.3: implementor 41 architecture 4 part 30 variant f rev 0
omap_hwmod: l3_main_2 using broken dt data from ocp
clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
pinctrl core: initialized pinctrl subsystem
NET: Registered protocol family 16
DMA: preallocated 256 KiB pool for atomic coherent allocations
cpuidle: using governor ladder
cpuidle: using governor menu
OMAP GPIO hardware version 0.1
irq: no irq domain found for /ocp/l4@4a000000/scm@2000/pinmux@1400 !
hw-breakpoint: found 5 (+1 reserved) breakpoint and 4 watchpoint registers.
hw-breakpoint: maximum watchpoint size is 8 bytes.
omap4_sram_init:Unable to allocate sram needed to handle errata I688
omap4_sram_init:Unable to get sram pool needed to handle errata I688
OMAP DMA hardware revision 0.0
omap-dma-engine 4a056000.dma-controller: OMAP DMA engine driver
edma 43300000.edma: memcpy is disabled
edma 43300000.edma: TI EDMA DMA engine driver
omap-iommu 40d01000.mmu: 40d01000.mmu registered
omap-iommu 40d02000.mmu: 40d02000.mmu registered
omap-iommu 58882000.mmu: 58882000.mmu registered
omap-iommu 55082000.mmu: 55082000.mmu registered
palmas 0-0058: Irq flag is 0x00000000
palmas 0-0058: Muxing GPIO 51, PWM 0, LED 2
omap_i2c 48070000.i2c: bus 0 rev0.12 at 400 kHz
omap_i2c 4807a000.i2c: bus 3 rev0.12 at 400 kHz
omap_i2c 4807c000.i2c: bus 4 rev0.12 at 400 kHz
media: Linux media interface: v0.10
Linux video capture interface: v2.00
pps_core: LinuxPPS API ver. 1 registered
pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
PTP clock support registered
EDAC MC: Ver: 3.0.0
omap-mailbox 48840000.mailbox: omap mailbox rev 0x400
omap-mailbox 48842000.mailbox: omap mailbox rev 0x400
clocksource: Switched to clocksource arch_sys_counter
NET: Registered protocol family 2
TCP established hash table entries: 8192 (order: 3, 32768 bytes)
TCP bind hash table entries: 8192 (order: 4, 65536 bytes)
TCP: Hash tables configured (established 8192 bind 8192)
UDP hash table entries: 512 (order: 2, 16384 bytes)
UDP-Lite hash table entries: 512 (order: 2, 16384 bytes)
NET: Registered protocol family 1
hw perfevents: enabled with armv7_cortex_a15 PMU driver, 7 counters available
futex hash table entries: 256 (order: 2, 16384 bytes)
bounce: pool size: 64 pages
Block layer SCSI generic (bsg) driver version 0.4 loaded (major 249)
io scheduler noop registered
io scheduler deadline registered
io scheduler cfq registered (default)
pinctrl-single 4a003400.pinmux: 282 pins at pa fc003400 size 1128
pinctrl-single 4a002e8c.pinmux: 1 pins at pa fc002e8c size 4
fpd3_serdes 7-000c: Serializer fpd3_24b_ser_921 ready
fpd3_serdes 4-002c: Deserializer fpd3_24b_des_926 ready
Serial: 8250/16550 driver, 10 ports, IRQ sharing disabled
console [ttyS0] disabled
4806a000.serial: ttyS0 at MMIO 0x4806a000 (irq = 301, base_baud = 3000000) is a 8250
console [ttyS0] enabled
48020000.serial: ttyS2 at MMIO 0x48020000 (irq = 302, base_baud = 3000000) is a 8250
48424000.serial: ttyS8 at MMIO 0x48424000 (irq = 303, base_baud = 3000000) is a 8250
loop: module loaded
vmemexp device MAJOR num = 248
vmemexp class registered
/dev/vmemexp device registered
ioctl DBUFIOC_EXPORT_VIRTMEM = -1072899120
rtc-ds1307 0-006f: rtc core: registered mcp7940x as rtc0
rtc-ds1307 0-006f: 64 bytes nvram
i2c /dev entries driver
tw9984 3-002b: Video Decoder found @ 0x2b (OMAP I2C adapter)
vdec_tw9984: TW9984 Video decoder driver registered
omap_hsmmc 480d1000.mmc: no pinctrl state for hs mode
NET: Registered protocol family 17
omap_voltage_late_init: Voltage driver support not added
Adding alias for supply vdd,cpu0 -> vdd,4a003b20.oppdm
Adding alias for supply vbb,cpu0 -> vbb,4a003b20.oppdm
Adding alias for supply vdd,cpu0 -> vdd,4a003b20.oppdm
Adding alias for supply vbb,cpu0 -> vbb,4a003b20.oppdm
Power Management for TI OMAP4+ devices.
Registering SWP/SWPB emulation handler
input: gpio_keys as /devices/platform/gpio_keys/input/input0
rtc-ds1307 0-006f: setting system clock to 2017-09-01 11:57:12 UTC (1504267032)
aic_dvdd: disabling
vmmcwl_fixed: disabling
ldo4: disabling
Waiting for root device PARTUUID=eb2d6480-02...
mmc0: host does not support reading read-only switch, assuming write-enable
mmc0: new high speed SDHC card at address aaaa
mmcblk0: mmc0:aaaa SU04G 3.69 GiB 
 mmcblk0: p1 p2 p3 p4
mmc1: MAN_BKOPS_EN bit is not set
mmc1: new DDR MMC card at address 0001
mmcblk1: mmc1:0001 R1J55A 7.28 GiB 
mmcblk1boot0: mmc1:0001 R1J55A partition 1 128 KiB
mmcblk1boot1: mmc1:0001 R1J55A partition 2 128 KiB
 mmcblk1: p1 p2 p3
mmc2: new SDIO card at address 0001
EXT4-fs (mmcblk0p2): recovery complete
EXT4-fs (mmcblk0p2): mounted filesystem with ordered data mode. Opts: (null)
VFS: Mounted root (ext4 filesystem) on device 179:2.
devtmpfs: mounted
Freeing unused kernel memory: 252K (c046d000 - c04ac000)
This architecture does not have kernel memory protection.
systemd[1]: Failed to insert module 'autofs4': No such file or directory
NET: Registered protocol family 10
random: systemd: uninitialized urandom read (16 bytes read, 16 bits of entropy available)
random: systemd: uninitialized urandom read (16 bytes read, 16 bits of entropy available)
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 +KMO)
systemd[1]: Detected architecture arm.

Welcome to Arago 2016.08!

systemd[1]: Set hostname to <dra7xx-evm>.
random: systemd-sysv-ge: uninitialized urandom read (16 bytes read, 17 bits of entropy available)
random: systemd-gpt-aut: uninitialized urandom read (16 bytes read, 17 bits of entropy available)
random: systemd-gpt-aut: uninitialized urandom read (16 bytes read, 18 bits of entropy available)
random: systemd-sysv-ge: uninitialized urandom read (16 bytes read, 18 bits of entropy available)
random: systemd-sysv-ge: uninitialized urandom read (16 bytes read, 18 bits of entropy available)
random: systemd: uninitialized urandom read (16 bytes read, 21 bits of entropy available)
random: systemd: uninitialized urandom read (16 bytes read, 21 bits of entropy available)
random: systemd: uninitialized urandom read (16 bytes read, 21 bits of entropy available)
systemd[1]: Listening on Syslog Socket.
[  OK  ] Listening on Syslog Socket.
systemd[1]: Created slice System Slice.
[  OK  ] Created slice System Slice.
systemd[1]: Started Dispatch Password Requests to Console Directory Watch.
[  OK  ] Started Dispatch Password Requests to Console Directory Watch.
systemd[1]: Listening on /dev/initctl Compatibility Named Pipe.
[  OK  ] Listening on /dev/initctl Compatibility Named Pipe.
systemd[1]: Reached target Slices.
[  OK  ] Reached target Slices.
systemd[1]: Created slice system-serial\x2dgetty.slice.
[  OK  ] Created slice system-serial\x2dgetty.slice.
systemd[1]: Listening on Journal Socket.
[  OK  ] Listening on Journal Socket.
systemd[1]: Starting Apply Kernel Variables...
         Starting Apply Kernel Variables...
systemd[1]: Starting Synchronize System and HW clocks...
         Starting Synchronize System and HW clocks...
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...
systemd[1]: Listening on Journal Socket (/dev/log).
[  OK  ] Listening on Journal Socket (/dev/log).
systemd[1]: Reached target Swap.
[  OK  ] Reached target Swap.
systemd[1]: Starting Remount Root and Kernel File Systems...
         Starting Remount Root and Kernel File Systems...
systemd[1]: Starting Journal Service...
EXT4-fs (mmcblk0p2): re-mounted. Opts: (null)
         Starting Journal Service...
systemd[1]: Listening on Network Service Netlink Socket.
[  OK  ] Listening on Network Service Netlink Socket.
systemd[1]: Listening on udev Kernel Socket.
[  OK  ] Listening on udev Kernel Socket.
systemd[1]: Started Forward Password Requests to Wall Directory Watch.
[  OK  ] Started Forward Password Requests to Wall Directory Watch.
systemd[1]: Starting ####MCCDVR SERVICE STARTED#####...
         Starting ####MCCDVR SERVICE STARTED#####...
systemd[1]: Listening on udev Control Socket.
[  OK  ] Listening on udev Control Socket.
systemd[1]: Started Journal Service.
[  OK  ] Started Journal Service.
[  OK  ] Started Apply Kernel Variables.
[  OK  ] Started Synchronize System and HW clocks.
[  OK  ] Started Create list of required sta...ce nodes for the current kernel.
[  OK  ] Started Remount Root and Kernel File Systems.
[FAILED] Failed to start ####MCCDVR SERVICE STARTED#####.
See 'systemctl status systemd-mccdvr.service' for details.
[  OK  ] Reached target Paths.
         Starting Load/Save Random Seed...
         Starting udev Coldplug all Devices...
         Starting Create Static Device Nodes in /dev...
         Starting Flush Journal to Persistent Storage...
[  OK  ] Started Load/Save Random Seed.
[  OK  ] Started Create Static Device Nodes in /dev.
systemd-journald[105]: Received request to flush runtime journal from PID 1
[  OK  ] Started Flush Journal to Persistent Storage.
         Starting udev Kernel Device Manager...
[  OK  ] Reached target Local File Systems (Pre).
[  OK  ] Reached target Local File Systems.
         Starting Create Volatile Files and Directories...
[  OK  ] Started Create Volatile Files and Directories.
[  OK  ] Started udev Kernel Device Manager.
omap-rproc 55020000.ipu: assigned reserved memory node ipu2_cma@95800000
 remoteproc0: 55020000.ipu is available
 remoteproc0: Note: remoteproc is still under development and considered experimental.
 remoteproc0: THE BINARY FORMAT IS NOT YET FINALIZED, and backward compatibility isn't yet guaranteed.
omap-rproc 40800000.dsp: assigned reserved memory node dsp1_cma@99000000
 remoteproc1: 40800000.dsp is available
 remoteproc1: Note: remoteproc is still under development and considered experimental.
 remoteproc1: THE BINARY FORMAT IS NOT YET FINALIZED, and backward compatibility isn't yet guaranteed.
[  OK  ] Started udev Coldplug all Devices.
[  OK  ] Reached target System Initialization.
[  OK  ] Listening on D-Bus System Message Bus Socket.
[  OK  ] Listening on RPCbind Server Activation Socket.
 remoteproc0: registered virtio0 (type 7)
[  OK  ] Started Daily Cleanup of Temporary Directories.
[  OK  ] Reached target Timers.
[  OK  ] Listening on dropbear.socket.
[  OK  ] Reached target Sockets.
[  OK  ] Reached target Basic System.
omap_rng 48090000.rng: OMAP Random Number Generator ver. 20
[  OK  ] Started strongSwan IPsec IKEv1/IKEv2 daemon using ipsec.conf.
[  OK  ] Started D-Bus System Message Bus.
 remoteproc1: registered virtio1 (type 7)
omap_rtc 48838000.rtc: rtc core: registered 48838000.rtc as rtc1
         Starting Network Service...
         Starting tiipclad-daemon.service...
NET: Registered protocol family 15
[  OK  ] Started System Logging Service.
[  OK  ] Started Kernel Logging Service.
omap_wdt: OMAP Watchdog Timer Rev 0x01: initial timeout 60 sec
[  OK  ] Started Network Service.
[  OK  ] Started tiipclad-daemon.service.
[  OK  ] Found device /dev/ttyS0.
extcon-usb-gpio: probe of extcon_usb1 failed with error -16
pvrsrvkm: disagrees about version of symbol module_layout
pvrsrvkm: disagrees about version of symbol module_layout
Initializing XFRM netlink socket
adc3101_set_dai_sysclk 0 
adc3101_set_dai_fmt 4865 
adc3101_set_dai_fmt 12 
asoc-simple-card sound@1: tlv320adc3101-hifi <-> 4846c000.mcasp mapping ok
[  OK  ] Started Serial Getty on ttyS0.
[  OK  ] Reached target Login Prompts.
[  OK  ] Reached target Network.
         Starting Network Name Resolution...

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

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

Arago 2016.08 dra7xx-evm ttyS0

dra7xx-evm login: root (automatic login)

[  OK  ] Started Network Name Resolution.
 remoteproc0: powering up 55020000.ipu
 remoteproc0: Booting fw image dra7-ipu2-fw.xem4, size 6890068
Unable to handle kernel paging request at virtual address ffffffec
pgd = ee4f9440
[ffffffec] *pgd=80000080007003, *pmd=affa6003, *pte=00000000
Internal error: Oops: 207 [#1] PREEMPT SMP ARM
Modules linked in: dwc3(+) udc_core virtio_rpmsg_bus(+) snd_soc_simple_card xfrm_user xfrm4_tunnel tunnel4 extcon_usb_gpio ipcomp xfrm_ipcomp esp4 omap_wdt ah4 af_key xfrm_algo dwc3_o6
CPU: 0 PID: 188 Comm: systemd-udevd Not tainted 4.4.23 #1
Hardware name: Generic DRA72X (Flattened Device Tree)
task: ee617700 ti: ee4fa000 task.ti: ee4fa000
pc : [<c0255824>]    lr : [<c006c4a4>]    psr: a0070193
sp : ee4fb9e0  ip : ee4fba18  fp : ee4fba14
r10: c04ea367  r9 : 00000000  r8 : 00000000
r7 : 00000154  r6 : ef2190c0  r5 : ef28f610  r4 : ef28e500
r3 : c025580c  r2 : 00010002  r1 : ef28f610  r0 : 00000000
Flags: NzCv  IRQs off  FIQs on  Mode SVC_32  ISA ARM  Segment user
Control: 30c5387d  Table: ae4f9440  DAC: fffffffd
Process systemd-udevd (pid: 188, stack limit = 0xee4fa210)
Stack: (0xee4fb9e0 to 0xee4fc000)
b9e0: c00b915c c00b66f0 00000141 00000002 00000100 00000000 ef28e500 00000000
ba00: ef2190c0 00000154 ee4fba4c ee4fba18 c006c4a4 c0255818 c03a6c48 00000000
ba20: 00000000 ef2190c0 ef219120 ef219120 00000154 ef006000 00000000 00000000
ba40: ee4fba6c ee4fba50 c006c5d4 c006c470 ef2190c0 c04d5264 ef219120 00000154
ba60: ee4fba8c ee4fba70 c006f9ac c006c5a0 00000000 00000000 c04a9414 00000154
ba80: ee4fba9c ee4fba90 c006bc18 c006f908 ee4fbac4 ee4fbaa0 c006bf20 c006bc04
baa0: fa212000 c04ae8b8 ee4fbae8 fa213000 ef20c810 00000000 ee4fbae4 ee4fbac8
bac0: c0009450 c006be98 c03aa184 20070113 ffffffff ee4fbb1c ee4fbb44 ee4fbae8
bae0: c0013080 c000940c ef28f628 00000000 00000001 ef2182d8 ef28f610 edbf4ed4
bb00: ef287bc0 edbf4340 ef20c810 00000000 00000000 ee4fbb44 ee4fbb48 ee4fbb38
bb20: c02568f4 c03aa184 20070113 ffffffff ef28f610 edbf4ed4 ee4fbb8c ee4fbb48
bb40: c02568f4 c03aa180 c02588e0 c00ee1ac c0513d90 00000001 ef28f628 edbf4ed0
bb60: ee6329a4 edbf4ed4 00000000 ef20c810 ee6329a4 ee685580 ef20c810 edbf4ed4
bb80: ee4fbb9c ee4fbb90 c0253d80 c0256644 ee4fbbbc ee4fbba0 c0254b10 c0253d6c
bba0: ee632800 ee632820 00000000 ee6329a4 ee4fbc04 ee4fbbc0 bf04a8f0 c0254aec
bbc0: 00000001 ee6329ac ee4fbc04 ee685580 bf03f4f8 c00ede54 ee4ddc10 ee6c2800
bbe0: 00000002 ee4dde08 ee4ddc10 00000100 ee632800 bf14ba1c ee4fbc64 ee4fbc08
bc00: bf04b440 bf04a720 00000000 d4004000 bf04b0e4 bf14ba1c bf14ca27 ee4fbc28
bc20: c014f038 d4004000 ee4fbc78 ee4fbc80 00000002 ee632800 c0513d90 ed5a6380
bc40: ee4ddc10 bf04b300 ee632800 ee4fbc78 00000000 00000000 ee4fbcc4 ee4fbc68
bc60: bf14baf0 bf04b30c bf14c5f8 ee63d820 ee4fbc94 ee4fbc80 bf14c2b4 bf14ba1c
bc80: ee6c2000 ee6c2800 ee4fbcac ee4fbc98 bf04b578 bf040208 ee4ddc10 ee4ddc10
bca0: ee4ddc20 bf14cb64 00000000 00000021 00000000 00000000 ee4fbd0c ee4fbcc8
bcc0: bf0456d4 bf14ba54 bf14cb64 c03af054 00000001 00000000 00000001 00000000
bce0: ee4fbd0c ee4ddc20 00000000 c051fffc 00000010 bf14cb64 c03af054 eda280a8
bd00: ee4fbd34 ee4fbd10 c025bf44 bf04554c ee4ddc20 ee4ddc54 bf14cb64 bf045b58
bd20: bf14ccc8 c03af054 ee4fbd54 ee4fbd38 c025c138 c025be38 00000000 bf14cb64
bd40: c025c0c8 bf045b58 ee4fbd7c ee4fbd58 c025a668 c025c0d4 ee4ba65c ee5dc234
bd60: ee4ba670 bf14cb64 00000000 ed5a6c80 ee4fbd8c ee4fbd80 c025baa4 c025a600
bd80: ee4fbdb4 ee4fbd90 c025b668 c025ba90 bf14ca2e ee4fbda0 bf14cb64 bf14ce00
bda0: 00000000 bf14cc8c ee4fbdcc ee4fbdb8 c025c9c8 c025b5a0 00000000 bf14ce00
bdc0: ee4fbddc ee4fbdd0 bf0458c4 c025c930 ee4fbdf4 ee4fbde0 bf14e038 bf04589c
bde0: bf14e000 bf14ce00 ee4fbe6c ee4fbdf8 c0009728 bf14e00c ee4fbe44 efcfa984
be00: ee4fa000 ef001e40 ed599440 ee4fbe28 00024c0c c00e2be4 ee4fbe5c ee4fbe28
be20: c00ecd44 c00ec270 00000001 c00e2be4 c03af054 00000006 ed599440 f3281000
be40: c0513d90 bf14cc80 bf14cc80 bf14ce00 ed9dc180 bf14cc8c bf14ccc8 c03af054
be60: ee4fbe94 ee4fbe70 c00b1150 c000969c ee4fbe94 ee4fbe80 c00e2cc4 ee4fbf48
be80: bf14ce00 bf14cc80 ee4fbf44 ee4fbe98 c0092514 c00b10fc bf14cc8c 00007fff
bea0: bf14cc80 c0090074 b6e1dd90 bf14ce08 f3286688 ee4fbec0 c03af030 c00ffc38
bec0: 000000f5 c04c0480 0000061c 00000000 0b300002 000081b4 00000001 bf14c548
bee0: 00000008 00000000 00000000 00000000 00000000 00000000 00000000 00000000
bf00: 00000000 00000000 00000000 00000000 00000000 00000000 ee4fbf34 00000000
bf20: b6e1dd90 00000007 0000017b c000f284 ee4fa000 00000000 ee4fbfa4 ee4fbf48
bf40: c0092810 c0091130 f3281000 000056d8 f32861d8 f3283dcd f3284e48 00000000
bf60: 00000000 00000000 00000000 00000000 0000001e 0000001f 00000017 00000013
bf80: 00000010 00000000 00000000 00000000 7f5eb928 00000000 00000000 ee4fbfa8
bfa0: c000f0e0 c00927b4 00000000 7f5eb928 00000007 b6e1dd90 00000000 7f5f6e98
bfc0: 00000000 7f5eb928 00000000 0000017b 7f5f6f40 00000000 7f5f6f40 7f5f7230
bfe0: be85c9d8 be85c9c8 b6e16c08 b6f19df2 600f0030 00000007 00000000 00000000
Backtrace: 
Function entered at [<c025580c>] from [<c006c4a4>]
 r7:00000154 r6:ef2190c0 r5:00000000 r4:ef28e500
Function entered at [<c006c464>] from [<c006c5d4>]
 r10:00000000 r9:00000000 r8:ef006000 r7:00000154 r6:ef219120 r5:ef219120
 r4:ef2190c0
Function entered at [<c006c594>] from [<c006f9ac>]
 r7:00000154 r6:ef219120 r5:c04d5264 r4:ef2190c0
Function entered at [<c006f8fc>] from [<c006bc18>]
 r7:00000154 r6:c04a9414 r5:00000000 r4:00000000
Function entered at [<c006bbf8>] from [<c006bf20>]
Function entered at [<c006be8c>] from [<c0009450>]
 r9:00000000 r8:ef20c810 r7:fa213000 r6:ee4fbae8 r5:c04ae8b8 r4:fa212000
Function entered at [<c0009400>] from [<c0013080>]
Exception stack(0xee4fbae8 to 0xee4fbb30)
bae0:                   ef28f628 00000000 00000001 ef2182d8 ef28f610 edbf4ed4
bb00: ef287bc0 edbf4340 ef20c810 00000000 00000000 ee4fbb44 ee4fbb48 ee4fbb38
bb20: c02568f4 c03aa184 20070113 ffffffff
 r7:ee4fbb1c r6:ffffffff r5:20070113 r4:c03aa184
Function entered at [<c03aa174>] from [<c02568f4>]
Function entered at [<c0256638>] from [<c0253d80>]
 r10:edbf4ed4 r9:ef20c810 r8:ee685580 r7:ee6329a4 r6:ef20c810 r5:00000000
 r4:edbf4ed4
Function entered at [<c0253d60>] from [<c0254b10>]
Function entered at [<c0254ae0>] from [<bf04a8f0>]
 r7:ee6329a4 r6:00000000 r5:ee632820 r4:ee632800
Function entered at [<bf04a714>] from [<bf04b440>]
 r10:bf14ba1c r9:ee632800 r8:00000100 r7:ee4ddc10 r6:ee4dde08 r5:00000002
 r4:ee6c2800
Function entered at [<bf04b300>] from [<bf14baf0>]
 r10:00000000 r9:00000000 r8:ee4fbc78 r7:ee632800 r6:bf04b300 r5:ee4ddc10
 r4:ed5a6380
Function entered at [<bf14ba48>] from [<bf0456d4>]
 r10:00000000 r9:00000000 r8:00000021 r7:00000000 r6:bf14cb64 r5:ee4ddc20
 r4:ee4ddc10
Function entered at [<bf045540>] from [<c025bf44>]
 r10:eda280a8 r9:c03af054 r8:bf14cb64 r7:00000010 r6:c051fffc r5:00000000
 r4:ee4ddc20
Function entered at [<c025be2c>] from [<c025c138>]
 r9:c03af054 r8:bf14ccc8 r7:bf045b58 r6:bf14cb64 r5:ee4ddc54 r4:ee4ddc20
Function entered at [<c025c0c8>] from [<c025a668>]
 r7:bf045b58 r6:c025c0c8 r5:bf14cb64 r4:00000000
Function entered at [<c025a5f4>] from [<c025baa4>]
 r6:ed5a6c80 r5:00000000 r4:bf14cb64
Function entered at [<c025ba84>] from [<c025b668>]
Function entered at [<c025b594>] from [<c025c9c8>]
 r7:bf14cc8c r6:00000000 r5:bf14ce00 r4:bf14cb64
Function entered at [<c025c924>] from [<bf0458c4>]
 r5:bf14ce00 r4:00000000
Function entered at [<bf045890>] from [<bf14e038>]
Function entered at [<bf14e000>] from [<c0009728>]
 r5:bf14ce00 r4:bf14e000
Function entered at [<c0009690>] from [<c00b1150>]
 r9:c03af054 r8:bf14ccc8 r7:bf14cc8c r6:ed9dc180 r5:bf14ce00 r4:bf14cc80
Function entered at [<c00b10f0>] from [<c0092514>]
 r6:bf14cc80 r5:bf14ce00 r4:ee4fbf48
Function entered at [<c0091124>] from [<c0092810>]
 r10:00000000 r9:ee4fa000 r8:c000f284 r7:0000017b r6:00000007 r5:b6e1dd90
 r4:00000000
Function entered at [<c00927a8>] from [<c000f0e0>]
 r6:00000000 r5:7f5eb928 r4:00000000
Code: e24cb004 e24dd018 e1a05001 e5910010 (e5103014) 
---[ end trace 6e90ebaa0326a91a ]---
Kernel panic - not syncing: Fatal exception in interrupt
---[ end Kernel panic - not syncing: Fatal exception in interrupt

CTRL-A Z for help | 115200 8N1 | NOR | Minicom 2.7 | VT102 | Offline | ttyUSB0                                                                                                         

 

1. where i have to add below code uboot or kernel can u share the path?

&reserved_mem {
	latea_pagetbl: late_pgtbl@bfc00000 {
		reg = <0x0 0xbfc00000 0x0 0x100000>;
		no-map;
		status = "okay";
	};
};

BR

RAJ M

  • Hi Raj,

    I have forwarded your question to an expert to comment.

    Regards,
    Yordan
  • Hi,

    This change needs to be made in the device tree file. Please refer to the software developers guide for more information.

    processors.wiki.ti.com/index.php

    regards,
    Venkat
  • Hi Venkat,

    I have add the kernel late init changes in below file
    ti_components/os_tools/linux/kernel/omap/arch/arm/boot/dts/dra72-evm-common.dtsi


    &reserved_mem {
    latea_pagetbl: late_pgtbl@bfc00000 {
    reg = <0x0 0xbfc00000 0x0 0x100000>;
    no-map;
    status = "okay";
    };
    };

    &ipu2 {
    ti,late-attach;
    ti,no-idle-on-init;
    ti,no-reset-on-init;
    };

    &timer3 {
    ti,late-attach;
    ti,no-idle-on-init;
    ti,no-reset-on-init;
    };

    &timer4 {
    ti,late-attach;
    ti,no-idle-on-init;
    ti,no-reset-on-init;
    };

    &timer9 {
    ti,late-attach;
    ti,no-idle-on-init;
    ti,no-reset-on-init;
    };

    &mmu_ipu2{
    ti,late-attach;
    ti,no-idle-on-init;
    ti,no-reset-on-init;
    };


    while compile i got error below

    make[3]: Entering directory `/home/rajm/Projects/Vision_sdk/mccdvr/Source/ti_components/os_tools/linux/kernel/omap'
    DTC arch/arm/boot/dts/dra72-evm-infoadas.dtb
    Error: arch/arm/boot/dts/dra72-evm-common.dtsi:1026.1-14 Label or path reserved_mem not found
    FATAL ERROR: Syntax error parsing input tree
    make[4]: *** [arch/arm/boot/dts/dra72-evm-infoadas.dtb] Error 1

    BR
    RAJ M
  • Hi,

    This is an alias on the defined cma pools. Please define this if it is not part of dra72-evm-infoadas.dtb. Example below

    review.omapzoom.org/gitweb

    regards,
    Venkat
  • HI Venkat,

    Thank you for your response,

    Now i can compile without issue.

    But still kernel panic after firmware load, I have attached my log

    U-Boot SPL 2016.05 (Sep 04 2017 - 17:55:48)
    DRA722-GP ES2.0
    Trying to boot from MMC1
    reading dra7-ipu2-fw.xem4
    reading u-boot.img
    reading u-boot.img
    reading u-boot.img
    reading u-boot.img
    
    
    U-Boot 2016.05 (Sep 04 2017 - 17:55:48 +0530)
    
    CPU  : DRA722-GP ES2.0
    Model: TI DRA722
    Board: DRA72x EVM REV <NULL>
    DRAM:  1 GiB
    MMC:   OMAP SD/MMC: 0, OMAP SD/MMC: 1
    Hit any key to stop autoboot:  0 
    Saving Environment to MMC...
    Writing to redundant MMC(1)... done
    switch to partitions #0, OK
    mmc1(part 0) is current device
    SD/MMC found on device 1
    2598512 bytes read in 893 ms (2.8 MiB/s)
    105486 bytes read in 51 ms (2 MiB/s)
    Booting from mmc1 ...
    Kernel image @ 0x82000000 [ 0x000000 - 0x27a670 ]
    ## Flattened Device Tree blob at 88000000
       Booting using the fdt blob at 0x88000000
       Loading Device Tree to 8ffe3000, end 8ffffc0d ... OK
    
    Starting kernel ...
    
    Booting Linux on physical CPU 0x0
    Linux version 4.4.23 (niraj@FSETBLR1LX013) (gcc version 5.3.1 20160113 (Linaro GCC 5.3-2016.02) ) #1 SMP PREEMPT Fri Sep 1 16:35:28 IST 2017
    CPU: ARMv7 Processor [412fc0f2] revision 2 (ARMv7), cr=30c5387d
    CPU: PIPT / VIPT nonaliasing data cache, PIPT instruction cache
    Machine model: TI DRA722 Rev C EVM
    Reserved memory: regions without no-map are not yet supported
    Reserved memory: created CMA memory pool at 0x0000000094000000, size 80 MiB
    Reserved memory: initialized node ipu2_cma@95800000, compatible id shared-dma-pool
    Reserved memory: created CMA memory pool at 0x0000000099000000, size 64 MiB
    Reserved memory: initialized node dsp1_cma@99000000, compatible id shared-dma-pool
    Reserved memory: created CMA memory pool at 0x000000009d000000, size 32 MiB
    Reserved memory: initialized node ipu1_cma@9d000000, compatible id shared-dma-pool
    Reserved memory: regions without no-map are not yet supported
    Reserved memory: created DMA memory pool at 0x00000000a8000000, size 32 MiB
    Reserved memory: initialized node cmem@A6000000, compatible id shared-dma-pool
    cma: Reserved 24 MiB at 0x00000000be400000
    Forcing write-allocate cache policy for SMP
    Memory policy: Data cache writealloc
    OMAP4: Map 0x00000000bfd00000 to fe600000 for dram barrier
    DRA722 ES2.0
    PERCPU: Embedded 11 pages/cpu @ef73d000 s14528 r8192 d22336 u45056
    Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 251392
    Kernel command line: console=ttyS0,115200n8 root=PARTUUID=a3b5ce3e-02 rw lpj=61475 rootfstype=ext4 rootwait
    PID hash table entries: 4096 (order: 2, 16384 bytes)
    Dentry cache hash table entries: 131072 (order: 7, 524288 bytes)
    Inode-cache hash table entries: 65536 (order: 6, 262144 bytes)
    Memory: 497392K/1011712K available (3619K kernel code, 237K rwdata, 748K rodata, 248K init, 231K bss, 309520K reserved, 204800K cma-reserved, 233472K highmem)
    Virtual kernel memory layout:
        vector  : 0xffff0000 - 0xffff1000   (   4 kB)
        fixmap  : 0xffc00000 - 0xfff00000   (3072 kB)
        vmalloc : 0xf0800000 - 0xff800000   ( 240 MB)
        lowmem  : 0xc0000000 - 0xf0000000   ( 768 MB)
        pkmap   : 0xbfe00000 - 0xc0000000   (   2 MB)
        modules : 0xbf000000 - 0xbfe00000   (  14 MB)
          .text : 0xc0008000 - 0xc044bf74   (4368 kB)
          .init : 0xc044c000 - 0xc048a000   ( 248 kB)
          .data : 0xc048a000 - 0xc04c56e0   ( 238 kB)
           .bss : 0xc04c7000 - 0xc0500d18   ( 232 kB)
    SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
    Preemptible hierarchical RCU implementation.
    	Build-time adjustment of leaf fanout to 32.
    	RCU restricting CPUs from NR_CPUS=2 to nr_cpu_ids=1.
    RCU: Adjusting geometry for rcu_fanout_leaf=32, nr_cpu_ids=1
    NR_IRQS:16 nr_irqs:16 16
    ti_dt_clocks_register: failed to lookup clock node atl_clkin0_ck
    ti_dt_clocks_register: failed to lookup clock node atl_clkin1_ck
    ti_dt_clocks_register: failed to lookup clock node atl_clkin2_ck
    ti_dt_clocks_register: failed to lookup clock node atl_clkin3_ck
    ti_dt_clocks_register: failed to lookup clock node gmac_gmii_ref_clk_div
    OMAP clockevent source: timer1 at 32786 Hz
    Architected cp15 timer(s) running at 6.14MHz (phys).
    clocksource: arch_sys_counter: mask: 0xffffffffffffff max_cycles: 0x16af5adb9, max_idle_ns: 440795202250 ns
    sched_clock: 56 bits at 6MHz, resolution 162ns, wraps every 4398046511023ns
    Switching to timer-based delay loop, resolution 162ns
    clocksource: 32k_counter: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 58327039986419 ns
    OMAP clocksource: 32k_counter at 32768 Hz
    Console: colour dummy device 80x30
    Calibrating delay loop (skipped) preset value.. 12.29 BogoMIPS (lpj=61475)
    pid_max: default: 32768 minimum: 301
    Mount-cache hash table entries: 2048 (order: 1, 8192 bytes)
    Mountpoint-cache hash table entries: 2048 (order: 1, 8192 bytes)
    CPU: Testing write buffer coherency: ok
    CPU0: update cpu_capacity 1024
    CPU0: thread -1, cpu 0, socket 0, mpidr 80000000
    Setting up static identity map for 0x800082c0 - 0x80008318
    Brought up 1 CPUs
    SMP: Total of 1 processors activated (12.29 BogoMIPS).
    CPU: All CPU(s) started in HYP mode.
    CPU: Virtualization extensions available.
    devtmpfs: initialized
    VFP support v0.3: implementor 41 architecture 4 part 30 variant f rev 0
    omap_hwmod: l3_main_2 using broken dt data from ocp
    clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
    pinctrl core: initialized pinctrl subsystem
    NET: Registered protocol family 16
    DMA: preallocated 256 KiB pool for atomic coherent allocations
    cpuidle: using governor ladder
    cpuidle: using governor menu
    OMAP GPIO hardware version 0.1
    irq: no irq domain found for /ocp/l4@4a000000/scm@2000/pinmux@1400 !
    hw-breakpoint: found 5 (+1 reserved) breakpoint and 4 watchpoint registers.
    hw-breakpoint: maximum watchpoint size is 8 bytes.
    omap4_sram_init:Unable to allocate sram needed to handle errata I688
    omap4_sram_init:Unable to get sram pool needed to handle errata I688
    OMAP DMA hardware revision 0.0
    omap-dma-engine 4a056000.dma-controller: OMAP DMA engine driver
    edma 43300000.edma: memcpy is disabled
    edma 43300000.edma: TI EDMA DMA engine driver
    omap-iommu 40d01000.mmu: 40d01000.mmu registered
    omap-iommu 40d02000.mmu: 40d02000.mmu registered
    omap-iommu 58882000.mmu: 58882000.mmu registered
    omap-iommu 55082000.mmu: 55082000.mmu registered
    palmas 0-0058: Irq flag is 0x00000000
    palmas 0-0058: Muxing GPIO 51, PWM 0, LED 2
    omap_i2c 48070000.i2c: bus 0 rev0.12 at 400 kHz
    omap_i2c 4807a000.i2c: bus 3 rev0.12 at 400 kHz
    omap_i2c 4807c000.i2c: bus 4 rev0.12 at 400 kHz
    media: Linux media interface: v0.10
    Linux video capture interface: v2.00
    pps_core: LinuxPPS API ver. 1 registered
    pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
    PTP clock support registered
    EDAC MC: Ver: 3.0.0
    omap-mailbox 48840000.mailbox: omap mailbox rev 0x400
    omap-mailbox 48842000.mailbox: omap mailbox rev 0x400
    clocksource: Switched to clocksource arch_sys_counter
    NET: Registered protocol family 2
    TCP established hash table entries: 8192 (order: 3, 32768 bytes)
    TCP bind hash table entries: 8192 (order: 4, 65536 bytes)
    TCP: Hash tables configured (established 8192 bind 8192)
    UDP hash table entries: 512 (order: 2, 16384 bytes)
    UDP-Lite hash table entries: 512 (order: 2, 16384 bytes)
    NET: Registered protocol family 1
    hw perfevents: enabled with armv7_cortex_a15 PMU driver, 7 counters available
    futex hash table entries: 256 (order: 2, 16384 bytes)
    bounce: pool size: 64 pages
    Block layer SCSI generic (bsg) driver version 0.4 loaded (major 249)
    io scheduler noop registered
    io scheduler deadline registered
    io scheduler cfq registered (default)
    pinctrl-single 4a003400.pinmux: 282 pins at pa fc003400 size 1128
    pinctrl-single 4a002e8c.pinmux: 1 pins at pa fc002e8c size 4
    fpd3_serdes 7-000c: Serializer fpd3_24b_ser_921 ready
    fpd3_serdes 4-002c: Deserializer fpd3_24b_des_926 ready
    Serial: 8250/16550 driver, 10 ports, IRQ sharing disabled
    console [ttyS0] disabled
    4806a000.serial: ttyS0 at MMIO 0x4806a000 (irq = 301, base_baud = 3000000) is a 8250
    console [ttyS0] enabled
    48020000.serial: ttyS2 at MMIO 0x48020000 (irq = 302, base_baud = 3000000) is a 8250
    48424000.serial: ttyS8 at MMIO 0x48424000 (irq = 303, base_baud = 3000000) is a 8250
    loop: module loaded
    vmemexp device MAJOR num = 248
    vmemexp class registered
    /dev/vmemexp device registered
    ioctl DBUFIOC_EXPORT_VIRTMEM = -1072899120
    rtc-ds1307 0-006f: rtc core: registered mcp7940x as rtc0
    rtc-ds1307 0-006f: 64 bytes nvram
    i2c /dev entries driver
    tw9984 3-002b: Video Decoder found @ 0x2b (OMAP I2C adapter)
    vdec_tw9984: TW9984 Video decoder driver registered
    omap_hsmmc 480d1000.mmc: no pinctrl state for hs mode
    NET: Registered protocol family 17
    omap_voltage_late_init: Voltage driver support not added
    Adding alias for supply vdd,cpu0 -> vdd,4a003b20.oppdm
    Adding alias for supply vbb,cpu0 -> vbb,4a003b20.oppdm
    Adding alias for supply vdd,cpu0 -> vdd,4a003b20.oppdm
    Adding alias for supply vbb,cpu0 -> vbb,4a003b20.oppdm
    Power Management for TI OMAP4+ devices.
    Registering SWP/SWPB emulation handler
    input: gpio_keys as /devices/platform/gpio_keys/input/input0
    rtc-ds1307 0-006f: setting system clock to 2016-10-23 15:56:43 UTC (1477238203)
    aic_dvdd: disabling
    vmmcwl_fixed: disabling
    ldo4: disabling
    Waiting for root device PARTUUID=a3b5ce3e-02...
    mmc0: host does not support reading read-only switch, assuming write-enable
    mmc0: new SDHC card at address 0001
    mmcblk0: mmc0:0001 SD 3.72 GiB 
     mmcblk0: p1 p2 p3 p4
    mmc1: MAN_BKOPS_EN bit is not set
    mmc1: new DDR MMC card at address 0001
    mmcblk1: mmc1:0001 H8G4a2 7.28 GiB 
    mmcblk1boot0: mmc1:0001 H8G4a2 partition 1 8.00 MiB
    mmcblk1boot1: mmc1:0001 H8G4a2 partition 2 8.00 MiB
     mmcblk1: p1 p2 p3
    EXT4-fs (mmcblk0p2): recovery complete
    EXT4-fs (mmcblk0p2): mounted filesystem with ordered data mode. Opts: (null)
    VFS: Mounted root (ext4 filesystem) on device 179:2.
    devtmpfs: mounted
    Freeing unused kernel memory: 248K (c044c000 - c048a000)
    This architecture does not have kernel memory protection.
    mmc2: new SDIO card at address 0001
    systemd[1]: Failed to insert module 'autofs4': No such file or directory
    NET: Registered protocol family 10
    random: systemd: uninitialized urandom read (16 bytes read, 15 bits of entropy available)
    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)
    systemd[1]: Detected architecture arm.
    
    Welcome to Arago 2016.08!
    
    systemd[1]: Set hostname to <dra7xx-evm>.
    random: systemd: uninitialized urandom read (16 bytes read, 16 bits of entropy available)
    random: systemd-gpt-aut: uninitialized urandom read (16 bytes read, 17 bits of entropy available)
    random: systemd-gpt-aut: uninitialized urandom read (16 bytes read, 17 bits of entropy available)
    random: systemd-sysv-ge: uninitialized urandom read (16 bytes read, 17 bits of entropy available)
    random: systemd-sysv-ge: uninitialized urandom read (16 bytes read, 18 bits of entropy available)
    random: systemd-sysv-ge: uninitialized urandom read (16 bytes read, 18 bits of entropy available)
    random: systemd: uninitialized urandom read (16 bytes read, 20 bits of entropy available)
    random: systemd: uninitialized urandom read (16 bytes read, 20 bits of entropy available)
    random: systemd: uninitialized urandom read (16 bytes read, 20 bits of entropy available)
    systemd[1]: Listening on /dev/initctl Compatibility Named Pipe.
    [  OK  ] Listening on /dev/initctl Compatibility Named Pipe.
    systemd[1]: Started Dispatch Password Requests to Console Directory Watch.
    [  OK  ] Started Dispatch Password Requests to Console Directory Watch.
    systemd[1]: Listening on Syslog Socket.
    [  OK  ] Listening on Syslog Socket.
    systemd[1]: Listening on udev Control Socket.
    [  OK  ] Listening on udev Control Socket.
    systemd[1]: Started Forward Password Requests to Wall Directory Watch.
    [  OK  ] Started Forward Password Requests to Wall Directory Watch.
    systemd[1]: Listening on udev Kernel Socket.
    [  OK  ] Listening on udev Kernel Socket.
    systemd[1]: Listening on Journal Socket.
    [  OK  ] Listening on Journal Socket.
    systemd[1]: Listening on Journal Socket (/dev/log).
    [  OK  ] Listening on Journal Socket (/dev/log).
    systemd[1]: Listening on Network Service Netlink Socket.
    [  OK  ] Listening on Network Service Netlink Socket.
    systemd[1]: Reached target Swap.
    [  OK  ] Reached target Swap.
    systemd[1]: Created slice System Slice.
    [  OK  ] Created slice System Slice.
    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...
    systemd[1]: Starting ####MCCDVR SERVICE STARTED#####...
             Starting ####MCCDVR SERVICE STARTED#####...
    systemd[1]: Starting Synchronize System and HW clocks...
             Starting Synchronize System and HW clocks...
    systemd[1]: Created slice system-serial\x2dgetty.slice.
    [  OK  ] Created slice system-serial\x2dgetty.slice.
    systemd[1]: Reached target Slices.
    [  OK  ] Reached target Slices.
    systemd[1]: Starting Apply Kernel Variables...
             Starting Apply Kernel Variables...
    systemd[1]: Starting Remount Root and Kernel File Systems...
             Starting Remount Root and Kernel File Systems...
    systemd[1]: Starting Journal Service...
             Starting Journal Service...
    systemd[1]: Started Create list of required static device nodes for the current kernel.
    [  OK  ] Started Create list of required sta...ce nodes for the current kernel.
    systemd[1]: Started Synchronize System and HW clocks.
    EXT4-fs (mmcblk0p2): re-mounted. Opts: (null)
    [  OK  ] Started Synchronize System and HW clocks.
    systemd[1]: Started Remount Root and Kernel File Systems.
    [  OK  ] Started Remount Root and Kernel File Systems.
    systemd[1]: Started Apply Kernel Variables.
    [  OK  ] Started Apply Kernel Variables.
    FAT-fs (mmcblk0p3): Volume was not properly unmounted. Some data may be corrupt. Please run fsck.
    systemd[1]: Starting udev Coldplug all Devices...
    FAT-fs (mmcblk0p4): Volume was not properly unmounted. Some data may be corrupt. Please run fsck.
             Starting udev Coldplug all Devices...
    systemd[1]: Starting Load/Save Random Seed...
             Starting Load/Save Random Seed...
    systemd[1]: Starting Create Static Device Nodes in /dev...
    rundemo.sh[87]: Mounting partitions done
             Starting Create Static Device Nodes in /dev...
    systemd[1]: Started Journal Service.
    [  OK  ] Started Journal Service.
    [  OK  ] Started Load/Save Random Seed.
    [  OK  ] Started Create Static Device Nodes in /dev.
             Starting udev Kernel Device Manager...
    [  OK  ] Reached target Local File Systems (Pre).
    [  OK  ] Reached target Local File Systems.
             Starting Flush Journal to Persistent Storage...
    systemd-journald[97]: Received request to flush runtime journal from PID 1
    [  OK  ] Started udev Kernel Device Manager.
    [  OK  ] Started Flush Journal to Persistent Storage.
             Starting Create Volatile Files and Directories...
    [  OK  ] Started Create Volatile Files and Directories.
    omap-rproc 55020000.ipu: assigned reserved memory node ipu2_cma@95800000
    DMA: Module install successful, device major num = 246 
     remoteproc0: 55020000.ipu is available
     remoteproc0: Note: remoteproc is still under development and considered experimental.
    DRV: Module install successful
     remoteproc0: THE BINARY FORMAT IS NOT YET FINALIZED, and backward compatibility isn't yet guaranteed.
    omap-rproc 40800000.dsp: assigned reserved memory node dsp1_cma@99000000
     remoteproc1: 40800000.dsp is available
     remoteproc1: Note: remoteproc is still under development and considered experimental.
    [  OK  ] Started udev Coldplug all Devices.
     remoteproc1: THE BINARY FORMAT IS NOT YET FINALIZED, and backward compatibility isn't yet guaranteed.
    [  OK  ] Found device /dev/ttyS0.
    [  OK  ] Reached target System Initialization.
    omap_rng 48090000.rng: OMAP Random Number Generator ver. 20
     remoteproc0: registered virtio0 (type 7)
    [  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  ] Listening on RPCbind Server Activation Socket.
    [  OK  ] Reached target Sockets.
    omap_rtc 48838000.rtc: already running
    omap_rtc 48838000.rtc: rtc core: registered 48838000.rtc as rtc1
     remoteproc1: registered virtio1 (type 7)
    omap_wdt: OMAP Watchdog Timer Rev 0x01: initial timeout 60 sec
    extcon-usb-gpio: probe of extcon_usb1 failed with error -16
    rundemo.sh[87]:  [HOST]  OSA: MEM: 0: Mapped 0xa0100000 to 0xb6910000 of size 0x00100000
    rundemo.sh[87]:  [HOST]  OSA: MEM: 1: Mapped 0x84203000 to 0xa6f10000 of size 0x0fa00000
    rundemo.sh[87]:  [HOST]  OSA: MEM: 2: Mapped 0xa0200000 to 0xa6e50000 of size 0x00040000
    rundemo.sh[87]:  [HOST]  OSA: MEM: 3: Mapped 0xa02c0000 to 0xa6e90000 of size 0x00080000
    rundemo.sh[87]:  [HOST]  OSA: HOST Remote Log Shared Memory @ 0xa024f140
    rundemo.sh[87]:  [HOST]  OSA: IPU2 Remote Log Shared Memory @ 0xa0363da0
    rundemo.sh[87]:  [HOST] [HOST  ]     11.855151 s:  SYSTEM: System A15 Init in progress !!!
    rundemo.sh[87]:  [HOST] [IPU2  ]      2.367504 s:  ***** IPU2 Firmware build time 13:28:22 Sep  2 2017
    rundemo.sh[87]:  [HOST] [IPU2  ]      2.367687 s:  *** SYSTEM: CPU Frequency <ORG = 212800000 Hz>, <NEW = 16393 Hz>
    rundemo.sh[87]:  [HOST] [IPU2  ]      2.370005 s:
    rundemo.sh[87]:  [HOST] [IPU2  ]      2.370096 s:  ### XDC ASSERT - ERROR CALLBACK START ###
    rundemo.sh[87]:  [HOST] [IPU2  ]      2.370157 s:
    rundemo.sh[87]:  [HOST] [IPU2  ]      2.370463 s: assertion failure
    rundemo.sh[87]:  [HOST] [IPU2  ]      2.370524 s:
    rundemo.sh[87]:  [HOST] [IPU2  ]      2.370554 s:  ### XDC ASSERT - ERROR CALLBACK END ###
    rundemo.sh[87]:  [HOST] [IPU2  ]      2.370615 s:
    rundemo.sh[87]: uvc_gadget_load
    g_webcam gadget: uvc_function_bind
    g_webcam gadget: Webcam Video Gadget
    g_webcam gadget: g_webcam ready
     remoteproc0: powering up 55020000.ipu
     remoteproc0: Booting fw image dra7-ipu2-fw.xem4, size 4969044
    Unable to handle kernel paging request at virtual address ffffffec
    pgd = ee5ecb00
    [ffffffec] *pgd=80000080007003, *pmd=affa6003, *pte=00000000
    Internal error: Oops: 207 [#1] PREEMPT SMP ARM
    Modules linked in: virtio_rpmsg_bus(+) g_webcam usb_f_uvc videobuf2_vmalloc dwc3 libcomposite configfs udc_core snd_soc_simple_card(+) extcon_usb_gpio omap_wdt snd_soc_davinci_mcasp dwc3_omap snd_soc_edma snd_soc_omap extcon snd_soc_tlv320adc3101 snd_soc_core rtc_omap snd_pcm_dmaengine snd_pcm snd_timer snd soundcore omap_rng rng_core memcache(O) omap_remoteproc remoteproc virtio virtio_ring ipv6
    CPU: 0 PID: 153 Comm: systemd-udevd Tainted: G           O    4.4.23 #1
    Hardware name: Generic DRA72X (Flattened Device Tree)
    task: eeb217c0 ti: ee4ec000 task.ti: ee4ec000
    pc : [<c023b5f8>]    lr : [<c00693a4>]    psr: a00f0193
    sp : ee4ed9e0  ip : ee4eda18  fp : ee4eda14
    r10: c04c52e7  r9 : 00000000  r8 : 00000000
    r7 : 00000154  r6 : ef2150c0  r5 : ef28b410  r4 : ef28a640
    r3 : c023b5e0  r2 : 00010002  r1 : ef28b410  r0 : 00000000
    Flags: NzCv  IRQs off  FIQs on  Mode SVC_32  ISA ARM  Segment user
    Control: 30c5387d  Table: ae5ecb00  DAC: fffffffd
    Process systemd-udevd (pid: 153, stack limit = 0xee4ec210)
    Stack: (0xee4ed9e0 to 0xee4ee000)
    d9e0: c04c4100 00000004 c04c4100 00000004 ee4eda74 ee4eda00 ef28a640 00000000
    da00: ef2150c0 00000154 ee4eda4c ee4eda18 c00693a4 c023b5ec 00000000 fffffffc
    da20: 400f0013 ef2150c0 ef215120 ef215120 00000154 ef006000 00000000 00000000
    da40: ee4eda6c ee4eda50 c00694d4 c0069370 ef2150c0 c04b04e4 ef215120 00000154
    da60: ee4eda8c ee4eda70 c006c8ac c00694a0 00000000 00000000 c04873f8 00000154
    da80: ee4eda9c ee4eda90 c0068b18 c006c808 ee4edac4 ee4edaa0 c0068e20 c0068b04
    daa0: fa212000 c048c7fc ee4edae8 fa213000 ef209610 00000000 ee4edae4 ee4edac8
    dac0: c0009450 c0068d98 c038f2c4 200f0013 ffffffff ee4edb1c ee4edb44 ee4edae8
    dae0: c0013080 c000940c ef28b428 00000000 00000001 ef2170d8 ef28b410 ed6b4954
    db00: ef283d00 ed6b4980 ef209610 00000000 00000000 ee4edb44 ee4edb48 ee4edb38
    db20: c023c6c8 c038f2c4 200f0013 ffffffff ef28b410 ed6b4954 ee4edb8c ee4edb48
    db40: c023c6c8 c038f2c0 c023e6b8 c00e129c c04eea8c 00000001 ef28b428 ed6b4950
    db60: ee4f9da4 ed6b4954 00000000 ef209610 ee4f9da4 ee4a3280 ef209610 ed6b4954
    db80: ee4edb9c ee4edb90 c0239b5c c023c418 ee4edbbc ee4edba0 c023a8e4 c0239b48
    dba0: ee4f9c00 ee4f9c20 00000000 ee4f9da4 ee4edc04 ee4edbc0 bf04d8f0 c023a8c0
    dbc0: 00000001 ee4f9dac ee4edc04 ee4a3280 bf03f4f8 c00e0fe0 ee5a1c10 ed0af000
    dbe0: 00000002 ee5a1e08 ee5a1c10 00000100 ee4f9c00 bf19ea1c ee4edc64 ee4edc08
    dc00: bf04e440 bf04d720 00000000 d4004000 bf04e0e4 bf19ea1c bf19fa27 ee4edc28
    dc20: c013894c d4004000 ee4edc78 ee4edc80 00000002 ee4f9c00 c04eea8c ed055d00
    dc40: ee5a1c10 bf04e300 ee4f9c00 ee4edc78 00000000 00000000 ee4edcc4 ee4edc68
    dc60: bf19eaf0 bf04e30c bf19f5f8 ee63ef50 ee4edc94 ee4edc80 bf19f2b4 bf19ea1c
    dc80: ed0ae800 ed0af000 ee4edcac ee4edc98 bf04e578 bf0401e4 ee5a1c10 ee5a1c10
    dca0: ee5a1c20 bf19fb64 00000000 00000021 00000000 00000000 ee4edd0c ee4edcc8
    dcc0: bf0486d4 bf19ea54 bf19fb64 c0394020 00000001 00000000 00000001 00000000
    dce0: ee4edd0c ee5a1c20 00000000 c04faabc 00000010 bf19fb64 c0394020 ed51b8a8
    dd00: ee4edd34 ee4edd10 c0241d1c bf04854c ee5a1c20 ee5a1c54 bf19fb64 bf048b58
    dd20: bf19fcc8 c0394020 ee4edd54 ee4edd38 c0241f10 c0241c10 00000000 bf19fb64
    dd40: c0241ea0 bf048b58 ee4edd7c ee4edd58 c0240440 c0241eac eeac055c ed073d34
    dd60: eeac0570 bf19fb64 00000000 ed055300 ee4edd8c ee4edd80 c024187c c02403d8
    dd80: ee4eddb4 ee4edd90 c0241440 c0241868 bf19fa2e ee4edda0 bf19fb64 bf19fe00
    dda0: 00000000 bf19fc8c ee4eddcc ee4eddb8 c02427a0 c0241378 00000000 bf19fe00
    ddc0: ee4edddc ee4eddd0 bf0488c4 c0242708 ee4eddf4 ee4edde0 bf1a1038 bf04889c
    dde0: bf1a1000 bf19fe00 ee4ede6c ee4eddf8 c0009728 bf1a100c ef7a2000 efd6b7c0
    de00: ee4ec000 ef001f00 ee4bec00 ee4ede28 00020f92 c00d5fc4 ee4ede5c ee4ede28
    de20: c00dff54 c00df578 00000001 c00d5fc4 c0394020 00000006 ee4bec00 f297f000
    de40: c04eea8c bf19fc80 bf19fc80 bf19fe00 ee485600 bf19fc8c bf19fcc8 c0394020
    de60: ee4ede94 ee4ede70 c00a7da0 c000969c ee4ede94 ee4ede80 c00d60a4 ee4edf48
    de80: bf19fe00 bf19fc80 ee4edf44 ee4ede98 c008f3fc c00a7d4c bf19fc8c 00007fff
    dea0: bf19fc80 c008cf5c b6dc7d90 bf19fe08 f2984688 ee4edec0 c0393ffc c00eafdc
    dec0: 000000f5 c049dcc0 0000061c 00000000 0b300002 000081b4 00000001 bf19f548
    dee0: 00000008 00000000 00000000 00000000 00000000 00000000 00000000 00000000
    df00: 00000000 00000000 00000000 00000000 00000000 00000000 ee4edf34 00000000
    df20: b6dc7d90 00000007 0000017b c000f284 ee4ec000 00000000 ee4edfa4 ee4edf48
    df40: c008f6f8 c008e018 f297f000 000056d8 f29841d8 f2981dcd f2982e48 00000000
    df60: 00000000 00000000 00000000 00000000 0000001e 0000001f 00000017 00000013
    df80: 00000010 00000000 00000000 00000000 7f69d928 00000000 00000000 ee4edfa8
    dfa0: c000f0e0 c008f69c 00000000 7f69d928 00000007 b6dc7d90 00000000 7f6a9c70
    dfc0: 00000000 7f69d928 00000000 0000017b 7f6a9bc8 00000000 7f6a9bc8 7f6a9ca0
    dfe0: beb9c9d8 beb9c9c8 b6dc0c08 b6ec3df2 600f0030 00000007 00000000 00000000
    Backtrace: 
    Function entered at [<c023b5e0>] from [<c00693a4>]
     r7:00000154 r6:ef2150c0 r5:00000000 r4:ef28a640
    Function entered at [<c0069364>] from [<c00694d4>]
     r10:00000000 r9:00000000 r8:ef006000 r7:00000154 r6:ef215120 r5:ef215120
     r4:ef2150c0
    Function entered at [<c0069494>] from [<c006c8ac>]
     r7:00000154 r6:ef215120 r5:c04b04e4 r4:ef2150c0
    Function entered at [<c006c7fc>] from [<c0068b18>]
     r7:00000154 r6:c04873f8 r5:00000000 r4:00000000
    Function entered at [<c0068af8>] from [<c0068e20>]
    Function entered at [<c0068d8c>] from [<c0009450>]
     r9:00000000 r8:ef209610 r7:fa213000 r6:ee4edae8 r5:c048c7fc r4:fa212000
    Function entered at [<c0009400>] from [<c0013080>]
    Exception stack(0xee4edae8 to 0xee4edb30)
    dae0:                   ef28b428 00000000 00000001 ef2170d8 ef28b410 ed6b4954
    db00: ef283d00 ed6b4980 ef209610 00000000 00000000 ee4edb44 ee4edb48 ee4edb38
    db20: c023c6c8 c038f2c4 200f0013 ffffffff
     r7:ee4edb1c r6:ffffffff r5:200f0013 r4:c038f2c4
    Function entered at [<c038f2b4>] from [<c023c6c8>]
    Function entered at [<c023c40c>] from [<c0239b5c>]
     r10:ed6b4954 r9:ef209610 r8:ee4a3280 r7:ee4f9da4 r6:ef209610 r5:00000000
     r4:ed6b4954
    Function entered at [<c0239b3c>] from [<c023a8e4>]
    Function entered at [<c023a8b4>] from [<bf04d8f0>]
     r7:ee4f9da4 r6:00000000 r5:ee4f9c20 r4:ee4f9c00
    Function entered at [<bf04d714>] from [<bf04e440>]
     r10:bf19ea1c r9:ee4f9c00 r8:00000100 r7:ee5a1c10 r6:ee5a1e08 r5:00000002
     r4:ed0af000
    Function entered at [<bf04e300>] from [<bf19eaf0>]
     r10:00000000 r9:00000000 r8:ee4edc78 r7:ee4f9c00 r6:bf04e300 r5:ee5a1c10
     r4:ed055d00
    Function entered at [<bf19ea48>] from [<bf0486d4>]
     r10:00000000 r9:00000000 r8:00000021 r7:00000000 r6:bf19fb64 r5:ee5a1c20
     r4:ee5a1c10
    Function entered at [<bf048540>] from [<c0241d1c>]
     r10:ed51b8a8 r9:c0394020 r8:bf19fb64 r7:00000010 r6:c04faabc r5:00000000
     r4:ee5a1c20
    Function entered at [<c0241c04>] from [<c0241f10>]
     r9:c0394020 r8:bf19fcc8 r7:bf048b58 r6:bf19fb64 r5:ee5a1c54 r4:ee5a1c20
    Function entered at [<c0241ea0>] from [<c0240440>]
     r7:bf048b58 r6:c0241ea0 r5:bf19fb64 r4:00000000
    Function entered at [<c02403cc>] from [<c024187c>]
     r6:ed055300 r5:00000000 r4:bf19fb64
    Function entered at [<c024185c>] from [<c0241440>]
    Function entered at [<c024136c>] from [<c02427a0>]
     r7:bf19fc8c r6:00000000 r5:bf19fe00 r4:bf19fb64
    Function entered at [<c02426fc>] from [<bf0488c4>]
     r5:bf19fe00 r4:00000000
    Function entered at [<bf048890>] from [<bf1a1038>]
    Function entered at [<bf1a1000>] from [<c0009728>]
     r5:bf19fe00 r4:bf1a1000
    Function entered at [<c0009690>] from [<c00a7da0>]
     r9:c0394020 r8:bf19fcc8 r7:bf19fc8c r6:ee485600 r5:bf19fe00 r4:bf19fc80
    Function entered at [<c00a7d40>] from [<c008f3fc>]
     r6:bf19fc80 r5:bf19fe00 r4:ee4edf48
    Function entered at [<c008e00c>] from [<c008f6f8>]
     r10:00000000 r9:ee4ec000 r8:c000f284 r7:0000017b r6:00000007 r5:b6dc7d90
     r4:00000000
    Function entered at [<c008f690>] from [<c000f0e0>]
     r6:00000000 r5:7f69d928 r4:00000000
    Code: e24cb004 e24dd018 e1a05001 e5910010 (e5103014) 
    ---[ end trace f0ddd128ce9117a3 ]---
    Kernel panic - not syncing: Fatal exception in interrupt
    ---[ end Kernel panic - not syncing: Fatal exception in interrupt
    

    BR

    RAJ M

  • Hi,

    The IPU2 logs show that IPU2 has crashed.

    rundemo.sh[87]: [HOST] [IPU2 ] 2.367504 s: ***** IPU2 Firmware build time 13:28:22 Sep 2 2017
    rundemo.sh[87]: [HOST] [IPU2 ] 2.367687 s: *** SYSTEM: CPU Frequency <ORG = 212800000 Hz>, <NEW = 16393 Hz>
    rundemo.sh[87]: [HOST] [IPU2 ] 2.370005 s:
    rundemo.sh[87]: [HOST] [IPU2 ] 2.370096 s: ### XDC ASSERT - ERROR CALLBACK START ###
    rundemo.sh[87]: [HOST] [IPU2 ] 2.370157 s:
    rundemo.sh[87]: [HOST] [IPU2 ] 2.370463 s: assertion failure
    rundemo.sh[87]: [HOST] [IPU2 ] 2.370524 s:
    rundemo.sh[87]: [HOST] [IPU2 ] 2.370554 s: ### XDC ASSERT - ERROR CALLBACK END ###
    rundemo.sh[87]: [HOST] [IPU2 ] 2.370615 s:

    This could be because peripherals required by IPU2 have not been enabled. You can look at the below entry in the wiki page on an example of enabling peripherals before loading remotecores. The below link has a patch for IPU1 and DSP1. You can adapt the patch for IPU2.

    processors.wiki.ti.com/.../Early_Boot_and_Late_Attach_in_Linux

    If you continue to face the IPU2 crash, please try adding more prints or connecting a JTAG to IPU2 to isolate the location of the crash.

    If you still face a kernel panic once the IPU2 crash is resolved, please set loglevel=8 in the kernel boot args when collecting the logs and also share your dts file.

    regards,
    Venkat