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.

TDA2SX: remote proc module would not installed in my custom board

Part Number: TDA2SX

Dear TI,

I am now working with our TDA2x custom board. The visionSDK revision i used is 3.06.

The rootfs i used is a minimal filesystem compiled by YOCTO projec.

This is the kernel startup log:

Starting kernel ...

[    0.000000] Booting Linux on physical CPU 0x0
[    0.000000] Initializing cgroup subsys cpuset
[    0.000000] Initializing cgroup subsys cpu
[    0.000000] Initializing cgroup subsys cpuacct
[    0.000000] Linux version 4.4.84-svn1450 (gan.liu@ubuntu) (gcc version 5.3.1 20160113 (Linaro GCC 5.3-2016.02) ) #47 SMP PREEMPT Tue Nov 19 22:09:49 CST 2019
[    0.000000] CPU: ARMv7 Processor [412fc0f2] revision 2 (ARMv7), cr=30c5387d
[    0.000000] CPU: PIPT / VIPT nonaliasing data cache, PIPT instruction cache
[    0.000000] Machine model: TI DRA742
[    0.000000] Reserved memory: created DMA memory pool at 0x0000000040300000, size 3 MiB
[    0.000000] Reserved memory: initialized node cmem@40300000, compatible id shared-dma-pool
[    0.000000] Reserved memory: regions without no-map are not yet supported
[    0.000000] Reserved memory: created CMA memory pool at 0x0000000099000000, size 80 MiB
[    0.000000] Reserved memory: initialized node ipu2_cma@95800000, compatible id shared-dma-pool
[    0.000000] Reserved memory: created CMA memory pool at 0x000000009e000000, size 32 MiB
[    0.000000] Reserved memory: initialized node ipu1_cma@9d000000, compatible id shared-dma-pool
[    0.000000] Reserved memory: regions without no-map are not yet supported
[    0.000000] Reserved memory: created CMA memory pool at 0x00000000a1000000, size 32 MiB
[    0.000000] Reserved memory: initialized node dsp1_cma@99000000, compatible id shared-dma-pool
[    0.000000] Reserved memory: created CMA memory pool at 0x00000000a3000000, size 32 MiB
[    0.000000] Reserved memory: initialized node dsp2_cma@9f000000, compatible id shared-dma-pool
[    0.000000] Reserved memory: regions without no-map are not yet supported
[    0.000000] Reserved memory: created DMA memory pool at 0x00000000a9000000, size 32 MiB
[    0.000000] Reserved memory: initialized node cmem@A9000000, compatible id shared-dma-pool
[    0.000000] cma: Reserved 24 MiB at 0x00000000fd800000
[    0.000000] Forcing write-allocate cache policy for SMP
[    0.000000] Memory policy: Data cache writealloc
[    0.000000] OMAP4: Map 0x000000027fd00000 to fe600000 for dram barrier
[    0.000000] DRA752 ES2.0
[    0.000000] PERCPU: Embedded 11 pages/cpu @eb71e000 s14912 r8192 d21952 u45056
[    0.000000] Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 1033792
[    0.000000] Kernel command line: console=ttyO2,115200n8 root=PARTUUID=64415171-02 rw rootfstype=ext4 rootwait
[    0.000000] [LG console_setup 2051]: idx: 2.
[    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: 3495936K/4142080K available (6639K kernel code, 320K rwdata, 2392K rodata, 340K init, 290K bss, 441344K reserved, 204800K cma-reserved, 3363840K highmem)
[    0.000000] Virtual kernel memory layout:
[    0.000000]     vector  : 0xffff0000 - 0xffff1000   (   4 kB)
[    0.000000]     fixmap  : 0xffc00000 - 0xfff00000   (3072 kB)
[    0.000000]     vmalloc : 0xf0800000 - 0xff800000   ( 240 MB)
[    0.000000]     lowmem  : 0xc0000000 - 0xf0000000   ( 768 MB)
[    0.000000]     pkmap   : 0xbfe00000 - 0xc0000000   (   2 MB)
[    0.000000]     modules : 0xbf000000 - 0xbfe00000   (  14 MB)
[    0.000000]       .text : 0xc0008000 - 0xc08da02c   (9033 kB)
[    0.000000]       .init : 0xc08db000 - 0xc0930000   ( 340 kB)
[    0.000000]       .data : 0xc0930000 - 0xc0980120   ( 321 kB)
[    0.000000]        .bss : 0xc0982000 - 0xc09ca800   ( 290 kB)
[    0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=2, Nodes=1
[    0.000000] Preemptible hierarchical RCU implementation.
[    0.000000]  Build-time adjustment of leaf fanout to 32.
[    0.000000] NR_IRQS:16 nr_irqs:16 16
[    0.000000] ti_dt_clocks_register: failed to lookup clock node gmac_gmii_ref_clk_div
[    0.000000] OMAP clockevent source: timer1 at 32786 Hz
[    0.000000] Architected cp15 timer(s) running at 6.14MHz (phys).
[    0.000000] clocksource: arch_sys_counter: mask: 0xffffffffffffff max_cycles: 0x16af5adb9, max_idle_ns: 440795202250 ns
[    0.000005] sched_clock: 56 bits at 6MHz, resolution 162ns, wraps every 4398046511023ns
[    0.000015] Switching to timer-based delay loop, resolution 162ns
[    0.000337] clocksource: 32k_counter: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 58327039986419 ns
[    0.000345] OMAP clocksource: 32k_counter at 32768 Hz
[    0.000784] Console: colour dummy device 80x30
[    0.000799] WARNING: Your 'console=ttyO2' has been replaced by 'ttyS2'
[    0.000805] This ensures that you still see kernel messages. Please
[    0.000810] update your kernel commandline.
[    0.000823] Calibrating delay loop (skipped), value calculated using timer frequency.. 12.29 BogoMIPS (lpj=61475)
[    0.000836] pid_max: default: 32768 minimum: 301
[    0.000933] Mount-cache hash table entries: 2048 (order: 1, 8192 bytes)
[    0.000943] Mountpoint-cache hash table entries: 2048 (order: 1, 8192 bytes)
[    0.001484] Initializing cgroup subsys io
[    0.001500] Initializing cgroup subsys memory
[    0.001525] Initializing cgroup subsys devices
[    0.001537] Initializing cgroup subsys freezer
[    0.001548] Initializing cgroup subsys perf_event
[    0.001559] Initializing cgroup subsys pids
[    0.001586] CPU: Testing write buffer coherency: ok
[    0.001786] /cpus/cpu@0 missing clock-frequency property
[    0.001803] /cpus/cpu@1 missing clock-frequency property
[    0.001813] CPU0: thread -1, cpu 0, socket 0, mpidr 80000000
[    0.001853] Setting up static identity map for 0x80008380 - 0x800083e0
[    0.080059] CPU1: thread -1, cpu 1, socket 0, mpidr 80000001
[    0.080129] Brought up 2 CPUs
[    0.080142] SMP: Total of 2 processors activated (24.59 BogoMIPS).
[    0.080148] CPU: All CPU(s) started in HYP mode.
[    0.080154] CPU: Virtualization extensions available.
[    0.080529] devtmpfs: initialized
[    0.109501] VFP support v0.3: implementor 41 architecture 4 part 30 variant f rev 0
[    0.110484] omap_hwmod: l3_main_2 using broken dt data from ocp
[    0.308839] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[    0.308863] futex hash table entries: 512 (order: 3, 32768 bytes)
[    0.313131] pinctrl core: initialized pinctrl subsystem
[    0.314007] NET: Registered protocol family 16
[    0.314910] DMA: preallocated 256 KiB pool for atomic coherent allocations
[    0.340219] cpuidle: using governor ladder
[    0.370240] cpuidle: using governor menu
[    0.378732] OMAP GPIO hardware version 0.1
[    0.385195] irq: no irq domain found for /ocp/l4@4a000000/scm@2000/pinmux@1400 !
[    0.400766] omap-gpmc 50000000.gpmc: GPMC revision 6.0
[    0.400779] gpmc_mem_init: disabling cs 0 mapped at 0x0-0x1000000
[    0.407954] hw-breakpoint: found 5 (+1 reserved) breakpoint and 4 watchpoint registers.
[    0.407964] hw-breakpoint: maximum watchpoint size is 8 bytes.
[    0.408427] omap4_sram_init:Unable to allocate sram needed to handle errata I688
[    0.408436] omap4_sram_init:Unable to get sram pool needed to handle errata I688
[    0.409023] OMAP DMA hardware revision 0.0
[    0.451502] omap-dma-engine 4a056000.dma-controller: OMAP DMA engine driver (LinkedList1/2/3 supported)
[    0.452617] edma 43300000.edma: memcpy is disabled
[    0.457397] edma 43300000.edma: TI EDMA DMA engine driver
[    0.461683] omap-iommu 40d01000.mmu: 40d01000.mmu registered
[    0.461860] omap-iommu 40d02000.mmu: 40d02000.mmu registered
[    0.462026] omap-iommu 58882000.mmu: 58882000.mmu registered
[    0.462188] omap-iommu 55082000.mmu: 55082000.mmu registered
[    0.462468] omap-iommu 41501000.mmu: 41501000.mmu registered
[    0.462653] omap-iommu 41502000.mmu: 41502000.mmu registered
[    0.465631] palmas 0-0058: IRQ missing: skipping irq request
[    0.481069] palmas 0-0058: Muxing GPIO 2f, PWM 0, LED 0
[    0.553215] pcf857x: probe of 0-0020 failed with error -121
[    0.553477] pcf857x: probe of 0-0021 failed with error -121
[    0.553635] omap_i2c 48070000.i2c: bus 0 rev0.12 at 400 kHz
[    0.553826] media: Linux media interface: v0.10
[    0.553876] Linux video capture interface: v2.00
[    0.553916] pps_core: LinuxPPS API ver. 1 registered
[    0.553923] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
[    0.553946] PTP clock support registered
[    0.553988] EDAC MC: Ver: 3.0.0
[    0.554758] omap-mailbox 48840000.mailbox: omap mailbox rev 0x400
[    0.555046] omap-mailbox 48842000.mailbox: omap mailbox rev 0x400
[    0.555371] Advanced Linux Sound Architecture Driver Initialized.
[    0.556215] clocksource: Switched to clocksource arch_sys_counter
[    0.566752] NET: Registered protocol family 2
[    0.567246] TCP established hash table entries: 8192 (order: 3, 32768 bytes)
[    0.567311] TCP bind hash table entries: 8192 (order: 4, 65536 bytes)
[    0.567435] TCP: Hash tables configured (established 8192 bind 8192)
[    0.567484] UDP hash table entries: 512 (order: 2, 16384 bytes)
[    0.567515] UDP-Lite hash table entries: 512 (order: 2, 16384 bytes)
[    0.567718] NET: Registered protocol family 1
[    0.567976] RPC: Registered named UNIX socket transport module.
[    0.567985] RPC: Registered udp transport module.
[    0.567991] RPC: Registered tcp transport module.
[    0.567997] RPC: Registered tcp NFSv4.1 backchannel transport module.
[    0.568923] hw perfevents: enabled with armv7_cortex_a15 PMU driver, 7 counters available
[    0.578871] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[    0.579537] NFS: Registering the id_resolver key type
[    0.579565] Key type id_resolver registered
[    0.579573] Key type id_legacy registered
[    0.579640] ntfs: driver 2.1.32 [Flags: R/O].
[    0.580965] bounce: pool size: 64 pages
[    0.581120] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 247)
[    0.581137] io scheduler noop registered
[    0.581152] io scheduler deadline registered
[    0.581188] io scheduler cfq registered (default)
[    0.585964] pinctrl-single 4a003400.pinmux: 282 pins at pa fc003400 size 1128
[    0.589094] PCI host bridge /ocp/axi@0/pcie_rc@51000000 ranges:
[    0.589107]   No bus range found for /ocp/axi@0/pcie_rc@51000000, using [bus 00-ff]
[    0.589140]    IO 0x20003000..0x20012fff -> 0x00000000
[    0.589161]   MEM 0x20013000..0x2fffffff -> 0x20013000
[    0.619030] dra7-pcie 51000000.pcie_rc: link is not up
[    0.619206] dra7-pcie 51000000.pcie_rc: PCI host bridge to bus 0000:00
[    0.619218] pci_bus 0000:00: root bus resource [bus 00-ff]
[    0.619228] pci_bus 0000:00: root bus resource [io  0x0000-0xffff]
[    0.619238] pci_bus 0000:00: root bus resource [mem 0x20013000-0x2fffffff]
[    0.619650] PCI: bus0: Fast back to back transfers disabled
[    0.619769] PCI: bus1: Fast back to back transfers enabled
[    0.619853] pci 0000:00:00.0: BAR 0: assigned [mem 0x20100000-0x201fffff]
[    0.619868] pci 0000:00:00.0: BAR 1: assigned [mem 0x20020000-0x2002ffff]
[    0.619881] pci 0000:00:00.0: PCI bridge to [bus 01]
[    0.620105] pcieport 0000:00:00.0: Signaling PME through PCIe PME interrupt
[    0.680855] Serial: 8250/16550 driver, 10 ports, IRQ sharing disabled
[    0.684224] 4806a000.serial: ttyS0 at MMIO 0x4806a000 (irq = 301, base_baud = 3000000) is a 8250
[    0.685098] 4806c000.serial: ttyS1 at MMIO 0x4806c000 (irq = 302, base_baud = 3000000) is a 8250
[    0.685933] console [ttyS2] disabled
[    0.685980] 48020000.serial: ttyS2 at MMIO 0x48020000 (irq = 303, base_baud = 3000000) is a 8250
[    1.717793] console [ttyS2] enabled
[    1.722428] [drm] Initialized drm 1.1.0 20060810
[    1.727968] [drm] Supports vblank timestamp caching Rev 2 (21.10.2013).
[    1.734613] [drm] No driver support for vblank timestamp query.
[    1.740777] [drm] Initialized vdrm 1.0.0 20110917 on minor 0
[    1.753634] loop: module loaded
[    1.757206] vmemexp device MAJOR num = 245
[    1.761334] vmemexp class registered
[    1.765048] /dev/vmemexp device registered
[    1.769184] ioctl DBUFIOC_EXPORT_VIRTMEM = -1072899120
[    1.774876] nand: No NAND device found
[    1.778666] omap2-nand 8000000.nand: scan failed, may be bus-width mismatch
[    1.788479] m25p80 spi32766.0: found n25q512a, expected s25fl256s1
[    1.794724] m25p80 spi32766.0: n25q512a (65536 Kbytes)
[    1.799965] 7 ofpart partitions found on MTD device spi32766.0
[    1.805824] Creating 7 MTD partitions on "spi32766.0":
[    1.811001] 0x000000000000-0x000000040000 : "QSPI.SPL"
[    1.817147] 0x000000040000-0x000000140000 : "QSPI.u-boot"
[    1.823472] 0x000000140000-0x0000001c0000 : "QSPI.u-boot-spl-os"
[    1.830414] 0x0000001c0000-0x0000001d0000 : "QSPI.u-boot-env"
[    1.837118] 0x0000001d0000-0x0000001e0000 : "QSPI.u-boot-env.backup1"
[    1.844496] 0x0000001e0000-0x0000009e0000 : "QSPI.kernel"
[    1.850853] 0x0000009e0000-0x000002000000 : "QSPI.file-system"
[    1.858655] libphy: Fixed MDIO Bus: probed
[    1.906250] davinci_mdio 48485000.mdio: davinci mdio revision 1.6
[    1.912374] davinci_mdio 48485000.mdio: detected phy mask fffffffc
[    1.922462] libphy: 48485000.mdio: probed
[    1.926534] davinci_mdio 48485000.mdio: phy[0]: device 48485000.mdio:00, driver unknown
[    1.934574] davinci_mdio 48485000.mdio: phy[1]: device 48485000.mdio:01, driver unknown
[    1.943022] fixed link eth slave node.
[    1.947096] phy_id eth slave node.
[    1.950658] cpsw 48484000.ethernet: Detected MACID = a8:e2:c1:d9:29:2a
[    1.957351] cpsw 48484000.ethernet: cpts: overflow check period 800
[    1.964301] cpsw 48484000.ethernet: cpsw: Detected MACID = a8:e2:c1:d9:29:2b
[    1.972922] mousedev: PS/2 mouse device common for all mice
[    1.979120] i2c /dev entries driver
[    1.987636] omap_hsmmc 4809c000.mmc: Got CD GPIO
[    1.993249] omap_hsmmc 480b4000.mmc: no pinctrl state for sdr25 mode
[    1.999684] omap_hsmmc 480b4000.mmc: no pinctrl state for sdr12 mode
[    2.006259] evm_3v3_sw: supplied by sysen1
[    2.047011] ledtrig-cpu: registered to indicate activity on CPUs
[    2.058111] aic_dvdd: supplied by evm_3v3_sw
[    2.064458] NET: Registered protocol family 10
[    2.069935] sit: IPv6 over IPv4 tunneling driver
[    2.078225] NET: Registered protocol family 17
[    2.082892] Key type dns_resolver registered
[    2.087279] omap_voltage_late_init: Voltage driver support not added
[    2.094167] Adding alias for supply vdd,cpu0 -> vdd,4a003b20.oppdm
[    2.100419] Adding alias for supply vbb,cpu0 -> vbb,4a003b20.oppdm
[    2.106709] ti_oppdm 4a003b20.oppdm: Unable to get vdd regulator:-517
[    2.113336] Power Management for TI OMAP4+ devices.
[    2.118475] Registering SWP/SWPB emulation handler
[    2.124677] dmm 4e000000.dmm: workaround for errata i878 in use
[    2.132314] dmm 4e000000.dmm: initialized all PAT entries
[    2.137786] mmc0: MAN_BKOPS_EN bit is not set
[    2.143217] [drm] Initialized omapdrm 1.0.0 20110917 on minor 1
[    2.150355] omap_hsmmc 4809c000.mmc: Got CD GPIO
[    2.154565] mmc0: new HS200 MMC card at address 0001
[    2.160877] Adding alias for supply vdd,cpu0 -> vdd,4a003b20.oppdm
[    2.165111] mmcblk0: mmc0:0001 008GB0 7.28 GiB
[    2.171671] Adding alias for supply vbb,cpu0 -> vbb,4a003b20.oppdm
[    2.175403] mmcblk0boot0: mmc0:0001 008GB0 partition 1 8.00 MiB
[    2.183892] ti_oppdm 4a003b20.oppdm: Unable to get vdd regulator:-517
[    2.185690] mmcblk0boot1: mmc0:0001 008GB0 partition 2 8.00 MiB
[    2.196953] hctosys: unable to open rtc device (rtc0)
[    2.197331]  mmcblk0: p1 p2
[    2.207170] omap_hsmmc 4809c000.mmc: Got CD GPIO
[    2.212794] Adding alias for supply vdd,cpu0 -> vdd,4a003b20.oppdm
[    2.219069] Adding alias for supply vbb,cpu0 -> vbb,4a003b20.oppdm
[    2.219266] evm_1v8: disabling
[    2.219273] aic_dvdd: disabling
[    2.219277] vmmcwl_fixed: disabling
[    2.231575] ldousb: disabling
[    2.238101] ti_oppdm 4a003b20.oppdm: Unable to get vdd regulator:-517
[    2.244740] pbias_mmc_omap5: disabling
[    2.248762] ALSA device list:
[    2.251743]   No soundcards found.
[    2.271395] EXT4-fs (mmcblk0p2): mounted filesystem with ordered data mode. Opts: (null)
[    2.279601] VFS: Mounted root (ext4 filesystem) on device 179:2.
[    2.287934] devtmpfs: mounted
[    2.291133] Freeing unused kernel memory: 340K
[    2.295596] This architecture does not have kernel memory protection.
INIT: version 2.88 booting
Starting udev
[    2.468969] udevd[96]: starting version 3.2.2
[    2.474882] random: udevd: uninitialized urandom read (16 bytes read, 12 bits of entropy available)
[    2.485098] random: udevd: uninitialized urandom read (16 bytes read, 12 bits of entropy available)
[    2.495199] random: udevd: uninitialized urandom read (16 bytes read, 12 bits of entropy available)
[    2.504458] random: udevd: uninitialized urandom read (16 bytes read, 12 bits of entropy available)
[    2.529979] udevd[97]: starting eudev-3.2.2
[    2.635559] random: udevd: uninitialized urandom read (16 bytes read, 13 bits of entropy available)
[    2.962022] udevd[204]: failed to execute '/etc/udev/scripts/mount.sh' '/etc/udev/scripts/mount.sh': No such file or directory
[    2.999663] udevd[214]: failed to execute '/etc/udev/scripts/mount.sh' '/etc/udev/scripts/mount.sh': No such file or directory
[    3.372977] EXT4-fs (mmcblk0p2): re-mounted. Opts: data=ordered
hwclock: can't open '/dev/misc/rtc': No such file or directory
Mon Nov  4 07:48:20 UTC 2019
hwclock: can't open '/dev/misc/rtc': No such file or directory
[    3.583451] random: dd: uninitialized urandom read (512 bytes read, 24 bits of entropy available)
INIT: Entering runlevel: 5
Configuring network interfaces... [    3.667584] net eth0: initializing cpsw version 1.15 (0)
[    3.672943] net eth0: initialized cpsw ale version 1.4
[    3.678192] net eth0: ALE Table size 1024
[    3.685253] net eth0: phy found : id is : 0x0
[    3.686455] omap_hsmmc 4809c000.mmc: Got CD GPIO
[    3.695670] Adding alias for supply vdd,cpu0 -> vdd,4a003b20.oppdm
[    3.701735] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
[    3.708053] Adding alias for supply vbb,cpu0 -> vbb,4a003b20.oppdm

[    3.716563] ti_oppdm 4a003b20.oppdm: Unable to get vdd regulator:-517
Sending discover...
[    5.676252] cpsw 48484000.ethernet eth0: Link is Up - 100Mbps/Full - flow control off
[    5.684134] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
Sending discover...
Sending discover...
No lease, forking to background
done.
hwclock: can't open '/dev/misc/rtc': No such file or directory
Starting syslogd/klogd: done
umount: can't unmount /mnt/.psplash: Invalid argument

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

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

Arago 2018.04 dra7xx-evm /dev/ttyS2

dra7xx-evm login: 

The kernel modules lie in the lib directory:

root@dra7xx-evm:/lib/modules/4.14.40-g4796173fc5/kernel# find . -name "*.ko"
./drivers/rpmsg/virtio_rpmsg_bus.ko
./drivers/rpmsg/rpmsg-rpc.ko
./drivers/rpmsg/rpmsg_pru.ko
./drivers/virtio/virtio_ring.ko
./drivers/virtio/virtio.ko
./drivers/remoteproc/pruss.ko
./drivers/remoteproc/pruss_intc.ko
./drivers/remoteproc/remoteproc.ko
./drivers/remoteproc/pru_rproc.ko
./drivers/remoteproc/omap_remoteproc.ko
./drivers/remoteproc/am437x_pruss_wrapper.ko
./drivers/net/ethernet/ti/prueth.ko
./net/rpmsg/rpmsg_proto.ko
./fs/cifs/cifs.ko

It should be noted that i  try to build the remoteproc module inside the kernel image, but this module could not load the firmware because it was executed before the filesystem mounted. It just cannot find out the firmwares lie in the /lib/firmware directory.

So what should do to boot up the remote procs. But the remote proc within the kernel or as a standalone kernel module.

The project is urgent.

Hope sincerly for you help.

Regards,
Liu Gan.

  • Hi Liu Gan,

    In the log, I don't see remoteproc module traces. If you do "lsmod", is remoteproc listed as loaded? Is the firmware present in /lib/firmware with the expected name?

    Is the issue that the module is not being auto-loaded? If not, can you please give more information or traces on the remoteproc error you are seeing?

    Regarding the firmware loading when remoteproc is built into the kernel image, you will need to also enable the firmware loader helper config options in order for it to fall back to the user helper when direct firmware load fails:

    CONFIG_FW_LOADER_USER_HELPER=y

    CONFIG_FW_LOADER_USER_HELPER_FALLBACK=y

    Thanks,

    Angela

  • Hi Angela,

    Thanks for your help.

    Finally it's proved to be the modules.*** files, lie in the /lib/modules/4.4.84-svn1450 folder, error. After i update them from my build output directory. The remote cores are suceessful loaded.

    And also, i will test your instructions for building remoteproc into the kernel image in a few days. Sorry for the delay, but I'm anxious to debug other functions. i will post the result here next weak.

    Regards,
    Liu Gan

  • Hi Liu Gan,

    Thanks for the update. I am glad to hear you were able to resolve your issue and it is working for you now.

    If you are still facing any issue, you can post a reply below (or create a new thread if the thread has locked due to time-out).

    Thanks,

    Angela

  • Hi Angela,

    I have tried your suggestion that enable the
    CONFIG_FW_LOADER_USER_HELPER=y  and
    CONFIG_FW_LOADER_USER_HELPER_FALLBACK=y
    while build the remoteproc into the kernel zImage.

    But still i cannot get the firmwares loaded.
    This is the kernel startup log:

    Starting kernel ...
    
    [    0.000000] Booting Linux on physical CPU 0x0
    [    0.000000] Initializing cgroup subsys cpuset
    [    0.000000] Initializing cgroup subsys cpu
    [    0.000000] Initializing cgroup subsys cpuacct
    [    0.000000] Linux version 4.4.84-svn1450 (gan.liu@ubuntu) (gcc version 5.3.1 20160113 (Linaro GCC 5.3-2016.02) ) #81 SMP PREEMPT Mon Dec 9 20:35:05 CST 2019
    [    0.000000] CPU: ARMv7 Processor [412fc0f2] revision 2 (ARMv7), cr=30c5387d
    [    0.000000] CPU: PIPT / VIPT nonaliasing data cache, PIPT instruction cache
    [    0.000000] Machine model: TI DRA742
    [    0.000000] Reserved memory: created DMA memory pool at 0x0000000040300000, size 3 MiB
    [    0.000000] Reserved memory: initialized node cmem@40300000, compatible id shared-dma-pool
    [    0.000000] Reserved memory: regions without no-map are not yet supported
    [    0.000000] Reserved memory: created CMA memory pool at 0x0000000099000000, size 80 MiB
    [    0.000000] Reserved memory: initialized node ipu2_cma@95800000, compatible id shared-dma-pool
    [    0.000000] Reserved memory: created CMA memory pool at 0x000000009e000000, size 32 MiB
    [    0.000000] Reserved memory: initialized node ipu1_cma@9d000000, compatible id shared-dma-pool
    [    0.000000] Reserved memory: regions without no-map are not yet supported
    [    0.000000] Reserved memory: created CMA memory pool at 0x00000000a1000000, size 32 MiB
    [    0.000000] Reserved memory: initialized node dsp1_cma@99000000, compatible id shared-dma-pool
    [    0.000000] Reserved memory: created CMA memory pool at 0x00000000a3000000, size 32 MiB
    [    0.000000] Reserved memory: initialized node dsp2_cma@9f000000, compatible id shared-dma-pool
    [    0.000000] Reserved memory: regions without no-map are not yet supported
    [    0.000000] Reserved memory: created DMA memory pool at 0x00000000a9000000, size 32 MiB
    [    0.000000] Reserved memory: initialized node cmem@A9000000, compatible id shared-dma-pool
    [    0.000000] cma: Reserved 24 MiB at 0x00000000fd800000
    [    0.000000] Forcing write-allocate cache policy for SMP
    [    0.000000] Memory policy: Data cache writealloc
    [    0.000000] OMAP4: Map 0x000000027fd00000 to fe600000 for dram barrier
    [    0.000000] DRA752 ES2.0
    [    0.000000] PERCPU: Embedded 11 pages/cpu @eb71e000 s14912 r8192 d21952 u45056
    [    0.000000] Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 1033792
    [    0.000000] Kernel command line: console=ttyO2,115200n8 root=PARTUUID=8e96af79-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: 3495708K/4142080K available (6803K kernel code, 325K rwdata, 2452K rodata, 340K init, 290K bss, 441572K reserved, 204800K cma-reserved, 3363840K highmem)
    [    0.000000] Virtual kernel memory layout:
    [    0.000000]     vector  : 0xffff0000 - 0xffff1000   (   4 kB)
    [    0.000000]     fixmap  : 0xffc00000 - 0xfff00000   (3072 kB)
    [    0.000000]     vmalloc : 0xf0800000 - 0xff800000   ( 240 MB)
    [    0.000000]     lowmem  : 0xc0000000 - 0xf0000000   ( 768 MB)
    [    0.000000]     pkmap   : 0xbfe00000 - 0xc0000000   (   2 MB)
    [    0.000000]     modules : 0xbf000000 - 0xbfe00000   (  14 MB)
    [    0.000000]       .text : 0xc0008000 - 0xc091202c   (9257 kB)
    [    0.000000]       .init : 0xc0913000 - 0xc0968000   ( 340 kB)
    [    0.000000]       .data : 0xc0968000 - 0xc09b96a8   ( 326 kB)
    [    0.000000]        .bss : 0xc09bb000 - 0xc0a03b00   ( 291 kB)
    [    0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=2, Nodes=1
    [    0.000000] Preemptible hierarchical RCU implementation.
    [    0.000000]  Build-time adjustment of leaf fanout to 32.
    [    0.000000] NR_IRQS:16 nr_irqs:16 16
    [    0.000000] ti_dt_clocks_register: failed to lookup clock node gmac_gmii_ref_clk_div
    [    0.000000] OMAP clockevent source: timer1 at 32786 Hz
    [    0.000000] Architected cp15 timer(s) running at 6.14MHz (phys).
    [    0.000000] clocksource: arch_sys_counter: mask: 0xffffffffffffff max_cycles: 0x16af5adb9, max_idle_ns: 440795202250 ns
    [    0.000005] sched_clock: 56 bits at 6MHz, resolution 162ns, wraps every 4398046511023ns
    [    0.000015] Switching to timer-based delay loop, resolution 162ns
    [    0.000343] clocksource: 32k_counter: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 58327039986419 ns
    [    0.000351] OMAP clocksource: 32k_counter at 32768 Hz
    [    0.000809] Console: colour dummy device 80x30
    [    0.000825] WARNING: Your 'console=ttyO2' has been replaced by 'ttyS2'
    [    0.000831] This ensures that you still see kernel messages. Please
    [    0.000836] update your kernel commandline.
    [    0.000850] Calibrating delay loop (skipped), value calculated using timer frequency.. 12.29 BogoMIPS (lpj=61475)
    [    0.000862] pid_max: default: 32768 minimum: 301
    [    0.000960] Mount-cache hash table entries: 2048 (order: 1, 8192 bytes)
    [    0.000970] Mountpoint-cache hash table entries: 2048 (order: 1, 8192 bytes)
    [    0.001514] Initializing cgroup subsys io
    [    0.001531] Initializing cgroup subsys memory
    [    0.001554] Initializing cgroup subsys devices
    [    0.001567] Initializing cgroup subsys freezer
    [    0.001578] Initializing cgroup subsys perf_event
    [    0.001589] Initializing cgroup subsys pids
    [    0.001616] CPU: Testing write buffer coherency: ok
    [    0.001816] /cpus/cpu@0 missing clock-frequency property
    [    0.001833] /cpus/cpu@1 missing clock-frequency property
    [    0.001842] CPU0: thread -1, cpu 0, socket 0, mpidr 80000000
    [    0.001883] Setting up static identity map for 0x80008380 - 0x800083e0
    [    0.080058] CPU1: thread -1, cpu 1, socket 0, mpidr 80000001
    [    0.080127] Brought up 2 CPUs
    [    0.080140] SMP: Total of 2 processors activated (24.59 BogoMIPS).
    [    0.080146] CPU: All CPU(s) started in HYP mode.
    [    0.080152] CPU: Virtualization extensions available.
    [    0.080527] devtmpfs: initialized
    [    0.109591] VFP support v0.3: implementor 41 architecture 4 part 30 variant f rev 0
    [    0.110562] omap_hwmod: l3_main_2 using broken dt data from ocp
    [    0.308689] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
    [    0.308710] futex hash table entries: 512 (order: 3, 32768 bytes)
    [    0.313009] pinctrl core: initialized pinctrl subsystem
    [    0.313913] NET: Registered protocol family 16
    [    0.314829] DMA: preallocated 256 KiB pool for atomic coherent allocations
    [    0.340217] cpuidle: using governor ladder
    [    0.370235] cpuidle: using governor menu
    [    0.378729] OMAP GPIO hardware version 0.1
    [    0.385242] irq: no irq domain found for /ocp/l4@4a000000/scm@2000/pinmux@1400 !
    [    0.400865] omap-gpmc 50000000.gpmc: GPMC revision 6.0
    [    0.400878] gpmc_mem_init: disabling cs 0 mapped at 0x0-0x1000000
    [    0.408142] hw-breakpoint: found 5 (+1 reserved) breakpoint and 4 watchpoint registers.
    [    0.408151] hw-breakpoint: maximum watchpoint size is 8 bytes.
    [    0.408626] omap4_sram_init:Unable to allocate sram needed to handle errata I688
    [    0.408635] omap4_sram_init:Unable to get sram pool needed to handle errata I688
    [    0.409221] OMAP DMA hardware revision 0.0
    [    0.451453] omap-dma-engine 4a056000.dma-controller: OMAP DMA engine driver (LinkedList1/2/3 supported)
    [    0.452587] edma 43300000.edma: memcpy is disabled
    [    0.457344] edma 43300000.edma: TI EDMA DMA engine driver
    [    0.461856] omap-iommu 40d01000.mmu: 40d01000.mmu registered
    [    0.462031] omap-iommu 40d02000.mmu: 40d02000.mmu registered
    [    0.462194] omap-iommu 58882000.mmu: 58882000.mmu registered
    [    0.462354] omap-iommu 55082000.mmu: 55082000.mmu registered
    [    0.462635] omap-iommu 41501000.mmu: 41501000.mmu registered
    [    0.462819] omap-iommu 41502000.mmu: 41502000.mmu registered
    [    0.465851] palmas 0-0058: IRQ missing: skipping irq request
    [    0.481274] palmas 0-0058: Muxing GPIO 2f, PWM 0, LED 0
    [    0.553386] pcf857x: probe of 0-0020 failed with error -121
    [    0.553636] pcf857x: probe of 0-0021 failed with error -121
    [    0.553793] omap_i2c 48070000.i2c: bus 0 rev0.12 at 400 kHz
    [    0.553988] media: Linux media interface: v0.10
    [    0.554045] Linux video capture interface: v2.00
    [    0.554084] pps_core: LinuxPPS API ver. 1 registered
    [    0.554091] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
    [    0.554115] PTP clock support registered
    [    0.554164] EDAC MC: Ver: 3.0.0
    [    0.554936] omap-mailbox 48840000.mailbox: omap mailbox rev 0x400
    [    0.555229] omap-mailbox 48842000.mailbox: omap mailbox rev 0x400
    [    0.555632] Advanced Linux Sound Architecture Driver Initialized.
    [    0.556445] clocksource: Switched to clocksource arch_sys_counter
    [    0.567052] NET: Registered protocol family 2
    [    0.567544] TCP established hash table entries: 8192 (order: 3, 32768 bytes)
    [    0.567608] TCP bind hash table entries: 8192 (order: 4, 65536 bytes)
    [    0.567733] TCP: Hash tables configured (established 8192 bind 8192)
    [    0.567780] UDP hash table entries: 512 (order: 2, 16384 bytes)
    [    0.567811] UDP-Lite hash table entries: 512 (order: 2, 16384 bytes)
    [    0.568021] NET: Registered protocol family 1
    [    0.568259] RPC: Registered named UNIX socket transport module.
    [    0.568268] RPC: Registered udp transport module.
    [    0.568274] RPC: Registered tcp transport module.
    [    0.568280] RPC: Registered tcp NFSv4.1 backchannel transport module.
    [    0.569211] hw perfevents: enabled with armv7_cortex_a15 PMU driver, 7 counters available
    [    0.579140] squashfs: version 4.0 (2009/01/31) Phillip Lougher
    [    0.579808] NFS: Registering the id_resolver key type
    [    0.579835] Key type id_resolver registered
    [    0.579842] Key type id_legacy registered
    [    0.579913] ntfs: driver 2.1.32 [Flags: R/O].
    [    0.581201] bounce: pool size: 64 pages
    [    0.581357] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 247)
    [    0.581371] io scheduler noop registered
    [    0.581382] io scheduler deadline registered
    [    0.581415] io scheduler cfq registered (default)
    [    0.586225] pinctrl-single 4a003400.pinmux: 282 pins at pa fc003400 size 1128
    [    0.589355] PCI host bridge /ocp/axi@0/pcie_rc@51000000 ranges:
    [    0.589368]   No bus range found for /ocp/axi@0/pcie_rc@51000000, using [bus 00-ff]
    [    0.589400]    IO 0x20003000..0x20012fff -> 0x00000000
    [    0.589421]   MEM 0x20013000..0x2fffffff -> 0x20013000
    [    0.619793] dra7-pcie 51000000.pcie_rc: link is not up
    [    0.619966] dra7-pcie 51000000.pcie_rc: PCI host bridge to bus 0000:00
    [    0.619979] pci_bus 0000:00: root bus resource [bus 00-ff]
    [    0.619990] pci_bus 0000:00: root bus resource [io  0x0000-0xffff]
    [    0.619999] pci_bus 0000:00: root bus resource [mem 0x20013000-0x2fffffff]
    [    0.620403] PCI: bus0: Fast back to back transfers disabled
    [    0.620518] PCI: bus1: Fast back to back transfers enabled
    [    0.620600] pci 0000:00:00.0: BAR 0: assigned [mem 0x20100000-0x201fffff]
    [    0.620615] pci 0000:00:00.0: BAR 1: assigned [mem 0x20020000-0x2002ffff]
    [    0.620627] pci 0000:00:00.0: PCI bridge to [bus 01]
    [    0.620850] pcieport 0000:00:00.0: Signaling PME through PCIe PME interrupt
    [    0.681705] Serial: 8250/16550 driver, 10 ports, IRQ sharing disabled
    [    0.685085] 4806a000.serial: ttyS0 at MMIO 0x4806a000 (irq = 301, base_baud = 3000000) is a 8250
    [    0.685964] 4806c000.serial: ttyS1 at MMIO 0x4806c000 (irq = 302, base_baud = 3000000) is a 8250
    [    0.686866] console [ttyS2] disabled
    [    0.686911] 48020000.serial: ttyS2 at MMIO 0x48020000 (irq = 303, base_baud = 3000000) is a 8250
    [    1.714346] console [ttyS2] enabled
    [    1.719006] [drm] Initialized drm 1.1.0 20060810
    [    1.724523] [drm] Supports vblank timestamp caching Rev 2 (21.10.2013).
    [    1.731206] [drm] No driver support for vblank timestamp query.
    [    1.737370] [drm] Initialized vdrm 1.0.0 20110917 on minor 0
    [    1.750247] loop: module loaded
    [    1.753778] vmemexp device MAJOR num = 245
    [    1.757924] vmemexp class registered
    [    1.761642] /dev/vmemexp device registered
    [    1.765755] ioctl DBUFIOC_EXPORT_VIRTMEM = -1072899120
    [    1.771449] nand: No NAND device found
    [    1.775218] omap2-nand 8000000.nand: scan failed, may be bus-width mismatch
    [    1.784977] m25p80 spi32766.0: found n25q512ax3, expected s25fl256s1
    [    1.791440] m25p80 spi32766.0: n25q512ax3 (65536 Kbytes)
    [    1.796852] 7 ofpart partitions found on MTD device spi32766.0
    [    1.802711] Creating 7 MTD partitions on "spi32766.0":
    [    1.807890] 0x000000000000-0x000000040000 : "QSPI.SPL"
    [    1.814000] 0x000000040000-0x000000140000 : "QSPI.u-boot"
    [    1.820351] 0x000000140000-0x0000001c0000 : "QSPI.u-boot-spl-os"
    [    1.827302] 0x0000001c0000-0x0000001d0000 : "QSPI.u-boot-env"
    [    1.833979] 0x0000001d0000-0x0000001e0000 : "QSPI.u-boot-env.backup1"
    [    1.841394] 0x0000001e0000-0x0000009e0000 : "QSPI.kernel"
    [    1.847745] 0x0000009e0000-0x000002000000 : "QSPI.file-system"
    [    1.855798] libphy: Fixed MDIO Bus: probed
    [    1.906483] davinci_mdio 48485000.mdio: davinci mdio revision 1.6
    [    1.912607] davinci_mdio 48485000.mdio: detected phy mask fffffffc
    [    1.923022] libphy: 48485000.mdio: probed
    [    1.927073] davinci_mdio 48485000.mdio: phy[0]: device 48485000.mdio:00, driver RTL9000AA Ethernet
    [    1.936075] davinci_mdio 48485000.mdio: phy[1]: device 48485000.mdio:01, driver RTL9000AA Ethernet
    [    1.945892] cpsw 48484000.ethernet: Detected MACID = a8:e2:c1:dc:27:fc
    [    1.952555] cpsw 48484000.ethernet: cpts: overflow check period 800
    [    1.959536] cpsw 48484000.ethernet: cpsw: Detected MACID = a8:e2:c1:dc:27:fd
    [    1.968151] mousedev: PS/2 mouse device common for all mice
    [    1.974309] i2c /dev entries driver
    [    1.982793] omap_hsmmc 4809c000.mmc: Got CD GPIO
    [    1.988434] omap_hsmmc 480b4000.mmc: no pinctrl state for sdr25 mode
    [    1.994819] omap_hsmmc 480b4000.mmc: no pinctrl state for sdr12 mode
    [    2.037357] ledtrig-cpu: registered to indicate activity on CPUs
    [    2.044474] omap-rproc 58820000.ipu: assigned reserved memory node ipu1_cma@9d000000
    [    2.052325]  remoteproc0: 58820000.ipu is available
    [    2.057242]  remoteproc0: Note: remoteproc is still under development and considered experimental.
    [    2.066242]  remoteproc0: THE BINARY FORMAT IS NOT YET FINALIZED, and backward compatibility isn't yet guaranteed.
    [    2.076751]  remoteproc0: Direct firmware load for dra7-ipu1-fw.xem4 failed with error -2
    [    2.079588] mmc0: MAN_BKOPS_EN bit is not set
    [    2.085038] mmc0: new HS200 MMC card at address 0001
    [    2.094478] omap-rproc 55020000.ipu: assigned reserved memory node ipu2_cma@95800000
    [    2.095529] mmcblk0: mmc0:0001 008GB0 7.28 GiB
    [    2.105788] mmcblk0boot0: mmc0:0001 008GB0 partition 1 8.00 MiB
    [    2.112799]  remoteproc0: Falling back to user helper
    [    2.116060] mmcblk0boot1: mmc0:0001 008GB0 partition 2 8.00 MiB
    [    2.116370]  remoteproc1: 55020000.ipu is available
    [    2.116374]  remoteproc1: Note: remoteproc is still under development and considered experimental.
    [    2.116377]  remoteproc1: THE BINARY FORMAT IS NOT YET FINALIZED, and backward compatibility isn't yet guaranteed.
    [    2.116500]  remoteproc1: Direct firmware load for dra7-ipu2-fw.xem4 failed with error -2
    [    2.116503]  remoteproc1: Falling back to user helper
    [    2.116765] omap-rproc 40800000.dsp: assigned reserved memory node dsp1_cma@99000000
    [    2.116813]  remoteproc2: 40800000.dsp is available
    [    2.116816]  remoteproc2: Note: remoteproc is still under development and considered experimental.
    [    2.116819]  remoteproc2: THE BINARY FORMAT IS NOT YET FINALIZED, and backward compatibility isn't yet guaranteed.
    [    2.117195] omap-rproc 41000000.dsp: assigned reserved memory node dsp2_cma@9f000000
    [    2.117241]  remoteproc3: 41000000.dsp is available
    [    2.117245]  remoteproc3: Note: remoteproc is still under development and considered experimental.
    [    2.117248]  remoteproc3: THE BINARY FORMAT IS NOT YET FINALIZED, and backward compatibility isn't yet guaranteed.
    [    2.119941]  mmcblk0: p1 p2
    [    2.121709] evm_3v3_sw: supplied by sysen1
    [    2.131912]  remoteproc2: Direct firmware load for dra7-dsp1-fw.xe66 failed with error -2
    [    2.131916]  remoteproc2: Falling back to user helper
    [    2.142170]  remoteproc3: Direct firmware load for dra7-dsp2-fw.xe66 failed with error -2
    [    2.142173]  remoteproc3: Falling back to user helper
    [    2.259403] aic_dvdd: supplied by evm_3v3_sw
    [    2.265396] NET: Registered protocol family 10
    [    2.270703] sit: IPv6 over IPv4 tunneling driver
    [    2.275888] NET: Registered protocol family 17
    [    2.280585] Key type dns_resolver registered
    [    2.284882] NET: Registered protocol family 41
    [    2.289477] omap_voltage_late_init: Voltage driver support not added
    [    2.296361] Adding alias for supply vdd,cpu0 -> vdd,4a003b20.oppdm
    [    2.302590] Adding alias for supply vbb,cpu0 -> vbb,4a003b20.oppdm
    [    2.308856] ti_oppdm 4a003b20.oppdm: Unable to get vdd regulator:-517
    [    2.315457] Power Management for TI OMAP4+ devices.
    [    2.320573] Registering SWP/SWPB emulation handler
    [    2.326747] dmm 4e000000.dmm: workaround for errata i878 in use
    [    2.334309] dmm 4e000000.dmm: initialized all PAT entries
    [    2.340746] [drm] Initialized omapdrm 1.0.0 20110917 on minor 1
    [    2.347792] omap_hsmmc 4809c000.mmc: Got CD GPIO
    [    2.353299] Adding alias for supply vdd,cpu0 -> vdd,4a003b20.oppdm
    [    2.359540] Adding alias for supply vbb,cpu0 -> vbb,4a003b20.oppdm
    [    2.365791] ti_oppdm 4a003b20.oppdm: Unable to get vdd regulator:-517
    [    2.372811] hctosys: unable to open rtc device (rtc0)
    [    2.390216] evm_1v8: disabling
    [    2.393291] aic_dvdd: disabling
    [    2.396468] vmmcwl_fixed: disabling
    [    2.400172] ldousb: disabling
    [    2.403458] pbias_mmc_omap5: disabling
    [    2.407450] ALSA device list:
    [    2.410430]   No soundcards found.
    [    2.430046] EXT4-fs (mmcblk0p2): mounted filesystem with ordered data mode. Opts: (null)
    [    2.438229] VFS: Mounted root (ext4 filesystem) on device 179:2.
    [    2.446403] devtmpfs: mounted
    [    2.449626] Freeing unused kernel memory: 340K
    [    2.454088] This architecture does not have kernel memory protection.
    INIT: version 2.88 booting
    Framebuffer /dev/fb0 not detected
    Boot splashscreen disabled
    Starting udev
    [    2.630785] udevd[101]: starting version 3.2.2
    [    2.641365] random: udevd: uninitialized urandom read (16 bytes read, 13 bits of entropy available)
    [    2.651641] random: udevd: uninitialized urandom read (16 bytes read, 13 bits of entropy available)
    [    2.661712] random: udevd: uninitialized urandom read (16 bytes read, 13 bits of entropy available)
    [    2.670906] random: udevd: uninitialized urandom read (16 bytes read, 13 bits of entropy available)
    [    2.695875] udevd[102]: starting eudev-3.2.2
    [    2.779052]  remoteproc2: failed to load dra7-dsp1-fw.xe66
    [    2.785598] udevd[105]: error: can not open '/sys/devices/platform/44000000.ocp/40800000.dsp/remoteproc2/firmware/dra7-dsp1-fw.xe66/loading'
    [    2.802897]  remoteproc3: failed to load dra7-dsp2-fw.xe66
    [    2.802993] udevd[106]: error: can not open '/sys/devices/platform/44000000.ocp/41000000.dsp/remoteproc3/firmware/dra7-dsp2-fw.xe66/loading'
    [    2.838585] random: udevd: uninitialized urandom read (16 bytes read, 15 bits of entropy available)
    [    2.916596] virtio_ring: exports duplicate symbol virtio_break_device (owned by kernel)
    [    2.987236] virtio_ring: exports duplicate symbol virtio_break_device (owned by kernel)
    [    3.046645] virtio_ring: exports duplicate symbol virtio_break_device (owned by kernel)
    [    3.137049] virtio_ring: exports duplicate symbol virtio_break_device (owned by kernel)
    [    3.216778] virtio_ring: exports duplicate symbol virtio_break_device (owned by kernel)
    [    3.296717] virtio_ring: exports duplicate symbol virtio_break_device (owned by kernel)
    [    3.338966] omap_rng 48090000.rng: OMAP Random Number Generator ver. 20
    [    3.346727] omap_hsmmc 4809c000.mmc: Got CD GPIO
    [    3.380938] Adding alias for supply vdd,cpu0 -> vdd,4a003b20.oppdm
    [    3.406613] Adding alias for supply vbb,cpu0 -> vbb,4a003b20.oppdm
    [    3.416095] ti_oppdm 4a003b20.oppdm: Unable to get vdd regulator:-517
    [    3.600327] udevd[203]: failed to execute '/etc/udev/scripts/mount.sh' '/etc/udev/scripts/mount.sh': No such file or directory
    [    3.624451] udevd[207]: failed to execute '/etc/udev/scripts/mount.sh' '/etc/udev/scripts/mount.sh': No such file or directory
    [    3.808266]  remoteproc1: failed to load dra7-ipu2-fw.xem4
    [    3.808394] udevd[107]: error: can not open '/sys/devices/platform/44000000.ocp/55020000.ipu/remoteproc1/firmware/dra7-ipu2-fw.xem4/loading'
    [    3.826139] virtio_ring: exports duplicate symbol virtio_break_device (owned by kernel)
    [    3.840160]  remoteproc0: failed to load dra7-ipu1-fw.xem4
    [    3.967635] virtio_ring: exports duplicate symbol virtio_break_device (owned by kernel)
    [    3.982214] [drm] Initialized pvr 1.14.3699939 20110701 on minor 2
    [    4.000417] omap_hsmmc 4809c000.mmc: Got CD GPIO
    [    4.010941] Adding alias for supply vdd,cpu0 -> vdd,4a003b20.oppdm
    [    4.023839] Adding alias for supply vbb,cpu0 -> vbb,4a003b20.oppdm
    [    4.046392] ti_oppdm 4a003b20.oppdm: Unable to get vdd regulator:-517
    [    4.393859] EXT4-fs (mmcblk0p2): re-mounted. Opts: data=ordered
    hwclock: can't open '/dev/misc/rtc': No such file or directory
    Mon Nov  4 14:35:26 UTC 2019
    hwclock: can't open '/dev/misc/rtc': No such file or directory
    [    4.592930] random: dd: uninitialized urandom read (512 bytes read, 27 bits of entropy available)
    INIT: Entering runlevel: 5
    Configuring network interfaces... [    4.671549] net eth0: initializing cpsw version 1.15 (0)
    [    4.677091] net eth0: initialized cpsw ale version 1.4
    [    4.682253] net eth0: ALE Table size 1024
    [    4.689349] net eth0: phy found : id is : 0x0
    [    4.690530] omap_hsmmc 4809c000.mmc: Got CD GPIO
    [    4.699710] Adding alias for supply vdd,cpu0 -> vdd,4a003b20.oppdm
    [    4.705928] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
    [    4.712082] Adding alias for supply vbb,cpu0 -> vbb,4a003b20.oppdm
    [    4.718435] ti_oppdm 4a003b20.oppdm: Unable to get vdd regulator:-517
    [    4.737413] net eth1: initializing cpsw version 1.15 (0)
    [    4.830279] PHY config: mii_reg_PHYCR: 0x800.
    [    4.834748] net eth1: phy found : id is : 0x1ccb00
    [    4.844709] IPv6: ADDRCONF(NETDEV_UP): eth1: link is not ready
    done.
    [    4.892520] PVR_K: UM DDK-(3699939) and KM DDK-(3699939) match. [ OK ]
    Loaded PowerVR consumer services.
    hwclock: can't open '/dev/misc/rtc': No such file or directory
    Starting syslogd/klogd: done
    umount: can't unmount /mnt/.psplash: Invalid argument
    
     _____                    _____           _         _
    |  _  |___ ___ ___ ___   |  _  |___ ___  |_|___ ___| |_
    |     |  _| .'| . | . |  |   __|  _| . | | | -_|  _|  _|
    |__|__|_| |__,|_  |___|  |__|  |_| |___|_| |___|___|_|
                  |___|                    |___|
    
    Arago Project http://arago-project.org dra7xx-evm /dev/ttyS2
    
    Arago 2018.04 dra7xx-evm /dev/ttyS2
    
    dra7xx-evm login: [    6.686479] cpsw 48484000.ethernet eth0: Link is Up - 100Mbps/Full - flow control off
    [    6.694358] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
    [    6.828843] cpsw 48484000.ethernet eth1: Link is Up - 100Mbps/Full - flow control off
    [    6.836740] IPv6: ADDRCONF(NETDEV_CHANGE): eth1: link becomes ready
    
     _____                    _____           _         _
    |  _  |___ ___ ___ ___   |  _  |___ ___  |_|___ ___| |_
    |     |  _| .'| . | . |  |   __|  _| . | | | -_|  _|  _|
    |__|__|_| |__,|_  |___|  |__|  |_| |___|_| |___|___|_|
                  |___|                    |___|
    
    Arago Project http://arago-project.org dra7xx-evm /dev/ttyS2
    
    Arago 2018.04 dra7xx-evm /dev/ttyS2
    
    dra7xx-evm login: root
    

    And also, i noticed the comment under config FW_LOADER_USER_HELPER_FALLBACK says:

    I don't know what does that exactly mean. Does it say that the udev service don't support load firmware now?

    Regards,
    Liu Gan

  • Hi Liu Gan,

    The recommended way is to use remoteproc as a module rather than as built-in because it won't be able to request the firmware until FS init. Is module loading still working fine for you?

    Thanks,

    Angela

  • Hi Angela,

    Yes, the remoteproc module is still working fine.

    I am studing the possibility build the remoteproc into the kernel image. Never mind.

    Regards,
    Liu Gan