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.

load M4 fw in AM5782

Other Parts Discussed in Thread: DRA752, PMP, TMP102

hi experts,

I download software from http://software-dl.ti.com/processor-sw/esd/PROCESSOR-SDK-LINUX-AM57X/latest/index_FDS.html 

and  try to understand the flow about loading *.xem4 into M4. But I can't find the entry point during boot-up in the demo, even I referred to processors.wiki.ti.com/.../Processor_Training:_Multimedia...... Could you provide a document on this?

Thanks.

  • Hi,

    The wiki link you have posted is not valid. Please repost the link or explain what you want to do in more detail.
  • hi Biser,

    Nice to meet you...~

    I referred to processors.wiki.ti.com/.../Processor_Training:_Multimedia
    but I can't find where is the first time to load the *.xem4 into M4 coprocessor during boot-up to demo

    Thanks.
  • I have asked the software team to comment.
  • Hi,

    The dra7-ipu1-fw.xem4 & dra7-ipu2-fw.xem4 binaries are loaded during board boot-up by the remoteproc & rpmsg. Their sources are located in drivers/rpmsg & drivers/remoteproc respectively.

    Best Regards,
    Yordan
  • Hi,
    many thanks for your reply.
    I try something below and got nothing about your hint.

    [aul@aul rpmsg] $ pwd
    /home/aul/board-support/linux-4.1.6+gitAUTOINC+52c4aa7cdb-g52c4aa7/drivers/rpmsg
    [aul@aul rpmsg] $ grep -rni "*xem4" .
    [aul@aul rpmsg] $

    [aul@aul remoteproc] $ pwd
    /home/aul/board-support/linux-4.1.6+gitAUTOINC+52c4aa7cdb-g52c4aa7/drivers/remoteproc
    [aul@aul remoteproc] $ grep -rni "*xem4" .
    [aul@aul remoteproc] $ grep -rni "*dra7*" .
    [aul@aul remoteproc] $

    Q1. Could you provide the detail like which function/file do the behavior??

    Q2. did you know where is the entry point in the user space(application) ??

    Thanks again~

  • Here is an extraction from drivers/remoteproc/omap_remoteproc.c:
    static const struct omap_rproc_dev_data dra7_rproc_dev_data[] = {
    {
    .device_name = "40800000.dsp",
    .fw_name = "dra7-dsp1-fw.xe66",
    },
    {
    .device_name = "41000000.dsp",
    .fw_name = "dra7-dsp2-fw.xe66",
    },
    {
    .device_name = "55020000.ipu",
    .fw_name = "dra7-ipu2-fw.xem4",
    },
    {
    .device_name = "58820000.ipu",
    .fw_name = "dra7-ipu1-fw.xem4",
    },
    {
    /* sentinel */
    },
    };

    And then in the remoteproc_core.c driver you can see that it searches for a compatible binary, validates it, & boots the corresponding remote processor.

    Best Regards,
    Yordan
  • hi,
    Great thanks for your reply.

    Did you know where is the entry point in the user space(application) ??


    Thanks.
  • The IPU booting starts early in the boot process.
    By the time user space becomes available to you (you're able to execute your applications), the IPU is booted (firmware binary is loaded) & the pvr driver & multimedia frameworks are already using it.
    Best Regards,
    Yordan
  • hi
    Big thanks for your reply

    The IPU booting starts early in the boot process.
    > Could you give a hint on the dmesg ??

    By the time user space becomes available to you (you're able to execute your applications), the IPU is booted (firmware binary is loaded) & the pvr driver & multimedia frameworks are already using it.
    >> after checking /etc/rc5.d/ folder, I found the DSP fw was loaded in S95gdbserverproxy as below. But I couldn't find where M4 fw was loaded. Do you know where it is ??


    DSP_FIRMWARE_NAME='/lib/firmware/dra7-dsp$[$i+1]-fw.xe66'
    ...
    dsp_core_l2_offset=$DSP_L2_GLOBAL_OFFSET
    ...
    if [ -f "`eval echo $DSP_FIRMWARE_NAME`" ]
    ...
    fi
    ...
  • hi there,

    By the time user space becomes available to you (you're able to execute your applications), the IPU is booted (firmware binary is loaded) & the pvr driver & multimedia frameworks are already using it.

    >>  I could find *.xem4 fw are loaded, and M4 are booting by following messages

    [ 4.642512] remoteproc1: powering up 55020000.ipu
    [ 4.653722] remoteproc1: Booting fw image dra7-ipu2-fw.xem4, size 3480916
    [ 4.722141] remoteproc1: remote processor 55020000.ipu is now up

        but I found the following as well

    [ 4.575147]  remoteproc0: failed to load dra7-ipu1-fw.xem4

    Q1.   After checking following, it looks like that dra7-ipu1-fw.xem4 didn't exist. Is there something wrong with the ipu1 fw??

    root@am57xx-evm:/lib/firmware# pwd
    /lib/firmware
    root@am57xx-evm:/lib/firmware# ls -l
    -rw-r--r-- 1 root root 3480916 Oct 7 17:53 dra7-ipu2-fw.xem4

    Q2. The IPU booting starts early in the boot process. 
           > Could you give a hint on the boot-up messages below ??

    U-Boot 2015.07 (Oct 07 2015 - 14:54:21 -0400)

    CPU : DRA752 ES1.1
    Board: BeagleBoard x15
    I2C: ready
    DRAM: 2 GiB
    MMC: OMAP SD/MMC: 0, OMAP SD/MMC: 1
    reading uboot.env

    ** Unable to read "uboot.env" from mmc0:1 **
    Using default environment

    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
    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: <ethaddr> not set. Validating first E-fuse MAC
    cpsw
    Hit any key to stop autoboot: 1 0
    switch to partitions #0, OK
    mmc0 is current device
    SD/MMC found on device 0
    reading uEnv.txt
    597 bytes read in 5 ms (116.2 KiB/s)
    Loaded environment from uEnv.txt
    Importing environment from mmc0 ...
    3304320 bytes read in 201 ms (15.7 MiB/s)
    96459 bytes read in 51 ms (1.8 MiB/s)
    Booting from mmc0 ...
    Kernel image @ 0x82000000 [ 0x000000 - 0x326b80 ]
    ## Flattened Device Tree blob at 88000000
    Booting using the fdt blob at 0x88000000
    Loading Device Tree to 8ffe5000, end 8ffff8ca ... 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.1.6-g52c4aa7 (gtbldadm@ubuntu-12) (gcc version 4.9.3 20150413 (prerelease) (Linaro GCC 4.9-2015.05) ) #1
    SMP PREEMPT Wed Oct 7 14:52:06 EDT 2015
    [ 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 AM572x EVM
    [ 0.000000] Reserved memory: created CMA memory pool at 0x95800000, size 56 MiB
    [ 0.000000] Reserved memory: initialized node ipu2_cma@95800000, compatible id shared-dma-pool
    [ 0.000000] Reserved memory: created CMA memory pool at 0x99000000, size 64 MiB
    [ 0.000000] Reserved memory: initialized node dsp1_cma@99000000, compatible id shared-dma-pool
    [ 0.000000] Reserved memory: created CMA memory pool at 0x9d000000, size 32 MiB
    [ 0.000000] Reserved memory: initialized node ipu1_cma@9d000000, compatible id shared-dma-pool
    [ 0.000000] Reserved memory: created CMA memory pool at 0x9f000000, size 16 MiB
    [ 0.000000] Reserved memory: initialized node dsp2_cma@9f000000, compatible id shared-dma-pool
    [ 0.000000] cma: Reserved 24 MiB at 0xfe400000
    [ 0.000000] Memory policy: Data cache writealloc
    [ 0.000000] DRA752 ES1.1
    [ 0.000000] PERCPU: Embedded 12 pages/cpu @ee533000 s17088 r8192 d23872 u49152
    [ 0.000000] Built 1 zonelists in Zone order, mobility grouping on. Total pages: 481105
    [ 0.000000] Kernel command line: console=ttyO2,115200n8 root=PARTUUID=00000000-02 rw rootfstype=ext4 rootwait
    [ 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: 1706712K/1931260K available (6175K kernel code, 282K rwdata, 2192K rodata, 324K init, 249K bss, 27940K reserved,
    196608K cma-reserved, 1292284K highmem)
    [ 0.000000] Virtual kernel memory layout:
    [ 0.000000] vector : 0xffff0000 - 0xffff1000 ( 4 kB)
    [ 0.000000] fixmap : 0xffc00000 - 0xfff00000 (3072 kB)
    [ 0.000000] vmalloc : 0xf0000000 - 0xff000000 ( 240 MB)
    [ 0.000000] lowmem : 0xc0000000 - 0xef800000 ( 760 MB)
    [ 0.000000] pkmap : 0xbfe00000 - 0xc0000000 ( 2 MB)
    [ 0.000000] modules : 0xbf000000 - 0xbfe00000 ( 14 MB)
    [ 0.000000] .text : 0xc0008000 - 0xc0834074 (8369 kB)
    [ 0.000000] .init : 0xc0835000 - 0xc0886000 ( 324 kB)
    [ 0.000000] .data : 0xc0886000 - 0xc08cc988 ( 283 kB)
    [ 0.000000] .bss : 0xc08cf000 - 0xc090d77c ( 250 kB)
    [ 0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=2, Nodes=1
    [ 0.000000] Preemptible hierarchical RCU implementation.
    [ 0.000000] Additional per-CPU info printed with stalls.
    [ 0.000000] NR_IRQS:16 nr_irqs:16 16
    [ 0.000000] OMAP clockevent source: timer1 at 32768 Hz
    [ 0.000000] clocksource 32k_counter: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 58327039986419 ns
    [ 0.000000] sched_clock: 32 bits at 32kHz, resolution 30517ns, wraps every 65535999984741ns
    [ 0.000000] OMAP clocksource: 32k_counter at 32768 Hz
    [ 0.000427] Architected cp15 timer(s) running at 6.14MHz (virt).
    [ 0.000457] clocksource arch_sys_counter: mask: 0xffffffffffffff max_cycles: 0x16af5adb9, max_idle_ns: 440795202250 ns
    [ 0.000462] sched_clock: 56 bits at 6MHz, resolution 162ns, wraps every 4398046511023ns
    [ 0.000473] Switching to timer-based delay loop, resolution 162ns
    [ 0.001014] Console: colour dummy device 80x30
    [ 0.001029] WARNING: Your 'console=ttyO2' has been replaced by 'ttyS2'
    [ 0.001035] This ensures that you still see kernel messages. Please
    [ 0.001041] update your kernel commandline.
    [ 0.001053] Calibrating delay loop (skipped), value calculated using timer frequency.. 12.29 BogoMIPS (lpj=61475)
    [ 0.001066] pid_max: default: 32768 minimum: 301
    [ 0.001144] Security Framework initialized
    [ 0.001180] Mount-cache hash table entries: 2048 (order: 1, 8192 bytes)
    [ 0.001190] Mountpoint-cache hash table entries: 2048 (order: 1, 8192 bytes)
    [ 0.001716] Initializing cgroup subsys blkio
    [ 0.001730] Initializing cgroup subsys memory
    [ 0.001755] Initializing cgroup subsys devices
    [ 0.001767] Initializing cgroup subsys freezer
    [ 0.001779] Initializing cgroup subsys perf_event
    [ 0.001800] CPU: Testing write buffer coherency: ok
    [ 0.002043] /cpus/cpu@0 missing clock-frequency property
    [ 0.002094] /cpus/cpu@1 missing clock-frequency property
    [ 0.002105] CPU0: thread -1, cpu 0, socket 0, mpidr 80000000
    [ 0.002145] Setting up static identity map for 0x80008280 - 0x800082d8
    [ 0.060659] CPU1: thread -1, cpu 1, socket 0, mpidr 80000001
    [ 0.060726] Brought up 2 CPUs
    [ 0.060740] SMP: Total of 2 processors activated (24.59 BogoMIPS).
    [ 0.060747] CPU: All CPU(s) started in SVC mode.
    [ 0.061124] devtmpfs: initialized
    [ 0.085895] VFP support v0.3: implementor 41 architecture 4 part 30 variant f rev 0
    [ 0.086651] omap_hwmod: l3_main_2 using broken dt data from ocp
    [ 0.099988] omap_hwmod: tptc0 using broken dt data from edma-controller
    [ 0.100478] omap_hwmod: tptc1 using broken dt data from edma-controller
    [ 0.274183] clocksource jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
    [ 0.277710] pinctrl core: initialized pinctrl subsystem
    [ 0.278504] NET: Registered protocol family 16
    [ 0.279418] DMA: preallocated 256 KiB pool for atomic coherent allocations
    [ 0.300595] cpuidle: using governor ladder
    [ 0.330620] cpuidle: using governor menu
    [ 0.337037] OMAP GPIO hardware version 0.1
    [ 0.342271] irq: no irq domain found for /ocp/l4@4a000000/scm@2000/pinmux@1400 !
    [ 0.366136] No ATAGs?
    [ 0.366169] hw-breakpoint: found 5 (+1 reserved) breakpoint and 4 watchpoint registers.
    [ 0.366178] hw-breakpoint: maximum watchpoint size is 8 bytes.
    [ 0.368667] omap4_sram_init:Unable to allocate sram needed to handle errata I688
    [ 0.368677] omap4_sram_init:Unable to get sram pool needed to handle errata I688
    [ 0.369148] OMAP DMA hardware revision 0.0
    [ 0.408435] edma-dma-engine edma-dma-engine.0: TI EDMA DMA engine driver
    [ 0.411062] omap-dma-engine 4a056000.dma-controller: OMAP DMA engine driver
    [ 0.416440] omap-iommu 40d01000.mmu: 40d01000.mmu registered
    [ 0.416616] omap-iommu 40d02000.mmu: 40d02000.mmu registered
    [ 0.416765] omap-iommu 58882000.mmu: 58882000.mmu registered
    [ 0.416915] omap-iommu 55082000.mmu: 55082000.mmu registered
    [ 0.417190] omap-iommu 41501000.mmu: 41501000.mmu registered
    [ 0.417372] omap-iommu 41502000.mmu: 41502000.mmu registered
    [ 0.417607] vgaarb: loaded
    [ 0.417971] SCSI subsystem initialized
    [ 0.419069] palmas 0-0058: Irq flag is 0x00000008
    [ 0.432430] palmas 0-0058: Muxing GPIO 2f, PWM 0, LED 0
    [ 0.514436] omap_i2c 48070000.i2c: bus 0 rev0.12 at 400 kHz
    [ 0.514984] omap_i2c 48060000.i2c: bus 2 rev0.12 at 400 kHz
    [ 0.515536] omap_i2c 4807c000.i2c: bus 4 rev0.12 at 400 kHz
    [ 0.515767] pps_core: LinuxPPS API ver. 1 registered
    [ 0.515775] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
    [ 0.515801] PTP clock support registered
    [ 0.516368] omap-mailbox 4883c000.mailbox: omap mailbox rev 0x400
    [ 0.516655] omap-mailbox 4883e000.mailbox: omap mailbox rev 0x400
    [ 0.516932] omap-mailbox 48840000.mailbox: omap mailbox rev 0x400
    [ 0.517206] omap-mailbox 48842000.mailbox: omap mailbox rev 0x400
    [ 0.517500] Advanced Linux Sound Architecture Driver Initialized.
    [ 0.518160] Switched to clocksource arch_sys_counter
    [ 0.527006] NET: Registered protocol family 2
    [ 0.527557] TCP established hash table entries: 8192 (order: 3, 32768 bytes)
    [ 0.527621] TCP bind hash table entries: 8192 (order: 4, 65536 bytes)
    [ 0.527745] TCP: Hash tables configured (established 8192 bind 8192)
    [ 0.527795] UDP hash table entries: 512 (order: 2, 16384 bytes)
    [ 0.527826] UDP-Lite hash table entries: 512 (order: 2, 16384 bytes)
    [ 0.527963] NET: Registered protocol family 1
    [ 0.528209] RPC: Registered named UNIX socket transport module.
    [ 0.528218] RPC: Registered udp transport module.
    [ 0.528224] RPC: Registered tcp transport module.
    [ 0.528230] RPC: Registered tcp NFSv4.1 backchannel transport module.
    [ 0.529234] CPU PMU: Failed to parse /pmu/interrupt-affinity[0]
    [ 0.529268] hw perfevents: enabled with armv7_cortex_a15 PMU driver, 7 counters available
    [ 0.531068] futex hash table entries: 512 (order: 3, 32768 bytes)
    [ 0.531145] audit: initializing netlink subsys (disabled)
    [ 0.531174] audit: type=2000 audit(0.510:1): initialized
    [ 0.536959] VFS: Disk quotas dquot_6.6.0
    [ 0.537111] VFS: Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
    [ 0.539052] NFS: Registering the id_resolver key type
    [ 0.539079] Key type id_resolver registered
    [ 0.539086] Key type id_legacy registered
    [ 0.539136] jffs2: version 2.2. (NAND) (SUMMARY) c 2001-2006 Red Hat, Inc.
    [ 0.541086] NET: Registered protocol family 38
    [ 0.541165] bounce: pool size: 64 pages
    [ 0.541179] io scheduler noop registered
    [ 0.541191] io scheduler deadline registered
    [ 0.541227] io scheduler cfq registered (default)
    [ 0.544718] pinctrl-single 4a003400.pinmux: 281 pins at pa fc003400 size 1124
    [ 0.578582] dra7-pcie 51000000.pcie: PCI host bridge to bus 0000:00
    [ 0.578595] pci_bus 0000:00: root bus resource [io 0x1000-0xffff]
    [ 0.578606] pci_bus 0000:00: root bus resource [mem 0x20013000-0x2fffffff]
    [ 0.578616] pci_bus 0000:00: root bus resource [bus 00-ff]
    [ 0.578720] pci 0000:00:00.0: IOMMU is currently not supported for PCI
    [ 0.578999] PCI: bus0: Fast back to back transfers disabled
    [ 0.579123] PCI: bus1: Fast back to back transfers enabled
    [ 0.579215] pci 0000:00:00.0: BAR 0: assigned [mem 0x20100000-0x201fffff]
    [ 0.579229] pci 0000:00:00.0: BAR 1: assigned [mem 0x20020000-0x2002ffff]
    [ 0.579241] pci 0000:00:00.0: PCI bridge to [bus 01]
    [ 0.580115] backlight supply power not found, using dummy regulator
    [ 0.583105] OMAP DSS rev 6.1
    [ 0.583363] omapdss_dss 58000000.dss: bound 58001000.dispc (ops dispc_component_ops)
    [ 0.583878] omapdss_dss 58000000.dss: bound 58040000.encoder (ops hdmi5_component_ops)
    [ 0.587956] Serial: 8250/16550 driver, 10 ports, IRQ sharing enabled
    [ 0.590833] 48020000.serial: ttyS2 at MMIO 0x48020000 (irq = 299, base_baud = 3000000) is a 8250
    [ 1.545073] console [ttyS2] enabled
    [ 1.549197] 48422000.serial: ttyS7 at MMIO 0x48422000 (irq = 300, base_baud = 3000000) is a 8250
    [ 1.559239] [drm] Initialized drm 1.1.0 20060810
    [ 1.572306] brd: module loaded
    [ 1.579491] loop: module loaded
    [ 1.583615] mtdoops: mtd device (mtddev=name/number) must be supplied
    [ 1.593303] mousedev: PS/2 mouse device common for all mice
    [ 1.598921] i2c /dev entries driver
    [ 1.604014] omap_hsmmc 4809c000.mmc: Got CD GPIO
    [ 1.608909] omap_hsmmc 4809c000.mmc: no pinctrl state for sdr104 mode
    [ 1.615379] omap_hsmmc 4809c000.mmc: no pinctrl state for hs200_1_8v mode
    [ 1.622212] omap_hsmmc 4809c000.mmc: no pinctrl state for ddr50 mode
    [ 1.628611] omap_hsmmc 4809c000.mmc: no pinctrl state for sdr50 mode
    [ 1.634992] omap_hsmmc 4809c000.mmc: no pinctrl state for sdr25 mode
    [ 1.641385] omap_hsmmc 4809c000.mmc: no pinctrl state for sdr12 mode
    [ 1.647766] omap_hsmmc 4809c000.mmc: no pinctrl state for ddr_1_8v mode
    [ 1.688824] omap_hsmmc 480b4000.mmc: no pinctrl state for sdr104 mode
    [ 1.695296] omap_hsmmc 480b4000.mmc: no pinctrl state for hs200_1_8v mode
    [ 1.702147] omap_hsmmc 480b4000.mmc: no pinctrl state for ddr50 mode
    [ 1.708546] omap_hsmmc 480b4000.mmc: no pinctrl state for sdr50 mode
    [ 1.714925] omap_hsmmc 480b4000.mmc: no pinctrl state for sdr25 mode
    [ 1.721316] omap_hsmmc 480b4000.mmc: no pinctrl state for sdr12 mode
    [ 1.727893] vdd_3v3: supplied by regen1
    [ 1.768802] omap_hsmmc 480ad000.mmc: no pinctrl state for sdr104 mode
    [ 1.769504] mmc0: host does not support reading read-only switch, assuming write-enable
    [ 1.774169] mmc0: new high speed SDHC card at address e624
    [ 1.774476] mmcblk0: mmc0:e624 SU04G 3.69 GiB
    [ 1.776127] mmcblk0: p1 p2
    [ 1.796130] omap_hsmmc 480ad000.mmc: no pinctrl state for hs200_1_8v mode
    [ 1.802988] omap_hsmmc 480ad000.mmc: no pinctrl state for ddr50 mode
    [ 1.809402] omap_hsmmc 480ad000.mmc: no pinctrl state for ddr_1_8v mode
    [ 1.822795] mmc1: MAN_BKOPS_EN bit is not set
    [ 1.835900] mmc1: new DDR MMC card at address 0001
    [ 1.841047] mmcblk1: mmc1:0001 S10004 3.56 GiB
    [ 1.845701] mmcblk1boot0: mmc1:0001 S10004 partition 1 4.00 MiB
    [ 1.848538] ledtrig-cpu: registered to indicate activity on CPUs
    [ 1.848877] omap-aes 4b500000.aes: OMAP AES hw accel rev: 3.3
    [ 1.863677] mmcblk1boot1: mmc1:0001 S10004 partition 2 4.00 MiB
    [ 1.870098] omap-aes 4b700000.aes: OMAP AES hw accel rev: 3.3
    [ 1.870413] mmcblk1: p1 p2 p3
    [ 1.879487] omap-des 480a5000.des: OMAP DES hw accel rev: 2.2
    [ 1.886179] omap-sham 4b101000.sham: hw accel on OMAP rev 4.3
    [ 1.895013] davinci-mcasp 48468000.mcasp: ERRATA i868 workaround is enabled
    [ 1.903325] oprofile: using timer interrupt.
    [ 1.907816] Initializing XFRM netlink socket
    [ 1.912175] NET: Registered protocol family 17
    [ 1.916663] NET: Registered protocol family 15
    [ 1.921229] Key type dns_resolver registered
    [ 1.925607] omap_voltage_late_init: Voltage driver support not added
    [ 1.932252] Power Management for TI OMAP4+ devices.
    [ 1.937363] ThumbEE CPU extension supported.
    [ 1.941711] Registering SWP/SWPB emulation handler
    [ 1.947906] dmm 4e000000.dmm: workaround for errata i878 in use
    [ 1.955411] dmm 4e000000.dmm: initialized all PAT entries
    [ 1.980638] [drm] Supports vblank timestamp caching Rev 2 (21.10.2013).
    [ 1.987284] [drm] No driver support for vblank timestamp query.
    [ 1.995743] [drm] Enabling DMM ywrap scrolling
    [ 2.040949] Console: switching to colour frame buffer device 100x30
    [ 2.050005] omapdrm omapdrm.0: fb0: omapdrm frame buffer device
    [ 2.055951] omapdrm omapdrm.0: registered panic notifier
    [ 2.088186] [drm] Initialized omapdrm 1.0.0 20110917 on minor 0
    [ 2.138180] davinci_mdio 48485000.mdio: davinci mdio revision 1.6
    [ 2.144303] davinci_mdio 48485000.mdio: detected phy mask fffffff9
    [ 2.154832] libphy: 48485000.mdio: probed
    [ 2.158882] davinci_mdio 48485000.mdio: phy[1]: device 48485000.mdio:01, driver unknown
    [ 2.166920] davinci_mdio 48485000.mdio: phy[2]: device 48485000.mdio:02, driver unknown
    [ 2.175575] cpsw 48484000.ethernet: Detected MACID = 74:da:ea:47:6f:90
    [ 2.182832] cpsw 48484000.ethernet: cpsw: Detected MACID = 74:da:ea:47:6f:91
    [ 2.190520] hctosys: unable to open rtc device (rtc0)
    [ 2.207210] ldousb: disabling
    [ 2.210516] vmmcwl_fixed: disabling
    [ 2.214020] aic_dvdd_fixed: disabling
    [ 2.217889] ALSA device list:
    [ 2.220915] No soundcards found.
    [ 2.241738] EXT4-fs (mmcblk0p2): mounted filesystem with ordered data mode. Opts: (null)
    [ 2.249936] VFS: Mounted root (ext4 filesystem) on device 179:2.
    [ 2.260371] devtmpfs: mounted
    [ 2.263548] Freeing unused kernel memory: 324K (c0835000 - c0886000)
    INIT: version 2.88 bootingStarting udev
    [ 2.883513] udevd[118]: starting version 182
    [ 3.166888] omap-rproc 58820000.ipu: assigned reserved memory node ipu1_cma@9d000000
    [ 3.193330] Adding alias for supply vdd,cpu0 -> vdd,4a003b20.voltdm
    [ 3.223466] remoteproc0: 58820000.ipu is available
    [ 3.259289] Adding alias for supply vbb,cpu0 -> vbb,4a003b20.voltdm
    [ 3.279724] remoteproc0: Note: remoteproc is still under development and considered experimental.
    [ 3.325817] Adding alias for supply vdd,cpu0 -> vdd,4a003b20.voltdm
    [ 3.372045] remoteproc0: THE BINARY FORMAT IS NOT YET FINALIZED, and backward compatibility isn't yet guaranteed.
    [ 3.403100] Adding alias for supply vbb,cpu0 -> vbb,4a003b20.voltdm
    [ 3.496616] omap_rng 48090000.rng: OMAP Random Number Generator ver. 20
    [ 3.504616] remoteproc0: Direct firmware load for dra7-ipu1-fw.xem4 failed with error -2
    [ 3.513596] media: Linux media interface: v0.10
    [ 3.525922] omap_rtc 48838000.rtc: rtc core: registered 48838000.rtc as rtc2
    [ 3.546301] omap-rproc 55020000.ipu: assigned reserved memory node ipu2_cma@95800000
    [ 3.550841] Linux video capture interface: v2.00
    [ 3.558805] remoteproc0: Falling back to user helper
    [ 3.623337] remoteproc1: 55020000.ipu is available
    [ 3.701024] remoteproc1: Note: remoteproc is still under development and considered experimental.
    [ 3.769228] remoteproc1: THE BINARY FORMAT IS NOT YET FINALIZED, and backward compatibility isn't yet guaranteed.
    [ 3.796554] mt9t11x 4-003c: input-clock-freq: 32000000
    [ 3.804793] mt9t11x 4-003c: pixel-clock-freq: 96000000
    [ 3.810979] rtc-ds1307 2-006f: rtc core: registered mcp7941x as rtc0
    [ 3.817742] tmp102 0-0048: initialized
    [ 3.822053] aic_dvdd_fixed: supplied by vdd_3v3
    [ 3.855858] rtc-ds1307 2-006f: 64 bytes nvram
    [ 3.873204] omap-rproc 40800000.dsp: assigned reserved memory node dsp1_cma@99000000
    [ 3.932228] remoteproc2: 40800000.dsp is available
    [ 3.964811] remoteproc2: Note: remoteproc is still under development and considered experimental.
    [ 3.978419] mt9t11x 4-003c: mt9t111 chip ID 2680
    [ 3.987929] mt9t11x 4-003c: mt9t11x sensor driver registered !!
    [ 4.000287] palmas-rtc 48070000.i2c:tps659038@58:tps659038_rtc: rtc core: registered 48070000.i2c:tps659 as rtc1
    [ 4.014277] omap-hdmi-audio omap-hdmi-audio.0.auto: snd-soc-dummy-dai <-> 58040000.encoder mapping ok
    [ 4.025338] input: gpio_keys as /devices/platform/gpio_keys/input/input0
    [ 4.055243] remoteproc2: THE BINARY FORMAT IS NOT YET FINALIZED, and backward compatibility isn't yet guaranteed.
    [ 4.076613] asoc-simple-card sound@0: tlv320aic3x-hifi <-> 48468000.mcasp mapping ok
    [ 4.089058] palmas-usb 48070000.i2c:tps659038@58:tps659038_usb: USB-HOST cable is detached
    [ 4.111400] vpe 489d0000.vpe: loading firmware vpdma-1b8.bin
    [ 4.119209] omap_wdt: OMAP Watchdog Timer Rev 0x01: initial timeout 60 sec
    [ 4.123162] palmas_pwrbutton 48070000.i2c:tps659038@58:tps659038_pwr_button: h/w controlled shutdown duration=12 seconds
    [ 4.124924] input: palmas_pwron as /devices/platform/44000000.ocp/48070000.i2c/i2c-0/0-
    0058/48070000.i2c:tps659038@58:tps659038_pwr_button/input/input2
    [ 4.129609] remoteproc1: registered virtio0 (type 7)
    [ 4.168598] input: pixcir_tangoc as /devices/platform/44000000.ocp/4807c000.i2c/i2c-4/4-005c/input/input1
    [ 4.183611] vpe 489d0000.vpe: Device registered as /dev/video0
    [ 4.362320] ahci 4a140000.sata: SSS flag set, parallel bus scan disabled
    [ 4.396390] ahci 4a140000.sata: AHCI 0001.0300 32 slots 1 ports 3 Gbps 0x1 impl platform mode
    [ 4.469658] ahci 4a140000.sata: flags: 64bit ncq sntf stag pm led clo only pmp pio slum part ccc apst
    [ 4.499555] scsi host0: ahci
    [ 4.503830] ata1: SATA max UDMA/133 mmio [mem 0x4a140000-0x4a1410ff] port 0x100 irq 356
    [ 4.515760] omap-rproc 41000000.dsp: assigned reserved memory node dsp2_cma@9f000000
    [ 4.531169] remoteproc3: 41000000.dsp is available
    [ 4.538865] remoteproc3: Note: remoteproc is still under development and considered experimental.
    [ 4.548531] remoteproc3: THE BINARY FORMAT IS NOT YET FINALIZED, and backward compatibility isn't yet guaranteed.
    [ 4.565267] vip 48990000.vip: loading firmware vpdma-1b8.bin
    [ 4.575147] remoteproc0: failed to load dra7-ipu1-fw.xem4
    [ 4.588297] vip 48990000.vip: VPDMA firmware loaded
    [ 4.593634] vip2-s0: Port A: Using subdev mt9t11x for capture
    [ 4.604989] vip2-s0: vip Device registered as /dev/video1
    [ 4.642512] remoteproc1: powering up 55020000.ipu
    [ 4.653722] remoteproc1: Booting fw image dra7-ipu2-fw.xem4, size 3480916
    [ 4.661510] omap-iommu 55082000.mmu: 55082000.mmu: version 2.1
    [ 4.722141] remoteproc1: remote processor 55020000.ipu is now up
    [ 4.729123] virtio_rpmsg_bus virtio0: rpmsg host is online
    [ 4.734657] virtio_rpmsg_bus virtio0: creating channel rpmsg-rpc addr 0x3b
    [ 4.774523] rpmsg_rpc rpmsg0: probing service rpmsg-dce with src 1024 dst 59
    [ 4.782447] rpmsg_rpc rpmsg0: published functions = 8
    [ 4.839909] FAT-fs (mmcblk1p2): Volume was not properly unmounted. Some data may be corrupt. Please run fsck.
    [ 4.840474] FAT-fs (mmcblk1p3): Volume was not properly unmounted. Some data may be corrupt. Please run fsck.
    [ 4.859250] FAT-fs (mmcblk1p1): Volume was not properly unmounted. Some data may be corrupt. Please run fsck.
    [ 4.868193] ata1: SATA link down (SStatus 0 SControl 300)
    [ 5.228289] random: nonblocking pool is initialized
    [ 6.357924] remoteproc2: powering up 40800000.dsp
    [ 6.362791] remoteproc2: Booting fw image dra7-dsp1-fw.xe66, size 21306292
    [ 6.376976] omap_hwmod: mmu0_dsp1: _wait_target_disable failed
    [ 6.382913] omap-iommu 40d01000.mmu: 40d01000.mmu: version 3.0
    [ 6.388828] omap-iommu 40d02000.mmu: 40d02000.mmu: version 3.0
    [ 6.404016] remoteproc2: RSC_INTMEM is deprecated. Please do not use this resource type to support loading into internal memories.
    [ 6.420488] remoteproc2: remote processor 40800000.dsp is now up
    [ 6.427201] virtio_rpmsg_bus virtio1: rpmsg host is online
    [ 6.433121] remoteproc2: registered virtio1 (type 7)
    [ 6.446727] usbcore: registered new interface driver usbfs
    [ 6.452805] virtio_rpmsg_bus virtio1: creating channel rpmsg-proto addr 0x3d
    [ 6.458832] usbcore: registered new interface driver hub
    [ 6.459450] usbcore: registered new device driver usb
    [ 6.504124] xhci-hcd xhci-hcd.1.auto: xHCI Host Controller
    [ 6.509986] xhci-hcd xhci-hcd.1.auto: new USB bus registered, assigned bus number 1
    [ 6.518072] xhci-hcd xhci-hcd.1.auto: hcc params 0x0220f04c hci version 0x100 quirks 0x00010010
    [ 6.526897] xhci-hcd xhci-hcd.1.auto: irq 452, io mem 0x48890000
    [ 6.533108] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002
    [ 6.539989] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
    [ 6.547241] usb usb1: Product: xHCI Host Controller
    [ 6.552149] usb usb1: Manufacturer: Linux 4.1.6-g52c4aa7 xhci-hcd
    [ 6.558275] usb usb1: SerialNumber: xhci-hcd.1.auto
    [ 6.563735] hub 1-0:1.0: USB hub found
    [ 6.567527] hub 1-0:1.0: 1 port detected
    [ 6.571798] xhci-hcd xhci-hcd.1.auto: xHCI Host Controller
    [ 6.577320] xhci-hcd xhci-hcd.1.auto: new USB bus registered, assigned bus number 2
    [ 6.585165] usb usb2: We don't know the algorithms for LPM for this host, disabling LPM.
    [ 6.593458] usb usb2: New USB device found, idVendor=1d6b, idProduct=0003
    [ 6.600932] usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1
    [ 6.609268] usb usb2: Product: xHCI Host Controller
    [ 6.614173] usb usb2: Manufacturer: Linux 4.1.6-g52c4aa7 xhci-hcd
    [ 6.621504] usb usb2: SerialNumber: xhci-hcd.1.auto
    [ 6.628312] hub 2-0:1.0: USB hub found
    [ 6.632120] hub 2-0:1.0: 1 port detected
    [ 6.693586] remoteproc3: powering up 41000000.dsp
    [ 6.698889] remoteproc3: Booting fw image dra7-dsp2-fw.xe66, size 21306292
    [ 6.713120] omap_hwmod: mmu0_dsp2: _wait_target_disable failed
    [ 6.719049] omap-iommu 41501000.mmu: 41501000.mmu: version 3.0
    [ 6.724949] omap-iommu 41502000.mmu: 41502000.mmu: version 3.0
    [ 6.730995] FAT-fs (mmcblk0p1): Volume was not properly unmounted. Some data may be corrupt. Please run fsck.
    [ 6.754017] remoteproc3: RSC_INTMEM is deprecated. Please do not use this resource type to support loading into internal memories.
    [ 6.773291] remoteproc3: remote processor 41000000.dsp is now up
    [ 6.780054] virtio_rpmsg_bus virtio2: rpmsg host is online
    [ 6.785617] remoteproc3: registered virtio2 (type 7)
    [ 6.794078] virtio_rpmsg_bus virtio2: creating channel rpmsg-proto addr 0x3d
    [ 6.824531] CMEMK module: reference Linux version 4.1.6
    [ 6.830969] cmemk initialized
    [ 6.852931] cryptodev: driver 1.6 loaded.
    [ 6.887865] EXT4-fs (mmcblk0p2): re-mounted. Opts: data=ordered
    [ 6.898195] usb 1-1: new high-speed USB device number 2 using xhci-hcd
    bootlogd: cannot allocate pseudo tty: No such file or directory
    Starting random number generator daemon[ 6.948237] usb 2-1: new SuperSpeed USB device number 2 using xhci-hcd
    .
    [ 6.968508] usb 2-1: New USB device found, idVendor=0451, idProduct=8140
    [ 6.975255] usb 2-1: New USB device strings: Mfr=0, Product=0, SerialNumber=0
    [ 6.985305] hub 2-1:1.0: USB hub found
    [ 6.994094] hub 2-1:1.0: 4 ports detected
    [ 7.038578] usb 1-1: New USB device found, idVendor=0451, idProduct=8142
    [ 7.045332] usb 1-1: New USB device strings: Mfr=0, Product=0, SerialNumber=1
    [ 7.052537] usb 1-1: SerialNumber: 20020869C017
    [ 7.065385] hub 1-1:1.0: USB hub found
    [ 7.069250] hub 1-1:1.0: 4 ports detected
    ALSA: Restoring mixer settings...
    INIT: Entering runlevel: 5Configuring network interfaces... [ 7.348836] net eth0: initializing cpsw version 1.15 (0)
    [ 7.432070] net eth0: phy found : id is : 0x221622
    udhcpc (v1.23.1) started
    Sending discover...
    [ 9.435122] cpsw 48484000.ethernet eth0: Link is Up - 100Mbps/Full - flow control rx/tx
    Sending discover...
    Sending select for 10.100.92.57...
    Lease of 10.100.92.57 obtained, lease time 14400
    /etc/udhcpc.d/50default: Adding DNS 10.100.1.5
    /etc/udhcpc.d/50default: Adding DNS 10.100.1.6
    done.
    Starting system message bus: dbus.
    UIM SYSFS Node Not Found
    Initializing the graphics driver ...
    Starting Dropbear SSH server: [ 11.558492] NET: Registered protocol family 10
    dropbear.
    Starting telnet daemon.
    Starting tiipclad daemon
    GateMP support enabled on host

    Opened log file: lad.txt

    numProcessors = 5 id = 0 baseId = 0

    Spawned daemon: /usr/bin/lad_dra7xx

    .
    Starting rpcbind daemon...done.
    starting statd: done
    Starting syslogd/klogd: done
    Starting thttpd.
    Starting Lighttpd Web Server: lighttpd.
    2015-10-08 06:23:23: (/home/gtbldadm/processor-sdk-linux-fido-build/build-CORTEX_1/arago-tmp-external-linaro-toolchain/work/cortexa15hf
    -vfp-neon-linux-gnueabi/lighttpd/1.4.35-r1/lighttpd-1.4.35/src/log.c.164) server started
    Initializing /dev/gdbtty0 based on /lib/firmware/dra7-dsp1-fw.xe66 ...
    gdb_globalData (local) = 00806000
    gdb_globalData (global) = 40806000
    Initializing /dev/gdbtty1 based on /lib/firmware/dra7-dsp2-fw.xe66 ...
    gdb_globalData (local) = 00806000
    gdb_globalData (global) = 41006000
    /
    Starting Matrix GUI application.
    Enabling thermal zones...
    ***************************************************************
    ***************************************************************
    NOTICE: This file system contains the following GPLv3 packages:
    autoconf
    binutils-dev
    binutils
    bison-dev
    bison
    cpp-symlinks
    cpp
    g++-symlinks
    g++
    gcc-symlinks
    gcc
    gdbc6x
    gdbserver
    gstreamer1.0-libav
    libgmp10
    libmpc3
    libmpfr4
    make
    parted

    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
    ***************************************************************
    ***************************************************************
    _____ _____ _ _
    | _ |___ ___ ___ ___ | _ |___ ___ |_|___ ___| |_
    | | _| .'| . | . | | __| _| . | | | -_| _| _|
    |__|__|_| |__,|_ |___| |__| |_| |___|_| |___|___|_|
    |___| |___|
    Arago Project http://arago-project.org am57xx-evm /dev/ttyO2
    Arago 2015.09 am57xx-evm /dev/ttyO2
    am57xx-evm login:

  • hi there,
    Q1. After checking following, it looks like that dra7-ipu1-fw.xem4 didn't exist. Is there something wrong with the ipu1 fw??

    >> I got following by checking www.ti.com/.../spruhz6d.pdf,

    • IPU1 subsystem is available for general purpose usage
    • IPU2 subsystem is dedicated to IVA-HD support and is not available for other processing

    Can IPU1 do the same thing as IPU2 ? If yes, any modification we need to do ??


    Q2. The IPU booting starts early in the boot process.
    > Could you give a hint on the boot-up messages in the above ??